public static final class DedicatedInfrastructure.AutoscalingSpec extends GeneratedMessage implements DedicatedInfrastructure.AutoscalingSpecOrBuilderSpecification for autoscaling.
Protobuf type google.cloud.vectorsearch.v1beta.DedicatedInfrastructure.AutoscalingSpec
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > DedicatedInfrastructure.AutoscalingSpecStatic Fields
MAX_REPLICA_COUNT_FIELD_NUMBER
public static final int MAX_REPLICA_COUNT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
MIN_REPLICA_COUNT_FIELD_NUMBER
public static final int MIN_REPLICA_COUNT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static DedicatedInfrastructure.AutoscalingSpec getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
DedicatedInfrastructure.AutoscalingSpec |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static DedicatedInfrastructure.AutoscalingSpec.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
DedicatedInfrastructure.AutoscalingSpec.Builder |
|
newBuilder(DedicatedInfrastructure.AutoscalingSpec prototype)
public static DedicatedInfrastructure.AutoscalingSpec.Builder newBuilder(DedicatedInfrastructure.AutoscalingSpec prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
DedicatedInfrastructure.AutoscalingSpec |
| Returns | |
|---|---|
| Type | Description |
DedicatedInfrastructure.AutoscalingSpec.Builder |
|
parseDelimitedFrom(InputStream input)
public static DedicatedInfrastructure.AutoscalingSpec parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
DedicatedInfrastructure.AutoscalingSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DedicatedInfrastructure.AutoscalingSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DedicatedInfrastructure.AutoscalingSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static DedicatedInfrastructure.AutoscalingSpec parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
DedicatedInfrastructure.AutoscalingSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DedicatedInfrastructure.AutoscalingSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DedicatedInfrastructure.AutoscalingSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static DedicatedInfrastructure.AutoscalingSpec parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
DedicatedInfrastructure.AutoscalingSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DedicatedInfrastructure.AutoscalingSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DedicatedInfrastructure.AutoscalingSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static DedicatedInfrastructure.AutoscalingSpec parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
DedicatedInfrastructure.AutoscalingSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DedicatedInfrastructure.AutoscalingSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DedicatedInfrastructure.AutoscalingSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static DedicatedInfrastructure.AutoscalingSpec parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
DedicatedInfrastructure.AutoscalingSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DedicatedInfrastructure.AutoscalingSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DedicatedInfrastructure.AutoscalingSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static DedicatedInfrastructure.AutoscalingSpec parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
DedicatedInfrastructure.AutoscalingSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DedicatedInfrastructure.AutoscalingSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DedicatedInfrastructure.AutoscalingSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<DedicatedInfrastructure.AutoscalingSpec> parser()| Returns | |
|---|---|
| Type | Description |
Parser<AutoscalingSpec> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public DedicatedInfrastructure.AutoscalingSpec getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DedicatedInfrastructure.AutoscalingSpec |
|
getMaxReplicaCount()
public int getMaxReplicaCount() Optional. The maximum number of replicas. If not set or set to 0,
defaults to the greater of min_replica_count and 5. Must be >=
min_replica_count and <= 1000.
int32 max_replica_count = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The maxReplicaCount. |
getMinReplicaCount()
public int getMinReplicaCount() Optional. The minimum number of replicas. If not set or set to 0,
defaults to 2. Must be >= 2 and <= 1000.
int32 min_replica_count = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The minReplicaCount. |
getParserForType()
public Parser<DedicatedInfrastructure.AutoscalingSpec> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<AutoscalingSpec> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public DedicatedInfrastructure.AutoscalingSpec.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
DedicatedInfrastructure.AutoscalingSpec.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected DedicatedInfrastructure.AutoscalingSpec.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
DedicatedInfrastructure.AutoscalingSpec.Builder |
|
toBuilder()
public DedicatedInfrastructure.AutoscalingSpec.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
DedicatedInfrastructure.AutoscalingSpec.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|