Class GetSpecialistPoolRequest.Builder (3.88.0)

public static final class GetSpecialistPoolRequest.Builder extends GeneratedMessage.Builder<GetSpecialistPoolRequest.Builder> implements GetSpecialistPoolRequestOrBuilder

Request message for SpecialistPoolService.GetSpecialistPool.

Protobuf type google.cloud.aiplatform.v1.GetSpecialistPoolRequest

Static Methods

getDescriptor()

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

Methods

build()

public GetSpecialistPoolRequest build()
Returns
Type Description
GetSpecialistPoolRequest

buildPartial()

public GetSpecialistPoolRequest buildPartial()
Returns
Type Description
GetSpecialistPoolRequest

clear()

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

clearName()

public GetSpecialistPoolRequest.Builder clearName()

Required. The name of the SpecialistPool resource. The form is projects/{project}/locations/{location}/specialistPools/{specialist_pool}.

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

Returns
Type Description
GetSpecialistPoolRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetSpecialistPoolRequest getDefaultInstanceForType()
Returns
Type Description
GetSpecialistPoolRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The name of the SpecialistPool resource. The form is projects/{project}/locations/{location}/specialistPools/{specialist_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 SpecialistPool resource. The form is projects/{project}/locations/{location}/specialistPools/{specialist_pool}.

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetSpecialistPoolRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public GetSpecialistPoolRequest.Builder setName(String value)

Required. The name of the SpecialistPool resource. The form is projects/{project}/locations/{location}/specialistPools/{specialist_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
GetSpecialistPoolRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetSpecialistPoolRequest.Builder setNameBytes(ByteString value)

Required. The name of the SpecialistPool resource. The form is projects/{project}/locations/{location}/specialistPools/{specialist_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
GetSpecialistPoolRequest.Builder

This builder for chaining.