Class 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.GeneratedMessageV3.Builder<CreateCdnKeyRequest.Builder>
    implements CreateCdnKeyRequestOrBuilder
     Request message for VideoStitcherService.createCdnKey.
     
    Protobuf type google.cloud.video.stitcher.v1.CreateCdnKeyRequest
    • Method Detail

      • getDescriptor

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

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

        public 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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

        public CreateCdnKeyRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<CreateCdnKeyRequest.Builder>
      • setField

        public CreateCdnKeyRequest.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                    Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateCdnKeyRequest.Builder>
      • clearField

        public CreateCdnKeyRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateCdnKeyRequest.Builder>
      • clearOneof

        public CreateCdnKeyRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CreateCdnKeyRequest.Builder>
      • setRepeatedField

        public CreateCdnKeyRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                            int index,
                                                            Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateCdnKeyRequest.Builder>
      • addRepeatedField

        public CreateCdnKeyRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                            Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateCdnKeyRequest.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>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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];
      • 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.
      • setUnknownFields

        public final CreateCdnKeyRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateCdnKeyRequest.Builder>
      • mergeUnknownFields

        public final CreateCdnKeyRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateCdnKeyRequest.Builder>