Class CreateDeploymentResourcePoolRequest.Builder (3.46.0)

public static final class CreateDeploymentResourcePoolRequest.Builder extends GeneratedMessageV3.Builder<CreateDeploymentResourcePoolRequest.Builder> implements CreateDeploymentResourcePoolRequestOrBuilder

Request message for CreateDeploymentResourcePool method.

Protobuf type google.cloud.aiplatform.v1.CreateDeploymentResourcePoolRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateDeploymentResourcePoolRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateDeploymentResourcePoolRequest.Builder
Overrides

build()

public CreateDeploymentResourcePoolRequest build()
Returns
Type Description
CreateDeploymentResourcePoolRequest

buildPartial()

public CreateDeploymentResourcePoolRequest buildPartial()
Returns
Type Description
CreateDeploymentResourcePoolRequest

clear()

public CreateDeploymentResourcePoolRequest.Builder clear()
Returns
Type Description
CreateDeploymentResourcePoolRequest.Builder
Overrides

clearDeploymentResourcePool()

public CreateDeploymentResourcePoolRequest.Builder clearDeploymentResourcePool()

Required. The DeploymentResourcePool to create.

.google.cloud.aiplatform.v1.DeploymentResourcePool deployment_resource_pool = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateDeploymentResourcePoolRequest.Builder

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?$/.

string deployment_resource_pool_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateDeploymentResourcePoolRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CreateDeploymentResourcePoolRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateDeploymentResourcePoolRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateDeploymentResourcePoolRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateDeploymentResourcePoolRequest.Builder
Overrides

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
Type Description
CreateDeploymentResourcePoolRequest.Builder

This builder for chaining.

clone()

public CreateDeploymentResourcePoolRequest.Builder clone()
Returns
Type Description
CreateDeploymentResourcePoolRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateDeploymentResourcePoolRequest getDefaultInstanceForType()
Returns
Type Description
CreateDeploymentResourcePoolRequest

getDeploymentResourcePool()

public DeploymentResourcePool getDeploymentResourcePool()

Required. The DeploymentResourcePool to create.

.google.cloud.aiplatform.v1.DeploymentResourcePool deployment_resource_pool = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DeploymentResourcePool

The deploymentResourcePool.

getDeploymentResourcePoolBuilder()

public DeploymentResourcePool.Builder getDeploymentResourcePoolBuilder()

Required. The DeploymentResourcePool to create.

.google.cloud.aiplatform.v1.DeploymentResourcePool deployment_resource_pool = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DeploymentResourcePool.Builder

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?$/.

string deployment_resource_pool_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The deploymentResourcePoolId.

getDeploymentResourcePoolIdBytes()

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.

getDeploymentResourcePoolOrBuilder()

public DeploymentResourcePoolOrBuilder getDeploymentResourcePoolOrBuilder()

Required. The DeploymentResourcePool to create.

.google.cloud.aiplatform.v1.DeploymentResourcePool deployment_resource_pool = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DeploymentResourcePoolOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

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
Type Description
ByteString

The bytes for parent.

hasDeploymentResourcePool()

public boolean hasDeploymentResourcePool()

Required. The DeploymentResourcePool to create.

.google.cloud.aiplatform.v1.DeploymentResourcePool deployment_resource_pool = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the deploymentResourcePool field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDeploymentResourcePool(DeploymentResourcePool value)

public CreateDeploymentResourcePoolRequest.Builder mergeDeploymentResourcePool(DeploymentResourcePool value)

Required. The DeploymentResourcePool to create.

.google.cloud.aiplatform.v1.DeploymentResourcePool deployment_resource_pool = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DeploymentResourcePool
Returns
Type Description
CreateDeploymentResourcePoolRequest.Builder

mergeFrom(CreateDeploymentResourcePoolRequest other)

public CreateDeploymentResourcePoolRequest.Builder mergeFrom(CreateDeploymentResourcePoolRequest other)
Parameter
Name Description
other CreateDeploymentResourcePoolRequest
Returns
Type Description
CreateDeploymentResourcePoolRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateDeploymentResourcePoolRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateDeploymentResourcePoolRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateDeploymentResourcePoolRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateDeploymentResourcePoolRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateDeploymentResourcePoolRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateDeploymentResourcePoolRequest.Builder
Overrides

setDeploymentResourcePool(DeploymentResourcePool value)

public CreateDeploymentResourcePoolRequest.Builder setDeploymentResourcePool(DeploymentResourcePool value)

Required. The DeploymentResourcePool to create.

.google.cloud.aiplatform.v1.DeploymentResourcePool deployment_resource_pool = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DeploymentResourcePool
Returns
Type Description
CreateDeploymentResourcePoolRequest.Builder

setDeploymentResourcePool(DeploymentResourcePool.Builder builderForValue)

public CreateDeploymentResourcePoolRequest.Builder setDeploymentResourcePool(DeploymentResourcePool.Builder builderForValue)

Required. The DeploymentResourcePool to create.

.google.cloud.aiplatform.v1.DeploymentResourcePool deployment_resource_pool = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue DeploymentResourcePool.Builder
Returns
Type Description
CreateDeploymentResourcePoolRequest.Builder

setDeploymentResourcePoolId(String value)

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
Type Description
CreateDeploymentResourcePoolRequest.Builder

This builder for chaining.

setDeploymentResourcePoolIdBytes(ByteString value)

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
Type Description
CreateDeploymentResourcePoolRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CreateDeploymentResourcePoolRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateDeploymentResourcePoolRequest.Builder
Overrides

setParent(String value)

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
Type Description
CreateDeploymentResourcePoolRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

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
Type Description
CreateDeploymentResourcePoolRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreateDeploymentResourcePoolRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateDeploymentResourcePoolRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateDeploymentResourcePoolRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateDeploymentResourcePoolRequest.Builder
Overrides