Class GetSpecialistPoolRequest.Builder (3.36.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetSpecialistPoolRequest build()
Returns
TypeDescription
GetSpecialistPoolRequest

buildPartial()

public GetSpecialistPoolRequest buildPartial()
Returns
TypeDescription
GetSpecialistPoolRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public GetSpecialistPoolRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
GetSpecialistPoolRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetSpecialistPoolRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GetSpecialistPoolRequest.Builder
Overrides

clone()

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

getDefaultInstanceForType()

public GetSpecialistPoolRequest getDefaultInstanceForType()
Returns
TypeDescription
GetSpecialistPoolRequest

getDescriptorForType()

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

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetSpecialistPoolRequest other)

public GetSpecialistPoolRequest.Builder mergeFrom(GetSpecialistPoolRequest other)
Parameter
NameDescription
otherGetSpecialistPoolRequest
Returns
TypeDescription
GetSpecialistPoolRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

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

The bytes for name to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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