Package com.google.container.v1
Class AdditionalIPRangesConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AdditionalIPRangesConfig.Builder>
com.google.container.v1.AdditionalIPRangesConfig.Builder
- All Implemented Interfaces:
AdditionalIPRangesConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AdditionalIPRangesConfig
public static final class AdditionalIPRangesConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AdditionalIPRangesConfig.Builder>
implements AdditionalIPRangesConfigOrBuilder
AdditionalIPRangesConfig is the configuration for individual additional subnetwork attached to the clusterProtobuf type
google.container.v1.AdditionalIPRangesConfig-
Method Summary
Modifier and TypeMethodDescriptionaddAllPodIpv4RangeNames(Iterable<String> values) List of secondary ranges names within this subnetwork that can be used for pod IPs.addPodIpv4RangeNames(String value) List of secondary ranges names within this subnetwork that can be used for pod IPs.addPodIpv4RangeNamesBytes(com.google.protobuf.ByteString value) List of secondary ranges names within this subnetwork that can be used for pod IPs.build()clear()List of secondary ranges names within this subnetwork that can be used for pod IPs.Draining status of the additional subnet.Name of the subnetwork.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetPodIpv4RangeNames(int index) List of secondary ranges names within this subnetwork that can be used for pod IPs.com.google.protobuf.ByteStringgetPodIpv4RangeNamesBytes(int index) List of secondary ranges names within this subnetwork that can be used for pod IPs.intList of secondary ranges names within this subnetwork that can be used for pod IPs.com.google.protobuf.ProtocolStringListList of secondary ranges names within this subnetwork that can be used for pod IPs.Draining status of the additional subnet.intDraining status of the additional subnet.Name of the subnetwork.com.google.protobuf.ByteStringName of the subnetwork.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setPodIpv4RangeNames(int index, String value) List of secondary ranges names within this subnetwork that can be used for pod IPs.Draining status of the additional subnet.setStatusValue(int value) Draining status of the additional subnet.setSubnetwork(String value) Name of the subnetwork.setSubnetworkBytes(com.google.protobuf.ByteString value) Name of the subnetwork.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<AdditionalIPRangesConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<AdditionalIPRangesConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<AdditionalIPRangesConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AdditionalIPRangesConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AdditionalIPRangesConfig.Builder>
-
mergeFrom
public AdditionalIPRangesConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AdditionalIPRangesConfig.Builder>- Throws:
IOException
-
getSubnetwork
Name of the subnetwork. This can be the full path of the subnetwork or just the name. Example1: my-subnet Example2: projects/gke-project/regions/us-central1/subnetworks/my-subnet
string subnetwork = 1;- Specified by:
getSubnetworkin interfaceAdditionalIPRangesConfigOrBuilder- Returns:
- The subnetwork.
-
getSubnetworkBytes
public com.google.protobuf.ByteString getSubnetworkBytes()Name of the subnetwork. This can be the full path of the subnetwork or just the name. Example1: my-subnet Example2: projects/gke-project/regions/us-central1/subnetworks/my-subnet
string subnetwork = 1;- Specified by:
getSubnetworkBytesin interfaceAdditionalIPRangesConfigOrBuilder- Returns:
- The bytes for subnetwork.
-
setSubnetwork
Name of the subnetwork. This can be the full path of the subnetwork or just the name. Example1: my-subnet Example2: projects/gke-project/regions/us-central1/subnetworks/my-subnet
string subnetwork = 1;- Parameters:
value- The subnetwork to set.- Returns:
- This builder for chaining.
-
clearSubnetwork
Name of the subnetwork. This can be the full path of the subnetwork or just the name. Example1: my-subnet Example2: projects/gke-project/regions/us-central1/subnetworks/my-subnet
string subnetwork = 1;- Returns:
- This builder for chaining.
-
setSubnetworkBytes
Name of the subnetwork. This can be the full path of the subnetwork or just the name. Example1: my-subnet Example2: projects/gke-project/regions/us-central1/subnetworks/my-subnet
string subnetwork = 1;- Parameters:
value- The bytes for subnetwork to set.- Returns:
- This builder for chaining.
-
getPodIpv4RangeNamesList
public com.google.protobuf.ProtocolStringList getPodIpv4RangeNamesList()List of secondary ranges names within this subnetwork that can be used for pod IPs. Example1: gke-pod-range1 Example2: gke-pod-range1,gke-pod-range2
repeated string pod_ipv4_range_names = 2;- Specified by:
getPodIpv4RangeNamesListin interfaceAdditionalIPRangesConfigOrBuilder- Returns:
- A list containing the podIpv4RangeNames.
-
getPodIpv4RangeNamesCount
public int getPodIpv4RangeNamesCount()List of secondary ranges names within this subnetwork that can be used for pod IPs. Example1: gke-pod-range1 Example2: gke-pod-range1,gke-pod-range2
repeated string pod_ipv4_range_names = 2;- Specified by:
getPodIpv4RangeNamesCountin interfaceAdditionalIPRangesConfigOrBuilder- Returns:
- The count of podIpv4RangeNames.
-
getPodIpv4RangeNames
List of secondary ranges names within this subnetwork that can be used for pod IPs. Example1: gke-pod-range1 Example2: gke-pod-range1,gke-pod-range2
repeated string pod_ipv4_range_names = 2;- Specified by:
getPodIpv4RangeNamesin interfaceAdditionalIPRangesConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The podIpv4RangeNames at the given index.
-
getPodIpv4RangeNamesBytes
public com.google.protobuf.ByteString getPodIpv4RangeNamesBytes(int index) List of secondary ranges names within this subnetwork that can be used for pod IPs. Example1: gke-pod-range1 Example2: gke-pod-range1,gke-pod-range2
repeated string pod_ipv4_range_names = 2;- Specified by:
getPodIpv4RangeNamesBytesin interfaceAdditionalIPRangesConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the podIpv4RangeNames at the given index.
-
setPodIpv4RangeNames
List of secondary ranges names within this subnetwork that can be used for pod IPs. Example1: gke-pod-range1 Example2: gke-pod-range1,gke-pod-range2
repeated string pod_ipv4_range_names = 2;- Parameters:
index- The index to set the value at.value- The podIpv4RangeNames to set.- Returns:
- This builder for chaining.
-
addPodIpv4RangeNames
List of secondary ranges names within this subnetwork that can be used for pod IPs. Example1: gke-pod-range1 Example2: gke-pod-range1,gke-pod-range2
repeated string pod_ipv4_range_names = 2;- Parameters:
value- The podIpv4RangeNames to add.- Returns:
- This builder for chaining.
-
addAllPodIpv4RangeNames
List of secondary ranges names within this subnetwork that can be used for pod IPs. Example1: gke-pod-range1 Example2: gke-pod-range1,gke-pod-range2
repeated string pod_ipv4_range_names = 2;- Parameters:
values- The podIpv4RangeNames to add.- Returns:
- This builder for chaining.
-
clearPodIpv4RangeNames
List of secondary ranges names within this subnetwork that can be used for pod IPs. Example1: gke-pod-range1 Example2: gke-pod-range1,gke-pod-range2
repeated string pod_ipv4_range_names = 2;- Returns:
- This builder for chaining.
-
addPodIpv4RangeNamesBytes
public AdditionalIPRangesConfig.Builder addPodIpv4RangeNamesBytes(com.google.protobuf.ByteString value) List of secondary ranges names within this subnetwork that can be used for pod IPs. Example1: gke-pod-range1 Example2: gke-pod-range1,gke-pod-range2
repeated string pod_ipv4_range_names = 2;- Parameters:
value- The bytes of the podIpv4RangeNames to add.- Returns:
- This builder for chaining.
-
getStatusValue
public int getStatusValue()Draining status of the additional subnet.
.google.container.v1.AdditionalIPRangesConfig.Status status = 3;- Specified by:
getStatusValuein interfaceAdditionalIPRangesConfigOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
Draining status of the additional subnet.
.google.container.v1.AdditionalIPRangesConfig.Status status = 3;- Parameters:
value- The enum numeric value on the wire for status to set.- Returns:
- This builder for chaining.
-
getStatus
Draining status of the additional subnet.
.google.container.v1.AdditionalIPRangesConfig.Status status = 3;- Specified by:
getStatusin interfaceAdditionalIPRangesConfigOrBuilder- Returns:
- The status.
-
setStatus
Draining status of the additional subnet.
.google.container.v1.AdditionalIPRangesConfig.Status status = 3;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
Draining status of the additional subnet.
.google.container.v1.AdditionalIPRangesConfig.Status status = 3;- Returns:
- This builder for chaining.
-