Class GamVodConfig.Builder (0.48.0)

public static final class GamVodConfig.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public GamVodConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public GamVodConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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