Class CreateSpecialistPoolRequest.Builder (3.48.0)

public static final class CreateSpecialistPoolRequest.Builder extends GeneratedMessageV3.Builder<CreateSpecialistPoolRequest.Builder> implements CreateSpecialistPoolRequestOrBuilder

Request message for SpecialistPoolService.CreateSpecialistPool.

Protobuf type google.cloud.aiplatform.v1beta1.CreateSpecialistPoolRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateSpecialistPoolRequest build()
Returns
Type Description
CreateSpecialistPoolRequest

buildPartial()

public CreateSpecialistPoolRequest buildPartial()
Returns
Type Description
CreateSpecialistPoolRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateSpecialistPoolRequest.Builder clearParent()

Required. The parent Project name for the new SpecialistPool. The form is projects/{project}/locations/{location}.

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

Returns
Type Description
CreateSpecialistPoolRequest.Builder

This builder for chaining.

clearSpecialistPool()

public CreateSpecialistPoolRequest.Builder clearSpecialistPool()

Required. The SpecialistPool to create.

.google.cloud.aiplatform.v1beta1.SpecialistPool specialist_pool = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateSpecialistPoolRequest.Builder

clone()

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

getDefaultInstanceForType()

public CreateSpecialistPoolRequest getDefaultInstanceForType()
Returns
Type Description
CreateSpecialistPoolRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. The parent Project name for the new SpecialistPool. The form is projects/{project}/locations/{location}.

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent Project name for the new SpecialistPool. The form is projects/{project}/locations/{location}.

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

Returns
Type Description
ByteString

The bytes for parent.

getSpecialistPool()

public SpecialistPool getSpecialistPool()

Required. The SpecialistPool to create.

.google.cloud.aiplatform.v1beta1.SpecialistPool specialist_pool = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SpecialistPool

The specialistPool.

getSpecialistPoolBuilder()

public SpecialistPool.Builder getSpecialistPoolBuilder()

Required. The SpecialistPool to create.

.google.cloud.aiplatform.v1beta1.SpecialistPool specialist_pool = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SpecialistPool.Builder

getSpecialistPoolOrBuilder()

public SpecialistPoolOrBuilder getSpecialistPoolOrBuilder()

Required. The SpecialistPool to create.

.google.cloud.aiplatform.v1beta1.SpecialistPool specialist_pool = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SpecialistPoolOrBuilder

hasSpecialistPool()

public boolean hasSpecialistPool()

Required. The SpecialistPool to create.

.google.cloud.aiplatform.v1beta1.SpecialistPool specialist_pool = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the specialistPool field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateSpecialistPoolRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeSpecialistPool(SpecialistPool value)

public CreateSpecialistPoolRequest.Builder mergeSpecialistPool(SpecialistPool value)

Required. The SpecialistPool to create.

.google.cloud.aiplatform.v1beta1.SpecialistPool specialist_pool = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value SpecialistPool
Returns
Type Description
CreateSpecialistPoolRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateSpecialistPoolRequest.Builder setParent(String value)

Required. The parent Project name for the new SpecialistPool. The form is projects/{project}/locations/{location}.

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateSpecialistPoolRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateSpecialistPoolRequest.Builder setParentBytes(ByteString value)

Required. The parent Project name for the new SpecialistPool. The form is projects/{project}/locations/{location}.

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

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateSpecialistPoolRequest.Builder

This builder for chaining.

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

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

setSpecialistPool(SpecialistPool value)

public CreateSpecialistPoolRequest.Builder setSpecialistPool(SpecialistPool value)

Required. The SpecialistPool to create.

.google.cloud.aiplatform.v1beta1.SpecialistPool specialist_pool = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value SpecialistPool
Returns
Type Description
CreateSpecialistPoolRequest.Builder

setSpecialistPool(SpecialistPool.Builder builderForValue)

public CreateSpecialistPoolRequest.Builder setSpecialistPool(SpecialistPool.Builder builderForValue)

Required. The SpecialistPool to create.

.google.cloud.aiplatform.v1beta1.SpecialistPool specialist_pool = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue SpecialistPool.Builder
Returns
Type Description
CreateSpecialistPoolRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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