Package s2.v1alpha

Class CreateBasinRequest.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.lang.Cloneable, CreateBasinRequestOrBuilder
    Enclosing class:
    CreateBasinRequest

    public static final class CreateBasinRequest.Builder
    extends com.google.protobuf.GeneratedMessage.Builder<CreateBasinRequest.Builder>
    implements CreateBasinRequestOrBuilder
     Create basin request.
     
    Protobuf type s2.v1alpha.CreateBasinRequest
    • Method Detail

      • 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<CreateBasinRequest.Builder>
      • clear

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

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

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

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

        public CreateBasinRequest.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<CreateBasinRequest.Builder>
      • isInitialized

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

        public CreateBasinRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws java.io.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<CreateBasinRequest.Builder>
        Throws:
        java.io.IOException
      • getBasin

        public java.lang.String getBasin()
         Basin name, which must be globally unique. It can be omitted to let the service assign a unique name.
         The name must be between 8 and 48 characters, comprising lowercase letters, numbers and hyphens.
         It cannot begin or end with a hyphen.
         
        string basin = 1;
        Specified by:
        getBasin in interface CreateBasinRequestOrBuilder
        Returns:
        The basin.
      • getBasinBytes

        public com.google.protobuf.ByteString getBasinBytes()
         Basin name, which must be globally unique. It can be omitted to let the service assign a unique name.
         The name must be between 8 and 48 characters, comprising lowercase letters, numbers and hyphens.
         It cannot begin or end with a hyphen.
         
        string basin = 1;
        Specified by:
        getBasinBytes in interface CreateBasinRequestOrBuilder
        Returns:
        The bytes for basin.
      • setBasin

        public CreateBasinRequest.Builder setBasin​(java.lang.String value)
         Basin name, which must be globally unique. It can be omitted to let the service assign a unique name.
         The name must be between 8 and 48 characters, comprising lowercase letters, numbers and hyphens.
         It cannot begin or end with a hyphen.
         
        string basin = 1;
        Parameters:
        value - The basin to set.
        Returns:
        This builder for chaining.
      • clearBasin

        public CreateBasinRequest.Builder clearBasin()
         Basin name, which must be globally unique. It can be omitted to let the service assign a unique name.
         The name must be between 8 and 48 characters, comprising lowercase letters, numbers and hyphens.
         It cannot begin or end with a hyphen.
         
        string basin = 1;
        Returns:
        This builder for chaining.
      • setBasinBytes

        public CreateBasinRequest.Builder setBasinBytes​(com.google.protobuf.ByteString value)
         Basin name, which must be globally unique. It can be omitted to let the service assign a unique name.
         The name must be between 8 and 48 characters, comprising lowercase letters, numbers and hyphens.
         It cannot begin or end with a hyphen.
         
        string basin = 1;
        Parameters:
        value - The bytes for basin to set.
        Returns:
        This builder for chaining.
      • hasConfig

        public boolean hasConfig()
         Basin configuration.
         
        .s2.v1alpha.BasinConfig config = 2;
        Specified by:
        hasConfig in interface CreateBasinRequestOrBuilder
        Returns:
        Whether the config field is set.
      • getConfigBuilder

        public BasinConfig.Builder getConfigBuilder()
         Basin configuration.
         
        .s2.v1alpha.BasinConfig config = 2;
      • hasScope

        public boolean hasScope()
         Basin scope. It should be formatted as "{cloud}:{region}", e.g. "aws:us-east-1".
         
        string scope = 3;
        Specified by:
        hasScope in interface CreateBasinRequestOrBuilder
        Returns:
        Whether the scope field is set.
      • getScope

        public java.lang.String getScope()
         Basin scope. It should be formatted as "{cloud}:{region}", e.g. "aws:us-east-1".
         
        string scope = 3;
        Specified by:
        getScope in interface CreateBasinRequestOrBuilder
        Returns:
        The scope.
      • getScopeBytes

        public com.google.protobuf.ByteString getScopeBytes()
         Basin scope. It should be formatted as "{cloud}:{region}", e.g. "aws:us-east-1".
         
        string scope = 3;
        Specified by:
        getScopeBytes in interface CreateBasinRequestOrBuilder
        Returns:
        The bytes for scope.
      • setScope

        public CreateBasinRequest.Builder setScope​(java.lang.String value)
         Basin scope. It should be formatted as "{cloud}:{region}", e.g. "aws:us-east-1".
         
        string scope = 3;
        Parameters:
        value - The scope to set.
        Returns:
        This builder for chaining.
      • clearScope

        public CreateBasinRequest.Builder clearScope()
         Basin scope. It should be formatted as "{cloud}:{region}", e.g. "aws:us-east-1".
         
        string scope = 3;
        Returns:
        This builder for chaining.
      • setScopeBytes

        public CreateBasinRequest.Builder setScopeBytes​(com.google.protobuf.ByteString value)
         Basin scope. It should be formatted as "{cloud}:{region}", e.g. "aws:us-east-1".
         
        string scope = 3;
        Parameters:
        value - The bytes for scope to set.
        Returns:
        This builder for chaining.
      • hasCell

        public boolean hasCell()
         Explicit cell assignment, if it is owned by the account.
         
        string cell = 4;
        Specified by:
        hasCell in interface CreateBasinRequestOrBuilder
        Returns:
        Whether the cell field is set.
      • getCell

        public java.lang.String getCell()
         Explicit cell assignment, if it is owned by the account.
         
        string cell = 4;
        Specified by:
        getCell in interface CreateBasinRequestOrBuilder
        Returns:
        The cell.
      • getCellBytes

        public com.google.protobuf.ByteString getCellBytes()
         Explicit cell assignment, if it is owned by the account.
         
        string cell = 4;
        Specified by:
        getCellBytes in interface CreateBasinRequestOrBuilder
        Returns:
        The bytes for cell.
      • setCell

        public CreateBasinRequest.Builder setCell​(java.lang.String value)
         Explicit cell assignment, if it is owned by the account.
         
        string cell = 4;
        Parameters:
        value - The cell to set.
        Returns:
        This builder for chaining.
      • clearCell

        public CreateBasinRequest.Builder clearCell()
         Explicit cell assignment, if it is owned by the account.
         
        string cell = 4;
        Returns:
        This builder for chaining.
      • setCellBytes

        public CreateBasinRequest.Builder setCellBytes​(com.google.protobuf.ByteString value)
         Explicit cell assignment, if it is owned by the account.
         
        string cell = 4;
        Parameters:
        value - The bytes for cell to set.
        Returns:
        This builder for chaining.