public final class SoleTenantConfig extends GeneratedMessage implements SoleTenantConfigOrBuilder
SoleTenantConfig contains the NodeAffinities to specify what shared sole
tenant node groups should back the node pool.
Protobuf type google.container.v1beta1.SoleTenantConfig
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
MIN_NODE_CPUS_FIELD_NUMBER
public static final int MIN_NODE_CPUS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
NODE_AFFINITIES_FIELD_NUMBER
public static final int NODE_AFFINITIES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static SoleTenantConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SoleTenantConfig.Builder newBuilder()
newBuilder(SoleTenantConfig prototype)
public static SoleTenantConfig.Builder newBuilder(SoleTenantConfig prototype)
public static SoleTenantConfig parseDelimitedFrom(InputStream input)
public static SoleTenantConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SoleTenantConfig parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SoleTenantConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SoleTenantConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SoleTenantConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SoleTenantConfig parseFrom(CodedInputStream input)
public static SoleTenantConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SoleTenantConfig parseFrom(InputStream input)
public static SoleTenantConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SoleTenantConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SoleTenantConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SoleTenantConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public SoleTenantConfig getDefaultInstanceForType()
getMinNodeCpus()
public int getMinNodeCpus()
Optional. The minimum number of virtual CPUs this instance will consume
when running on a sole-tenant node. This field can only be set if the node
pool is created in a shared sole-tenant node group.
optional int32 min_node_cpus = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
The minNodeCpus.
|
getNodeAffinities(int index)
public SoleTenantConfig.NodeAffinity getNodeAffinities(int index)
NodeAffinities used to match to a shared sole tenant node group.
repeated .google.container.v1beta1.SoleTenantConfig.NodeAffinity node_affinities = 1;
| Parameter |
| Name |
Description |
index |
int
|
getNodeAffinitiesCount()
public int getNodeAffinitiesCount()
NodeAffinities used to match to a shared sole tenant node group.
repeated .google.container.v1beta1.SoleTenantConfig.NodeAffinity node_affinities = 1;
| Returns |
| Type |
Description |
int |
|
getNodeAffinitiesList()
public List<SoleTenantConfig.NodeAffinity> getNodeAffinitiesList()
NodeAffinities used to match to a shared sole tenant node group.
repeated .google.container.v1beta1.SoleTenantConfig.NodeAffinity node_affinities = 1;
getNodeAffinitiesOrBuilder(int index)
public SoleTenantConfig.NodeAffinityOrBuilder getNodeAffinitiesOrBuilder(int index)
NodeAffinities used to match to a shared sole tenant node group.
repeated .google.container.v1beta1.SoleTenantConfig.NodeAffinity node_affinities = 1;
| Parameter |
| Name |
Description |
index |
int
|
getNodeAffinitiesOrBuilderList()
public List<? extends SoleTenantConfig.NodeAffinityOrBuilder> getNodeAffinitiesOrBuilderList()
NodeAffinities used to match to a shared sole tenant node group.
repeated .google.container.v1beta1.SoleTenantConfig.NodeAffinity node_affinities = 1;
| Returns |
| Type |
Description |
List<? extends com.google.container.v1beta1.SoleTenantConfig.NodeAffinityOrBuilder> |
|
getParserForType()
public Parser<SoleTenantConfig> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hasMinNodeCpus()
public boolean hasMinNodeCpus()
Optional. The minimum number of virtual CPUs this instance will consume
when running on a sole-tenant node. This field can only be set if the node
pool is created in a shared sole-tenant node group.
optional int32 min_node_cpus = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the minNodeCpus field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SoleTenantConfig.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected SoleTenantConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public SoleTenantConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides