Class AdditionalPodNetworkConfig.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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

        public AdditionalPodNetworkConfig 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
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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
      • 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.
      • 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.
      • 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;
      • setUnknownFields

        public final AdditionalPodNetworkConfig.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AdditionalPodNetworkConfig.Builder>
      • mergeUnknownFields

        public final AdditionalPodNetworkConfig.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AdditionalPodNetworkConfig.Builder>