public static final class Transcription.Builder extends GeneratedMessage.Builder<Transcription.Builder> implements TranscriptionOrBuilderAudio transcription in Server Content.
Protobuf type google.cloud.aiplatform.v1.Transcription
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Transcription.BuilderImplements
TranscriptionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Transcription build()| Returns | |
|---|---|
| Type | Description |
Transcription |
|
buildPartial()
public Transcription buildPartial()| Returns | |
|---|---|
| Type | Description |
Transcription |
|
clear()
public Transcription.Builder clear()| Returns | |
|---|---|
| Type | Description |
Transcription.Builder |
|
clearFinished()
public Transcription.Builder clearFinished()Optional. The bool indicates the end of the transcription.
bool finished = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Transcription.Builder |
This builder for chaining. |
clearText()
public Transcription.Builder clearText()Optional. Transcription text.
string text = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Transcription.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Transcription getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Transcription |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFinished()
public boolean getFinished()Optional. The bool indicates the end of the transcription.
bool finished = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The finished. |
getText()
public String getText()Optional. Transcription text.
string text = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The text. |
getTextBytes()
public ByteString getTextBytes()Optional. Transcription text.
string text = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for text. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Transcription other)
public Transcription.Builder mergeFrom(Transcription other)| Parameter | |
|---|---|
| Name | Description |
other |
Transcription |
| Returns | |
|---|---|
| Type | Description |
Transcription.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Transcription.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Transcription.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Transcription.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Transcription.Builder |
|
setFinished(boolean value)
public Transcription.Builder setFinished(boolean value)Optional. The bool indicates the end of the transcription.
bool finished = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe finished to set. |
| Returns | |
|---|---|
| Type | Description |
Transcription.Builder |
This builder for chaining. |
setText(String value)
public Transcription.Builder setText(String value)Optional. Transcription text.
string text = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe text to set. |
| Returns | |
|---|---|
| Type | Description |
Transcription.Builder |
This builder for chaining. |
setTextBytes(ByteString value)
public Transcription.Builder setTextBytes(ByteString value)Optional. Transcription text.
string text = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for text to set. |
| Returns | |
|---|---|
| Type | Description |
Transcription.Builder |
This builder for chaining. |