Class AdditionalPodNetworkConfig.Builder

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

public static final class AdditionalPodNetworkConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<AdditionalPodNetworkConfig.Builder> implements AdditionalPodNetworkConfigOrBuilder
 AdditionalPodNetworkConfig is the configuration for additional pod networks
 within the NodeNetworkConfig message
 
Protobuf type google.container.v1.AdditionalPodNetworkConfig
  • 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<AdditionalPodNetworkConfig.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<AdditionalPodNetworkConfig.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<AdditionalPodNetworkConfig.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public AdditionalPodNetworkConfig.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<AdditionalPodNetworkConfig.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<AdditionalPodNetworkConfig.Builder>
    • mergeFrom

      public AdditionalPodNetworkConfig.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<AdditionalPodNetworkConfig.Builder>
      Throws:
      IOException
    • getSubnetwork

      public String getSubnetwork()
       Name of the subnetwork where the additional pod network belongs.
       
      string subnetwork = 1;
      Specified by:
      getSubnetwork in interface AdditionalPodNetworkConfigOrBuilder
      Returns:
      The subnetwork.
    • getSubnetworkBytes

      public com.google.protobuf.ByteString getSubnetworkBytes()
       Name of the subnetwork where the additional pod network belongs.
       
      string subnetwork = 1;
      Specified by:
      getSubnetworkBytes in interface AdditionalPodNetworkConfigOrBuilder
      Returns:
      The bytes for subnetwork.
    • setSubnetwork

      public AdditionalPodNetworkConfig.Builder setSubnetwork(String value)
       Name of the subnetwork where the additional pod network belongs.
       
      string subnetwork = 1;
      Parameters:
      value - The subnetwork to set.
      Returns:
      This builder for chaining.
    • clearSubnetwork

      public AdditionalPodNetworkConfig.Builder clearSubnetwork()
       Name of the subnetwork where the additional pod network belongs.
       
      string subnetwork = 1;
      Returns:
      This builder for chaining.
    • setSubnetworkBytes

      public AdditionalPodNetworkConfig.Builder setSubnetworkBytes(com.google.protobuf.ByteString value)
       Name of the subnetwork where the additional pod network belongs.
       
      string subnetwork = 1;
      Parameters:
      value - The bytes for subnetwork to set.
      Returns:
      This builder for chaining.
    • 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;
      Specified by:
      getSecondaryPodRange in interface AdditionalPodNetworkConfigOrBuilder
      Returns:
      The secondaryPodRange.
    • getSecondaryPodRangeBytes

      public com.google.protobuf.ByteString getSecondaryPodRangeBytes()
       The name of the secondary range on the subnet which provides IP address for
       this pod range.
       
      string secondary_pod_range = 2;
      Specified by:
      getSecondaryPodRangeBytes in interface AdditionalPodNetworkConfigOrBuilder
      Returns:
      The bytes for secondaryPodRange.
    • setSecondaryPodRange

      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;
      Parameters:
      value - The secondaryPodRange to set.
      Returns:
      This builder for chaining.
    • 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;
      Returns:
      This builder for chaining.
    • setSecondaryPodRangeBytes

      public AdditionalPodNetworkConfig.Builder setSecondaryPodRangeBytes(com.google.protobuf.ByteString value)
       The name of the secondary range on the subnet which provides IP address for
       this pod range.
       
      string secondary_pod_range = 2;
      Parameters:
      value - The bytes for secondaryPodRange to set.
      Returns:
      This builder for chaining.
    • 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;
      Specified by:
      hasMaxPodsPerNode in interface AdditionalPodNetworkConfigOrBuilder
      Returns:
      Whether the maxPodsPerNode field is set.
    • 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;
      Specified by:
      getMaxPodsPerNode in interface AdditionalPodNetworkConfigOrBuilder
      Returns:
      The maxPodsPerNode.
    • setMaxPodsPerNode

      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

      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;
    • mergeMaxPodsPerNode

      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;
    • 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;
    • 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;
      Specified by:
      getMaxPodsPerNodeOrBuilder in interface AdditionalPodNetworkConfigOrBuilder