Class BestEffortProvisioning (2.38.0)

public final class BestEffortProvisioning extends GeneratedMessageV3 implements BestEffortProvisioningOrBuilder

Best effort provisioning.

Protobuf type google.container.v1.BestEffortProvisioning

Static Fields

ENABLED_FIELD_NUMBER

public static final int ENABLED_FIELD_NUMBER
Field Value
TypeDescription
int

MIN_PROVISION_NODES_FIELD_NUMBER

public static final int MIN_PROVISION_NODES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BestEffortProvisioning getDefaultInstance()
Returns
TypeDescription
BestEffortProvisioning

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static BestEffortProvisioning.Builder newBuilder()
Returns
TypeDescription
BestEffortProvisioning.Builder

newBuilder(BestEffortProvisioning prototype)

public static BestEffortProvisioning.Builder newBuilder(BestEffortProvisioning prototype)
Parameter
NameDescription
prototypeBestEffortProvisioning
Returns
TypeDescription
BestEffortProvisioning.Builder

parseDelimitedFrom(InputStream input)

public static BestEffortProvisioning parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BestEffortProvisioning
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BestEffortProvisioning parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BestEffortProvisioning
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static BestEffortProvisioning parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
BestEffortProvisioning
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BestEffortProvisioning parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BestEffortProvisioning
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BestEffortProvisioning parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BestEffortProvisioning
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BestEffortProvisioning parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BestEffortProvisioning
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BestEffortProvisioning parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BestEffortProvisioning
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BestEffortProvisioning parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BestEffortProvisioning
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static BestEffortProvisioning parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BestEffortProvisioning
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BestEffortProvisioning parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BestEffortProvisioning
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static BestEffortProvisioning parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BestEffortProvisioning
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BestEffortProvisioning parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BestEffortProvisioning
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<BestEffortProvisioning> parser()
Returns
TypeDescription
Parser<BestEffortProvisioning>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public BestEffortProvisioning getDefaultInstanceForType()
Returns
TypeDescription
BestEffortProvisioning

getEnabled()

public boolean getEnabled()

When this is enabled, cluster/node pool creations will ignore non-fatal errors like stockout to best provision as many nodes as possible right now and eventually bring up all target number of nodes

bool enabled = 1;

Returns
TypeDescription
boolean

The enabled.

getMinProvisionNodes()

public int getMinProvisionNodes()

Minimum number of nodes to be provisioned to be considered as succeeded, and the rest of nodes will be provisioned gradually and eventually when stockout issue has been resolved.

int32 min_provision_nodes = 2;

Returns
TypeDescription
int

The minProvisionNodes.

getParserForType()

public Parser<BestEffortProvisioning> getParserForType()
Returns
TypeDescription
Parser<BestEffortProvisioning>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public BestEffortProvisioning.Builder newBuilderForType()
Returns
TypeDescription
BestEffortProvisioning.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BestEffortProvisioning.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
BestEffortProvisioning.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public BestEffortProvisioning.Builder toBuilder()
Returns
TypeDescription
BestEffortProvisioning.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException