Class BlocksProtos.ChunkProto.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<BlocksProtos.ChunkProto.Builder>
      • clear

        public BlocksProtos.ChunkProto.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<BlocksProtos.ChunkProto.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<BlocksProtos.ChunkProto.Builder>
      • getDefaultInstanceForType

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

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

        public BlocksProtos.ChunkProto buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public BlocksProtos.ChunkProto.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<BlocksProtos.ChunkProto.Builder>
      • setField

        public BlocksProtos.ChunkProto.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                        java.lang.Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<BlocksProtos.ChunkProto.Builder>
      • clearField

        public BlocksProtos.ChunkProto.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<BlocksProtos.ChunkProto.Builder>
      • clearOneof

        public BlocksProtos.ChunkProto.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BlocksProtos.ChunkProto.Builder>
      • setRepeatedField

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

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

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

        public BlocksProtos.ChunkProto.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                  throws java.io.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<BlocksProtos.ChunkProto.Builder>
        Throws:
        java.io.IOException
      • getLocationList

        public java.util.List<java.lang.Integer> getLocationList()
         the location of the chunk, represented as an array of 3 integers. Where location[0] = x, location[1] = y, location[2] = z
         
        repeated sint32 location = 1 [packed = true];
        Specified by:
        getLocationList in interface BlocksProtos.ChunkProtoOrBuilder
      • getLocationCount

        public int getLocationCount()
         the location of the chunk, represented as an array of 3 integers. Where location[0] = x, location[1] = y, location[2] = z
         
        repeated sint32 location = 1 [packed = true];
        Specified by:
        getLocationCount in interface BlocksProtos.ChunkProtoOrBuilder
      • getLocation

        public int getLocation​(int index)
         the location of the chunk, represented as an array of 3 integers. Where location[0] = x, location[1] = y, location[2] = z
         
        repeated sint32 location = 1 [packed = true];
        Specified by:
        getLocation in interface BlocksProtos.ChunkProtoOrBuilder
      • setLocation

        public BlocksProtos.ChunkProto.Builder setLocation​(int index,
                                                           int value)
         the location of the chunk, represented as an array of 3 integers. Where location[0] = x, location[1] = y, location[2] = z
         
        repeated sint32 location = 1 [packed = true];
      • addLocation

        public BlocksProtos.ChunkProto.Builder addLocation​(int value)
         the location of the chunk, represented as an array of 3 integers. Where location[0] = x, location[1] = y, location[2] = z
         
        repeated sint32 location = 1 [packed = true];
      • addAllLocation

        public BlocksProtos.ChunkProto.Builder addAllLocation​(java.lang.Iterable<? extends java.lang.Integer> values)
         the location of the chunk, represented as an array of 3 integers. Where location[0] = x, location[1] = y, location[2] = z
         
        repeated sint32 location = 1 [packed = true];
      • clearLocation

        public BlocksProtos.ChunkProto.Builder clearLocation()
         the location of the chunk, represented as an array of 3 integers. Where location[0] = x, location[1] = y, location[2] = z
         
        repeated sint32 location = 1 [packed = true];
      • getSizeList

        public java.util.List<java.lang.Integer> getSizeList()
         the size of the chunk, represented as an array of 3 integers. where size[0] = x, size[1] = y, size[2] = z
         
        repeated sint32 size = 2 [packed = true];
        Specified by:
        getSizeList in interface BlocksProtos.ChunkProtoOrBuilder
      • getSizeCount

        public int getSizeCount()
         the size of the chunk, represented as an array of 3 integers. where size[0] = x, size[1] = y, size[2] = z
         
        repeated sint32 size = 2 [packed = true];
        Specified by:
        getSizeCount in interface BlocksProtos.ChunkProtoOrBuilder
      • getSize

        public int getSize​(int index)
         the size of the chunk, represented as an array of 3 integers. where size[0] = x, size[1] = y, size[2] = z
         
        repeated sint32 size = 2 [packed = true];
        Specified by:
        getSize in interface BlocksProtos.ChunkProtoOrBuilder
      • setSize

        public BlocksProtos.ChunkProto.Builder setSize​(int index,
                                                       int value)
         the size of the chunk, represented as an array of 3 integers. where size[0] = x, size[1] = y, size[2] = z
         
        repeated sint32 size = 2 [packed = true];
      • addSize

        public BlocksProtos.ChunkProto.Builder addSize​(int value)
         the size of the chunk, represented as an array of 3 integers. where size[0] = x, size[1] = y, size[2] = z
         
        repeated sint32 size = 2 [packed = true];
      • addAllSize

        public BlocksProtos.ChunkProto.Builder addAllSize​(java.lang.Iterable<? extends java.lang.Integer> values)
         the size of the chunk, represented as an array of 3 integers. where size[0] = x, size[1] = y, size[2] = z
         
        repeated sint32 size = 2 [packed = true];
      • clearSize

        public BlocksProtos.ChunkProto.Builder clearSize()
         the size of the chunk, represented as an array of 3 integers. where size[0] = x, size[1] = y, size[2] = z
         
        repeated sint32 size = 2 [packed = true];
      • addAllBlocks

        public BlocksProtos.ChunkProto.Builder addAllBlocks​(java.lang.Iterable<java.lang.String> values)
         the block array
         
        repeated string blocks = 3;
      • addBlocksBytes

        public BlocksProtos.ChunkProto.Builder addBlocksBytes​(com.google.protobuf.ByteString value)
         the block array
         
        repeated string blocks = 3;
      • setUnknownFields

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

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