Class VodConfig.Builder

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

public static final class VodConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<VodConfig.Builder> implements VodConfigOrBuilder
 Metadata used to register VOD configs.
 
Protobuf type google.cloud.video.stitcher.v1.VodConfig
  • 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<VodConfig.Builder>
    • clear

      public VodConfig.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<VodConfig.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<VodConfig.Builder>
    • getDefaultInstanceForType

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

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

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

      public VodConfig.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<VodConfig.Builder>
    • mergeFrom

      public VodConfig.Builder mergeFrom(VodConfig other)
    • isInitialized

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

      public VodConfig.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<VodConfig.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Output only. The resource name of the VOD config, in the form of
       `projects/{project}/locations/{location}/vodConfigs/{id}`.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getName in interface VodConfigOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Output only. The resource name of the VOD config, in the form of
       `projects/{project}/locations/{location}/vodConfigs/{id}`.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNameBytes in interface VodConfigOrBuilder
      Returns:
      The bytes for name.
    • setName

      public VodConfig.Builder setName(String value)
       Output only. The resource name of the VOD config, in the form of
       `projects/{project}/locations/{location}/vodConfigs/{id}`.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public VodConfig.Builder clearName()
       Output only. The resource name of the VOD config, in the form of
       `projects/{project}/locations/{location}/vodConfigs/{id}`.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setNameBytes

      public VodConfig.Builder setNameBytes(com.google.protobuf.ByteString value)
       Output only. The resource name of the VOD config, in the form of
       `projects/{project}/locations/{location}/vodConfigs/{id}`.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getSourceUri

      public String getSourceUri()
       Required. Source URI for the VOD stream manifest.
       
      string source_uri = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSourceUri in interface VodConfigOrBuilder
      Returns:
      The sourceUri.
    • getSourceUriBytes

      public com.google.protobuf.ByteString getSourceUriBytes()
       Required. Source URI for the VOD stream manifest.
       
      string source_uri = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSourceUriBytes in interface VodConfigOrBuilder
      Returns:
      The bytes for sourceUri.
    • setSourceUri

      public VodConfig.Builder setSourceUri(String value)
       Required. Source URI for the VOD stream manifest.
       
      string source_uri = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The sourceUri to set.
      Returns:
      This builder for chaining.
    • clearSourceUri

      public VodConfig.Builder clearSourceUri()
       Required. Source URI for the VOD stream manifest.
       
      string source_uri = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setSourceUriBytes

      public VodConfig.Builder setSourceUriBytes(com.google.protobuf.ByteString value)
       Required. Source URI for the VOD stream manifest.
       
      string source_uri = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for sourceUri to set.
      Returns:
      This builder for chaining.
    • getAdTagUri

      public String getAdTagUri()
       Required. The default ad tag associated with this VOD config.
       
      string ad_tag_uri = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAdTagUri in interface VodConfigOrBuilder
      Returns:
      The adTagUri.
    • getAdTagUriBytes

      public com.google.protobuf.ByteString getAdTagUriBytes()
       Required. The default ad tag associated with this VOD config.
       
      string ad_tag_uri = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAdTagUriBytes in interface VodConfigOrBuilder
      Returns:
      The bytes for adTagUri.
    • setAdTagUri

      public VodConfig.Builder setAdTagUri(String value)
       Required. The default ad tag associated with this VOD config.
       
      string ad_tag_uri = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The adTagUri to set.
      Returns:
      This builder for chaining.
    • clearAdTagUri

      public VodConfig.Builder clearAdTagUri()
       Required. The default ad tag associated with this VOD config.
       
      string ad_tag_uri = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setAdTagUriBytes

      public VodConfig.Builder setAdTagUriBytes(com.google.protobuf.ByteString value)
       Required. The default ad tag associated with this VOD config.
       
      string ad_tag_uri = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for adTagUri to set.
      Returns:
      This builder for chaining.
    • hasGamVodConfig

      public boolean hasGamVodConfig()
       Optional. Google Ad Manager (GAM) metadata.
       
      .google.cloud.video.stitcher.v1.GamVodConfig gam_vod_config = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasGamVodConfig in interface VodConfigOrBuilder
      Returns:
      Whether the gamVodConfig field is set.
    • getGamVodConfig

      public GamVodConfig getGamVodConfig()
       Optional. Google Ad Manager (GAM) metadata.
       
      .google.cloud.video.stitcher.v1.GamVodConfig gam_vod_config = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGamVodConfig in interface VodConfigOrBuilder
      Returns:
      The gamVodConfig.
    • setGamVodConfig

      public VodConfig.Builder setGamVodConfig(GamVodConfig value)
       Optional. Google Ad Manager (GAM) metadata.
       
      .google.cloud.video.stitcher.v1.GamVodConfig gam_vod_config = 4 [(.google.api.field_behavior) = OPTIONAL];
    • setGamVodConfig

      public VodConfig.Builder setGamVodConfig(GamVodConfig.Builder builderForValue)
       Optional. Google Ad Manager (GAM) metadata.
       
      .google.cloud.video.stitcher.v1.GamVodConfig gam_vod_config = 4 [(.google.api.field_behavior) = OPTIONAL];
    • mergeGamVodConfig

      public VodConfig.Builder mergeGamVodConfig(GamVodConfig value)
       Optional. Google Ad Manager (GAM) metadata.
       
      .google.cloud.video.stitcher.v1.GamVodConfig gam_vod_config = 4 [(.google.api.field_behavior) = OPTIONAL];
    • clearGamVodConfig

      public VodConfig.Builder clearGamVodConfig()
       Optional. Google Ad Manager (GAM) metadata.
       
      .google.cloud.video.stitcher.v1.GamVodConfig gam_vod_config = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getGamVodConfigBuilder

      public GamVodConfig.Builder getGamVodConfigBuilder()
       Optional. Google Ad Manager (GAM) metadata.
       
      .google.cloud.video.stitcher.v1.GamVodConfig gam_vod_config = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getGamVodConfigOrBuilder

      public GamVodConfigOrBuilder getGamVodConfigOrBuilder()
       Optional. Google Ad Manager (GAM) metadata.
       
      .google.cloud.video.stitcher.v1.GamVodConfig gam_vod_config = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGamVodConfigOrBuilder in interface VodConfigOrBuilder
    • getStateValue

      public int getStateValue()
       Output only. State of the VOD config.
       
      .google.cloud.video.stitcher.v1.VodConfig.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface VodConfigOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public VodConfig.Builder setStateValue(int value)
       Output only. State of the VOD config.
       
      .google.cloud.video.stitcher.v1.VodConfig.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • getState

      public VodConfig.State getState()
       Output only. State of the VOD config.
       
      .google.cloud.video.stitcher.v1.VodConfig.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface VodConfigOrBuilder
      Returns:
      The state.
    • setState

      public VodConfig.Builder setState(VodConfig.State value)
       Output only. State of the VOD config.
       
      .google.cloud.video.stitcher.v1.VodConfig.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public VodConfig.Builder clearState()
       Output only. State of the VOD config.
       
      .google.cloud.video.stitcher.v1.VodConfig.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasSourceFetchOptions

      public boolean hasSourceFetchOptions()
       Options for fetching source manifests and segments.
       
      .google.cloud.video.stitcher.v1.FetchOptions source_fetch_options = 8;
      Specified by:
      hasSourceFetchOptions in interface VodConfigOrBuilder
      Returns:
      Whether the sourceFetchOptions field is set.
    • getSourceFetchOptions

      public FetchOptions getSourceFetchOptions()
       Options for fetching source manifests and segments.
       
      .google.cloud.video.stitcher.v1.FetchOptions source_fetch_options = 8;
      Specified by:
      getSourceFetchOptions in interface VodConfigOrBuilder
      Returns:
      The sourceFetchOptions.
    • setSourceFetchOptions

      public VodConfig.Builder setSourceFetchOptions(FetchOptions value)
       Options for fetching source manifests and segments.
       
      .google.cloud.video.stitcher.v1.FetchOptions source_fetch_options = 8;
    • setSourceFetchOptions

      public VodConfig.Builder setSourceFetchOptions(FetchOptions.Builder builderForValue)
       Options for fetching source manifests and segments.
       
      .google.cloud.video.stitcher.v1.FetchOptions source_fetch_options = 8;
    • mergeSourceFetchOptions

      public VodConfig.Builder mergeSourceFetchOptions(FetchOptions value)
       Options for fetching source manifests and segments.
       
      .google.cloud.video.stitcher.v1.FetchOptions source_fetch_options = 8;
    • clearSourceFetchOptions

      public VodConfig.Builder clearSourceFetchOptions()
       Options for fetching source manifests and segments.
       
      .google.cloud.video.stitcher.v1.FetchOptions source_fetch_options = 8;
    • getSourceFetchOptionsBuilder

      public FetchOptions.Builder getSourceFetchOptionsBuilder()
       Options for fetching source manifests and segments.
       
      .google.cloud.video.stitcher.v1.FetchOptions source_fetch_options = 8;
    • getSourceFetchOptionsOrBuilder

      public FetchOptionsOrBuilder getSourceFetchOptionsOrBuilder()
       Options for fetching source manifests and segments.
       
      .google.cloud.video.stitcher.v1.FetchOptions source_fetch_options = 8;
      Specified by:
      getSourceFetchOptionsOrBuilder in interface VodConfigOrBuilder