public static final class CreateDeploymentResourcePoolRequest.Builder extends GeneratedMessageV3.Builder<CreateDeploymentResourcePoolRequest.Builder> implements CreateDeploymentResourcePoolRequestOrBuilder
Request message for CreateDeploymentResourcePool method.
Protobuf type google.cloud.aiplatform.v1beta1.CreateDeploymentResourcePoolRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public CreateDeploymentResourcePoolRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CreateDeploymentResourcePoolRequest build()
Returns
public CreateDeploymentResourcePoolRequest buildPartial()
Returns
public CreateDeploymentResourcePoolRequest.Builder clear()
Returns
Overrides
public CreateDeploymentResourcePoolRequest.Builder clearDeploymentResourcePool()
Required. The DeploymentResourcePool to create.
.google.cloud.aiplatform.v1beta1.DeploymentResourcePool deployment_resource_pool = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
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?$/
.
string deployment_resource_pool_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
public CreateDeploymentResourcePoolRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public CreateDeploymentResourcePoolRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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
public CreateDeploymentResourcePoolRequest.Builder clone()
Returns
Overrides
public CreateDeploymentResourcePoolRequest getDefaultInstanceForType()
Returns
public DeploymentResourcePool getDeploymentResourcePool()
Required. The DeploymentResourcePool to create.
.google.cloud.aiplatform.v1beta1.DeploymentResourcePool deployment_resource_pool = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public DeploymentResourcePool.Builder getDeploymentResourcePoolBuilder()
Required. The DeploymentResourcePool to create.
.google.cloud.aiplatform.v1beta1.DeploymentResourcePool deployment_resource_pool = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
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?$/
.
string deployment_resource_pool_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The deploymentResourcePoolId.
|
public 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?$/
.
string deployment_resource_pool_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
ByteString | The bytes for deploymentResourcePoolId.
|
public DeploymentResourcePoolOrBuilder getDeploymentResourcePoolOrBuilder()
Required. The DeploymentResourcePool to create.
.google.cloud.aiplatform.v1beta1.DeploymentResourcePool deployment_resource_pool = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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) = { ... }
Returns
Type | Description |
String | The parent.
|
public 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) = { ... }
Returns
public boolean hasDeploymentResourcePool()
Required. The DeploymentResourcePool to create.
.google.cloud.aiplatform.v1beta1.DeploymentResourcePool deployment_resource_pool = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the deploymentResourcePool field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public CreateDeploymentResourcePoolRequest.Builder mergeDeploymentResourcePool(DeploymentResourcePool value)
Required. The DeploymentResourcePool to create.
.google.cloud.aiplatform.v1beta1.DeploymentResourcePool deployment_resource_pool = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public CreateDeploymentResourcePoolRequest.Builder mergeFrom(CreateDeploymentResourcePoolRequest other)
Parameter
Returns
public CreateDeploymentResourcePoolRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public CreateDeploymentResourcePoolRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final CreateDeploymentResourcePoolRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public CreateDeploymentResourcePoolRequest.Builder setDeploymentResourcePool(DeploymentResourcePool value)
Required. The DeploymentResourcePool to create.
.google.cloud.aiplatform.v1beta1.DeploymentResourcePool deployment_resource_pool = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public CreateDeploymentResourcePoolRequest.Builder setDeploymentResourcePool(DeploymentResourcePool.Builder builderForValue)
Required. The DeploymentResourcePool to create.
.google.cloud.aiplatform.v1beta1.DeploymentResourcePool deployment_resource_pool = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
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?$/
.
string deployment_resource_pool_id = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | String
The deploymentResourcePoolId to set.
|
Returns
public CreateDeploymentResourcePoolRequest.Builder setDeploymentResourcePoolIdBytes(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?$/
.
string deployment_resource_pool_id = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | ByteString
The bytes for deploymentResourcePoolId to set.
|
Returns
public CreateDeploymentResourcePoolRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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) = { ... }
Parameter
Name | Description |
value | String
The parent to set.
|
Returns
public CreateDeploymentResourcePoolRequest.Builder setParentBytes(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) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for parent to set.
|
Returns
public CreateDeploymentResourcePoolRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final CreateDeploymentResourcePoolRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides