Class CreateDeploymentResourcePoolRequest.Builder (3.33.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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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

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
Overrides

build()

public CreateDeploymentResourcePoolRequest build()

buildPartial()

public CreateDeploymentResourcePoolRequest buildPartial()

clear()

public CreateDeploymentResourcePoolRequest.Builder clear()
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];

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
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

getDefaultInstanceForType()

public CreateDeploymentResourcePoolRequest getDefaultInstanceForType()

getDeploymentResourcePool()

public DeploymentResourcePool getDeploymentResourcePool()

Required. The DeploymentResourcePool to create.

.google.cloud.aiplatform.v1.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.v1.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.v1.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.v1.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.v1.DeploymentResourcePool deployment_resource_pool = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueDeploymentResourcePool

mergeFrom(CreateDeploymentResourcePoolRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateDeploymentResourcePoolRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
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
NameDescription
valueDeploymentResourcePool

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
NameDescription
builderForValueDeploymentResourcePool.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
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
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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