public final class RecognitionOutputConfig extends GeneratedMessageV3 implements RecognitionOutputConfigOrBuilder
Configuration options for the output(s) of recognition.
Protobuf type google.cloud.speech.v2.RecognitionOutputConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
GCS_OUTPUT_CONFIG_FIELD_NUMBER
public static final int GCS_OUTPUT_CONFIG_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
INLINE_RESPONSE_CONFIG_FIELD_NUMBER
public static final int INLINE_RESPONSE_CONFIG_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static RecognitionOutputConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static RecognitionOutputConfig.Builder newBuilder()
newBuilder(RecognitionOutputConfig prototype)
public static RecognitionOutputConfig.Builder newBuilder(RecognitionOutputConfig prototype)
public static RecognitionOutputConfig parseDelimitedFrom(InputStream input)
public static RecognitionOutputConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static RecognitionOutputConfig parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RecognitionOutputConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static RecognitionOutputConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RecognitionOutputConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RecognitionOutputConfig parseFrom(CodedInputStream input)
public static RecognitionOutputConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RecognitionOutputConfig parseFrom(InputStream input)
public static RecognitionOutputConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static RecognitionOutputConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RecognitionOutputConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<RecognitionOutputConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public RecognitionOutputConfig getDefaultInstanceForType()
getGcsOutputConfig()
public GcsOutputConfig getGcsOutputConfig()
If this message is populated, recognition results are written to the
provided Google Cloud Storage URI.
.google.cloud.speech.v2.GcsOutputConfig gcs_output_config = 1;
getGcsOutputConfigOrBuilder()
public GcsOutputConfigOrBuilder getGcsOutputConfigOrBuilder()
If this message is populated, recognition results are written to the
provided Google Cloud Storage URI.
.google.cloud.speech.v2.GcsOutputConfig gcs_output_config = 1;
getInlineResponseConfig()
public InlineOutputConfig getInlineResponseConfig()
If this message is populated, recognition results are provided in the
BatchRecognizeResponse
message of the Operation when completed. This is only supported when
calling BatchRecognize
with just one audio file.
.google.cloud.speech.v2.InlineOutputConfig inline_response_config = 2;
getInlineResponseConfigOrBuilder()
public InlineOutputConfigOrBuilder getInlineResponseConfigOrBuilder()
If this message is populated, recognition results are provided in the
BatchRecognizeResponse
message of the Operation when completed. This is only supported when
calling BatchRecognize
with just one audio file.
.google.cloud.speech.v2.InlineOutputConfig inline_response_config = 2;
getOutputCase()
public RecognitionOutputConfig.OutputCase getOutputCase()
getParserForType()
public Parser<RecognitionOutputConfig> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hasGcsOutputConfig()
public boolean hasGcsOutputConfig()
If this message is populated, recognition results are written to the
provided Google Cloud Storage URI.
.google.cloud.speech.v2.GcsOutputConfig gcs_output_config = 1;
Returns |
---|
Type | Description |
boolean | Whether the gcsOutputConfig field is set.
|
hasInlineResponseConfig()
public boolean hasInlineResponseConfig()
If this message is populated, recognition results are provided in the
BatchRecognizeResponse
message of the Operation when completed. This is only supported when
calling BatchRecognize
with just one audio file.
.google.cloud.speech.v2.InlineOutputConfig inline_response_config = 2;
Returns |
---|
Type | Description |
boolean | Whether the inlineResponseConfig field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public RecognitionOutputConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RecognitionOutputConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public RecognitionOutputConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides