Class GetDeploymentResourcePoolRequest.Builder (3.54.0)

public static final class GetDeploymentResourcePoolRequest.Builder extends GeneratedMessageV3.Builder<GetDeploymentResourcePoolRequest.Builder> implements GetDeploymentResourcePoolRequestOrBuilder

Request message for GetDeploymentResourcePool method.

Protobuf type google.cloud.aiplatform.v1.GetDeploymentResourcePoolRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetDeploymentResourcePoolRequest build()
Returns
Type Description
GetDeploymentResourcePoolRequest

buildPartial()

public GetDeploymentResourcePoolRequest buildPartial()
Returns
Type Description
GetDeploymentResourcePoolRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetDeploymentResourcePoolRequest.Builder clearName()

Required. The name of the DeploymentResourcePool to retrieve. Format: projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
GetDeploymentResourcePoolRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetDeploymentResourcePoolRequest getDefaultInstanceForType()
Returns
Type Description
GetDeploymentResourcePoolRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The name of the DeploymentResourcePool to retrieve. Format: projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the DeploymentResourcePool to retrieve. Format: projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetDeploymentResourcePoolRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetDeploymentResourcePoolRequest.Builder setName(String value)

Required. The name of the DeploymentResourcePool to retrieve. Format: projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetDeploymentResourcePoolRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetDeploymentResourcePoolRequest.Builder setNameBytes(ByteString value)

Required. The name of the DeploymentResourcePool to retrieve. Format: projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetDeploymentResourcePoolRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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