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

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

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

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

        public SubnetworkSecondaryRange.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 int index,
                                                                 Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SubnetworkSecondaryRange.Builder>
      • addRepeatedField

        public SubnetworkSecondaryRange.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SubnetworkSecondaryRange.Builder>
      • isInitialized

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

        public SubnetworkSecondaryRange.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<SubnetworkSecondaryRange.Builder>
        Throws:
        IOException
      • hasIpCidrRange

        public boolean hasIpCidrRange()
         The range of IP addresses belonging to this subnetwork secondary range. Provide this property when you create the subnetwork. Ranges must be unique and non-overlapping with all primary and secondary IP ranges within a network. Only IPv4 is supported. The range can be any range listed in the Valid ranges list.
         
        optional string ip_cidr_range = 98117322;
        Specified by:
        hasIpCidrRange in interface SubnetworkSecondaryRangeOrBuilder
        Returns:
        Whether the ipCidrRange field is set.
      • getIpCidrRange

        public String getIpCidrRange()
         The range of IP addresses belonging to this subnetwork secondary range. Provide this property when you create the subnetwork. Ranges must be unique and non-overlapping with all primary and secondary IP ranges within a network. Only IPv4 is supported. The range can be any range listed in the Valid ranges list.
         
        optional string ip_cidr_range = 98117322;
        Specified by:
        getIpCidrRange in interface SubnetworkSecondaryRangeOrBuilder
        Returns:
        The ipCidrRange.
      • getIpCidrRangeBytes

        public com.google.protobuf.ByteString getIpCidrRangeBytes()
         The range of IP addresses belonging to this subnetwork secondary range. Provide this property when you create the subnetwork. Ranges must be unique and non-overlapping with all primary and secondary IP ranges within a network. Only IPv4 is supported. The range can be any range listed in the Valid ranges list.
         
        optional string ip_cidr_range = 98117322;
        Specified by:
        getIpCidrRangeBytes in interface SubnetworkSecondaryRangeOrBuilder
        Returns:
        The bytes for ipCidrRange.
      • setIpCidrRange

        public SubnetworkSecondaryRange.Builder setIpCidrRange​(String value)
         The range of IP addresses belonging to this subnetwork secondary range. Provide this property when you create the subnetwork. Ranges must be unique and non-overlapping with all primary and secondary IP ranges within a network. Only IPv4 is supported. The range can be any range listed in the Valid ranges list.
         
        optional string ip_cidr_range = 98117322;
        Parameters:
        value - The ipCidrRange to set.
        Returns:
        This builder for chaining.
      • clearIpCidrRange

        public SubnetworkSecondaryRange.Builder clearIpCidrRange()
         The range of IP addresses belonging to this subnetwork secondary range. Provide this property when you create the subnetwork. Ranges must be unique and non-overlapping with all primary and secondary IP ranges within a network. Only IPv4 is supported. The range can be any range listed in the Valid ranges list.
         
        optional string ip_cidr_range = 98117322;
        Returns:
        This builder for chaining.
      • setIpCidrRangeBytes

        public SubnetworkSecondaryRange.Builder setIpCidrRangeBytes​(com.google.protobuf.ByteString value)
         The range of IP addresses belonging to this subnetwork secondary range. Provide this property when you create the subnetwork. Ranges must be unique and non-overlapping with all primary and secondary IP ranges within a network. Only IPv4 is supported. The range can be any range listed in the Valid ranges list.
         
        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 SubnetworkSecondaryRangeOrBuilder
        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 SubnetworkSecondaryRangeOrBuilder
        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 SubnetworkSecondaryRangeOrBuilder
        Returns:
        The bytes for rangeName.
      • setRangeName

        public SubnetworkSecondaryRange.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 SubnetworkSecondaryRange.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 SubnetworkSecondaryRange.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.
      • setUnknownFields

        public final SubnetworkSecondaryRange.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<SubnetworkSecondaryRange.Builder>
      • mergeUnknownFields

        public final SubnetworkSecondaryRange.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<SubnetworkSecondaryRange.Builder>