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()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LongRunningRecognizeMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
LongRunningRecognizeMetadata.Builder |
|
build()
public LongRunningRecognizeMetadata build()| Returns | |
|---|---|
| Type | Description |
LongRunningRecognizeMetadata |
|
buildPartial()
public LongRunningRecognizeMetadata buildPartial()| Returns | |
|---|---|
| Type | Description |
LongRunningRecognizeMetadata |
|
clear()
public LongRunningRecognizeMetadata.Builder clear()| Returns | |
|---|---|
| Type | Description |
LongRunningRecognizeMetadata.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public LongRunningRecognizeMetadata.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
LongRunningRecognizeMetadata.Builder |
|
clearLastUpdateTime()
public LongRunningRecognizeMetadata.Builder clearLastUpdateTime()Time of the most recent processing update.
.google.protobuf.Timestamp last_update_time = 3;
| Returns | |
|---|---|
| Type | Description |
LongRunningRecognizeMetadata.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public LongRunningRecognizeMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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];
| Returns | |
|---|---|
| Type | Description |
LongRunningRecognizeMetadata.Builder |
This builder for chaining. |
clone()
public LongRunningRecognizeMetadata.Builder clone()| Returns | |
|---|---|
| Type | Description |
LongRunningRecognizeMetadata.Builder |
|
getDefaultInstanceForType()
public LongRunningRecognizeMetadata getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
LongRunningRecognizeMetadata |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLastUpdateTime()
public Timestamp getLastUpdateTime()Time of the most recent processing update.
.google.protobuf.Timestamp last_update_time = 3;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The lastUpdateTime. |
getLastUpdateTimeBuilder()
public Timestamp.Builder getLastUpdateTimeBuilder()Time of the most recent processing update.
.google.protobuf.Timestamp last_update_time = 3;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getLastUpdateTimeOrBuilder()
public TimestampOrBuilder getLastUpdateTimeOrBuilder()Time of the most recent processing update.
.google.protobuf.Timestamp last_update_time = 3;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
int |
The progressPercent. |
getStartTime()
public Timestamp getStartTime()Time when the request was received.
.google.protobuf.Timestamp start_time = 2;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The startTime. |
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()Time when the request was received.
.google.protobuf.Timestamp start_time = 2;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()Time when the request was received.
.google.protobuf.Timestamp start_time = 2;
| Returns | |
|---|---|
| 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];
| Returns | |
|---|---|
| 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];
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the startTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(LongRunningRecognizeMetadata other)
public LongRunningRecognizeMetadata.Builder mergeFrom(LongRunningRecognizeMetadata other)| Parameter | |
|---|---|
| Name | Description |
other |
LongRunningRecognizeMetadata |
| Returns | |
|---|---|
| Type | Description |
LongRunningRecognizeMetadata.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LongRunningRecognizeMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LongRunningRecognizeMetadata.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public LongRunningRecognizeMetadata.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
LongRunningRecognizeMetadata.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LongRunningRecognizeMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
LongRunningRecognizeMetadata.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public LongRunningRecognizeMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe progressPercent to set. |
| Returns | |
|---|---|
| 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)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
LongRunningRecognizeMetadata.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final LongRunningRecognizeMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| 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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe uri to set. |
| Returns | |
|---|---|
| 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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for uri to set. |
| Returns | |
|---|---|
| Type | Description |
LongRunningRecognizeMetadata.Builder |
This builder for chaining. |