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
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
POLICY_NAME_FIELD_NUMBER
public static final int POLICY_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TPU_TOPOLOGY_FIELD_NUMBER
public static final int TPU_TOPOLOGY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static NodePool.PlacementPolicy getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static NodePool.PlacementPolicy.Builder newBuilder()
newBuilder(NodePool.PlacementPolicy prototype)
public static NodePool.PlacementPolicy.Builder newBuilder(NodePool.PlacementPolicy prototype)
public static NodePool.PlacementPolicy parseDelimitedFrom(InputStream input)
public static NodePool.PlacementPolicy parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static NodePool.PlacementPolicy parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static NodePool.PlacementPolicy parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static NodePool.PlacementPolicy parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NodePool.PlacementPolicy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NodePool.PlacementPolicy parseFrom(CodedInputStream input)
public static NodePool.PlacementPolicy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static NodePool.PlacementPolicy parseFrom(InputStream input)
public static NodePool.PlacementPolicy parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static NodePool.PlacementPolicy parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static NodePool.PlacementPolicy parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<NodePool.PlacementPolicy> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public NodePool.PlacementPolicy getDefaultInstanceForType()
getParserForType()
public Parser<NodePool.PlacementPolicy> getParserForType()
Overrides
getPolicyName()
public String getPolicyName()
If set, refers to the name of a custom resource policy supplied by the
user. The resource policy must be in the same project and region as the
node pool. If not found, InvalidArgument error is returned.
string policy_name = 3;
Returns |
Type |
Description |
String |
The policyName.
|
getPolicyNameBytes()
public ByteString getPolicyNameBytes()
If set, refers to the name of a custom resource policy supplied by the
user. The resource policy must be in the same project and region as the
node pool. If not found, InvalidArgument error is returned.
string policy_name = 3;
Returns |
Type |
Description |
ByteString |
The bytes for policyName.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getTpuTopology()
public String getTpuTopology()
Returns |
Type |
Description |
String |
The tpuTopology.
|
getTpuTopologyBytes()
public ByteString getTpuTopologyBytes()
Returns |
Type |
Description |
ByteString |
The bytes for tpuTopology.
|
getType()
public NodePool.PlacementPolicy.Type getType()
The type of placement.
.google.container.v1beta1.NodePool.PlacementPolicy.Type type = 1;
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public NodePool.PlacementPolicy.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected NodePool.PlacementPolicy.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public NodePool.PlacementPolicy.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides