Class AdditionalIPRangesConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.container.v1.AdditionalIPRangesConfig
All Implemented Interfaces:
AdditionalIPRangesConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class AdditionalIPRangesConfig extends com.google.protobuf.GeneratedMessage implements AdditionalIPRangesConfigOrBuilder
 AdditionalIPRangesConfig is the configuration for individual additional
 subnetwork attached to the cluster
 
Protobuf type google.container.v1.AdditionalIPRangesConfig
See Also:
  • Field Details

    • SUBNETWORK_FIELD_NUMBER

      public static final int SUBNETWORK_FIELD_NUMBER
      See Also:
    • POD_IPV4_RANGE_NAMES_FIELD_NUMBER

      public static final int POD_IPV4_RANGE_NAMES_FIELD_NUMBER
      See Also:
    • STATUS_FIELD_NUMBER

      public static final int STATUS_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getSubnetwork

      public String 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:
      getSubnetwork in interface AdditionalIPRangesConfigOrBuilder
      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:
      getSubnetworkBytes in interface AdditionalIPRangesConfigOrBuilder
      Returns:
      The bytes for subnetwork.
    • 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:
      getPodIpv4RangeNamesList in interface AdditionalIPRangesConfigOrBuilder
      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:
      getPodIpv4RangeNamesCount in interface AdditionalIPRangesConfigOrBuilder
      Returns:
      The count of podIpv4RangeNames.
    • getPodIpv4RangeNames

      public String getPodIpv4RangeNames(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:
      getPodIpv4RangeNames in interface AdditionalIPRangesConfigOrBuilder
      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:
      getPodIpv4RangeNamesBytes in interface AdditionalIPRangesConfigOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the podIpv4RangeNames at the given index.
    • getStatusValue

      public int getStatusValue()
       Draining status of the additional subnet.
       
      .google.container.v1.AdditionalIPRangesConfig.Status status = 3;
      Specified by:
      getStatusValue in interface AdditionalIPRangesConfigOrBuilder
      Returns:
      The enum numeric value on the wire for status.
    • getStatus

      public AdditionalIPRangesConfig.Status getStatus()
       Draining status of the additional subnet.
       
      .google.container.v1.AdditionalIPRangesConfig.Status status = 3;
      Specified by:
      getStatus in interface AdditionalIPRangesConfigOrBuilder
      Returns:
      The status.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static AdditionalIPRangesConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AdditionalIPRangesConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AdditionalIPRangesConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AdditionalIPRangesConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AdditionalIPRangesConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AdditionalIPRangesConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AdditionalIPRangesConfig parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AdditionalIPRangesConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AdditionalIPRangesConfig parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AdditionalIPRangesConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AdditionalIPRangesConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AdditionalIPRangesConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public AdditionalIPRangesConfig.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static AdditionalIPRangesConfig.Builder newBuilder()
    • newBuilder

      public static AdditionalIPRangesConfig.Builder newBuilder(AdditionalIPRangesConfig prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected AdditionalIPRangesConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static AdditionalIPRangesConfig getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<AdditionalIPRangesConfig> parser()
    • getParserForType

      public com.google.protobuf.Parser<AdditionalIPRangesConfig> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public AdditionalIPRangesConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder