public static final class SoleTenantConfig.Builder extends GeneratedMessageV3.Builder<SoleTenantConfig.Builder> 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllNodeAffinities(Iterable<? extends SoleTenantConfig.NodeAffinity> values)
public SoleTenantConfig.Builder addAllNodeAffinities(Iterable<? extends SoleTenantConfig.NodeAffinity> values)
NodeAffinities used to match to a shared sole tenant node group.
repeated .google.container.v1.SoleTenantConfig.NodeAffinity node_affinities = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.container.v1.SoleTenantConfig.NodeAffinity>
|
addNodeAffinities(SoleTenantConfig.NodeAffinity value)
public SoleTenantConfig.Builder addNodeAffinities(SoleTenantConfig.NodeAffinity value)
NodeAffinities used to match to a shared sole tenant node group.
repeated .google.container.v1.SoleTenantConfig.NodeAffinity node_affinities = 1;
addNodeAffinities(SoleTenantConfig.NodeAffinity.Builder builderForValue)
public SoleTenantConfig.Builder addNodeAffinities(SoleTenantConfig.NodeAffinity.Builder builderForValue)
NodeAffinities used to match to a shared sole tenant node group.
repeated .google.container.v1.SoleTenantConfig.NodeAffinity node_affinities = 1;
addNodeAffinities(int index, SoleTenantConfig.NodeAffinity value)
public SoleTenantConfig.Builder addNodeAffinities(int index, SoleTenantConfig.NodeAffinity value)
NodeAffinities used to match to a shared sole tenant node group.
repeated .google.container.v1.SoleTenantConfig.NodeAffinity node_affinities = 1;
addNodeAffinities(int index, SoleTenantConfig.NodeAffinity.Builder builderForValue)
public SoleTenantConfig.Builder addNodeAffinities(int index, SoleTenantConfig.NodeAffinity.Builder builderForValue)
NodeAffinities used to match to a shared sole tenant node group.
repeated .google.container.v1.SoleTenantConfig.NodeAffinity node_affinities = 1;
addNodeAffinitiesBuilder()
public SoleTenantConfig.NodeAffinity.Builder addNodeAffinitiesBuilder()
NodeAffinities used to match to a shared sole tenant node group.
repeated .google.container.v1.SoleTenantConfig.NodeAffinity node_affinities = 1;
addNodeAffinitiesBuilder(int index)
public SoleTenantConfig.NodeAffinity.Builder addNodeAffinitiesBuilder(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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SoleTenantConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SoleTenantConfig build()
buildPartial()
public SoleTenantConfig buildPartial()
clear()
public SoleTenantConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SoleTenantConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNodeAffinities()
public SoleTenantConfig.Builder clearNodeAffinities()
NodeAffinities used to match to a shared sole tenant node group.
repeated .google.container.v1.SoleTenantConfig.NodeAffinity node_affinities = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public SoleTenantConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public SoleTenantConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public SoleTenantConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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
|
getNodeAffinitiesBuilder(int index)
public SoleTenantConfig.NodeAffinity.Builder getNodeAffinitiesBuilder(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
|
getNodeAffinitiesBuilderList()
public List<SoleTenantConfig.NodeAffinity.Builder> getNodeAffinitiesBuilderList()
NodeAffinities used to match to a shared sole tenant node group.
repeated .google.container.v1.SoleTenantConfig.NodeAffinity node_affinities = 1;
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;
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
|
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> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SoleTenantConfig other)
public SoleTenantConfig.Builder mergeFrom(SoleTenantConfig other)
public SoleTenantConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SoleTenantConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SoleTenantConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeNodeAffinities(int index)
public SoleTenantConfig.Builder removeNodeAffinities(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
|
setField(Descriptors.FieldDescriptor field, Object value)
public SoleTenantConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNodeAffinities(int index, SoleTenantConfig.NodeAffinity value)
public SoleTenantConfig.Builder setNodeAffinities(int index, SoleTenantConfig.NodeAffinity value)
NodeAffinities used to match to a shared sole tenant node group.
repeated .google.container.v1.SoleTenantConfig.NodeAffinity node_affinities = 1;
setNodeAffinities(int index, SoleTenantConfig.NodeAffinity.Builder builderForValue)
public SoleTenantConfig.Builder setNodeAffinities(int index, SoleTenantConfig.NodeAffinity.Builder builderForValue)
NodeAffinities used to match to a shared sole tenant node group.
repeated .google.container.v1.SoleTenantConfig.NodeAffinity node_affinities = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SoleTenantConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SoleTenantConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides