public static final class GamLiveConfig.Builder extends GeneratedMessage.Builder<GamLiveConfig.Builder> implements GamLiveConfigOrBuilderMetadata used to register a live stream with Google Ad Manager (GAM)
Protobuf type google.cloud.video.stitcher.v1.GamLiveConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GamLiveConfig.BuilderImplements
GamLiveConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
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. |
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 |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GamLiveConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GamLiveConfig.Builder |
|
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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for customAssetKey to set. |
| Returns | |
|---|---|
| Type | Description |
GamLiveConfig.Builder |
This builder for chaining. |
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 |
StringThe 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 |
ByteStringThe bytes for networkCode to set. |
| Returns | |
|---|---|
| Type | Description |
GamLiveConfig.Builder |
This builder for chaining. |