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.AsymmetricAutoscalingOptionStatic 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()
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AsymmetricAutoscalingOption |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static AutoscalingConfig.AsymmetricAutoscalingOption.Builder newBuilder()
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AsymmetricAutoscalingOption.Builder |
newBuilder(AutoscalingConfig.AsymmetricAutoscalingOption prototype)
public static AutoscalingConfig.AsymmetricAutoscalingOption.Builder newBuilder(AutoscalingConfig.AsymmetricAutoscalingOption prototype)
Parameter | |
---|---|
Name | Description |
prototype |
AutoscalingConfig.AsymmetricAutoscalingOption |
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AsymmetricAutoscalingOption.Builder |
parseDelimitedFrom(InputStream input)
public static AutoscalingConfig.AsymmetricAutoscalingOption parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AsymmetricAutoscalingOption |
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 |
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AsymmetricAutoscalingOption |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static AutoscalingConfig.AsymmetricAutoscalingOption parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AsymmetricAutoscalingOption |
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 |
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AsymmetricAutoscalingOption |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static AutoscalingConfig.AsymmetricAutoscalingOption parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AsymmetricAutoscalingOption |
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 |
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AsymmetricAutoscalingOption |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static AutoscalingConfig.AsymmetricAutoscalingOption parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AsymmetricAutoscalingOption |
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 |
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AsymmetricAutoscalingOption |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static AutoscalingConfig.AsymmetricAutoscalingOption parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AsymmetricAutoscalingOption |
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 |
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AsymmetricAutoscalingOption |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static AutoscalingConfig.AsymmetricAutoscalingOption parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AsymmetricAutoscalingOption |
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 |
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AsymmetricAutoscalingOption |
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 |
getDefaultInstanceForType()
public AutoscalingConfig.AsymmetricAutoscalingOption getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AsymmetricAutoscalingOption |
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];
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides |
The overrides. |
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];
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverridesOrBuilder |
getParserForType()
public Parser<AutoscalingConfig.AsymmetricAutoscalingOption> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<AsymmetricAutoscalingOption> |
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 |
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 |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public AutoscalingConfig.AsymmetricAutoscalingOption.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AsymmetricAutoscalingOption.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AutoscalingConfig.AsymmetricAutoscalingOption.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AsymmetricAutoscalingOption.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public AutoscalingConfig.AsymmetricAutoscalingOption.Builder toBuilder()
Returns | |
---|---|
Type | Description |
AutoscalingConfig.AsymmetricAutoscalingOption.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |