Class GamLiveConfig.Builder (0.48.0)

public static final class GamLiveConfig.Builder extends GeneratedMessageV3.Builder<GamLiveConfig.Builder> implements GamLiveConfigOrBuilder

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

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GamLiveConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GamLiveConfig.Builder
Overrides

build()

public GamLiveConfig build()
Returns
Type Description
GamLiveConfig

buildPartial()

public GamLiveConfig buildPartial()
Returns
Type Description
GamLiveConfig

clear()

public GamLiveConfig.Builder clear()
Returns
Type Description
GamLiveConfig.Builder
Overrides

clearAssetKey()

public GamLiveConfig.Builder clearAssetKey()

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

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

Returns
Type Description
GamLiveConfig.Builder

This builder for chaining.

clearCustomAssetKey()

public GamLiveConfig.Builder clearCustomAssetKey()

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
GamLiveConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public GamLiveConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GamLiveConfig.Builder
Overrides

clearNetworkCode()

public GamLiveConfig.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
GamLiveConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GamLiveConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GamLiveConfig.Builder
Overrides

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GamLiveConfig other)

public GamLiveConfig.Builder mergeFrom(GamLiveConfig other)
Parameter
Name Description
other GamLiveConfig
Returns
Type Description
GamLiveConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GamLiveConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GamLiveConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GamLiveConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GamLiveConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GamLiveConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GamLiveConfig.Builder
Overrides

setAssetKey(String value)

public GamLiveConfig.Builder setAssetKey(String value)

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

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

Parameter
Name Description
value String

The assetKey to set.

Returns
Type Description
GamLiveConfig.Builder

This builder for chaining.

setAssetKeyBytes(ByteString value)

public GamLiveConfig.Builder setAssetKeyBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for assetKey to set.

Returns
Type Description
GamLiveConfig.Builder

This builder for chaining.

setCustomAssetKey(String value)

public GamLiveConfig.Builder setCustomAssetKey(String value)

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

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

Parameter
Name Description
value String

The customAssetKey to set.

Returns
Type Description
GamLiveConfig.Builder

This builder for chaining.

setCustomAssetKeyBytes(ByteString value)

public GamLiveConfig.Builder setCustomAssetKeyBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for customAssetKey to set.

Returns
Type Description
GamLiveConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public GamLiveConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GamLiveConfig.Builder
Overrides

setNetworkCode(String value)

public GamLiveConfig.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
GamLiveConfig.Builder

This builder for chaining.

setNetworkCodeBytes(ByteString value)

public GamLiveConfig.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
GamLiveConfig.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GamLiveConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GamLiveConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GamLiveConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GamLiveConfig.Builder
Overrides