public static final class NodePool.PlacementPolicy extends GeneratedMessageV3 implements NodePool.PlacementPolicyOrBuilder
PlacementPolicy defines the placement policy used by the node pool.
Protobuf type google.container.v1beta1.NodePool.PlacementPolicy
Static Fields
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static NodePool.PlacementPolicy getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static NodePool.PlacementPolicy.Builder newBuilder()
Returns
newBuilder(NodePool.PlacementPolicy prototype)
public static NodePool.PlacementPolicy.Builder newBuilder(NodePool.PlacementPolicy prototype)
Parameter
Returns
public static NodePool.PlacementPolicy parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static NodePool.PlacementPolicy parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static NodePool.PlacementPolicy parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static NodePool.PlacementPolicy parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static NodePool.PlacementPolicy parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NodePool.PlacementPolicy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static NodePool.PlacementPolicy parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static NodePool.PlacementPolicy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static NodePool.PlacementPolicy parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static NodePool.PlacementPolicy parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static NodePool.PlacementPolicy parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static NodePool.PlacementPolicy parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<NodePool.PlacementPolicy> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public NodePool.PlacementPolicy getDefaultInstanceForType()
Returns
getParserForType()
public Parser<NodePool.PlacementPolicy> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getType()
public NodePool.PlacementPolicy.Type getType()
The type of placement.
.google.container.v1beta1.NodePool.PlacementPolicy.Type type = 1;
Returns
getTypeValue()
public int getTypeValue()
The type of placement.
.google.container.v1beta1.NodePool.PlacementPolicy.Type type = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for type.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public NodePool.PlacementPolicy.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected NodePool.PlacementPolicy.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public NodePool.PlacementPolicy.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions