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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public CreateSpecialistPoolRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public CreateSpecialistPoolRequest build()
public CreateSpecialistPoolRequest buildPartial()
public CreateSpecialistPoolRequest.Builder clear()
Overrides
public CreateSpecialistPoolRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public CreateSpecialistPoolRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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) = { ... }
public CreateSpecialistPoolRequest.Builder clearSpecialistPool()
Required. The SpecialistPool to create.
.google.cloud.aiplatform.v1beta1.SpecialistPool specialist_pool = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateSpecialistPoolRequest.Builder clone()
Overrides
public CreateSpecialistPoolRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
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.
|
public SpecialistPool getSpecialistPool()
Required. The SpecialistPool to create.
.google.cloud.aiplatform.v1beta1.SpecialistPool specialist_pool = 2 [(.google.api.field_behavior) = REQUIRED];
public SpecialistPool.Builder getSpecialistPoolBuilder()
Required. The SpecialistPool to create.
.google.cloud.aiplatform.v1beta1.SpecialistPool specialist_pool = 2 [(.google.api.field_behavior) = REQUIRED];
public SpecialistPoolOrBuilder getSpecialistPoolOrBuilder()
Required. The SpecialistPool to create.
.google.cloud.aiplatform.v1beta1.SpecialistPool specialist_pool = 2 [(.google.api.field_behavior) = REQUIRED];
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public CreateSpecialistPoolRequest.Builder mergeFrom(CreateSpecialistPoolRequest other)
public CreateSpecialistPoolRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public CreateSpecialistPoolRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public CreateSpecialistPoolRequest.Builder mergeSpecialistPool(SpecialistPool value)
Required. The SpecialistPool to create.
.google.cloud.aiplatform.v1beta1.SpecialistPool specialist_pool = 2 [(.google.api.field_behavior) = REQUIRED];
public final CreateSpecialistPoolRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public CreateSpecialistPoolRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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.
|
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.
|
public CreateSpecialistPoolRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public CreateSpecialistPoolRequest.Builder setSpecialistPool(SpecialistPool value)
Required. The SpecialistPool to create.
.google.cloud.aiplatform.v1beta1.SpecialistPool specialist_pool = 2 [(.google.api.field_behavior) = REQUIRED];
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];
public final CreateSpecialistPoolRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides