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
Inherited Members
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()
newBuilder()
public static AutoscalingConfig.AsymmetricAutoscalingOption.Builder newBuilder()
newBuilder(AutoscalingConfig.AsymmetricAutoscalingOption prototype)
public static AutoscalingConfig.AsymmetricAutoscalingOption.Builder newBuilder(AutoscalingConfig.AsymmetricAutoscalingOption prototype)
public static AutoscalingConfig.AsymmetricAutoscalingOption parseDelimitedFrom(InputStream input)
public static AutoscalingConfig.AsymmetricAutoscalingOption parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AutoscalingConfig.AsymmetricAutoscalingOption parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AutoscalingConfig.AsymmetricAutoscalingOption parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AutoscalingConfig.AsymmetricAutoscalingOption parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AutoscalingConfig.AsymmetricAutoscalingOption parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AutoscalingConfig.AsymmetricAutoscalingOption parseFrom(CodedInputStream input)
public static AutoscalingConfig.AsymmetricAutoscalingOption parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AutoscalingConfig.AsymmetricAutoscalingOption parseFrom(InputStream input)
public static AutoscalingConfig.AsymmetricAutoscalingOption parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AutoscalingConfig.AsymmetricAutoscalingOption parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AutoscalingConfig.AsymmetricAutoscalingOption parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AutoscalingConfig.AsymmetricAutoscalingOption> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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()
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];
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];
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AutoscalingConfig.AsymmetricAutoscalingOption.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AutoscalingConfig.AsymmetricAutoscalingOption.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public AutoscalingConfig.AsymmetricAutoscalingOption.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides