public static final class RecommendSpecResponse.Recommendation.Builder extends GeneratedMessage.Builder<RecommendSpecResponse.Recommendation.Builder> implements RecommendSpecResponse.RecommendationOrBuilderRecommendation of one deployment option for the given custom weights model in one region. Contains the machine and container spec, and user accelerator quota state.
Protobuf type google.cloud.aiplatform.v1beta1.RecommendSpecResponse.Recommendation
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RecommendSpecResponse.Recommendation.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RecommendSpecResponse.Recommendation build()| Returns | |
|---|---|
| Type | Description |
RecommendSpecResponse.Recommendation |
|
buildPartial()
public RecommendSpecResponse.Recommendation buildPartial()| Returns | |
|---|---|
| Type | Description |
RecommendSpecResponse.Recommendation |
|
clear()
public RecommendSpecResponse.Recommendation.Builder clear()| Returns | |
|---|---|
| Type | Description |
RecommendSpecResponse.Recommendation.Builder |
|
clearRegion()
public RecommendSpecResponse.Recommendation.Builder clearRegion()The region for the deployment spec (machine).
string region = 1;
| Returns | |
|---|---|
| Type | Description |
RecommendSpecResponse.Recommendation.Builder |
This builder for chaining. |
clearSpec()
public RecommendSpecResponse.Recommendation.Builder clearSpec()Output only. The machine and model container specs.
.google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec spec = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
RecommendSpecResponse.Recommendation.Builder |
|
clearUserQuotaState()
public RecommendSpecResponse.Recommendation.Builder clearUserQuotaState()Output only. The user accelerator quota state.
.google.cloud.aiplatform.v1beta1.RecommendSpecResponse.Recommendation.QuotaState user_quota_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
RecommendSpecResponse.Recommendation.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public RecommendSpecResponse.Recommendation getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RecommendSpecResponse.Recommendation |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getRegion()
public String getRegion()The region for the deployment spec (machine).
string region = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The region. |
getRegionBytes()
public ByteString getRegionBytes()The region for the deployment spec (machine).
string region = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for region. |
getSpec()
public RecommendSpecResponse.MachineAndModelContainerSpec getSpec()Output only. The machine and model container specs.
.google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec spec = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
RecommendSpecResponse.MachineAndModelContainerSpec |
The spec. |
getSpecBuilder()
public RecommendSpecResponse.MachineAndModelContainerSpec.Builder getSpecBuilder()Output only. The machine and model container specs.
.google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec spec = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
RecommendSpecResponse.MachineAndModelContainerSpec.Builder |
|
getSpecOrBuilder()
public RecommendSpecResponse.MachineAndModelContainerSpecOrBuilder getSpecOrBuilder()Output only. The machine and model container specs.
.google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec spec = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
RecommendSpecResponse.MachineAndModelContainerSpecOrBuilder |
|
getUserQuotaState()
public RecommendSpecResponse.Recommendation.QuotaState getUserQuotaState()Output only. The user accelerator quota state.
.google.cloud.aiplatform.v1beta1.RecommendSpecResponse.Recommendation.QuotaState user_quota_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
RecommendSpecResponse.Recommendation.QuotaState |
The userQuotaState. |
getUserQuotaStateValue()
public int getUserQuotaStateValue()Output only. The user accelerator quota state.
.google.cloud.aiplatform.v1beta1.RecommendSpecResponse.Recommendation.QuotaState user_quota_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for userQuotaState. |
hasSpec()
public boolean hasSpec()Output only. The machine and model container specs.
.google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec spec = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the spec field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(RecommendSpecResponse.Recommendation other)
public RecommendSpecResponse.Recommendation.Builder mergeFrom(RecommendSpecResponse.Recommendation other)| Parameter | |
|---|---|
| Name | Description |
other |
RecommendSpecResponse.Recommendation |
| Returns | |
|---|---|
| Type | Description |
RecommendSpecResponse.Recommendation.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RecommendSpecResponse.Recommendation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RecommendSpecResponse.Recommendation.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RecommendSpecResponse.Recommendation.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RecommendSpecResponse.Recommendation.Builder |
|
mergeSpec(RecommendSpecResponse.MachineAndModelContainerSpec value)
public RecommendSpecResponse.Recommendation.Builder mergeSpec(RecommendSpecResponse.MachineAndModelContainerSpec value)Output only. The machine and model container specs.
.google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec spec = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
RecommendSpecResponse.MachineAndModelContainerSpec |
| Returns | |
|---|---|
| Type | Description |
RecommendSpecResponse.Recommendation.Builder |
|
setRegion(String value)
public RecommendSpecResponse.Recommendation.Builder setRegion(String value)The region for the deployment spec (machine).
string region = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe region to set. |
| Returns | |
|---|---|
| Type | Description |
RecommendSpecResponse.Recommendation.Builder |
This builder for chaining. |
setRegionBytes(ByteString value)
public RecommendSpecResponse.Recommendation.Builder setRegionBytes(ByteString value)The region for the deployment spec (machine).
string region = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for region to set. |
| Returns | |
|---|---|
| Type | Description |
RecommendSpecResponse.Recommendation.Builder |
This builder for chaining. |
setSpec(RecommendSpecResponse.MachineAndModelContainerSpec value)
public RecommendSpecResponse.Recommendation.Builder setSpec(RecommendSpecResponse.MachineAndModelContainerSpec value)Output only. The machine and model container specs.
.google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec spec = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
RecommendSpecResponse.MachineAndModelContainerSpec |
| Returns | |
|---|---|
| Type | Description |
RecommendSpecResponse.Recommendation.Builder |
|
setSpec(RecommendSpecResponse.MachineAndModelContainerSpec.Builder builderForValue)
public RecommendSpecResponse.Recommendation.Builder setSpec(RecommendSpecResponse.MachineAndModelContainerSpec.Builder builderForValue)Output only. The machine and model container specs.
.google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec spec = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
RecommendSpecResponse.MachineAndModelContainerSpec.Builder |
| Returns | |
|---|---|
| Type | Description |
RecommendSpecResponse.Recommendation.Builder |
|
setUserQuotaState(RecommendSpecResponse.Recommendation.QuotaState value)
public RecommendSpecResponse.Recommendation.Builder setUserQuotaState(RecommendSpecResponse.Recommendation.QuotaState value)Output only. The user accelerator quota state.
.google.cloud.aiplatform.v1beta1.RecommendSpecResponse.Recommendation.QuotaState user_quota_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
RecommendSpecResponse.Recommendation.QuotaStateThe userQuotaState to set. |
| Returns | |
|---|---|
| Type | Description |
RecommendSpecResponse.Recommendation.Builder |
This builder for chaining. |
setUserQuotaStateValue(int value)
public RecommendSpecResponse.Recommendation.Builder setUserQuotaStateValue(int value)Output only. The user accelerator quota state.
.google.cloud.aiplatform.v1beta1.RecommendSpecResponse.Recommendation.QuotaState user_quota_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for userQuotaState to set. |
| Returns | |
|---|---|
| Type | Description |
RecommendSpecResponse.Recommendation.Builder |
This builder for chaining. |