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

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

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

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

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

        public String getParent()
         Required. The parent location resource where this DeploymentResourcePool
         will be created. Format: `projects/{project}/locations/{location}`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParent in interface CreateDeploymentResourcePoolRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Required. The parent location resource where this DeploymentResourcePool
         will be created. Format: `projects/{project}/locations/{location}`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParentBytes in interface CreateDeploymentResourcePoolRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public CreateDeploymentResourcePoolRequest.Builder setParent​(String value)
         Required. The parent location resource where this DeploymentResourcePool
         will be created. Format: `projects/{project}/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 CreateDeploymentResourcePoolRequest.Builder clearParent()
         Required. The parent location resource where this DeploymentResourcePool
         will be created. Format: `projects/{project}/locations/{location}`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setParentBytes

        public CreateDeploymentResourcePoolRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Required. The parent location resource where this DeploymentResourcePool
         will be created. Format: `projects/{project}/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.
      • hasDeploymentResourcePool

        public boolean hasDeploymentResourcePool()
         Required. The DeploymentResourcePool to create.
         
        .google.cloud.aiplatform.v1beta1.DeploymentResourcePool deployment_resource_pool = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasDeploymentResourcePool in interface CreateDeploymentResourcePoolRequestOrBuilder
        Returns:
        Whether the deploymentResourcePool field is set.
      • clearDeploymentResourcePool

        public CreateDeploymentResourcePoolRequest.Builder clearDeploymentResourcePool()
         Required. The DeploymentResourcePool to create.
         
        .google.cloud.aiplatform.v1beta1.DeploymentResourcePool deployment_resource_pool = 2 [(.google.api.field_behavior) = REQUIRED];
      • getDeploymentResourcePoolBuilder

        public DeploymentResourcePool.Builder getDeploymentResourcePoolBuilder()
         Required. The DeploymentResourcePool to create.
         
        .google.cloud.aiplatform.v1beta1.DeploymentResourcePool deployment_resource_pool = 2 [(.google.api.field_behavior) = REQUIRED];
      • getDeploymentResourcePoolId

        public String getDeploymentResourcePoolId()
         Required. The ID to use for the DeploymentResourcePool, which
         will become the final component of the DeploymentResourcePool's resource
         name.
        
         The maximum length is 63 characters, and valid characters
         are `/^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/`.
         
        string deployment_resource_pool_id = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDeploymentResourcePoolId in interface CreateDeploymentResourcePoolRequestOrBuilder
        Returns:
        The deploymentResourcePoolId.
      • getDeploymentResourcePoolIdBytes

        public com.google.protobuf.ByteString getDeploymentResourcePoolIdBytes()
         Required. The ID to use for the DeploymentResourcePool, which
         will become the final component of the DeploymentResourcePool's resource
         name.
        
         The maximum length is 63 characters, and valid characters
         are `/^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/`.
         
        string deployment_resource_pool_id = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDeploymentResourcePoolIdBytes in interface CreateDeploymentResourcePoolRequestOrBuilder
        Returns:
        The bytes for deploymentResourcePoolId.
      • setDeploymentResourcePoolId

        public CreateDeploymentResourcePoolRequest.Builder setDeploymentResourcePoolId​(String value)
         Required. The ID to use for the DeploymentResourcePool, which
         will become the final component of the DeploymentResourcePool's resource
         name.
        
         The maximum length is 63 characters, and valid characters
         are `/^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/`.
         
        string deployment_resource_pool_id = 3 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The deploymentResourcePoolId to set.
        Returns:
        This builder for chaining.
      • clearDeploymentResourcePoolId

        public CreateDeploymentResourcePoolRequest.Builder clearDeploymentResourcePoolId()
         Required. The ID to use for the DeploymentResourcePool, which
         will become the final component of the DeploymentResourcePool's resource
         name.
        
         The maximum length is 63 characters, and valid characters
         are `/^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/`.
         
        string deployment_resource_pool_id = 3 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setDeploymentResourcePoolIdBytes

        public CreateDeploymentResourcePoolRequest.Builder setDeploymentResourcePoolIdBytes​(com.google.protobuf.ByteString value)
         Required. The ID to use for the DeploymentResourcePool, which
         will become the final component of the DeploymentResourcePool's resource
         name.
        
         The maximum length is 63 characters, and valid characters
         are `/^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/`.
         
        string deployment_resource_pool_id = 3 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for deploymentResourcePoolId to set.
        Returns:
        This builder for chaining.