public static final class LongRunningRecognizeMetadata.Builder extends GeneratedMessageV3.Builder<LongRunningRecognizeMetadata.Builder> implements LongRunningRecognizeMetadataOrBuilder
Describes the progress of a long-running `LongRunningRecognize` call. It is included in the `metadata` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.Protobuf type
google.cloud.speech.v1.LongRunningRecognizeMetadata
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<LongRunningRecognizeMetadata.Builder>
public LongRunningRecognizeMetadata.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<LongRunningRecognizeMetadata.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<LongRunningRecognizeMetadata.Builder>
public LongRunningRecognizeMetadata getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public LongRunningRecognizeMetadata build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public LongRunningRecognizeMetadata buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public LongRunningRecognizeMetadata.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<LongRunningRecognizeMetadata.Builder>
public LongRunningRecognizeMetadata.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<LongRunningRecognizeMetadata.Builder>
public LongRunningRecognizeMetadata.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<LongRunningRecognizeMetadata.Builder>
public LongRunningRecognizeMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<LongRunningRecognizeMetadata.Builder>
public LongRunningRecognizeMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<LongRunningRecognizeMetadata.Builder>
public LongRunningRecognizeMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<LongRunningRecognizeMetadata.Builder>
public LongRunningRecognizeMetadata.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<LongRunningRecognizeMetadata.Builder>
public LongRunningRecognizeMetadata.Builder mergeFrom(LongRunningRecognizeMetadata other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<LongRunningRecognizeMetadata.Builder>
public LongRunningRecognizeMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<LongRunningRecognizeMetadata.Builder>
java.io.IOException
public int getProgressPercent()
Approximate percentage of audio processed thus far. Guaranteed to be 100 when the audio is fully processed and the results are available.
int32 progress_percent = 1;
getProgressPercent
in interface LongRunningRecognizeMetadataOrBuilder
public LongRunningRecognizeMetadata.Builder setProgressPercent(int value)
Approximate percentage of audio processed thus far. Guaranteed to be 100 when the audio is fully processed and the results are available.
int32 progress_percent = 1;
public LongRunningRecognizeMetadata.Builder clearProgressPercent()
Approximate percentage of audio processed thus far. Guaranteed to be 100 when the audio is fully processed and the results are available.
int32 progress_percent = 1;
public boolean hasStartTime()
Time when the request was received.
.google.protobuf.Timestamp start_time = 2;
hasStartTime
in interface LongRunningRecognizeMetadataOrBuilder
public Timestamp getStartTime()
Time when the request was received.
.google.protobuf.Timestamp start_time = 2;
getStartTime
in interface LongRunningRecognizeMetadataOrBuilder
public LongRunningRecognizeMetadata.Builder setStartTime(Timestamp value)
Time when the request was received.
.google.protobuf.Timestamp start_time = 2;
public LongRunningRecognizeMetadata.Builder setStartTime(Timestamp.Builder builderForValue)
Time when the request was received.
.google.protobuf.Timestamp start_time = 2;
public LongRunningRecognizeMetadata.Builder mergeStartTime(Timestamp value)
Time when the request was received.
.google.protobuf.Timestamp start_time = 2;
public LongRunningRecognizeMetadata.Builder clearStartTime()
Time when the request was received.
.google.protobuf.Timestamp start_time = 2;
public Timestamp.Builder getStartTimeBuilder()
Time when the request was received.
.google.protobuf.Timestamp start_time = 2;
public TimestampOrBuilder getStartTimeOrBuilder()
Time when the request was received.
.google.protobuf.Timestamp start_time = 2;
getStartTimeOrBuilder
in interface LongRunningRecognizeMetadataOrBuilder
public boolean hasLastUpdateTime()
Time of the most recent processing update.
.google.protobuf.Timestamp last_update_time = 3;
hasLastUpdateTime
in interface LongRunningRecognizeMetadataOrBuilder
public Timestamp getLastUpdateTime()
Time of the most recent processing update.
.google.protobuf.Timestamp last_update_time = 3;
getLastUpdateTime
in interface LongRunningRecognizeMetadataOrBuilder
public LongRunningRecognizeMetadata.Builder setLastUpdateTime(Timestamp value)
Time of the most recent processing update.
.google.protobuf.Timestamp last_update_time = 3;
public LongRunningRecognizeMetadata.Builder setLastUpdateTime(Timestamp.Builder builderForValue)
Time of the most recent processing update.
.google.protobuf.Timestamp last_update_time = 3;
public LongRunningRecognizeMetadata.Builder mergeLastUpdateTime(Timestamp value)
Time of the most recent processing update.
.google.protobuf.Timestamp last_update_time = 3;
public LongRunningRecognizeMetadata.Builder clearLastUpdateTime()
Time of the most recent processing update.
.google.protobuf.Timestamp last_update_time = 3;
public Timestamp.Builder getLastUpdateTimeBuilder()
Time of the most recent processing update.
.google.protobuf.Timestamp last_update_time = 3;
public TimestampOrBuilder getLastUpdateTimeOrBuilder()
Time of the most recent processing update.
.google.protobuf.Timestamp last_update_time = 3;
getLastUpdateTimeOrBuilder
in interface LongRunningRecognizeMetadataOrBuilder
public final LongRunningRecognizeMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<LongRunningRecognizeMetadata.Builder>
public final LongRunningRecognizeMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<LongRunningRecognizeMetadata.Builder>