public final class SurgeSettings extends GeneratedMessageV3 implements SurgeSettingsOrBuilder
SurgeSettings contains the parameters for Surge update.
Protobuf type google.cloud.gkemulticloud.v1.SurgeSettings
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
MAX_SURGE_FIELD_NUMBER
public static final int MAX_SURGE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
MAX_UNAVAILABLE_FIELD_NUMBER
public static final int MAX_UNAVAILABLE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static SurgeSettings getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SurgeSettings.Builder newBuilder()
newBuilder(SurgeSettings prototype)
public static SurgeSettings.Builder newBuilder(SurgeSettings prototype)
public static SurgeSettings parseDelimitedFrom(InputStream input)
public static SurgeSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SurgeSettings parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SurgeSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SurgeSettings parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SurgeSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SurgeSettings parseFrom(CodedInputStream input)
public static SurgeSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SurgeSettings parseFrom(InputStream input)
public static SurgeSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SurgeSettings parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SurgeSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SurgeSettings> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public SurgeSettings getDefaultInstanceForType()
getMaxSurge()
Optional. The maximum number of nodes that can be created beyond the
current size of the node pool during the update process.
int32 max_surge = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
int | The maxSurge.
|
getMaxUnavailable()
public int getMaxUnavailable()
Optional. The maximum number of nodes that can be simultaneously
unavailable during the update process. A node is considered unavailable if
its status is not Ready.
int32 max_unavailable = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
int | The maxUnavailable.
|
getParserForType()
public Parser<SurgeSettings> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SurgeSettings.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SurgeSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public SurgeSettings.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides