Class VodConfig.Builder (0.49.0)

public static final class VodConfig.Builder extends GeneratedMessageV3.Builder<VodConfig.Builder> implements VodConfigOrBuilder

Metadata used to register VOD configs.

Protobuf type google.cloud.video.stitcher.v1.VodConfig

Implements

VodConfigOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VodConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VodConfig.Builder
Overrides

build()

public VodConfig build()
Returns
Type Description
VodConfig

buildPartial()

public VodConfig buildPartial()
Returns
Type Description
VodConfig

clear()

public VodConfig.Builder clear()
Returns
Type Description
VodConfig.Builder
Overrides

clearAdTagUri()

public VodConfig.Builder clearAdTagUri()

Required. The default ad tag associated with this VOD config.

string ad_tag_uri = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
VodConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public VodConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
VodConfig.Builder
Overrides

clearGamVodConfig()

public VodConfig.Builder clearGamVodConfig()

Optional. Google Ad Manager (GAM) metadata.

.google.cloud.video.stitcher.v1.GamVodConfig gam_vod_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
VodConfig.Builder

clearName()

public VodConfig.Builder clearName()

Output only. The resource name of the VOD config, in the form of projects/{project}/locations/{location}/vodConfigs/{id}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VodConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public VodConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
VodConfig.Builder
Overrides

clearSourceFetchOptions()

public VodConfig.Builder clearSourceFetchOptions()

Options for fetching source manifests and segments.

.google.cloud.video.stitcher.v1.FetchOptions source_fetch_options = 8;

Returns
Type Description
VodConfig.Builder

clearSourceUri()

public VodConfig.Builder clearSourceUri()

Required. Source URI for the VOD stream manifest.

string source_uri = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
VodConfig.Builder

This builder for chaining.

clearState()

public VodConfig.Builder clearState()

Output only. State of the VOD config.

.google.cloud.video.stitcher.v1.VodConfig.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VodConfig.Builder

This builder for chaining.

clone()

public VodConfig.Builder clone()
Returns
Type Description
VodConfig.Builder
Overrides

getAdTagUri()

public String getAdTagUri()

Required. The default ad tag associated with this VOD config.

string ad_tag_uri = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The adTagUri.

getAdTagUriBytes()

public ByteString getAdTagUriBytes()

Required. The default ad tag associated with this VOD config.

string ad_tag_uri = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for adTagUri.

getDefaultInstanceForType()

public VodConfig getDefaultInstanceForType()
Returns
Type Description
VodConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getGamVodConfig()

public GamVodConfig getGamVodConfig()

Optional. Google Ad Manager (GAM) metadata.

.google.cloud.video.stitcher.v1.GamVodConfig gam_vod_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GamVodConfig

The gamVodConfig.

getGamVodConfigBuilder()

public GamVodConfig.Builder getGamVodConfigBuilder()

Optional. Google Ad Manager (GAM) metadata.

.google.cloud.video.stitcher.v1.GamVodConfig gam_vod_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GamVodConfig.Builder

getGamVodConfigOrBuilder()

public GamVodConfigOrBuilder getGamVodConfigOrBuilder()

Optional. Google Ad Manager (GAM) metadata.

.google.cloud.video.stitcher.v1.GamVodConfig gam_vod_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GamVodConfigOrBuilder

getName()

public String getName()

Output only. The resource name of the VOD config, in the form of projects/{project}/locations/{location}/vodConfigs/{id}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The resource name of the VOD config, in the form of projects/{project}/locations/{location}/vodConfigs/{id}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getSourceFetchOptions()

public FetchOptions getSourceFetchOptions()

Options for fetching source manifests and segments.

.google.cloud.video.stitcher.v1.FetchOptions source_fetch_options = 8;

Returns
Type Description
FetchOptions

The sourceFetchOptions.

getSourceFetchOptionsBuilder()

public FetchOptions.Builder getSourceFetchOptionsBuilder()

Options for fetching source manifests and segments.

.google.cloud.video.stitcher.v1.FetchOptions source_fetch_options = 8;

Returns
Type Description
FetchOptions.Builder

getSourceFetchOptionsOrBuilder()

public FetchOptionsOrBuilder getSourceFetchOptionsOrBuilder()

Options for fetching source manifests and segments.

.google.cloud.video.stitcher.v1.FetchOptions source_fetch_options = 8;

Returns
Type Description
FetchOptionsOrBuilder

getSourceUri()

public String getSourceUri()

Required. Source URI for the VOD stream manifest.

string source_uri = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The sourceUri.

getSourceUriBytes()

public ByteString getSourceUriBytes()

Required. Source URI for the VOD stream manifest.

string source_uri = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for sourceUri.

getState()

public VodConfig.State getState()

Output only. State of the VOD config.

.google.cloud.video.stitcher.v1.VodConfig.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VodConfig.State

The state.

getStateValue()

public int getStateValue()

Output only. State of the VOD config.

.google.cloud.video.stitcher.v1.VodConfig.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

hasGamVodConfig()

public boolean hasGamVodConfig()

Optional. Google Ad Manager (GAM) metadata.

.google.cloud.video.stitcher.v1.GamVodConfig gam_vod_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the gamVodConfig field is set.

hasSourceFetchOptions()

public boolean hasSourceFetchOptions()

Options for fetching source manifests and segments.

.google.cloud.video.stitcher.v1.FetchOptions source_fetch_options = 8;

Returns
Type Description
boolean

Whether the sourceFetchOptions field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VodConfig other)

public VodConfig.Builder mergeFrom(VodConfig other)
Parameter
Name Description
other VodConfig
Returns
Type Description
VodConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VodConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VodConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public VodConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
VodConfig.Builder
Overrides

mergeGamVodConfig(GamVodConfig value)

public VodConfig.Builder mergeGamVodConfig(GamVodConfig value)

Optional. Google Ad Manager (GAM) metadata.

.google.cloud.video.stitcher.v1.GamVodConfig gam_vod_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value GamVodConfig
Returns
Type Description
VodConfig.Builder

mergeSourceFetchOptions(FetchOptions value)

public VodConfig.Builder mergeSourceFetchOptions(FetchOptions value)

Options for fetching source manifests and segments.

.google.cloud.video.stitcher.v1.FetchOptions source_fetch_options = 8;

Parameter
Name Description
value FetchOptions
Returns
Type Description
VodConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VodConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VodConfig.Builder
Overrides

setAdTagUri(String value)

public VodConfig.Builder setAdTagUri(String value)

Required. The default ad tag associated with this VOD config.

string ad_tag_uri = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The adTagUri to set.

Returns
Type Description
VodConfig.Builder

This builder for chaining.

setAdTagUriBytes(ByteString value)

public VodConfig.Builder setAdTagUriBytes(ByteString value)

Required. The default ad tag associated with this VOD config.

string ad_tag_uri = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for adTagUri to set.

Returns
Type Description
VodConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public VodConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VodConfig.Builder
Overrides

setGamVodConfig(GamVodConfig value)

public VodConfig.Builder setGamVodConfig(GamVodConfig value)

Optional. Google Ad Manager (GAM) metadata.

.google.cloud.video.stitcher.v1.GamVodConfig gam_vod_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value GamVodConfig
Returns
Type Description
VodConfig.Builder

setGamVodConfig(GamVodConfig.Builder builderForValue)

public VodConfig.Builder setGamVodConfig(GamVodConfig.Builder builderForValue)

Optional. Google Ad Manager (GAM) metadata.

.google.cloud.video.stitcher.v1.GamVodConfig gam_vod_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue GamVodConfig.Builder
Returns
Type Description
VodConfig.Builder

setName(String value)

public VodConfig.Builder setName(String value)

Output only. The resource name of the VOD config, in the form of projects/{project}/locations/{location}/vodConfigs/{id}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
VodConfig.Builder

This builder for chaining.

setNameBytes(ByteString value)

public VodConfig.Builder setNameBytes(ByteString value)

Output only. The resource name of the VOD config, in the form of projects/{project}/locations/{location}/vodConfigs/{id}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
VodConfig.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public VodConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
VodConfig.Builder
Overrides

setSourceFetchOptions(FetchOptions value)

public VodConfig.Builder setSourceFetchOptions(FetchOptions value)

Options for fetching source manifests and segments.

.google.cloud.video.stitcher.v1.FetchOptions source_fetch_options = 8;

Parameter
Name Description
value FetchOptions
Returns
Type Description
VodConfig.Builder

setSourceFetchOptions(FetchOptions.Builder builderForValue)

public VodConfig.Builder setSourceFetchOptions(FetchOptions.Builder builderForValue)

Options for fetching source manifests and segments.

.google.cloud.video.stitcher.v1.FetchOptions source_fetch_options = 8;

Parameter
Name Description
builderForValue FetchOptions.Builder
Returns
Type Description
VodConfig.Builder

setSourceUri(String value)

public VodConfig.Builder setSourceUri(String value)

Required. Source URI for the VOD stream manifest.

string source_uri = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The sourceUri to set.

Returns
Type Description
VodConfig.Builder

This builder for chaining.

setSourceUriBytes(ByteString value)

public VodConfig.Builder setSourceUriBytes(ByteString value)

Required. Source URI for the VOD stream manifest.

string source_uri = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for sourceUri to set.

Returns
Type Description
VodConfig.Builder

This builder for chaining.

setState(VodConfig.State value)

public VodConfig.Builder setState(VodConfig.State value)

Output only. State of the VOD config.

.google.cloud.video.stitcher.v1.VodConfig.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value VodConfig.State

The state to set.

Returns
Type Description
VodConfig.Builder

This builder for chaining.

setStateValue(int value)

public VodConfig.Builder setStateValue(int value)

Output only. State of the VOD config.

.google.cloud.video.stitcher.v1.VodConfig.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
VodConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final VodConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VodConfig.Builder
Overrides