Package ucar.nc2.grib.collection
Class GribCollectionProto.Partition.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GribCollectionProto.Partition.Builder>
-
- ucar.nc2.grib.collection.GribCollectionProto.Partition.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,GribCollectionProto.PartitionOrBuilder
- Enclosing class:
- GribCollectionProto.Partition
public static final class GribCollectionProto.Partition.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GribCollectionProto.Partition.Builder> implements GribCollectionProto.PartitionOrBuilder
Protobuf typePartition
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GribCollectionProto.Partition
build()
GribCollectionProto.Partition
buildPartial()
GribCollectionProto.Partition.Builder
clear()
GribCollectionProto.Partition.Builder
clearFilename()
the gribCollection.ncx file, relative to gc.GribCollectionProto.Partition.Builder
clearLastModified()
uint64 lastModified = 4;
GribCollectionProto.Partition.Builder
clearLength()
int64 length = 5;
GribCollectionProto.Partition.Builder
clearName()
name is used in TDS - eg the subdirectory when generated by TimePartitionCollectionsGribCollectionProto.Partition.Builder
clearPartitionDate()
partition date added 11/25/14GribCollectionProto.Partition
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getFilename()
the gribCollection.ncx file, relative to gc.com.google.protobuf.ByteString
getFilenameBytes()
the gribCollection.ncx file, relative to gc.long
getLastModified()
uint64 lastModified = 4;
long
getLength()
int64 length = 5;
String
getName()
name is used in TDS - eg the subdirectory when generated by TimePartitionCollectionscom.google.protobuf.ByteString
getNameBytes()
name is used in TDS - eg the subdirectory when generated by TimePartitionCollectionslong
getPartitionDate()
partition date added 11/25/14protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
GribCollectionProto.Partition.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
GribCollectionProto.Partition.Builder
mergeFrom(com.google.protobuf.Message other)
GribCollectionProto.Partition.Builder
mergeFrom(GribCollectionProto.Partition other)
GribCollectionProto.Partition.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
GribCollectionProto.Partition.Builder
setFilename(String value)
the gribCollection.ncx file, relative to gc.GribCollectionProto.Partition.Builder
setFilenameBytes(com.google.protobuf.ByteString value)
the gribCollection.ncx file, relative to gc.GribCollectionProto.Partition.Builder
setLastModified(long value)
uint64 lastModified = 4;
GribCollectionProto.Partition.Builder
setLength(long value)
int64 length = 5;
GribCollectionProto.Partition.Builder
setName(String value)
name is used in TDS - eg the subdirectory when generated by TimePartitionCollectionsGribCollectionProto.Partition.Builder
setNameBytes(com.google.protobuf.ByteString value)
name is used in TDS - eg the subdirectory when generated by TimePartitionCollectionsGribCollectionProto.Partition.Builder
setPartitionDate(long value)
partition date added 11/25/14GribCollectionProto.Partition.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<GribCollectionProto.Partition.Builder>
-
clear
public GribCollectionProto.Partition.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<GribCollectionProto.Partition.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<GribCollectionProto.Partition.Builder>
-
getDefaultInstanceForType
public GribCollectionProto.Partition getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public GribCollectionProto.Partition build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GribCollectionProto.Partition buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public GribCollectionProto.Partition.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GribCollectionProto.Partition.Builder>
-
mergeFrom
public GribCollectionProto.Partition.Builder mergeFrom(GribCollectionProto.Partition other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GribCollectionProto.Partition.Builder>
- Throws:
IOException
-
getName
public String getName()
name is used in TDS - eg the subdirectory when generated by TimePartitionCollections
string name = 1;
- Specified by:
getName
in interfaceGribCollectionProto.PartitionOrBuilder
- Returns:
- The name.
-
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 interfaceGribCollectionProto.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.
-
getFilename
public String getFilename()
the gribCollection.ncx file, relative to gc.
string filename = 2;
- Specified by:
getFilename
in interfaceGribCollectionProto.PartitionOrBuilder
- Returns:
- The filename.
-
getFilenameBytes
public com.google.protobuf.ByteString getFilenameBytes()
the gribCollection.ncx file, relative to gc.
string filename = 2;
- Specified by:
getFilenameBytes
in interfaceGribCollectionProto.PartitionOrBuilder
- Returns:
- The bytes for filename.
-
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.
-
clearFilename
public GribCollectionProto.Partition.Builder clearFilename()
the gribCollection.ncx file, relative to gc.
string filename = 2;
- 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.
-
getLastModified
public long getLastModified()
uint64 lastModified = 4;
- Specified by:
getLastModified
in interfaceGribCollectionProto.PartitionOrBuilder
- Returns:
- The lastModified.
-
setLastModified
public GribCollectionProto.Partition.Builder setLastModified(long value)
uint64 lastModified = 4;
- Parameters:
value
- The lastModified to set.- Returns:
- This builder for chaining.
-
clearLastModified
public GribCollectionProto.Partition.Builder clearLastModified()
uint64 lastModified = 4;
- Returns:
- This builder for chaining.
-
getLength
public long getLength()
int64 length = 5;
- Specified by:
getLength
in interfaceGribCollectionProto.PartitionOrBuilder
- Returns:
- The length.
-
setLength
public GribCollectionProto.Partition.Builder setLength(long value)
int64 length = 5;
- Parameters:
value
- The length to set.- Returns:
- This builder for chaining.
-
clearLength
public GribCollectionProto.Partition.Builder clearLength()
int64 length = 5;
- Returns:
- This builder for chaining.
-
getPartitionDate
public long getPartitionDate()
partition date added 11/25/14
int64 partitionDate = 6;
- Specified by:
getPartitionDate
in interfaceGribCollectionProto.PartitionOrBuilder
- Returns:
- The partitionDate.
-
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.
-
clearPartitionDate
public GribCollectionProto.Partition.Builder clearPartitionDate()
partition date added 11/25/14
int64 partitionDate = 6;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final GribCollectionProto.Partition.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GribCollectionProto.Partition.Builder>
-
mergeUnknownFields
public final GribCollectionProto.Partition.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GribCollectionProto.Partition.Builder>
-
-