Class UpdateSpecialistPoolRequest.Builder (3.33.0)

public static final class UpdateSpecialistPoolRequest.Builder extends GeneratedMessageV3.Builder<UpdateSpecialistPoolRequest.Builder> implements UpdateSpecialistPoolRequestOrBuilder

Request message for SpecialistPoolService.UpdateSpecialistPool.

Protobuf type google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateSpecialistPoolRequest build()
Returns
TypeDescription
UpdateSpecialistPoolRequest

buildPartial()

public UpdateSpecialistPoolRequest buildPartial()
Returns
TypeDescription
UpdateSpecialistPoolRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSpecialistPool()

public UpdateSpecialistPoolRequest.Builder clearSpecialistPool()

Required. The SpecialistPool which replaces the resource on the server.

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

Returns
TypeDescription
UpdateSpecialistPoolRequest.Builder

clearUpdateMask()

public UpdateSpecialistPoolRequest.Builder clearUpdateMask()

Required. The update mask applies to the resource.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateSpecialistPoolRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateSpecialistPoolRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateSpecialistPoolRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSpecialistPool()

public SpecialistPool getSpecialistPool()

Required. The SpecialistPool which replaces the resource on the server.

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

Returns
TypeDescription
SpecialistPool

The specialistPool.

getSpecialistPoolBuilder()

public SpecialistPool.Builder getSpecialistPoolBuilder()

Required. The SpecialistPool which replaces the resource on the server.

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

Returns
TypeDescription
SpecialistPool.Builder

getSpecialistPoolOrBuilder()

public SpecialistPoolOrBuilder getSpecialistPoolOrBuilder()

Required. The SpecialistPool which replaces the resource on the server.

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

Returns
TypeDescription
SpecialistPoolOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Required. The update mask applies to the resource.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. The update mask applies to the resource.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. The update mask applies to the resource.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMaskOrBuilder

hasSpecialistPool()

public boolean hasSpecialistPool()

Required. The SpecialistPool which replaces the resource on the server.

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

Returns
TypeDescription
boolean

Whether the specialistPool field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. The update mask applies to the resource.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateSpecialistPoolRequest other)

public UpdateSpecialistPoolRequest.Builder mergeFrom(UpdateSpecialistPoolRequest other)
Parameter
NameDescription
otherUpdateSpecialistPoolRequest
Returns
TypeDescription
UpdateSpecialistPoolRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeSpecialistPool(SpecialistPool value)

public UpdateSpecialistPoolRequest.Builder mergeSpecialistPool(SpecialistPool value)

Required. The SpecialistPool which replaces the resource on the server.

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

Parameter
NameDescription
valueSpecialistPool
Returns
TypeDescription
UpdateSpecialistPoolRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateSpecialistPoolRequest.Builder mergeUpdateMask(FieldMask value)

Required. The update mask applies to the resource.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateSpecialistPoolRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public UpdateSpecialistPoolRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateSpecialistPoolRequest.Builder
Overrides

setSpecialistPool(SpecialistPool value)

public UpdateSpecialistPoolRequest.Builder setSpecialistPool(SpecialistPool value)

Required. The SpecialistPool which replaces the resource on the server.

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

Parameter
NameDescription
valueSpecialistPool
Returns
TypeDescription
UpdateSpecialistPoolRequest.Builder

setSpecialistPool(SpecialistPool.Builder builderForValue)

public UpdateSpecialistPoolRequest.Builder setSpecialistPool(SpecialistPool.Builder builderForValue)

Required. The SpecialistPool which replaces the resource on the server.

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

Parameter
NameDescription
builderForValueSpecialistPool.Builder
Returns
TypeDescription
UpdateSpecialistPoolRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateSpecialistPoolRequest.Builder setUpdateMask(FieldMask value)

Required. The update mask applies to the resource.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateSpecialistPoolRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateSpecialistPoolRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. The update mask applies to the resource.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateSpecialistPoolRequest.Builder