Class AdditionalPodRangesConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AdditionalPodRangesConfig.Builder>
com.google.container.v1.AdditionalPodRangesConfig.Builder
All Implemented Interfaces:
AdditionalPodRangesConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
AdditionalPodRangesConfig

public static final class AdditionalPodRangesConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<AdditionalPodRangesConfig.Builder> implements AdditionalPodRangesConfigOrBuilder
 AdditionalPodRangesConfig is the configuration for additional pod secondary
 ranges supporting the ClusterUpdate message.
 
Protobuf type google.container.v1.AdditionalPodRangesConfig
  • 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.Builder<AdditionalPodRangesConfig.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<AdditionalPodRangesConfig.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<AdditionalPodRangesConfig.Builder>
    • getDefaultInstanceForType

      public AdditionalPodRangesConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public AdditionalPodRangesConfig build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public AdditionalPodRangesConfig buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public AdditionalPodRangesConfig.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AdditionalPodRangesConfig.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<AdditionalPodRangesConfig.Builder>
    • mergeFrom

      public AdditionalPodRangesConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AdditionalPodRangesConfig.Builder>
      Throws:
      IOException
    • getPodRangeNamesList

      public com.google.protobuf.ProtocolStringList getPodRangeNamesList()
       Name for pod secondary ipv4 range which has the actual range defined ahead.
       
      repeated string pod_range_names = 1;
      Specified by:
      getPodRangeNamesList in interface AdditionalPodRangesConfigOrBuilder
      Returns:
      A list containing the podRangeNames.
    • getPodRangeNamesCount

      public int getPodRangeNamesCount()
       Name for pod secondary ipv4 range which has the actual range defined ahead.
       
      repeated string pod_range_names = 1;
      Specified by:
      getPodRangeNamesCount in interface AdditionalPodRangesConfigOrBuilder
      Returns:
      The count of podRangeNames.
    • getPodRangeNames

      public String getPodRangeNames(int index)
       Name for pod secondary ipv4 range which has the actual range defined ahead.
       
      repeated string pod_range_names = 1;
      Specified by:
      getPodRangeNames in interface AdditionalPodRangesConfigOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The podRangeNames at the given index.
    • getPodRangeNamesBytes

      public com.google.protobuf.ByteString getPodRangeNamesBytes(int index)
       Name for pod secondary ipv4 range which has the actual range defined ahead.
       
      repeated string pod_range_names = 1;
      Specified by:
      getPodRangeNamesBytes in interface AdditionalPodRangesConfigOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the podRangeNames at the given index.
    • setPodRangeNames

      public AdditionalPodRangesConfig.Builder setPodRangeNames(int index, String value)
       Name for pod secondary ipv4 range which has the actual range defined ahead.
       
      repeated string pod_range_names = 1;
      Parameters:
      index - The index to set the value at.
      value - The podRangeNames to set.
      Returns:
      This builder for chaining.
    • addPodRangeNames

      public AdditionalPodRangesConfig.Builder addPodRangeNames(String value)
       Name for pod secondary ipv4 range which has the actual range defined ahead.
       
      repeated string pod_range_names = 1;
      Parameters:
      value - The podRangeNames to add.
      Returns:
      This builder for chaining.
    • addAllPodRangeNames

      public AdditionalPodRangesConfig.Builder addAllPodRangeNames(Iterable<String> values)
       Name for pod secondary ipv4 range which has the actual range defined ahead.
       
      repeated string pod_range_names = 1;
      Parameters:
      values - The podRangeNames to add.
      Returns:
      This builder for chaining.
    • clearPodRangeNames

      public AdditionalPodRangesConfig.Builder clearPodRangeNames()
       Name for pod secondary ipv4 range which has the actual range defined ahead.
       
      repeated string pod_range_names = 1;
      Returns:
      This builder for chaining.
    • addPodRangeNamesBytes

      public AdditionalPodRangesConfig.Builder addPodRangeNamesBytes(com.google.protobuf.ByteString value)
       Name for pod secondary ipv4 range which has the actual range defined ahead.
       
      repeated string pod_range_names = 1;
      Parameters:
      value - The bytes of the podRangeNames to add.
      Returns:
      This builder for chaining.
    • getPodRangeInfoList

      public List<RangeInfo> getPodRangeInfoList()
       Output only. Information for additional pod range.
       
      repeated .google.container.v1.RangeInfo pod_range_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPodRangeInfoList in interface AdditionalPodRangesConfigOrBuilder
    • getPodRangeInfoCount

      public int getPodRangeInfoCount()
       Output only. Information for additional pod range.
       
      repeated .google.container.v1.RangeInfo pod_range_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPodRangeInfoCount in interface AdditionalPodRangesConfigOrBuilder
    • getPodRangeInfo

      public RangeInfo getPodRangeInfo(int index)
       Output only. Information for additional pod range.
       
      repeated .google.container.v1.RangeInfo pod_range_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPodRangeInfo in interface AdditionalPodRangesConfigOrBuilder
    • setPodRangeInfo

      public AdditionalPodRangesConfig.Builder setPodRangeInfo(int index, RangeInfo value)
       Output only. Information for additional pod range.
       
      repeated .google.container.v1.RangeInfo pod_range_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setPodRangeInfo

      public AdditionalPodRangesConfig.Builder setPodRangeInfo(int index, RangeInfo.Builder builderForValue)
       Output only. Information for additional pod range.
       
      repeated .google.container.v1.RangeInfo pod_range_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPodRangeInfo

      public AdditionalPodRangesConfig.Builder addPodRangeInfo(RangeInfo value)
       Output only. Information for additional pod range.
       
      repeated .google.container.v1.RangeInfo pod_range_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPodRangeInfo

      public AdditionalPodRangesConfig.Builder addPodRangeInfo(int index, RangeInfo value)
       Output only. Information for additional pod range.
       
      repeated .google.container.v1.RangeInfo pod_range_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPodRangeInfo

      public AdditionalPodRangesConfig.Builder addPodRangeInfo(RangeInfo.Builder builderForValue)
       Output only. Information for additional pod range.
       
      repeated .google.container.v1.RangeInfo pod_range_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPodRangeInfo

      public AdditionalPodRangesConfig.Builder addPodRangeInfo(int index, RangeInfo.Builder builderForValue)
       Output only. Information for additional pod range.
       
      repeated .google.container.v1.RangeInfo pod_range_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllPodRangeInfo

      public AdditionalPodRangesConfig.Builder addAllPodRangeInfo(Iterable<? extends RangeInfo> values)
       Output only. Information for additional pod range.
       
      repeated .google.container.v1.RangeInfo pod_range_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearPodRangeInfo

      public AdditionalPodRangesConfig.Builder clearPodRangeInfo()
       Output only. Information for additional pod range.
       
      repeated .google.container.v1.RangeInfo pod_range_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removePodRangeInfo

      public AdditionalPodRangesConfig.Builder removePodRangeInfo(int index)
       Output only. Information for additional pod range.
       
      repeated .google.container.v1.RangeInfo pod_range_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPodRangeInfoBuilder

      public RangeInfo.Builder getPodRangeInfoBuilder(int index)
       Output only. Information for additional pod range.
       
      repeated .google.container.v1.RangeInfo pod_range_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPodRangeInfoOrBuilder

      public RangeInfoOrBuilder getPodRangeInfoOrBuilder(int index)
       Output only. Information for additional pod range.
       
      repeated .google.container.v1.RangeInfo pod_range_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPodRangeInfoOrBuilder in interface AdditionalPodRangesConfigOrBuilder
    • getPodRangeInfoOrBuilderList

      public List<? extends RangeInfoOrBuilder> getPodRangeInfoOrBuilderList()
       Output only. Information for additional pod range.
       
      repeated .google.container.v1.RangeInfo pod_range_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPodRangeInfoOrBuilderList in interface AdditionalPodRangesConfigOrBuilder
    • addPodRangeInfoBuilder

      public RangeInfo.Builder addPodRangeInfoBuilder()
       Output only. Information for additional pod range.
       
      repeated .google.container.v1.RangeInfo pod_range_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPodRangeInfoBuilder

      public RangeInfo.Builder addPodRangeInfoBuilder(int index)
       Output only. Information for additional pod range.
       
      repeated .google.container.v1.RangeInfo pod_range_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPodRangeInfoBuilderList

      public List<RangeInfo.Builder> getPodRangeInfoBuilderList()
       Output only. Information for additional pod range.
       
      repeated .google.container.v1.RangeInfo pod_range_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];