Class AutoscalingConfig.AsymmetricAutoscalingOption (6.87.0)

public static final class AutoscalingConfig.AsymmetricAutoscalingOption extends GeneratedMessageV3 implements AutoscalingConfig.AsymmetricAutoscalingOptionOrBuilder

AsymmetricAutoscalingOption specifies the scaling of replicas identified by the given selection.

Protobuf type google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AutoscalingConfig.AsymmetricAutoscalingOption
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

OVERRIDES_FIELD_NUMBER

public static final int OVERRIDES_FIELD_NUMBER
Field Value
Type Description
int

REPLICA_SELECTION_FIELD_NUMBER

public static final int REPLICA_SELECTION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AutoscalingConfig.AsymmetricAutoscalingOption getDefaultInstance()

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AutoscalingConfig.AsymmetricAutoscalingOption.Builder newBuilder()

newBuilder(AutoscalingConfig.AsymmetricAutoscalingOption prototype)

public static AutoscalingConfig.AsymmetricAutoscalingOption.Builder newBuilder(AutoscalingConfig.AsymmetricAutoscalingOption prototype)
Parameter
Name Description
prototype AutoscalingConfig.AsymmetricAutoscalingOption

parseDelimitedFrom(InputStream input)

public static AutoscalingConfig.AsymmetricAutoscalingOption parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AutoscalingConfig.AsymmetricAutoscalingOption parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AutoscalingConfig.AsymmetricAutoscalingOption parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AutoscalingConfig.AsymmetricAutoscalingOption parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AutoscalingConfig.AsymmetricAutoscalingOption parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AutoscalingConfig.AsymmetricAutoscalingOption parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AutoscalingConfig.AsymmetricAutoscalingOption parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AutoscalingConfig.AsymmetricAutoscalingOption parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AutoscalingConfig.AsymmetricAutoscalingOption parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AutoscalingConfig.AsymmetricAutoscalingOption parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AutoscalingConfig.AsymmetricAutoscalingOption parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AutoscalingConfig.AsymmetricAutoscalingOption parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AutoscalingConfig.AsymmetricAutoscalingOption> parser()
Returns
Type Description
Parser<AsymmetricAutoscalingOption>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public AutoscalingConfig.AsymmetricAutoscalingOption getDefaultInstanceForType()

getOverrides()

public AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides getOverrides()

Optional. Overrides applied to the top-level autoscaling configuration for the selected replicas.

.google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides overrides = 2 [(.google.api.field_behavior) = OPTIONAL];

getOverridesOrBuilder()

public AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverridesOrBuilder getOverridesOrBuilder()

Optional. Overrides applied to the top-level autoscaling configuration for the selected replicas.

.google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides overrides = 2 [(.google.api.field_behavior) = OPTIONAL];

getParserForType()

public Parser<AutoscalingConfig.AsymmetricAutoscalingOption> getParserForType()
Returns
Type Description
Parser<AsymmetricAutoscalingOption>
Overrides

getReplicaSelection()

public ReplicaSelection getReplicaSelection()

Required. Selects the replicas to which this AsymmetricAutoscalingOption applies. Only read-only replicas are supported.

.google.spanner.admin.instance.v1.ReplicaSelection replica_selection = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReplicaSelection

The replicaSelection.

getReplicaSelectionOrBuilder()

public ReplicaSelectionOrBuilder getReplicaSelectionOrBuilder()

Required. Selects the replicas to which this AsymmetricAutoscalingOption applies. Only read-only replicas are supported.

.google.spanner.admin.instance.v1.ReplicaSelection replica_selection = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReplicaSelectionOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasOverrides()

public boolean hasOverrides()

Optional. Overrides applied to the top-level autoscaling configuration for the selected replicas.

.google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides overrides = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the overrides field is set.

hasReplicaSelection()

public boolean hasReplicaSelection()

Required. Selects the replicas to which this AsymmetricAutoscalingOption applies. Only read-only replicas are supported.

.google.spanner.admin.instance.v1.ReplicaSelection replica_selection = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the replicaSelection field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AutoscalingConfig.AsymmetricAutoscalingOption.Builder newBuilderForType()

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AutoscalingConfig.AsymmetricAutoscalingOption.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AutoscalingConfig.AsymmetricAutoscalingOption.Builder toBuilder()

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException