Class GamLiveConfig.Builder (0.23.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GamLiveConfig build()
Returns
TypeDescription
GamLiveConfig

buildPartial()

public GamLiveConfig buildPartial()
Returns
TypeDescription
GamLiveConfig

clear()

public GamLiveConfig.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
GamLiveConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDescriptorForType()

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

public GamLiveConfig.Builder mergeFrom(GamLiveConfig other)
Parameter
NameDescription
otherGamLiveConfig
Returns
TypeDescription
GamLiveConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GamLiveConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The assetKey to set.

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

The bytes for assetKey to set.

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

The customAssetKey to set.

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

The bytes for customAssetKey to set.

Returns
TypeDescription
GamLiveConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The networkCode to set.

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

The bytes for networkCode to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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