public static final class VideoFormat.Builder extends GeneratedMessageV3.Builder<VideoFormat.Builder> implements VideoFormatOrBuilderProperties of the video format.
Protobuf type google.cloud.video.livestream.v1.VideoFormat
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > VideoFormat.BuilderImplements
VideoFormatOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VideoFormat.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Type | Description |
VideoFormat.Builder |
build()
public VideoFormat build()| Type | Description |
VideoFormat |
buildPartial()
public VideoFormat buildPartial()| Type | Description |
VideoFormat |
clear()
public VideoFormat.Builder clear()| Type | Description |
VideoFormat.Builder |
clearCodec()
public VideoFormat.Builder clearCodec()Video codec used in this video stream.
string codec = 1;
| Type | Description |
VideoFormat.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public VideoFormat.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
field |
FieldDescriptor |
| Type | Description |
VideoFormat.Builder |
clearFrameRate()
public VideoFormat.Builder clearFrameRate()The frame rate of the input video stream.
double frame_rate = 4;
| Type | Description |
VideoFormat.Builder |
This builder for chaining. |
clearHeightPixels()
public VideoFormat.Builder clearHeightPixels()The height of the video stream in pixels.
int32 height_pixels = 3;
| Type | Description |
VideoFormat.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public VideoFormat.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
oneof |
OneofDescriptor |
| Type | Description |
VideoFormat.Builder |
clearWidthPixels()
public VideoFormat.Builder clearWidthPixels()The width of the video stream in pixels.
int32 width_pixels = 2;
| Type | Description |
VideoFormat.Builder |
This builder for chaining. |
clone()
public VideoFormat.Builder clone()| Type | Description |
VideoFormat.Builder |
getCodec()
public String getCodec()Video codec used in this video stream.
string codec = 1;
| Type | Description |
String |
The codec. |
getCodecBytes()
public ByteString getCodecBytes()Video codec used in this video stream.
string codec = 1;
| Type | Description |
ByteString |
The bytes for codec. |
getDefaultInstanceForType()
public VideoFormat getDefaultInstanceForType()| Type | Description |
VideoFormat |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
Descriptor |
getFrameRate()
public double getFrameRate()The frame rate of the input video stream.
double frame_rate = 4;
| Type | Description |
double |
The frameRate. |
getHeightPixels()
public int getHeightPixels()The height of the video stream in pixels.
int32 height_pixels = 3;
| Type | Description |
int |
The heightPixels. |
getWidthPixels()
public int getWidthPixels()The width of the video stream in pixels.
int32 width_pixels = 2;
| Type | Description |
int |
The widthPixels. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
boolean |
mergeFrom(VideoFormat other)
public VideoFormat.Builder mergeFrom(VideoFormat other)| Name | Description |
other |
VideoFormat |
| Type | Description |
VideoFormat.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VideoFormat.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Type | Description |
VideoFormat.Builder |
| Type | Description |
IOException |
mergeFrom(Message other)
public VideoFormat.Builder mergeFrom(Message other)| Name | Description |
other |
Message |
| Type | Description |
VideoFormat.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VideoFormat.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
unknownFields |
UnknownFieldSet |
| Type | Description |
VideoFormat.Builder |
setCodec(String value)
public VideoFormat.Builder setCodec(String value)Video codec used in this video stream.
string codec = 1;
| Name | Description |
value |
StringThe codec to set. |
| Type | Description |
VideoFormat.Builder |
This builder for chaining. |
setCodecBytes(ByteString value)
public VideoFormat.Builder setCodecBytes(ByteString value)Video codec used in this video stream.
string codec = 1;
| Name | Description |
value |
ByteStringThe bytes for codec to set. |
| Type | Description |
VideoFormat.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public VideoFormat.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Type | Description |
VideoFormat.Builder |
setFrameRate(double value)
public VideoFormat.Builder setFrameRate(double value)The frame rate of the input video stream.
double frame_rate = 4;
| Name | Description |
value |
doubleThe frameRate to set. |
| Type | Description |
VideoFormat.Builder |
This builder for chaining. |
setHeightPixels(int value)
public VideoFormat.Builder setHeightPixels(int value)The height of the video stream in pixels.
int32 height_pixels = 3;
| Name | Description |
value |
intThe heightPixels to set. |
| Type | Description |
VideoFormat.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VideoFormat.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Type | Description |
VideoFormat.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final VideoFormat.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
unknownFields |
UnknownFieldSet |
| Type | Description |
VideoFormat.Builder |
setWidthPixels(int value)
public VideoFormat.Builder setWidthPixels(int value)The width of the video stream in pixels.
int32 width_pixels = 2;
| Name | Description |
value |
intThe widthPixels to set. |
| Type | Description |
VideoFormat.Builder |
This builder for chaining. |