- 0.80.0 (latest)
- 0.78.0
- 0.77.0
- 0.76.0
- 0.75.0
- 0.74.0
- 0.72.0
- 0.70.0
- 0.69.0
- 0.66.0
- 0.65.0
- 0.64.0
- 0.62.0
- 0.61.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.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.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.8
- 0.3.0
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()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VideoFormat.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
VideoFormat.Builder |
|
build()
public VideoFormat build()| Returns | |
|---|---|
| Type | Description |
VideoFormat |
|
buildPartial()
public VideoFormat buildPartial()| Returns | |
|---|---|
| Type | Description |
VideoFormat |
|
clear()
public VideoFormat.Builder clear()| Returns | |
|---|---|
| Type | Description |
VideoFormat.Builder |
|
clearCodec()
public VideoFormat.Builder clearCodec()Video codec used in this video stream.
string codec = 1;
| Returns | |
|---|---|
| Type | Description |
VideoFormat.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public VideoFormat.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
VideoFormat.Builder |
|
clearFrameRate()
public VideoFormat.Builder clearFrameRate()The frame rate of the input video stream.
double frame_rate = 4;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
VideoFormat.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public VideoFormat.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
VideoFormat.Builder |
|
clearWidthPixels()
public VideoFormat.Builder clearWidthPixels()The width of the video stream in pixels.
int32 width_pixels = 2;
| Returns | |
|---|---|
| Type | Description |
VideoFormat.Builder |
This builder for chaining. |
clone()
public VideoFormat.Builder clone()| Returns | |
|---|---|
| Type | Description |
VideoFormat.Builder |
|
getCodec()
public String getCodec()Video codec used in this video stream.
string codec = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The codec. |
getCodecBytes()
public ByteString getCodecBytes()Video codec used in this video stream.
string codec = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for codec. |
getDefaultInstanceForType()
public VideoFormat getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
VideoFormat |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFrameRate()
public double getFrameRate()The frame rate of the input video stream.
double frame_rate = 4;
| Returns | |
|---|---|
| Type | Description |
double |
The frameRate. |
getHeightPixels()
public int getHeightPixels()The height of the video stream in pixels.
int32 height_pixels = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The heightPixels. |
getWidthPixels()
public int getWidthPixels()The width of the video stream in pixels.
int32 width_pixels = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The widthPixels. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(VideoFormat other)
public VideoFormat.Builder mergeFrom(VideoFormat other)| Parameter | |
|---|---|
| Name | Description |
other |
VideoFormat |
| Returns | |
|---|---|
| Type | Description |
VideoFormat.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VideoFormat.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
VideoFormat.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public VideoFormat.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
VideoFormat.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VideoFormat.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
VideoFormat.Builder |
|
setCodec(String value)
public VideoFormat.Builder setCodec(String value)Video codec used in this video stream.
string codec = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe codec to set. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for codec to set. |
| Returns | |
|---|---|
| Type | Description |
VideoFormat.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public VideoFormat.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
doubleThe frameRate to set. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe heightPixels to set. |
| Returns | |
|---|---|
| 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)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
VideoFormat.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final VideoFormat.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe widthPixels to set. |
| Returns | |
|---|---|
| Type | Description |
VideoFormat.Builder |
This builder for chaining. |