Class Slate.GamSlate.Builder (0.21.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Slate.GamSlate.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Slate.GamSlate.Builder
Overrides

build()

public Slate.GamSlate build()
Returns
TypeDescription
Slate.GamSlate

buildPartial()

public Slate.GamSlate buildPartial()
Returns
TypeDescription
Slate.GamSlate

clear()

public Slate.GamSlate.Builder clear()
Returns
TypeDescription
Slate.GamSlate.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Slate.GamSlate.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Slate.GamSlate.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Slate.GamSlate.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Slate.GamSlate.Builder
Overrides

clone()

public Slate.GamSlate.Builder clone()
Returns
TypeDescription
Slate.GamSlate.Builder
Overrides

getDefaultInstanceForType()

public Slate.GamSlate getDefaultInstanceForType()
Returns
TypeDescription
Slate.GamSlate

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for networkCode.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Slate.GamSlate other)

public Slate.GamSlate.Builder mergeFrom(Slate.GamSlate other)
Parameter
NameDescription
otherSlate.GamSlate
Returns
TypeDescription
Slate.GamSlate.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Slate.GamSlate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Slate.GamSlate.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Slate.GamSlate.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Slate.GamSlate.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Slate.GamSlate.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Slate.GamSlate.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Slate.GamSlate.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuelong

The gamSlateId to set.

Returns
TypeDescription
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
NameDescription
valueString

The networkCode to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for networkCode to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Slate.GamSlate.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Slate.GamSlate.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Slate.GamSlate.Builder
Overrides