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

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

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

        public GribCollectionProto.Record 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<GribCollectionProto.Record.Builder>
      • mergeFrom

        public GribCollectionProto.Record.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<GribCollectionProto.Record.Builder>
        Throws:
        IOException
      • setFileno

        public GribCollectionProto.Record.Builder setFileno​(int value)
         which GRIB file ? key into GC.fileMap
         
        uint32 fileno = 1;
        Parameters:
        value - The fileno to set.
        Returns:
        This builder for chaining.
      • setStartPos

        public GribCollectionProto.Record.Builder setStartPos​(long value)
         offset in GRIB file of the start of entire message
         
        uint64 startPos = 2;
        Parameters:
        value - The startPos to set.
        Returns:
        This builder for chaining.
      • clearStartPos

        public GribCollectionProto.Record.Builder clearStartPos()
         offset in GRIB file of the start of entire message
         
        uint64 startPos = 2;
        Returns:
        This builder for chaining.
      • setBmsOffset

        public GribCollectionProto.Record.Builder setBmsOffset​(int value)
         use alternate bms if non-zero (grib2 only). offset from start
         
        uint32 bmsOffset = 3;
        Parameters:
        value - The bmsOffset to set.
        Returns:
        This builder for chaining.
      • clearBmsOffset

        public GribCollectionProto.Record.Builder clearBmsOffset()
         use alternate bms if non-zero (grib2 only). offset from start
         
        uint32 bmsOffset = 3;
        Returns:
        This builder for chaining.
      • setDrsOffset

        public GribCollectionProto.Record.Builder setDrsOffset​(int value)
         offset of drs from start (grib2 only)
         
        uint32 drsOffset = 4;
        Parameters:
        value - The drsOffset to set.
        Returns:
        This builder for chaining.
      • clearDrsOffset

        public GribCollectionProto.Record.Builder clearDrsOffset()
         offset of drs from start (grib2 only)
         
        uint32 drsOffset = 4;
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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