publicfinalclass TrackDefinitionextendsGeneratedMessageV3implementsTrackDefinitionOrBuilder
Track definition for the input asset.
Protobuf type google.cloud.video.transcoder.v1.TrackDefinition
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>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
DETECTED_LANGUAGES_FIELD_NUMBER
publicstaticfinalintDETECTED_LANGUAGES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
DETECT_LANGUAGES_FIELD_NUMBER
publicstaticfinalintDETECT_LANGUAGES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
publicstaticfinalintINPUT_TRACK_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
LANGUAGES_FIELD_NUMBER
publicstaticfinalintLANGUAGES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticTrackDefinitiongetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticTrackDefinition.BuildernewBuilder()
newBuilder(TrackDefinition prototype)
publicstaticTrackDefinition.BuildernewBuilder(TrackDefinitionprototype)
publicstaticTrackDefinitionparseDelimitedFrom(InputStreaminput)
publicstaticTrackDefinitionparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticTrackDefinitionparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticTrackDefinitionparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticTrackDefinitionparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticTrackDefinitionparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticTrackDefinitionparseFrom(CodedInputStreaminput)
publicstaticTrackDefinitionparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticTrackDefinitionparseFrom(InputStreaminput)
publicstaticTrackDefinitionparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticTrackDefinitionparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticTrackDefinitionparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<TrackDefinition>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
publicTrackDefinitiongetDefaultInstanceForType()
getDetectLanguages()
publicbooleangetDetectLanguages()
Optional. Whether to automatically detect the languages present in the
track. If true, the system will attempt to identify all the languages
present in the track and populate the languages field.
bool detect_languages = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
The detectLanguages.
|
getDetectedLanguages(int index)
publicStringgetDetectedLanguages(intindex)
Output only. A list of languages detected in the input asset, represented
by a BCP 47 language code, such as "en-US" or "sr-Latn". For more
information, see
https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
This field is only populated if the detect_languages field is set to true.
repeated string detected_languages = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The detectedLanguages at the given index.
|
getDetectedLanguagesBytes(int index)
publicByteStringgetDetectedLanguagesBytes(intindex)
Output only. A list of languages detected in the input asset, represented
by a BCP 47 language code, such as "en-US" or "sr-Latn". For more
information, see
https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
This field is only populated if the detect_languages field is set to true.
repeated string detected_languages = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the detectedLanguages at the given index.
|
getDetectedLanguagesCount()
publicintgetDetectedLanguagesCount()
Output only. A list of languages detected in the input asset, represented
by a BCP 47 language code, such as "en-US" or "sr-Latn". For more
information, see
https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
This field is only populated if the detect_languages field is set to true.
repeated string detected_languages = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
The count of detectedLanguages.
|
getDetectedLanguagesList()
publicProtocolStringListgetDetectedLanguagesList()
Output only. A list of languages detected in the input asset, represented
by a BCP 47 language code, such as "en-US" or "sr-Latn". For more
information, see
https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
This field is only populated if the detect_languages field is set to true.
repeated string detected_languages = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
The input track.
optional int32 input_track = 1;
| Returns |
| Type |
Description |
int |
The inputTrack.
|
getLanguages(int index)
publicStringgetLanguages(intindex)
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The languages at the given index.
|
getLanguagesBytes(int index)
publicByteStringgetLanguagesBytes(intindex)
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the languages at the given index.
|
getLanguagesCount()
publicintgetLanguagesCount()
| Returns |
| Type |
Description |
int |
The count of languages.
|
getLanguagesList()
publicProtocolStringListgetLanguagesList()
getParserForType()
publicParser<TrackDefinition>getParserForType()
Overrides
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
publicbooleanhasInputTrack()
The input track.
optional int32 input_track = 1;
| Returns |
| Type |
Description |
boolean |
Whether the inputTrack field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicTrackDefinition.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedTrackDefinition.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicTrackDefinition.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides