Class CreateDeploymentResourcePoolRequest.Builder (3.15.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateDeploymentResourcePoolRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateDeploymentResourcePoolRequest.Builder
Overrides

build()

public CreateDeploymentResourcePoolRequest build()
Returns
TypeDescription
CreateDeploymentResourcePoolRequest

buildPartial()

public CreateDeploymentResourcePoolRequest buildPartial()
Returns
TypeDescription
CreateDeploymentResourcePoolRequest

clear()

public CreateDeploymentResourcePoolRequest.Builder clear()
Returns
TypeDescription
CreateDeploymentResourcePoolRequest.Builder
Overrides

clearDeploymentResourcePool()

public CreateDeploymentResourcePoolRequest.Builder clearDeploymentResourcePool()

Required. The DeploymentResourcePool to create.

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

Returns
TypeDescription
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
TypeDescription
CreateDeploymentResourcePoolRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CreateDeploymentResourcePoolRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateDeploymentResourcePoolRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateDeploymentResourcePoolRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
CreateDeploymentResourcePoolRequest.Builder

This builder for chaining.

clone()

public CreateDeploymentResourcePoolRequest.Builder clone()
Returns
TypeDescription
CreateDeploymentResourcePoolRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateDeploymentResourcePoolRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateDeploymentResourcePoolRequest

getDeploymentResourcePool()

public DeploymentResourcePool getDeploymentResourcePool()

Required. The DeploymentResourcePool to create.

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

Returns
TypeDescription
DeploymentResourcePool

The deploymentResourcePool.

getDeploymentResourcePoolBuilder()

public DeploymentResourcePool.Builder getDeploymentResourcePoolBuilder()

Required. The DeploymentResourcePool to create.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for deploymentResourcePoolId.

getDeploymentResourcePoolOrBuilder()

public DeploymentResourcePoolOrBuilder getDeploymentResourcePoolOrBuilder()

Required. The DeploymentResourcePool to create.

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

Returns
TypeDescription
DeploymentResourcePoolOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

hasDeploymentResourcePool()

public boolean hasDeploymentResourcePool()

Required. The DeploymentResourcePool to create.

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

Returns
TypeDescription
boolean

Whether the deploymentResourcePool field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeDeploymentResourcePool(DeploymentResourcePool value)

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
NameDescription
valueDeploymentResourcePool
Returns
TypeDescription
CreateDeploymentResourcePoolRequest.Builder

mergeFrom(CreateDeploymentResourcePoolRequest other)

public CreateDeploymentResourcePoolRequest.Builder mergeFrom(CreateDeploymentResourcePoolRequest other)
Parameter
NameDescription
otherCreateDeploymentResourcePoolRequest
Returns
TypeDescription
CreateDeploymentResourcePoolRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateDeploymentResourcePoolRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateDeploymentResourcePoolRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreateDeploymentResourcePoolRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateDeploymentResourcePoolRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateDeploymentResourcePoolRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateDeploymentResourcePoolRequest.Builder
Overrides

setDeploymentResourcePool(DeploymentResourcePool value)

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
NameDescription
valueDeploymentResourcePool
Returns
TypeDescription
CreateDeploymentResourcePoolRequest.Builder

setDeploymentResourcePool(DeploymentResourcePool.Builder builderForValue)

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
NameDescription
builderForValueDeploymentResourcePool.Builder
Returns
TypeDescription
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
NameDescription
valueString

The deploymentResourcePoolId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for deploymentResourcePoolId to set.

Returns
TypeDescription
CreateDeploymentResourcePoolRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CreateDeploymentResourcePoolRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateDeploymentResourcePoolRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateDeploymentResourcePoolRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateDeploymentResourcePoolRequest.Builder
Overrides