Class GamVodConfig.Builder (0.83.0)

public static final class GamVodConfig.Builder extends GeneratedMessage.Builder<GamVodConfig.Builder> implements GamVodConfigOrBuilder

Metadata used for GAM ad decisioning.

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

Static Methods

getDescriptor()

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

Methods

build()

public GamVodConfig build()
Returns
Type Description
GamVodConfig

buildPartial()

public GamVodConfig buildPartial()
Returns
Type Description
GamVodConfig

clear()

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

clearNetworkCode()

public GamVodConfig.Builder clearNetworkCode()

Required. Ad Manager network code to associate with the VOD config.

string network_code = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GamVodConfig.Builder

This builder for chaining.

getDefaultInstanceForType()

public GamVodConfig getDefaultInstanceForType()
Returns
Type Description
GamVodConfig

getDescriptorForType()

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

getNetworkCode()

public String getNetworkCode()

Required. Ad Manager network code to associate with the VOD config.

string network_code = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The networkCode.

getNetworkCodeBytes()

public ByteString getNetworkCodeBytes()

Required. Ad Manager network code to associate with the VOD config.

string network_code = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for networkCode.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GamVodConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setNetworkCode(String value)

public GamVodConfig.Builder setNetworkCode(String value)

Required. Ad Manager network code to associate with the VOD config.

string network_code = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The networkCode to set.

Returns
Type Description
GamVodConfig.Builder

This builder for chaining.

setNetworkCodeBytes(ByteString value)

public GamVodConfig.Builder setNetworkCodeBytes(ByteString value)

Required. Ad Manager network code to associate with the VOD config.

string network_code = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for networkCode to set.

Returns
Type Description
GamVodConfig.Builder

This builder for chaining.