Class CreateSpecialistPoolRequest.Builder (3.34.0)

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

Request message for SpecialistPoolService.CreateSpecialistPool.

Protobuf type google.cloud.aiplatform.v1.CreateSpecialistPoolRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateSpecialistPoolRequest build()
Returns
TypeDescription
CreateSpecialistPoolRequest

buildPartial()

public CreateSpecialistPoolRequest buildPartial()
Returns
TypeDescription
CreateSpecialistPoolRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public CreateSpecialistPoolRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateSpecialistPoolRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateSpecialistPoolRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
CreateSpecialistPoolRequest.Builder

This builder for chaining.

clearSpecialistPool()

public CreateSpecialistPoolRequest.Builder clearSpecialistPool()

Required. The SpecialistPool to create.

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

Returns
TypeDescription
CreateSpecialistPoolRequest.Builder

clone()

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

getDefaultInstanceForType()

public CreateSpecialistPoolRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateSpecialistPoolRequest

getDescriptorForType()

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

The bytes for parent.

getSpecialistPool()

public SpecialistPool getSpecialistPool()

Required. The SpecialistPool to create.

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

Returns
TypeDescription
SpecialistPool

The specialistPool.

getSpecialistPoolBuilder()

public SpecialistPool.Builder getSpecialistPoolBuilder()

Required. The SpecialistPool to create.

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

Returns
TypeDescription
SpecialistPool.Builder

getSpecialistPoolOrBuilder()

public SpecialistPoolOrBuilder getSpecialistPoolOrBuilder()

Required. The SpecialistPool to create.

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

Returns
TypeDescription
SpecialistPoolOrBuilder

hasSpecialistPool()

public boolean hasSpecialistPool()

Required. The SpecialistPool to create.

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

Returns
TypeDescription
boolean

Whether the specialistPool field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateSpecialistPoolRequest other)

public CreateSpecialistPoolRequest.Builder mergeFrom(CreateSpecialistPoolRequest other)
Parameter
NameDescription
otherCreateSpecialistPoolRequest
Returns
TypeDescription
CreateSpecialistPoolRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeSpecialistPool(SpecialistPool value)

public CreateSpecialistPoolRequest.Builder mergeSpecialistPool(SpecialistPool value)

Required. The SpecialistPool to create.

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

Parameter
NameDescription
valueSpecialistPool
Returns
TypeDescription
CreateSpecialistPoolRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The parent to set.

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

The bytes for parent to set.

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

setSpecialistPool(SpecialistPool value)

public CreateSpecialistPoolRequest.Builder setSpecialistPool(SpecialistPool value)

Required. The SpecialistPool to create.

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

Parameter
NameDescription
valueSpecialistPool
Returns
TypeDescription
CreateSpecialistPoolRequest.Builder

setSpecialistPool(SpecialistPool.Builder builderForValue)

public CreateSpecialistPoolRequest.Builder setSpecialistPool(SpecialistPool.Builder builderForValue)

Required. The SpecialistPool to create.

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

Parameter
NameDescription
builderForValueSpecialistPool.Builder
Returns
TypeDescription
CreateSpecialistPoolRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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