Class SoleTenantConfig (2.48.0)

public final class SoleTenantConfig extends GeneratedMessageV3 implements SoleTenantConfigOrBuilder

SoleTenantConfig contains the NodeAffinities to specify what shared sole tenant node groups should back the node pool.

Protobuf type google.container.v1.SoleTenantConfig

Static Fields

NODE_AFFINITIES_FIELD_NUMBER

public static final int NODE_AFFINITIES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SoleTenantConfig getDefaultInstance()
Returns
Type Description
SoleTenantConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static SoleTenantConfig.Builder newBuilder()
Returns
Type Description
SoleTenantConfig.Builder

newBuilder(SoleTenantConfig prototype)

public static SoleTenantConfig.Builder newBuilder(SoleTenantConfig prototype)
Parameter
Name Description
prototype SoleTenantConfig
Returns
Type Description
SoleTenantConfig.Builder

parseDelimitedFrom(InputStream input)

public static SoleTenantConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SoleTenantConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SoleTenantConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SoleTenantConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SoleTenantConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SoleTenantConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SoleTenantConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SoleTenantConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SoleTenantConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SoleTenantConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SoleTenantConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SoleTenantConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SoleTenantConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SoleTenantConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SoleTenantConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SoleTenantConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SoleTenantConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SoleTenantConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SoleTenantConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SoleTenantConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SoleTenantConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SoleTenantConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SoleTenantConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SoleTenantConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SoleTenantConfig> parser()
Returns
Type Description
Parser<SoleTenantConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public SoleTenantConfig getDefaultInstanceForType()
Returns
Type Description
SoleTenantConfig

getNodeAffinities(int index)

public SoleTenantConfig.NodeAffinity getNodeAffinities(int index)

NodeAffinities used to match to a shared sole tenant node group.

repeated .google.container.v1.SoleTenantConfig.NodeAffinity node_affinities = 1;

Parameter
Name Description
index int
Returns
Type Description
SoleTenantConfig.NodeAffinity

getNodeAffinitiesCount()

public int getNodeAffinitiesCount()

NodeAffinities used to match to a shared sole tenant node group.

repeated .google.container.v1.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.v1.SoleTenantConfig.NodeAffinity node_affinities = 1;

Returns
Type Description
List<NodeAffinity>

getNodeAffinitiesOrBuilder(int index)

public SoleTenantConfig.NodeAffinityOrBuilder getNodeAffinitiesOrBuilder(int index)

NodeAffinities used to match to a shared sole tenant node group.

repeated .google.container.v1.SoleTenantConfig.NodeAffinity node_affinities = 1;

Parameter
Name Description
index int
Returns
Type Description
SoleTenantConfig.NodeAffinityOrBuilder

getNodeAffinitiesOrBuilderList()

public List<? extends SoleTenantConfig.NodeAffinityOrBuilder> getNodeAffinitiesOrBuilderList()

NodeAffinities used to match to a shared sole tenant node group.

repeated .google.container.v1.SoleTenantConfig.NodeAffinity node_affinities = 1;

Returns
Type Description
List<? extends com.google.container.v1.SoleTenantConfig.NodeAffinityOrBuilder>

getParserForType()

public Parser<SoleTenantConfig> getParserForType()
Returns
Type Description
Parser<SoleTenantConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SoleTenantConfig.Builder newBuilderForType()
Returns
Type Description
SoleTenantConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SoleTenantConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SoleTenantConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SoleTenantConfig.Builder toBuilder()
Returns
Type Description
SoleTenantConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException