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>
      • hasIpCidrRange

        public boolean hasIpCidrRange()
         The range of IP addresses belonging to this subnetwork secondary range.
         
        optional string ip_cidr_range = 98117322;
        Specified by:
        hasIpCidrRange in interface UsableSubnetworkSecondaryRangeOrBuilder
        Returns:
        Whether the ipCidrRange field is set.
      • getIpCidrRangeBytes

        public com.google.protobuf.ByteString getIpCidrRangeBytes()
         The range of IP addresses belonging to this subnetwork secondary range.
         
        optional string ip_cidr_range = 98117322;
        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.
         
        optional string ip_cidr_range = 98117322;
        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.
         
        optional string ip_cidr_range = 98117322;
        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.
         
        optional string ip_cidr_range = 98117322;
        Parameters:
        value - The bytes for ipCidrRange to set.
        Returns:
        This builder for chaining.
      • hasRangeName

        public boolean hasRangeName()
         The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork.
         
        optional string range_name = 332216397;
        Specified by:
        hasRangeName in interface UsableSubnetworkSecondaryRangeOrBuilder
        Returns:
        Whether the rangeName field is set.
      • getRangeName

        public String getRangeName()
         The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork.
         
        optional string range_name = 332216397;
        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. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork.
         
        optional string range_name = 332216397;
        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. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork.
         
        optional string range_name = 332216397;
        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. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork.
         
        optional string range_name = 332216397;
        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. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork.
         
        optional string range_name = 332216397;
        Parameters:
        value - The bytes for rangeName to set.
        Returns:
        This builder for chaining.