Class CreateStoragePoolRequest.Builder

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

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

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

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

        public CreateStoragePoolRequest.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<CreateStoragePoolRequest.Builder>
      • addRepeatedField

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

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

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

        public String getParent()
         Required. Value for parent.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParent in interface CreateStoragePoolRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Required. Value for parent.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParentBytes in interface CreateStoragePoolRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public CreateStoragePoolRequest.Builder setParent​(String value)
         Required. Value for parent.
         
        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 CreateStoragePoolRequest.Builder clearParent()
         Required. Value for parent.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setParentBytes

        public CreateStoragePoolRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Required. Value for parent.
         
        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.
      • getStoragePoolId

        public String getStoragePoolId()
         Required. Id of the requesting storage pool
         If auto-generating Id server-side, remove this field and
         id from the method_signature of Create RPC
         
        string storage_pool_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getStoragePoolId in interface CreateStoragePoolRequestOrBuilder
        Returns:
        The storagePoolId.
      • getStoragePoolIdBytes

        public com.google.protobuf.ByteString getStoragePoolIdBytes()
         Required. Id of the requesting storage pool
         If auto-generating Id server-side, remove this field and
         id from the method_signature of Create RPC
         
        string storage_pool_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getStoragePoolIdBytes in interface CreateStoragePoolRequestOrBuilder
        Returns:
        The bytes for storagePoolId.
      • setStoragePoolId

        public CreateStoragePoolRequest.Builder setStoragePoolId​(String value)
         Required. Id of the requesting storage pool
         If auto-generating Id server-side, remove this field and
         id from the method_signature of Create RPC
         
        string storage_pool_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The storagePoolId to set.
        Returns:
        This builder for chaining.
      • clearStoragePoolId

        public CreateStoragePoolRequest.Builder clearStoragePoolId()
         Required. Id of the requesting storage pool
         If auto-generating Id server-side, remove this field and
         id from the method_signature of Create RPC
         
        string storage_pool_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setStoragePoolIdBytes

        public CreateStoragePoolRequest.Builder setStoragePoolIdBytes​(com.google.protobuf.ByteString value)
         Required. Id of the requesting storage pool
         If auto-generating Id server-side, remove this field and
         id from the method_signature of Create RPC
         
        string storage_pool_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for storagePoolId to set.
        Returns:
        This builder for chaining.
      • hasStoragePool

        public boolean hasStoragePool()
         Required. The required parameters to create a new storage pool.
         
        .google.cloud.netapp.v1.StoragePool storage_pool = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasStoragePool in interface CreateStoragePoolRequestOrBuilder
        Returns:
        Whether the storagePool field is set.
      • getStoragePool

        public StoragePool getStoragePool()
         Required. The required parameters to create a new storage pool.
         
        .google.cloud.netapp.v1.StoragePool storage_pool = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getStoragePool in interface CreateStoragePoolRequestOrBuilder
        Returns:
        The storagePool.
      • setStoragePool

        public CreateStoragePoolRequest.Builder setStoragePool​(StoragePool value)
         Required. The required parameters to create a new storage pool.
         
        .google.cloud.netapp.v1.StoragePool storage_pool = 3 [(.google.api.field_behavior) = REQUIRED];
      • setStoragePool

        public CreateStoragePoolRequest.Builder setStoragePool​(StoragePool.Builder builderForValue)
         Required. The required parameters to create a new storage pool.
         
        .google.cloud.netapp.v1.StoragePool storage_pool = 3 [(.google.api.field_behavior) = REQUIRED];
      • mergeStoragePool

        public CreateStoragePoolRequest.Builder mergeStoragePool​(StoragePool value)
         Required. The required parameters to create a new storage pool.
         
        .google.cloud.netapp.v1.StoragePool storage_pool = 3 [(.google.api.field_behavior) = REQUIRED];
      • clearStoragePool

        public CreateStoragePoolRequest.Builder clearStoragePool()
         Required. The required parameters to create a new storage pool.
         
        .google.cloud.netapp.v1.StoragePool storage_pool = 3 [(.google.api.field_behavior) = REQUIRED];
      • getStoragePoolBuilder

        public StoragePool.Builder getStoragePoolBuilder()
         Required. The required parameters to create a new storage pool.
         
        .google.cloud.netapp.v1.StoragePool storage_pool = 3 [(.google.api.field_behavior) = REQUIRED];
      • setUnknownFields

        public final CreateStoragePoolRequest.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<CreateStoragePoolRequest.Builder>
      • mergeUnknownFields

        public final CreateStoragePoolRequest.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<CreateStoragePoolRequest.Builder>