public static final class DedicatedInfrastructure.Builder extends GeneratedMessage.Builder<DedicatedInfrastructure.Builder> implements DedicatedInfrastructureOrBuilderRepresents dedicated infrastructure for the index.
Protobuf type google.cloud.vectorsearch.v1.DedicatedInfrastructure
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DedicatedInfrastructure.BuilderImplements
DedicatedInfrastructureOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DedicatedInfrastructure build()| Returns | |
|---|---|
| Type | Description |
DedicatedInfrastructure |
|
buildPartial()
public DedicatedInfrastructure buildPartial()| Returns | |
|---|---|
| Type | Description |
DedicatedInfrastructure |
|
clear()
public DedicatedInfrastructure.Builder clear()| Returns | |
|---|---|
| Type | Description |
DedicatedInfrastructure.Builder |
|
clearAutoscalingSpec()
public DedicatedInfrastructure.Builder clearAutoscalingSpec()Optional. Autoscaling specification.
.google.cloud.vectorsearch.v1.DedicatedInfrastructure.AutoscalingSpec autoscaling_spec = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DedicatedInfrastructure.Builder |
|
clearMode()
public DedicatedInfrastructure.Builder clearMode()Optional. Mode of the dedicated infrastructure.
optional .google.cloud.vectorsearch.v1.DedicatedInfrastructure.Mode mode = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DedicatedInfrastructure.Builder |
This builder for chaining. |
getAutoscalingSpec()
public DedicatedInfrastructure.AutoscalingSpec getAutoscalingSpec()Optional. Autoscaling specification.
.google.cloud.vectorsearch.v1.DedicatedInfrastructure.AutoscalingSpec autoscaling_spec = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DedicatedInfrastructure.AutoscalingSpec |
The autoscalingSpec. |
getAutoscalingSpecBuilder()
public DedicatedInfrastructure.AutoscalingSpec.Builder getAutoscalingSpecBuilder()Optional. Autoscaling specification.
.google.cloud.vectorsearch.v1.DedicatedInfrastructure.AutoscalingSpec autoscaling_spec = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DedicatedInfrastructure.AutoscalingSpec.Builder |
|
getAutoscalingSpecOrBuilder()
public DedicatedInfrastructure.AutoscalingSpecOrBuilder getAutoscalingSpecOrBuilder()Optional. Autoscaling specification.
.google.cloud.vectorsearch.v1.DedicatedInfrastructure.AutoscalingSpec autoscaling_spec = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DedicatedInfrastructure.AutoscalingSpecOrBuilder |
|
getDefaultInstanceForType()
public DedicatedInfrastructure getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DedicatedInfrastructure |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMode()
public DedicatedInfrastructure.Mode getMode()Optional. Mode of the dedicated infrastructure.
optional .google.cloud.vectorsearch.v1.DedicatedInfrastructure.Mode mode = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DedicatedInfrastructure.Mode |
The mode. |
getModeValue()
public int getModeValue()Optional. Mode of the dedicated infrastructure.
optional .google.cloud.vectorsearch.v1.DedicatedInfrastructure.Mode mode = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for mode. |
hasAutoscalingSpec()
public boolean hasAutoscalingSpec()Optional. Autoscaling specification.
.google.cloud.vectorsearch.v1.DedicatedInfrastructure.AutoscalingSpec autoscaling_spec = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the autoscalingSpec field is set. |
hasMode()
public boolean hasMode()Optional. Mode of the dedicated infrastructure.
optional .google.cloud.vectorsearch.v1.DedicatedInfrastructure.Mode mode = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the mode field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAutoscalingSpec(DedicatedInfrastructure.AutoscalingSpec value)
public DedicatedInfrastructure.Builder mergeAutoscalingSpec(DedicatedInfrastructure.AutoscalingSpec value)Optional. Autoscaling specification.
.google.cloud.vectorsearch.v1.DedicatedInfrastructure.AutoscalingSpec autoscaling_spec = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
DedicatedInfrastructure.AutoscalingSpec |
| Returns | |
|---|---|
| Type | Description |
DedicatedInfrastructure.Builder |
|
mergeFrom(DedicatedInfrastructure other)
public DedicatedInfrastructure.Builder mergeFrom(DedicatedInfrastructure other)| Parameter | |
|---|---|
| Name | Description |
other |
DedicatedInfrastructure |
| Returns | |
|---|---|
| Type | Description |
DedicatedInfrastructure.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DedicatedInfrastructure.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DedicatedInfrastructure.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DedicatedInfrastructure.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DedicatedInfrastructure.Builder |
|
setAutoscalingSpec(DedicatedInfrastructure.AutoscalingSpec value)
public DedicatedInfrastructure.Builder setAutoscalingSpec(DedicatedInfrastructure.AutoscalingSpec value)Optional. Autoscaling specification.
.google.cloud.vectorsearch.v1.DedicatedInfrastructure.AutoscalingSpec autoscaling_spec = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
DedicatedInfrastructure.AutoscalingSpec |
| Returns | |
|---|---|
| Type | Description |
DedicatedInfrastructure.Builder |
|
setAutoscalingSpec(DedicatedInfrastructure.AutoscalingSpec.Builder builderForValue)
public DedicatedInfrastructure.Builder setAutoscalingSpec(DedicatedInfrastructure.AutoscalingSpec.Builder builderForValue)Optional. Autoscaling specification.
.google.cloud.vectorsearch.v1.DedicatedInfrastructure.AutoscalingSpec autoscaling_spec = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DedicatedInfrastructure.AutoscalingSpec.Builder |
| Returns | |
|---|---|
| Type | Description |
DedicatedInfrastructure.Builder |
|
setMode(DedicatedInfrastructure.Mode value)
public DedicatedInfrastructure.Builder setMode(DedicatedInfrastructure.Mode value)Optional. Mode of the dedicated infrastructure.
optional .google.cloud.vectorsearch.v1.DedicatedInfrastructure.Mode mode = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
DedicatedInfrastructure.ModeThe mode to set. |
| Returns | |
|---|---|
| Type | Description |
DedicatedInfrastructure.Builder |
This builder for chaining. |
setModeValue(int value)
public DedicatedInfrastructure.Builder setModeValue(int value)Optional. Mode of the dedicated infrastructure.
optional .google.cloud.vectorsearch.v1.DedicatedInfrastructure.Mode mode = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for mode to set. |
| Returns | |
|---|---|
| Type | Description |
DedicatedInfrastructure.Builder |
This builder for chaining. |