Class GamLiveConfig (0.46.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
Type Description
int

CUSTOM_ASSET_KEY_FIELD_NUMBER

public static final int CUSTOM_ASSET_KEY_FIELD_NUMBER
Field Value
Type Description
int

NETWORK_CODE_FIELD_NUMBER

public static final int NETWORK_CODE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GamLiveConfig getDefaultInstance()
Returns
Type Description
GamLiveConfig

getDescriptor()

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

newBuilder()

public static GamLiveConfig.Builder newBuilder()
Returns
Type Description
GamLiveConfig.Builder

newBuilder(GamLiveConfig prototype)

public static GamLiveConfig.Builder newBuilder(GamLiveConfig prototype)
Parameter
Name Description
prototype GamLiveConfig
Returns
Type Description
GamLiveConfig.Builder

parseDelimitedFrom(InputStream input)

public static GamLiveConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GamLiveConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GamLiveConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GamLiveConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GamLiveConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GamLiveConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GamLiveConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GamLiveConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GamLiveConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GamLiveConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GamLiveConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GamLiveConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GamLiveConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GamLiveConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GamLiveConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GamLiveConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GamLiveConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GamLiveConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GamLiveConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GamLiveConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GamLiveConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GamLiveConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GamLiveConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GamLiveConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GamLiveConfig> parser()
Returns
Type Description
Parser<GamLiveConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for customAssetKey.

getDefaultInstanceForType()

public GamLiveConfig getDefaultInstanceForType()
Returns
Type Description
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
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.

getParserForType()

public Parser<GamLiveConfig> getParserForType()
Returns
Type Description
Parser<GamLiveConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GamLiveConfig.Builder newBuilderForType()
Returns
Type Description
GamLiveConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GamLiveConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GamLiveConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public GamLiveConfig.Builder toBuilder()
Returns
Type Description
GamLiveConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException