Class GamLiveConfig (0.34.0)

public final class GamLiveConfig extends GeneratedMessageV3 implements GamLiveConfigOrBuilder

Metadata used to register a live stream with Google Ad Manager (GAM)

Protobuf type google.cloud.video.stitcher.v1.GamLiveConfig

Static Fields

ASSET_KEY_FIELD_NUMBER

public static final int ASSET_KEY_FIELD_NUMBER
Field Value
TypeDescription
int

CUSTOM_ASSET_KEY_FIELD_NUMBER

public static final int CUSTOM_ASSET_KEY_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 GamLiveConfig getDefaultInstance()
Returns
TypeDescription
GamLiveConfig

getDescriptor()

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

newBuilder()

public static GamLiveConfig.Builder newBuilder()
Returns
TypeDescription
GamLiveConfig.Builder

newBuilder(GamLiveConfig prototype)

public static GamLiveConfig.Builder newBuilder(GamLiveConfig prototype)
Parameter
NameDescription
prototypeGamLiveConfig
Returns
TypeDescription
GamLiveConfig.Builder

parseDelimitedFrom(InputStream input)

public static GamLiveConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GamLiveConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static GamLiveConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
GamLiveConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static GamLiveConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
GamLiveConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static GamLiveConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GamLiveConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static GamLiveConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
GamLiveConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<GamLiveConfig> parser()
Returns
TypeDescription
Parser<GamLiveConfig>

Methods

equals(Object obj)

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

getAssetKey()

public String getAssetKey()

Output only. The asset key identifier generated for the live config.

string asset_key = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The assetKey.

getAssetKeyBytes()

public ByteString getAssetKeyBytes()

Output only. The asset key identifier generated for the live config.

string asset_key = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for assetKey.

getCustomAssetKey()

public String getCustomAssetKey()

Output only. The custom asset key identifier generated for the live config.

string custom_asset_key = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The customAssetKey.

getCustomAssetKeyBytes()

public ByteString getCustomAssetKeyBytes()

Output only. The custom asset key identifier generated for the live config.

string custom_asset_key = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for customAssetKey.

getDefaultInstanceForType()

public GamLiveConfig getDefaultInstanceForType()
Returns
TypeDescription
GamLiveConfig

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<GamLiveConfig> getParserForType()
Returns
TypeDescription
Parser<GamLiveConfig>
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 GamLiveConfig.Builder newBuilderForType()
Returns
TypeDescription
GamLiveConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public GamLiveConfig.Builder toBuilder()
Returns
TypeDescription
GamLiveConfig.Builder

writeTo(CodedOutputStream output)

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