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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > LongRunningRecognizeMetadata.BuilderImplements
LongRunningRecognizeMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LongRunningRecognizeMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| LongRunningRecognizeMetadata.Builder |
build()
public LongRunningRecognizeMetadata build()| Type | Description |
| LongRunningRecognizeMetadata |
buildPartial()
public LongRunningRecognizeMetadata buildPartial()| Type | Description |
| LongRunningRecognizeMetadata |
clear()
public LongRunningRecognizeMetadata.Builder clear()| Type | Description |
| LongRunningRecognizeMetadata.Builder |
clearField(Descriptors.FieldDescriptor field)
public LongRunningRecognizeMetadata.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| LongRunningRecognizeMetadata.Builder |
clearLastUpdateTime()
public LongRunningRecognizeMetadata.Builder clearLastUpdateTime()Time of the most recent processing update.
.google.protobuf.Timestamp last_update_time = 3;
| Type | Description |
| LongRunningRecognizeMetadata.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public LongRunningRecognizeMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| LongRunningRecognizeMetadata.Builder |
clearProgressPercent()
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;
| Type | Description |
| LongRunningRecognizeMetadata.Builder | This builder for chaining. |
clearStartTime()
public LongRunningRecognizeMetadata.Builder clearStartTime()Time when the request was received.
.google.protobuf.Timestamp start_time = 2;
| Type | Description |
| LongRunningRecognizeMetadata.Builder |
clearUri()
public LongRunningRecognizeMetadata.Builder clearUri()Output only. The URI of the audio file being transcribed. Empty if the audio was sent as byte content.
string uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| LongRunningRecognizeMetadata.Builder | This builder for chaining. |
clone()
public LongRunningRecognizeMetadata.Builder clone()| Type | Description |
| LongRunningRecognizeMetadata.Builder |
getDefaultInstanceForType()
public LongRunningRecognizeMetadata getDefaultInstanceForType()| Type | Description |
| LongRunningRecognizeMetadata |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getLastUpdateTime()
public Timestamp getLastUpdateTime()Time of the most recent processing update.
.google.protobuf.Timestamp last_update_time = 3;
| Type | Description |
| Timestamp | The lastUpdateTime. |
getLastUpdateTimeBuilder()
public Timestamp.Builder getLastUpdateTimeBuilder()Time of the most recent processing update.
.google.protobuf.Timestamp last_update_time = 3;
| Type | Description |
| Builder |
getLastUpdateTimeOrBuilder()
public TimestampOrBuilder getLastUpdateTimeOrBuilder()Time of the most recent processing update.
.google.protobuf.Timestamp last_update_time = 3;
| Type | Description |
| TimestampOrBuilder |
getProgressPercent()
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;
| Type | Description |
| int | The progressPercent. |
getStartTime()
public Timestamp getStartTime()Time when the request was received.
.google.protobuf.Timestamp start_time = 2;
| Type | Description |
| Timestamp | The startTime. |
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()Time when the request was received.
.google.protobuf.Timestamp start_time = 2;
| Type | Description |
| Builder |
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()Time when the request was received.
.google.protobuf.Timestamp start_time = 2;
| Type | Description |
| TimestampOrBuilder |
getUri()
public String getUri()Output only. The URI of the audio file being transcribed. Empty if the audio was sent as byte content.
string uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| String | The uri. |
getUriBytes()
public ByteString getUriBytes()Output only. The URI of the audio file being transcribed. Empty if the audio was sent as byte content.
string uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| ByteString | The bytes for uri. |
hasLastUpdateTime()
public boolean hasLastUpdateTime()Time of the most recent processing update.
.google.protobuf.Timestamp last_update_time = 3;
| Type | Description |
| boolean | Whether the lastUpdateTime field is set. |
hasStartTime()
public boolean hasStartTime()Time when the request was received.
.google.protobuf.Timestamp start_time = 2;
| Type | Description |
| boolean | Whether the startTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeFrom(LongRunningRecognizeMetadata other)
public LongRunningRecognizeMetadata.Builder mergeFrom(LongRunningRecognizeMetadata other)| Name | Description |
| other | LongRunningRecognizeMetadata |
| Type | Description |
| LongRunningRecognizeMetadata.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LongRunningRecognizeMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| LongRunningRecognizeMetadata.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public LongRunningRecognizeMetadata.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| LongRunningRecognizeMetadata.Builder |
mergeLastUpdateTime(Timestamp value)
public LongRunningRecognizeMetadata.Builder mergeLastUpdateTime(Timestamp value)Time of the most recent processing update.
.google.protobuf.Timestamp last_update_time = 3;
| Name | Description |
| value | Timestamp |
| Type | Description |
| LongRunningRecognizeMetadata.Builder |
mergeStartTime(Timestamp value)
public LongRunningRecognizeMetadata.Builder mergeStartTime(Timestamp value)Time when the request was received.
.google.protobuf.Timestamp start_time = 2;
| Name | Description |
| value | Timestamp |
| Type | Description |
| LongRunningRecognizeMetadata.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LongRunningRecognizeMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| LongRunningRecognizeMetadata.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public LongRunningRecognizeMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| LongRunningRecognizeMetadata.Builder |
setLastUpdateTime(Timestamp value)
public LongRunningRecognizeMetadata.Builder setLastUpdateTime(Timestamp value)Time of the most recent processing update.
.google.protobuf.Timestamp last_update_time = 3;
| Name | Description |
| value | Timestamp |
| Type | Description |
| LongRunningRecognizeMetadata.Builder |
setLastUpdateTime(Timestamp.Builder builderForValue)
public LongRunningRecognizeMetadata.Builder setLastUpdateTime(Timestamp.Builder builderForValue)Time of the most recent processing update.
.google.protobuf.Timestamp last_update_time = 3;
| Name | Description |
| builderForValue | Builder |
| Type | Description |
| LongRunningRecognizeMetadata.Builder |
setProgressPercent(int value)
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;
| Name | Description |
| value | intThe progressPercent to set. |
| Type | Description |
| LongRunningRecognizeMetadata.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LongRunningRecognizeMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| LongRunningRecognizeMetadata.Builder |
setStartTime(Timestamp value)
public LongRunningRecognizeMetadata.Builder setStartTime(Timestamp value)Time when the request was received.
.google.protobuf.Timestamp start_time = 2;
| Name | Description |
| value | Timestamp |
| Type | Description |
| LongRunningRecognizeMetadata.Builder |
setStartTime(Timestamp.Builder builderForValue)
public LongRunningRecognizeMetadata.Builder setStartTime(Timestamp.Builder builderForValue)Time when the request was received.
.google.protobuf.Timestamp start_time = 2;
| Name | Description |
| builderForValue | Builder |
| Type | Description |
| LongRunningRecognizeMetadata.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final LongRunningRecognizeMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| LongRunningRecognizeMetadata.Builder |
setUri(String value)
public LongRunningRecognizeMetadata.Builder setUri(String value)Output only. The URI of the audio file being transcribed. Empty if the audio was sent as byte content.
string uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| value | StringThe uri to set. |
| Type | Description |
| LongRunningRecognizeMetadata.Builder | This builder for chaining. |
setUriBytes(ByteString value)
public LongRunningRecognizeMetadata.Builder setUriBytes(ByteString value)Output only. The URI of the audio file being transcribed. Empty if the audio was sent as byte content.
string uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| value | ByteStringThe bytes for uri to set. |
| Type | Description |
| LongRunningRecognizeMetadata.Builder | This builder for chaining. |