Class Slate.GamSlate.Builder (0.42.0)

public static final class Slate.GamSlate.Builder extends GeneratedMessageV3.Builder<Slate.GamSlate.Builder> implements Slate.GamSlateOrBuilder

GamSlate object has Google Ad Manager (GAM) related properties for the slate.

Protobuf type google.cloud.video.stitcher.v1.Slate.GamSlate

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Slate.GamSlate build()
Returns
Type Description
Slate.GamSlate

buildPartial()

public Slate.GamSlate buildPartial()
Returns
Type Description
Slate.GamSlate

clear()

public Slate.GamSlate.Builder clear()
Returns
Type Description
Slate.GamSlate.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearGamSlateId()

public Slate.GamSlate.Builder clearGamSlateId()

Output only. The identifier generated for the slate by GAM.

int64 gam_slate_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Slate.GamSlate.Builder

This builder for chaining.

clearNetworkCode()

public Slate.GamSlate.Builder clearNetworkCode()

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

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

Returns
Type Description
Slate.GamSlate.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public Slate.GamSlate.Builder clone()
Returns
Type Description
Slate.GamSlate.Builder
Overrides

getDefaultInstanceForType()

public Slate.GamSlate getDefaultInstanceForType()
Returns
Type Description
Slate.GamSlate

getDescriptorForType()

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

getGamSlateId()

public long getGamSlateId()

Output only. The identifier generated for the slate by GAM.

int64 gam_slate_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The gamSlateId.

getNetworkCode()

public String getNetworkCode()

Required. Ad Manager network code to associate with the live 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 live 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(Slate.GamSlate other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setGamSlateId(long value)

public Slate.GamSlate.Builder setGamSlateId(long value)

Output only. The identifier generated for the slate by GAM.

int64 gam_slate_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value long

The gamSlateId to set.

Returns
Type Description
Slate.GamSlate.Builder

This builder for chaining.

setNetworkCode(String value)

public Slate.GamSlate.Builder setNetworkCode(String value)

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

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

Parameter
Name Description
value String

The networkCode to set.

Returns
Type Description
Slate.GamSlate.Builder

This builder for chaining.

setNetworkCodeBytes(ByteString value)

public Slate.GamSlate.Builder setNetworkCodeBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for networkCode to set.

Returns
Type Description
Slate.GamSlate.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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