Class Slate.GamSlate.Builder (0.83.0)

public static final class Slate.GamSlate.Builder extends GeneratedMessage.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

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

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.

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

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.