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

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

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

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

        public Generated.RangeAllocation.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<Generated.RangeAllocation.Builder>
      • isInitialized

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

        public Generated.RangeAllocation.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<Generated.RangeAllocation.Builder>
        Throws:
        IOException
      • hasMetadata

        public boolean hasMetadata()
         Standard object's metadata.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
        Specified by:
        hasMetadata in interface Generated.RangeAllocationOrBuilder
        Returns:
        Whether the metadata field is set.
      • getMetadata

        public Generated.ObjectMeta getMetadata()
         Standard object's metadata.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
        Specified by:
        getMetadata in interface Generated.RangeAllocationOrBuilder
        Returns:
        The metadata.
      • setMetadata

        public Generated.RangeAllocation.Builder setMetadata​(Generated.ObjectMeta value)
         Standard object's metadata.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
      • setMetadata

        public Generated.RangeAllocation.Builder setMetadata​(Generated.ObjectMeta.Builder builderForValue)
         Standard object's metadata.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
      • mergeMetadata

        public Generated.RangeAllocation.Builder mergeMetadata​(Generated.ObjectMeta value)
         Standard object's metadata.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
      • clearMetadata

        public Generated.RangeAllocation.Builder clearMetadata()
         Standard object's metadata.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
      • getMetadataBuilder

        public Generated.ObjectMeta.Builder getMetadataBuilder()
         Standard object's metadata.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
      • hasRange

        public boolean hasRange()
         Range is string that identifies the range represented by 'data'.
         
        optional string range = 2;
        Specified by:
        hasRange in interface Generated.RangeAllocationOrBuilder
        Returns:
        Whether the range field is set.
      • getRangeBytes

        public com.google.protobuf.ByteString getRangeBytes()
         Range is string that identifies the range represented by 'data'.
         
        optional string range = 2;
        Specified by:
        getRangeBytes in interface Generated.RangeAllocationOrBuilder
        Returns:
        The bytes for range.
      • setRange

        public Generated.RangeAllocation.Builder setRange​(String value)
         Range is string that identifies the range represented by 'data'.
         
        optional string range = 2;
        Parameters:
        value - The range to set.
        Returns:
        This builder for chaining.
      • clearRange

        public Generated.RangeAllocation.Builder clearRange()
         Range is string that identifies the range represented by 'data'.
         
        optional string range = 2;
        Returns:
        This builder for chaining.
      • setRangeBytes

        public Generated.RangeAllocation.Builder setRangeBytes​(com.google.protobuf.ByteString value)
         Range is string that identifies the range represented by 'data'.
         
        optional string range = 2;
        Parameters:
        value - The bytes for range to set.
        Returns:
        This builder for chaining.
      • hasData

        public boolean hasData()
         Data is a bit array containing all allocated addresses in the previous segment.
         
        optional bytes data = 3;
        Specified by:
        hasData in interface Generated.RangeAllocationOrBuilder
        Returns:
        Whether the data field is set.
      • getData

        public com.google.protobuf.ByteString getData()
         Data is a bit array containing all allocated addresses in the previous segment.
         
        optional bytes data = 3;
        Specified by:
        getData in interface Generated.RangeAllocationOrBuilder
        Returns:
        The data.
      • setData

        public Generated.RangeAllocation.Builder setData​(com.google.protobuf.ByteString value)
         Data is a bit array containing all allocated addresses in the previous segment.
         
        optional bytes data = 3;
        Parameters:
        value - The data to set.
        Returns:
        This builder for chaining.
      • clearData

        public Generated.RangeAllocation.Builder clearData()
         Data is a bit array containing all allocated addresses in the previous segment.
         
        optional bytes data = 3;
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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