public static final class VideoStream.Builder extends GeneratedMessageV3.Builder<VideoStream.Builder> implements VideoStreamOrBuilder
Video stream resource.
Protobuf type google.cloud.video.transcoder.v1.VideoStream
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VideoStream.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public VideoStream build()
Returns
buildPartial()
public VideoStream buildPartial()
Returns
clear()
public VideoStream.Builder clear()
Returns
Overrides
clearCodecSettings()
public VideoStream.Builder clearCodecSettings()
Returns
clearField(Descriptors.FieldDescriptor field)
public VideoStream.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearH264()
public VideoStream.Builder clearH264()
H264 codec settings.
.google.cloud.video.transcoder.v1.VideoStream.H264CodecSettings h264 = 1;
Returns
clearH265()
public VideoStream.Builder clearH265()
H265 codec settings.
.google.cloud.video.transcoder.v1.VideoStream.H265CodecSettings h265 = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public VideoStream.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearVp9()
public VideoStream.Builder clearVp9()
VP9 codec settings.
.google.cloud.video.transcoder.v1.VideoStream.Vp9CodecSettings vp9 = 3;
Returns
clone()
public VideoStream.Builder clone()
Returns
Overrides
getCodecSettingsCase()
public VideoStream.CodecSettingsCase getCodecSettingsCase()
Returns
getDefaultInstanceForType()
public VideoStream getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getH264()
public VideoStream.H264CodecSettings getH264()
H264 codec settings.
.google.cloud.video.transcoder.v1.VideoStream.H264CodecSettings h264 = 1;
Returns
getH264Builder()
public VideoStream.H264CodecSettings.Builder getH264Builder()
H264 codec settings.
.google.cloud.video.transcoder.v1.VideoStream.H264CodecSettings h264 = 1;
Returns
getH264OrBuilder()
public VideoStream.H264CodecSettingsOrBuilder getH264OrBuilder()
H264 codec settings.
.google.cloud.video.transcoder.v1.VideoStream.H264CodecSettings h264 = 1;
Returns
getH265()
public VideoStream.H265CodecSettings getH265()
H265 codec settings.
.google.cloud.video.transcoder.v1.VideoStream.H265CodecSettings h265 = 2;
Returns
getH265Builder()
public VideoStream.H265CodecSettings.Builder getH265Builder()
H265 codec settings.
.google.cloud.video.transcoder.v1.VideoStream.H265CodecSettings h265 = 2;
Returns
getH265OrBuilder()
public VideoStream.H265CodecSettingsOrBuilder getH265OrBuilder()
H265 codec settings.
.google.cloud.video.transcoder.v1.VideoStream.H265CodecSettings h265 = 2;
Returns
getVp9()
public VideoStream.Vp9CodecSettings getVp9()
VP9 codec settings.
.google.cloud.video.transcoder.v1.VideoStream.Vp9CodecSettings vp9 = 3;
Returns
getVp9Builder()
public VideoStream.Vp9CodecSettings.Builder getVp9Builder()
VP9 codec settings.
.google.cloud.video.transcoder.v1.VideoStream.Vp9CodecSettings vp9 = 3;
Returns
getVp9OrBuilder()
public VideoStream.Vp9CodecSettingsOrBuilder getVp9OrBuilder()
VP9 codec settings.
.google.cloud.video.transcoder.v1.VideoStream.Vp9CodecSettings vp9 = 3;
Returns
hasH264()
H264 codec settings.
.google.cloud.video.transcoder.v1.VideoStream.H264CodecSettings h264 = 1;
Returns
Type | Description |
boolean | Whether the h264 field is set.
|
hasH265()
H265 codec settings.
.google.cloud.video.transcoder.v1.VideoStream.H265CodecSettings h265 = 2;
Returns
Type | Description |
boolean | Whether the h265 field is set.
|
hasVp9()
VP9 codec settings.
.google.cloud.video.transcoder.v1.VideoStream.Vp9CodecSettings vp9 = 3;
Returns
Type | Description |
boolean | Whether the vp9 field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(VideoStream other)
public VideoStream.Builder mergeFrom(VideoStream other)
Parameter
Returns
public VideoStream.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public VideoStream.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeH264(VideoStream.H264CodecSettings value)
public VideoStream.Builder mergeH264(VideoStream.H264CodecSettings value)
H264 codec settings.
.google.cloud.video.transcoder.v1.VideoStream.H264CodecSettings h264 = 1;
Parameter
Returns
mergeH265(VideoStream.H265CodecSettings value)
public VideoStream.Builder mergeH265(VideoStream.H265CodecSettings value)
H265 codec settings.
.google.cloud.video.transcoder.v1.VideoStream.H265CodecSettings h265 = 2;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VideoStream.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeVp9(VideoStream.Vp9CodecSettings value)
public VideoStream.Builder mergeVp9(VideoStream.Vp9CodecSettings value)
VP9 codec settings.
.google.cloud.video.transcoder.v1.VideoStream.Vp9CodecSettings vp9 = 3;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public VideoStream.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setH264(VideoStream.H264CodecSettings value)
public VideoStream.Builder setH264(VideoStream.H264CodecSettings value)
H264 codec settings.
.google.cloud.video.transcoder.v1.VideoStream.H264CodecSettings h264 = 1;
Parameter
Returns
setH264(VideoStream.H264CodecSettings.Builder builderForValue)
public VideoStream.Builder setH264(VideoStream.H264CodecSettings.Builder builderForValue)
H264 codec settings.
.google.cloud.video.transcoder.v1.VideoStream.H264CodecSettings h264 = 1;
Parameter
Returns
setH265(VideoStream.H265CodecSettings value)
public VideoStream.Builder setH265(VideoStream.H265CodecSettings value)
H265 codec settings.
.google.cloud.video.transcoder.v1.VideoStream.H265CodecSettings h265 = 2;
Parameter
Returns
setH265(VideoStream.H265CodecSettings.Builder builderForValue)
public VideoStream.Builder setH265(VideoStream.H265CodecSettings.Builder builderForValue)
H265 codec settings.
.google.cloud.video.transcoder.v1.VideoStream.H265CodecSettings h265 = 2;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VideoStream.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final VideoStream.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setVp9(VideoStream.Vp9CodecSettings value)
public VideoStream.Builder setVp9(VideoStream.Vp9CodecSettings value)
VP9 codec settings.
.google.cloud.video.transcoder.v1.VideoStream.Vp9CodecSettings vp9 = 3;
Parameter
Returns
setVp9(VideoStream.Vp9CodecSettings.Builder builderForValue)
public VideoStream.Builder setVp9(VideoStream.Vp9CodecSettings.Builder builderForValue)
VP9 codec settings.
.google.cloud.video.transcoder.v1.VideoStream.Vp9CodecSettings vp9 = 3;
Parameter
Returns