public static final class AdditionalPodNetworkConfig.Builder extends GeneratedMessageV3.Builder<AdditionalPodNetworkConfig.Builder> implements AdditionalPodNetworkConfigOrBuilder
AdditionalPodNetworkConfig is the configuration for additional pod networks
within the NodeNetworkConfig message
Protobuf type google.container.v1.AdditionalPodNetworkConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AdditionalPodNetworkConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AdditionalPodNetworkConfig build()
buildPartial()
public AdditionalPodNetworkConfig buildPartial()
clear()
public AdditionalPodNetworkConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public AdditionalPodNetworkConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMaxPodsPerNode()
public AdditionalPodNetworkConfig.Builder clearMaxPodsPerNode()
The maximum number of pods per node which use this pod network
optional .google.container.v1.MaxPodsConstraint max_pods_per_node = 3;
clearOneof(Descriptors.OneofDescriptor oneof)
public AdditionalPodNetworkConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSecondaryPodRange()
public AdditionalPodNetworkConfig.Builder clearSecondaryPodRange()
The name of the secondary range on the subnet which provides IP address for
this pod range
string secondary_pod_range = 2;
clearSubnetwork()
public AdditionalPodNetworkConfig.Builder clearSubnetwork()
Name of the subnetwork where the additional pod network belongs
string subnetwork = 1;
clone()
public AdditionalPodNetworkConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public AdditionalPodNetworkConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMaxPodsPerNode()
public MaxPodsConstraint getMaxPodsPerNode()
The maximum number of pods per node which use this pod network
optional .google.container.v1.MaxPodsConstraint max_pods_per_node = 3;
getMaxPodsPerNodeBuilder()
public MaxPodsConstraint.Builder getMaxPodsPerNodeBuilder()
The maximum number of pods per node which use this pod network
optional .google.container.v1.MaxPodsConstraint max_pods_per_node = 3;
getMaxPodsPerNodeOrBuilder()
public MaxPodsConstraintOrBuilder getMaxPodsPerNodeOrBuilder()
The maximum number of pods per node which use this pod network
optional .google.container.v1.MaxPodsConstraint max_pods_per_node = 3;
getSecondaryPodRange()
public String getSecondaryPodRange()
The name of the secondary range on the subnet which provides IP address for
this pod range
string secondary_pod_range = 2;
Returns |
---|
Type | Description |
String | The secondaryPodRange.
|
getSecondaryPodRangeBytes()
public ByteString getSecondaryPodRangeBytes()
The name of the secondary range on the subnet which provides IP address for
this pod range
string secondary_pod_range = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for secondaryPodRange.
|
getSubnetwork()
public String getSubnetwork()
Name of the subnetwork where the additional pod network belongs
string subnetwork = 1;
Returns |
---|
Type | Description |
String | The subnetwork.
|
getSubnetworkBytes()
public ByteString getSubnetworkBytes()
Name of the subnetwork where the additional pod network belongs
string subnetwork = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for subnetwork.
|
hasMaxPodsPerNode()
public boolean hasMaxPodsPerNode()
The maximum number of pods per node which use this pod network
optional .google.container.v1.MaxPodsConstraint max_pods_per_node = 3;
Returns |
---|
Type | Description |
boolean | Whether the maxPodsPerNode field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AdditionalPodNetworkConfig other)
public AdditionalPodNetworkConfig.Builder mergeFrom(AdditionalPodNetworkConfig other)
public AdditionalPodNetworkConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AdditionalPodNetworkConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeMaxPodsPerNode(MaxPodsConstraint value)
public AdditionalPodNetworkConfig.Builder mergeMaxPodsPerNode(MaxPodsConstraint value)
The maximum number of pods per node which use this pod network
optional .google.container.v1.MaxPodsConstraint max_pods_per_node = 3;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AdditionalPodNetworkConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AdditionalPodNetworkConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMaxPodsPerNode(MaxPodsConstraint value)
public AdditionalPodNetworkConfig.Builder setMaxPodsPerNode(MaxPodsConstraint value)
The maximum number of pods per node which use this pod network
optional .google.container.v1.MaxPodsConstraint max_pods_per_node = 3;
setMaxPodsPerNode(MaxPodsConstraint.Builder builderForValue)
public AdditionalPodNetworkConfig.Builder setMaxPodsPerNode(MaxPodsConstraint.Builder builderForValue)
The maximum number of pods per node which use this pod network
optional .google.container.v1.MaxPodsConstraint max_pods_per_node = 3;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AdditionalPodNetworkConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSecondaryPodRange(String value)
public AdditionalPodNetworkConfig.Builder setSecondaryPodRange(String value)
The name of the secondary range on the subnet which provides IP address for
this pod range
string secondary_pod_range = 2;
Parameter |
---|
Name | Description |
value | String
The secondaryPodRange to set.
|
setSecondaryPodRangeBytes(ByteString value)
public AdditionalPodNetworkConfig.Builder setSecondaryPodRangeBytes(ByteString value)
The name of the secondary range on the subnet which provides IP address for
this pod range
string secondary_pod_range = 2;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for secondaryPodRange to set.
|
setSubnetwork(String value)
public AdditionalPodNetworkConfig.Builder setSubnetwork(String value)
Name of the subnetwork where the additional pod network belongs
string subnetwork = 1;
Parameter |
---|
Name | Description |
value | String
The subnetwork to set.
|
setSubnetworkBytes(ByteString value)
public AdditionalPodNetworkConfig.Builder setSubnetworkBytes(ByteString value)
Name of the subnetwork where the additional pod network belongs
string subnetwork = 1;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for subnetwork to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final AdditionalPodNetworkConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides