Class GetSpecialistPoolRequest.Builder (3.52.0)

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

Request message for SpecialistPoolService.GetSpecialistPool.

Protobuf type google.cloud.aiplatform.v1beta1.GetSpecialistPoolRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public GetSpecialistPoolRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public GetSpecialistPoolRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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