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

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

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

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

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

        public com.google.protobuf.ByteString getNameBytes()
         name is used in TDS - eg the subdirectory when generated by TimePartitionCollections
         
        string name = 1;
        Specified by:
        getNameBytes in interface GribCollectionProto.PartitionOrBuilder
        Returns:
        The bytes for name.
      • setName

        public GribCollectionProto.Partition.Builder setName​(String value)
         name is used in TDS - eg the subdirectory when generated by TimePartitionCollections
         
        string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public GribCollectionProto.Partition.Builder clearName()
         name is used in TDS - eg the subdirectory when generated by TimePartitionCollections
         
        string name = 1;
        Returns:
        This builder for chaining.
      • setNameBytes

        public GribCollectionProto.Partition.Builder setNameBytes​(com.google.protobuf.ByteString value)
         name is used in TDS - eg the subdirectory when generated by TimePartitionCollections
         
        string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • setFilename

        public GribCollectionProto.Partition.Builder setFilename​(String value)
         the gribCollection.ncx file, relative to gc.
         
        string filename = 2;
        Parameters:
        value - The filename to set.
        Returns:
        This builder for chaining.
      • setFilenameBytes

        public GribCollectionProto.Partition.Builder setFilenameBytes​(com.google.protobuf.ByteString value)
         the gribCollection.ncx file, relative to gc.
         
        string filename = 2;
        Parameters:
        value - The bytes for filename to set.
        Returns:
        This builder for chaining.
      • setLastModified

        public GribCollectionProto.Partition.Builder setLastModified​(long value)
        uint64 lastModified = 4;
        Parameters:
        value - The lastModified to set.
        Returns:
        This builder for chaining.
      • setPartitionDate

        public GribCollectionProto.Partition.Builder setPartitionDate​(long value)
         partition date added 11/25/14
         
        int64 partitionDate = 6;
        Parameters:
        value - The partitionDate to set.
        Returns:
        This builder for chaining.