Class SoleTenantConfig (2.33.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static SoleTenantConfig getDefaultInstance()
Returns
TypeDescription
SoleTenantConfig

getDescriptor()

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

newBuilder()

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

newBuilder(SoleTenantConfig prototype)

public static SoleTenantConfig.Builder newBuilder(SoleTenantConfig prototype)
Parameter
NameDescription
prototypeSoleTenantConfig
Returns
TypeDescription
SoleTenantConfig.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public SoleTenantConfig getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.container.v1.SoleTenantConfig.NodeAffinityOrBuilder>

getParserForType()

public Parser<SoleTenantConfig> getParserForType()
Returns
TypeDescription
Parser<SoleTenantConfig>
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 SoleTenantConfig.Builder newBuilderForType()
Returns
TypeDescription
SoleTenantConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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