- 0.66.0 (latest)
- 0.64.0
- 0.63.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class VideoCharacteristics.Builder extends GeneratedMessageV3.Builder<VideoCharacteristics.Builder> implements VideoCharacteristicsOrBuilder
Standard characteristics of a video media view.
Protobuf type google.cloud.discoveryengine.v1alpha.VideoCharacteristics
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > VideoCharacteristics.BuilderImplements
VideoCharacteristicsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllAudioCodecs(Iterable<String> values)
public VideoCharacteristics.Builder addAllAudioCodecs(Iterable<String> values)
Output only. Audio codecs used in the video.
repeated string audio_codecs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The audioCodecs to add. |
Returns | |
---|---|
Type | Description |
VideoCharacteristics.Builder |
This builder for chaining. |
addAllVideoCodecs(Iterable<String> values)
public VideoCharacteristics.Builder addAllVideoCodecs(Iterable<String> values)
Output only. Video codecs used in the video.
repeated string video_codecs = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The videoCodecs to add. |
Returns | |
---|---|
Type | Description |
VideoCharacteristics.Builder |
This builder for chaining. |
addAudioCodecs(String value)
public VideoCharacteristics.Builder addAudioCodecs(String value)
Output only. Audio codecs used in the video.
repeated string audio_codecs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The audioCodecs to add. |
Returns | |
---|---|
Type | Description |
VideoCharacteristics.Builder |
This builder for chaining. |
addAudioCodecsBytes(ByteString value)
public VideoCharacteristics.Builder addAudioCodecsBytes(ByteString value)
Output only. Audio codecs used in the video.
repeated string audio_codecs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the audioCodecs to add. |
Returns | |
---|---|
Type | Description |
VideoCharacteristics.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VideoCharacteristics.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
VideoCharacteristics.Builder |
addVideoCodecs(String value)
public VideoCharacteristics.Builder addVideoCodecs(String value)
Output only. Video codecs used in the video.
repeated string video_codecs = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The videoCodecs to add. |
Returns | |
---|---|
Type | Description |
VideoCharacteristics.Builder |
This builder for chaining. |
addVideoCodecsBytes(ByteString value)
public VideoCharacteristics.Builder addVideoCodecsBytes(ByteString value)
Output only. Video codecs used in the video.
repeated string video_codecs = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the videoCodecs to add. |
Returns | |
---|---|
Type | Description |
VideoCharacteristics.Builder |
This builder for chaining. |
build()
public VideoCharacteristics build()
Returns | |
---|---|
Type | Description |
VideoCharacteristics |
buildPartial()
public VideoCharacteristics buildPartial()
Returns | |
---|---|
Type | Description |
VideoCharacteristics |
clear()
public VideoCharacteristics.Builder clear()
Returns | |
---|---|
Type | Description |
VideoCharacteristics.Builder |
clearAudioBitrateKbps()
public VideoCharacteristics.Builder clearAudioBitrateKbps()
Output only. Bitrate of the audio in kbps.
int32 audio_bitrate_kbps = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
VideoCharacteristics.Builder |
This builder for chaining. |
clearAudioCodecs()
public VideoCharacteristics.Builder clearAudioCodecs()
Output only. Audio codecs used in the video.
repeated string audio_codecs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
VideoCharacteristics.Builder |
This builder for chaining. |
clearDuration()
public VideoCharacteristics.Builder clearDuration()
Output only. Video duration.
.google.protobuf.Duration duration = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
VideoCharacteristics.Builder |
clearField(Descriptors.FieldDescriptor field)
public VideoCharacteristics.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
VideoCharacteristics.Builder |
clearFrameRate()
public VideoCharacteristics.Builder clearFrameRate()
Output only. Frame rate (frames per second).
double frame_rate = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
VideoCharacteristics.Builder |
This builder for chaining. |
clearHeight()
public VideoCharacteristics.Builder clearHeight()
Output only. Video height in pixels.
int32 height = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
VideoCharacteristics.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public VideoCharacteristics.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
VideoCharacteristics.Builder |
clearVideoBitrateKbps()
public VideoCharacteristics.Builder clearVideoBitrateKbps()
Output only. Bitrate of the video in kbps.
int32 video_bitrate_kbps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
VideoCharacteristics.Builder |
This builder for chaining. |
clearVideoCodecs()
public VideoCharacteristics.Builder clearVideoCodecs()
Output only. Video codecs used in the video.
repeated string video_codecs = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
VideoCharacteristics.Builder |
This builder for chaining. |
clearWidth()
public VideoCharacteristics.Builder clearWidth()
Output only. Video width in pixels.
int32 width = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
VideoCharacteristics.Builder |
This builder for chaining. |
clone()
public VideoCharacteristics.Builder clone()
Returns | |
---|---|
Type | Description |
VideoCharacteristics.Builder |
getAudioBitrateKbps()
public int getAudioBitrateKbps()
Output only. Bitrate of the audio in kbps.
int32 audio_bitrate_kbps = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
The audioBitrateKbps. |
getAudioCodecs(int index)
public String getAudioCodecs(int index)
Output only. Audio codecs used in the video.
repeated string audio_codecs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The audioCodecs at the given index. |
getAudioCodecsBytes(int index)
public ByteString getAudioCodecsBytes(int index)
Output only. Audio codecs used in the video.
repeated string audio_codecs = 5 [(.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 audioCodecs at the given index. |
getAudioCodecsCount()
public int getAudioCodecsCount()
Output only. Audio codecs used in the video.
repeated string audio_codecs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
The count of audioCodecs. |
getAudioCodecsList()
public ProtocolStringList getAudioCodecsList()
Output only. Audio codecs used in the video.
repeated string audio_codecs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the audioCodecs. |
getDefaultInstanceForType()
public VideoCharacteristics getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
VideoCharacteristics |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDuration()
public Duration getDuration()
Output only. Video duration.
.google.protobuf.Duration duration = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Duration |
The duration. |
getDurationBuilder()
public Duration.Builder getDurationBuilder()
Output only. Video duration.
.google.protobuf.Duration duration = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getDurationOrBuilder()
public DurationOrBuilder getDurationOrBuilder()
Output only. Video duration.
.google.protobuf.Duration duration = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
DurationOrBuilder |
getFrameRate()
public double getFrameRate()
Output only. Frame rate (frames per second).
double frame_rate = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
double |
The frameRate. |
getHeight()
public int getHeight()
Output only. Video height in pixels.
int32 height = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
The height. |
getVideoBitrateKbps()
public int getVideoBitrateKbps()
Output only. Bitrate of the video in kbps.
int32 video_bitrate_kbps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
The videoBitrateKbps. |
getVideoCodecs(int index)
public String getVideoCodecs(int index)
Output only. Video codecs used in the video.
repeated string video_codecs = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The videoCodecs at the given index. |
getVideoCodecsBytes(int index)
public ByteString getVideoCodecsBytes(int index)
Output only. Video codecs used in the video.
repeated string video_codecs = 6 [(.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 videoCodecs at the given index. |
getVideoCodecsCount()
public int getVideoCodecsCount()
Output only. Video codecs used in the video.
repeated string video_codecs = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
The count of videoCodecs. |
getVideoCodecsList()
public ProtocolStringList getVideoCodecsList()
Output only. Video codecs used in the video.
repeated string video_codecs = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the videoCodecs. |
getWidth()
public int getWidth()
Output only. Video width in pixels.
int32 width = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
The width. |
hasDuration()
public boolean hasDuration()
Output only. Video duration.
.google.protobuf.Duration duration = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the duration field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeDuration(Duration value)
public VideoCharacteristics.Builder mergeDuration(Duration value)
Output only. Video duration.
.google.protobuf.Duration duration = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Duration |
Returns | |
---|---|
Type | Description |
VideoCharacteristics.Builder |
mergeFrom(VideoCharacteristics other)
public VideoCharacteristics.Builder mergeFrom(VideoCharacteristics other)
Parameter | |
---|---|
Name | Description |
other |
VideoCharacteristics |
Returns | |
---|---|
Type | Description |
VideoCharacteristics.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VideoCharacteristics.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
VideoCharacteristics.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public VideoCharacteristics.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
VideoCharacteristics.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VideoCharacteristics.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
VideoCharacteristics.Builder |
setAudioBitrateKbps(int value)
public VideoCharacteristics.Builder setAudioBitrateKbps(int value)
Output only. Bitrate of the audio in kbps.
int32 audio_bitrate_kbps = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
int The audioBitrateKbps to set. |
Returns | |
---|---|
Type | Description |
VideoCharacteristics.Builder |
This builder for chaining. |
setAudioCodecs(int index, String value)
public VideoCharacteristics.Builder setAudioCodecs(int index, String value)
Output only. Audio codecs used in the video.
repeated string audio_codecs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The audioCodecs to set. |
Returns | |
---|---|
Type | Description |
VideoCharacteristics.Builder |
This builder for chaining. |
setDuration(Duration value)
public VideoCharacteristics.Builder setDuration(Duration value)
Output only. Video duration.
.google.protobuf.Duration duration = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Duration |
Returns | |
---|---|
Type | Description |
VideoCharacteristics.Builder |
setDuration(Duration.Builder builderForValue)
public VideoCharacteristics.Builder setDuration(Duration.Builder builderForValue)
Output only. Video duration.
.google.protobuf.Duration duration = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
VideoCharacteristics.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public VideoCharacteristics.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
VideoCharacteristics.Builder |
setFrameRate(double value)
public VideoCharacteristics.Builder setFrameRate(double value)
Output only. Frame rate (frames per second).
double frame_rate = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
double The frameRate to set. |
Returns | |
---|---|
Type | Description |
VideoCharacteristics.Builder |
This builder for chaining. |
setHeight(int value)
public VideoCharacteristics.Builder setHeight(int value)
Output only. Video height in pixels.
int32 height = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
int The height to set. |
Returns | |
---|---|
Type | Description |
VideoCharacteristics.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VideoCharacteristics.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
VideoCharacteristics.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final VideoCharacteristics.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
VideoCharacteristics.Builder |
setVideoBitrateKbps(int value)
public VideoCharacteristics.Builder setVideoBitrateKbps(int value)
Output only. Bitrate of the video in kbps.
int32 video_bitrate_kbps = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
int The videoBitrateKbps to set. |
Returns | |
---|---|
Type | Description |
VideoCharacteristics.Builder |
This builder for chaining. |
setVideoCodecs(int index, String value)
public VideoCharacteristics.Builder setVideoCodecs(int index, String value)
Output only. Video codecs used in the video.
repeated string video_codecs = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The videoCodecs to set. |
Returns | |
---|---|
Type | Description |
VideoCharacteristics.Builder |
This builder for chaining. |
setWidth(int value)
public VideoCharacteristics.Builder setWidth(int value)
Output only. Video width in pixels.
int32 width = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
int The width to set. |
Returns | |
---|---|
Type | Description |
VideoCharacteristics.Builder |
This builder for chaining. |