Class GamLiveConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GamLiveConfig.Builder>
com.google.cloud.video.stitcher.v1.GamLiveConfig.Builder
All Implemented Interfaces:
GamLiveConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
GamLiveConfig

public static final class GamLiveConfig.Builder extends com.google.protobuf.GeneratedMessage.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
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<GamLiveConfig.Builder>
    • clear

      public GamLiveConfig.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<GamLiveConfig.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<GamLiveConfig.Builder>
    • getDefaultInstanceForType

      public GamLiveConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public GamLiveConfig build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public GamLiveConfig buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public GamLiveConfig.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GamLiveConfig.Builder>
    • mergeFrom

      public GamLiveConfig.Builder mergeFrom(GamLiveConfig other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<GamLiveConfig.Builder>
    • mergeFrom

      public GamLiveConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GamLiveConfig.Builder>
      Throws:
      IOException
    • getNetworkCode

      public String getNetworkCode()
       Required. Ad Manager network code to associate with the live config.
       
      string network_code = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNetworkCode in interface GamLiveConfigOrBuilder
      Returns:
      The networkCode.
    • getNetworkCodeBytes

      public com.google.protobuf.ByteString getNetworkCodeBytes()
       Required. Ad Manager network code to associate with the live config.
       
      string network_code = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNetworkCodeBytes in interface GamLiveConfigOrBuilder
      Returns:
      The bytes for networkCode.
    • setNetworkCode

      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];
      Parameters:
      value - The networkCode to set.
      Returns:
      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:
      This builder for chaining.
    • setNetworkCodeBytes

      public GamLiveConfig.Builder setNetworkCodeBytes(com.google.protobuf.ByteString value)
       Required. Ad Manager network code to associate with the live config.
       
      string network_code = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for networkCode to set.
      Returns:
      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];
      Specified by:
      getAssetKey in interface GamLiveConfigOrBuilder
      Returns:
      The assetKey.
    • getAssetKeyBytes

      public com.google.protobuf.ByteString getAssetKeyBytes()
       Output only. The asset key identifier generated for the live config.
       
      string asset_key = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAssetKeyBytes in interface GamLiveConfigOrBuilder
      Returns:
      The bytes for assetKey.
    • setAssetKey

      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];
      Parameters:
      value - The assetKey to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setAssetKeyBytes

      public GamLiveConfig.Builder setAssetKeyBytes(com.google.protobuf.ByteString value)
       Output only. The asset key identifier generated for the live config.
       
      string asset_key = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for assetKey to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getCustomAssetKey in interface GamLiveConfigOrBuilder
      Returns:
      The customAssetKey.
    • getCustomAssetKeyBytes

      public com.google.protobuf.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];
      Specified by:
      getCustomAssetKeyBytes in interface GamLiveConfigOrBuilder
      Returns:
      The bytes for customAssetKey.
    • setCustomAssetKey

      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];
      Parameters:
      value - The customAssetKey to set.
      Returns:
      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:
      This builder for chaining.
    • setCustomAssetKeyBytes

      public GamLiveConfig.Builder setCustomAssetKeyBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes for customAssetKey to set.
      Returns:
      This builder for chaining.