- 1.72.0 (latest)
- 1.71.0
- 1.69.0
- 1.67.0
- 1.66.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.5
- 1.0.4
- 0.4.3
public static final class TrackDefinition.Builder extends GeneratedMessageV3.Builder<TrackDefinition.Builder> implements TrackDefinitionOrBuilder
Track definition for the input asset.
Protobuf type google.cloud.video.transcoder.v1.TrackDefinition
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TrackDefinition.BuilderImplements
TrackDefinitionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllDetectedLanguages(Iterable<String> values)
public TrackDefinition.Builder addAllDetectedLanguages(Iterable<String> values)
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 |
values |
Iterable<String> The detectedLanguages to add. |
Returns | |
---|---|
Type | Description |
TrackDefinition.Builder |
This builder for chaining. |
addAllLanguages(Iterable<String> values)
public TrackDefinition.Builder addAllLanguages(Iterable<String> values)
Optional. A list of languages spoken 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.
repeated string languages = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The languages to add. |
Returns | |
---|---|
Type | Description |
TrackDefinition.Builder |
This builder for chaining. |
addDetectedLanguages(String value)
public TrackDefinition.Builder addDetectedLanguages(String value)
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 |
value |
String The detectedLanguages to add. |
Returns | |
---|---|
Type | Description |
TrackDefinition.Builder |
This builder for chaining. |
addDetectedLanguagesBytes(ByteString value)
public TrackDefinition.Builder addDetectedLanguagesBytes(ByteString value)
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 |
value |
ByteString The bytes of the detectedLanguages to add. |
Returns | |
---|---|
Type | Description |
TrackDefinition.Builder |
This builder for chaining. |
addLanguages(String value)
public TrackDefinition.Builder addLanguages(String value)
Optional. A list of languages spoken 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.
repeated string languages = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The languages to add. |
Returns | |
---|---|
Type | Description |
TrackDefinition.Builder |
This builder for chaining. |
addLanguagesBytes(ByteString value)
public TrackDefinition.Builder addLanguagesBytes(ByteString value)
Optional. A list of languages spoken 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.
repeated string languages = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the languages to add. |
Returns | |
---|---|
Type | Description |
TrackDefinition.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TrackDefinition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
TrackDefinition.Builder |
build()
public TrackDefinition build()
Returns | |
---|---|
Type | Description |
TrackDefinition |
buildPartial()
public TrackDefinition buildPartial()
Returns | |
---|---|
Type | Description |
TrackDefinition |
clear()
public TrackDefinition.Builder clear()
Returns | |
---|---|
Type | Description |
TrackDefinition.Builder |
clearDetectLanguages()
public TrackDefinition.Builder clearDetectLanguages()
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 |
TrackDefinition.Builder |
This builder for chaining. |
clearDetectedLanguages()
public TrackDefinition.Builder clearDetectedLanguages()
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 |
TrackDefinition.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public TrackDefinition.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
TrackDefinition.Builder |
clearInputTrack()
public TrackDefinition.Builder clearInputTrack()
The input track.
optional int32 input_track = 1;
Returns | |
---|---|
Type | Description |
TrackDefinition.Builder |
This builder for chaining. |
clearLanguages()
public TrackDefinition.Builder clearLanguages()
Optional. A list of languages spoken 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.
repeated string languages = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
TrackDefinition.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public TrackDefinition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
TrackDefinition.Builder |
clone()
public TrackDefinition.Builder clone()
Returns | |
---|---|
Type | Description |
TrackDefinition.Builder |
getDefaultInstanceForType()
public TrackDefinition getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
TrackDefinition |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDetectLanguages()
public boolean getDetectLanguages()
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)
public String getDetectedLanguages(int index)
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)
public ByteString getDetectedLanguagesBytes(int index)
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()
public int getDetectedLanguagesCount()
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()
public ProtocolStringList getDetectedLanguagesList()
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 |
ProtocolStringList |
A list containing the detectedLanguages. |
getInputTrack()
public int getInputTrack()
The input track.
optional int32 input_track = 1;
Returns | |
---|---|
Type | Description |
int |
The inputTrack. |
getLanguages(int index)
public String getLanguages(int index)
Optional. A list of languages spoken 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.
repeated string languages = 2 [(.google.api.field_behavior) = OPTIONAL];
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)
public ByteString getLanguagesBytes(int index)
Optional. A list of languages spoken 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.
repeated string languages = 2 [(.google.api.field_behavior) = OPTIONAL];
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()
public int getLanguagesCount()
Optional. A list of languages spoken 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.
repeated string languages = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The count of languages. |
getLanguagesList()
public ProtocolStringList getLanguagesList()
Optional. A list of languages spoken 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.
repeated string languages = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the languages. |
hasInputTrack()
public boolean hasInputTrack()
The input track.
optional int32 input_track = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the inputTrack field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(TrackDefinition other)
public TrackDefinition.Builder mergeFrom(TrackDefinition other)
Parameter | |
---|---|
Name | Description |
other |
TrackDefinition |
Returns | |
---|---|
Type | Description |
TrackDefinition.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TrackDefinition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
TrackDefinition.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public TrackDefinition.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
TrackDefinition.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TrackDefinition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TrackDefinition.Builder |
setDetectLanguages(boolean value)
public TrackDefinition.Builder setDetectLanguages(boolean value)
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];
Parameter | |
---|---|
Name | Description |
value |
boolean The detectLanguages to set. |
Returns | |
---|---|
Type | Description |
TrackDefinition.Builder |
This builder for chaining. |
setDetectedLanguages(int index, String value)
public TrackDefinition.Builder setDetectedLanguages(int index, String value)
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];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The detectedLanguages to set. |
Returns | |
---|---|
Type | Description |
TrackDefinition.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public TrackDefinition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
TrackDefinition.Builder |
setInputTrack(int value)
public TrackDefinition.Builder setInputTrack(int value)
The input track.
optional int32 input_track = 1;
Parameter | |
---|---|
Name | Description |
value |
int The inputTrack to set. |
Returns | |
---|---|
Type | Description |
TrackDefinition.Builder |
This builder for chaining. |
setLanguages(int index, String value)
public TrackDefinition.Builder setLanguages(int index, String value)
Optional. A list of languages spoken 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.
repeated string languages = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The languages to set. |
Returns | |
---|---|
Type | Description |
TrackDefinition.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TrackDefinition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
TrackDefinition.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final TrackDefinition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TrackDefinition.Builder |