Class CreateCdnKeyRequest.Builder

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

public static final class CreateCdnKeyRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreateCdnKeyRequest.Builder> implements CreateCdnKeyRequestOrBuilder
 Request message for VideoStitcherService.createCdnKey.
 
Protobuf type google.cloud.video.stitcher.v1.CreateCdnKeyRequest
  • 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<CreateCdnKeyRequest.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<CreateCdnKeyRequest.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<CreateCdnKeyRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

    • isInitialized

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

      public CreateCdnKeyRequest.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<CreateCdnKeyRequest.Builder>
      Throws:
      IOException
    • getParent

      public String getParent()
       Required. The project in which the CDN key should be created, in the form
       of `projects/{project_number}/locations/{location}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface CreateCdnKeyRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The project in which the CDN key should be created, in the form
       of `projects/{project_number}/locations/{location}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface CreateCdnKeyRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public CreateCdnKeyRequest.Builder setParent(String value)
       Required. The project in which the CDN key should be created, in the form
       of `projects/{project_number}/locations/{location}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

      public CreateCdnKeyRequest.Builder clearParent()
       Required. The project in which the CDN key should be created, in the form
       of `projects/{project_number}/locations/{location}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public CreateCdnKeyRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The project in which the CDN key should be created, in the form
       of `projects/{project_number}/locations/{location}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • hasCdnKey

      public boolean hasCdnKey()
       Required. The CDN key resource to create.
       
      .google.cloud.video.stitcher.v1.CdnKey cdn_key = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasCdnKey in interface CreateCdnKeyRequestOrBuilder
      Returns:
      Whether the cdnKey field is set.
    • getCdnKey

      public CdnKey getCdnKey()
       Required. The CDN key resource to create.
       
      .google.cloud.video.stitcher.v1.CdnKey cdn_key = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCdnKey in interface CreateCdnKeyRequestOrBuilder
      Returns:
      The cdnKey.
    • setCdnKey

      public CreateCdnKeyRequest.Builder setCdnKey(CdnKey value)
       Required. The CDN key resource to create.
       
      .google.cloud.video.stitcher.v1.CdnKey cdn_key = 2 [(.google.api.field_behavior) = REQUIRED];
    • setCdnKey

      public CreateCdnKeyRequest.Builder setCdnKey(CdnKey.Builder builderForValue)
       Required. The CDN key resource to create.
       
      .google.cloud.video.stitcher.v1.CdnKey cdn_key = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeCdnKey

      public CreateCdnKeyRequest.Builder mergeCdnKey(CdnKey value)
       Required. The CDN key resource to create.
       
      .google.cloud.video.stitcher.v1.CdnKey cdn_key = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearCdnKey

      public CreateCdnKeyRequest.Builder clearCdnKey()
       Required. The CDN key resource to create.
       
      .google.cloud.video.stitcher.v1.CdnKey cdn_key = 2 [(.google.api.field_behavior) = REQUIRED];
    • getCdnKeyBuilder

      public CdnKey.Builder getCdnKeyBuilder()
       Required. The CDN key resource to create.
       
      .google.cloud.video.stitcher.v1.CdnKey cdn_key = 2 [(.google.api.field_behavior) = REQUIRED];
    • getCdnKeyOrBuilder

      public CdnKeyOrBuilder getCdnKeyOrBuilder()
       Required. The CDN key resource to create.
       
      .google.cloud.video.stitcher.v1.CdnKey cdn_key = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCdnKeyOrBuilder in interface CreateCdnKeyRequestOrBuilder
    • getCdnKeyId

      public String getCdnKeyId()
       Required. The ID to use for the CDN key, which will become the final
       component of the CDN key's resource name.
      
       This value should conform to RFC-1034, which restricts to
       lower-case letters, numbers, and hyphen, with the first character a
       letter, the last a letter or a number, and a 63 character maximum.
       
      string cdn_key_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCdnKeyId in interface CreateCdnKeyRequestOrBuilder
      Returns:
      The cdnKeyId.
    • getCdnKeyIdBytes

      public com.google.protobuf.ByteString getCdnKeyIdBytes()
       Required. The ID to use for the CDN key, which will become the final
       component of the CDN key's resource name.
      
       This value should conform to RFC-1034, which restricts to
       lower-case letters, numbers, and hyphen, with the first character a
       letter, the last a letter or a number, and a 63 character maximum.
       
      string cdn_key_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCdnKeyIdBytes in interface CreateCdnKeyRequestOrBuilder
      Returns:
      The bytes for cdnKeyId.
    • setCdnKeyId

      public CreateCdnKeyRequest.Builder setCdnKeyId(String value)
       Required. The ID to use for the CDN key, which will become the final
       component of the CDN key's resource name.
      
       This value should conform to RFC-1034, which restricts to
       lower-case letters, numbers, and hyphen, with the first character a
       letter, the last a letter or a number, and a 63 character maximum.
       
      string cdn_key_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The cdnKeyId to set.
      Returns:
      This builder for chaining.
    • clearCdnKeyId

      public CreateCdnKeyRequest.Builder clearCdnKeyId()
       Required. The ID to use for the CDN key, which will become the final
       component of the CDN key's resource name.
      
       This value should conform to RFC-1034, which restricts to
       lower-case letters, numbers, and hyphen, with the first character a
       letter, the last a letter or a number, and a 63 character maximum.
       
      string cdn_key_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setCdnKeyIdBytes

      public CreateCdnKeyRequest.Builder setCdnKeyIdBytes(com.google.protobuf.ByteString value)
       Required. The ID to use for the CDN key, which will become the final
       component of the CDN key's resource name.
      
       This value should conform to RFC-1034, which restricts to
       lower-case letters, numbers, and hyphen, with the first character a
       letter, the last a letter or a number, and a 63 character maximum.
       
      string cdn_key_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for cdnKeyId to set.
      Returns:
      This builder for chaining.