Class Slate.GamSlate (0.41.0)

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

GAM_SLATE_ID_FIELD_NUMBER

public static final int GAM_SLATE_ID_FIELD_NUMBER
Field Value
TypeDescription
int

NETWORK_CODE_FIELD_NUMBER

public static final int NETWORK_CODE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Slate.GamSlate getDefaultInstance()
Returns
TypeDescription
Slate.GamSlate

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Slate.GamSlate.Builder newBuilder()
Returns
TypeDescription
Slate.GamSlate.Builder

newBuilder(Slate.GamSlate prototype)

public static Slate.GamSlate.Builder newBuilder(Slate.GamSlate prototype)
Parameter
NameDescription
prototypeSlate.GamSlate
Returns
TypeDescription
Slate.GamSlate.Builder

parseDelimitedFrom(InputStream input)

public static Slate.GamSlate parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Slate.GamSlate
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Slate.GamSlate parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Slate.GamSlate
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Slate.GamSlate parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Slate.GamSlate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Slate.GamSlate parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Slate.GamSlate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Slate.GamSlate parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Slate.GamSlate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Slate.GamSlate parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Slate.GamSlate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Slate.GamSlate parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Slate.GamSlate
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Slate.GamSlate parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Slate.GamSlate
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Slate.GamSlate parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Slate.GamSlate
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Slate.GamSlate parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Slate.GamSlate
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Slate.GamSlate parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Slate.GamSlate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Slate.GamSlate parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Slate.GamSlate
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Slate.GamSlate> parser()
Returns
TypeDescription
Parser<GamSlate>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

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.

getParserForType()

public Parser<Slate.GamSlate> getParserForType()
Returns
TypeDescription
Parser<GamSlate>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Slate.GamSlate.Builder newBuilderForType()
Returns
TypeDescription
Slate.GamSlate.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Slate.GamSlate.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Slate.GamSlate.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Slate.GamSlate.Builder toBuilder()
Returns
TypeDescription
Slate.GamSlate.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException