Class UsableSubnetworkSecondaryRange.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<UsableSubnetworkSecondaryRange.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<UsableSubnetworkSecondaryRange.Builder>
      • getDefaultInstanceForType

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

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

        public UsableSubnetworkSecondaryRange 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<UsableSubnetworkSecondaryRange.Builder>
      • getRangeName

        public String getRangeName()
         The name associated with this subnetwork secondary range, used when adding
         an alias IP range to a VM instance.
         
        string range_name = 1;
        Specified by:
        getRangeName in interface UsableSubnetworkSecondaryRangeOrBuilder
        Returns:
        The rangeName.
      • getRangeNameBytes

        public com.google.protobuf.ByteString getRangeNameBytes()
         The name associated with this subnetwork secondary range, used when adding
         an alias IP range to a VM instance.
         
        string range_name = 1;
        Specified by:
        getRangeNameBytes in interface UsableSubnetworkSecondaryRangeOrBuilder
        Returns:
        The bytes for rangeName.
      • setRangeName

        public UsableSubnetworkSecondaryRange.Builder setRangeName​(String value)
         The name associated with this subnetwork secondary range, used when adding
         an alias IP range to a VM instance.
         
        string range_name = 1;
        Parameters:
        value - The rangeName to set.
        Returns:
        This builder for chaining.
      • clearRangeName

        public UsableSubnetworkSecondaryRange.Builder clearRangeName()
         The name associated with this subnetwork secondary range, used when adding
         an alias IP range to a VM instance.
         
        string range_name = 1;
        Returns:
        This builder for chaining.
      • setRangeNameBytes

        public UsableSubnetworkSecondaryRange.Builder setRangeNameBytes​(com.google.protobuf.ByteString value)
         The name associated with this subnetwork secondary range, used when adding
         an alias IP range to a VM instance.
         
        string range_name = 1;
        Parameters:
        value - The bytes for rangeName to set.
        Returns:
        This builder for chaining.
      • getIpCidrRangeBytes

        public com.google.protobuf.ByteString getIpCidrRangeBytes()
         The range of IP addresses belonging to this subnetwork secondary range.
         
        string ip_cidr_range = 2;
        Specified by:
        getIpCidrRangeBytes in interface UsableSubnetworkSecondaryRangeOrBuilder
        Returns:
        The bytes for ipCidrRange.
      • setIpCidrRange

        public UsableSubnetworkSecondaryRange.Builder setIpCidrRange​(String value)
         The range of IP addresses belonging to this subnetwork secondary range.
         
        string ip_cidr_range = 2;
        Parameters:
        value - The ipCidrRange to set.
        Returns:
        This builder for chaining.
      • clearIpCidrRange

        public UsableSubnetworkSecondaryRange.Builder clearIpCidrRange()
         The range of IP addresses belonging to this subnetwork secondary range.
         
        string ip_cidr_range = 2;
        Returns:
        This builder for chaining.
      • setIpCidrRangeBytes

        public UsableSubnetworkSecondaryRange.Builder setIpCidrRangeBytes​(com.google.protobuf.ByteString value)
         The range of IP addresses belonging to this subnetwork secondary range.
         
        string ip_cidr_range = 2;
        Parameters:
        value - The bytes for ipCidrRange to set.
        Returns:
        This builder for chaining.
      • getStatusValue

        public int getStatusValue()
         This field is to determine the status of the secondary range programmably.
         
        .google.container.v1beta1.UsableSubnetworkSecondaryRange.Status status = 3;
        Specified by:
        getStatusValue in interface UsableSubnetworkSecondaryRangeOrBuilder
        Returns:
        The enum numeric value on the wire for status.
      • setStatusValue

        public UsableSubnetworkSecondaryRange.Builder setStatusValue​(int value)
         This field is to determine the status of the secondary range programmably.
         
        .google.container.v1beta1.UsableSubnetworkSecondaryRange.Status status = 3;
        Parameters:
        value - The enum numeric value on the wire for status to set.
        Returns:
        This builder for chaining.
      • clearStatus

        public UsableSubnetworkSecondaryRange.Builder clearStatus()
         This field is to determine the status of the secondary range programmably.
         
        .google.container.v1beta1.UsableSubnetworkSecondaryRange.Status status = 3;
        Returns:
        This builder for chaining.