Package ucar.nc2.grib.collection
Class GribCollectionProto.MFile.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GribCollectionProto.MFile.Builder>
-
- ucar.nc2.grib.collection.GribCollectionProto.MFile.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,GribCollectionProto.MFileOrBuilder
- Enclosing class:
- GribCollectionProto.MFile
public static final class GribCollectionProto.MFile.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GribCollectionProto.MFile.Builder> implements GribCollectionProto.MFileOrBuilder
Protobuf typeMFile
-
-
Method Summary
-
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.MFile.Builder>
-
clear
public GribCollectionProto.MFile.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.MFile.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.MFile.Builder>
-
getDefaultInstanceForType
public GribCollectionProto.MFile getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public GribCollectionProto.MFile build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GribCollectionProto.MFile buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public GribCollectionProto.MFile.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.MFile.Builder>
-
mergeFrom
public GribCollectionProto.MFile.Builder mergeFrom(GribCollectionProto.MFile other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<GribCollectionProto.MFile.Builder>
-
mergeFrom
public GribCollectionProto.MFile.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.MFile.Builder>
- Throws:
IOException
-
getFilename
public String getFilename()
relative to topDir
string filename = 1;
- Specified by:
getFilename
in interfaceGribCollectionProto.MFileOrBuilder
- Returns:
- The filename.
-
getFilenameBytes
public com.google.protobuf.ByteString getFilenameBytes()
relative to topDir
string filename = 1;
- Specified by:
getFilenameBytes
in interfaceGribCollectionProto.MFileOrBuilder
- Returns:
- The bytes for filename.
-
setFilename
public GribCollectionProto.MFile.Builder setFilename(String value)
relative to topDir
string filename = 1;
- Parameters:
value
- The filename to set.- Returns:
- This builder for chaining.
-
clearFilename
public GribCollectionProto.MFile.Builder clearFilename()
relative to topDir
string filename = 1;
- Returns:
- This builder for chaining.
-
setFilenameBytes
public GribCollectionProto.MFile.Builder setFilenameBytes(com.google.protobuf.ByteString value)
relative to topDir
string filename = 1;
- Parameters:
value
- The bytes for filename to set.- Returns:
- This builder for chaining.
-
getLastModified
public long getLastModified()
uint64 lastModified = 2;
- Specified by:
getLastModified
in interfaceGribCollectionProto.MFileOrBuilder
- Returns:
- The lastModified.
-
setLastModified
public GribCollectionProto.MFile.Builder setLastModified(long value)
uint64 lastModified = 2;
- Parameters:
value
- The lastModified to set.- Returns:
- This builder for chaining.
-
clearLastModified
public GribCollectionProto.MFile.Builder clearLastModified()
uint64 lastModified = 2;
- Returns:
- This builder for chaining.
-
getIndex
public int getIndex()
the records use this number
uint32 index = 3;
- Specified by:
getIndex
in interfaceGribCollectionProto.MFileOrBuilder
- Returns:
- The index.
-
setIndex
public GribCollectionProto.MFile.Builder setIndex(int value)
the records use this number
uint32 index = 3;
- Parameters:
value
- The index to set.- Returns:
- This builder for chaining.
-
clearIndex
public GribCollectionProto.MFile.Builder clearIndex()
the records use this number
uint32 index = 3;
- Returns:
- This builder for chaining.
-
getLength
public long getLength()
uint64 length = 4;
- Specified by:
getLength
in interfaceGribCollectionProto.MFileOrBuilder
- Returns:
- The length.
-
setLength
public GribCollectionProto.MFile.Builder setLength(long value)
uint64 length = 4;
- Parameters:
value
- The length to set.- Returns:
- This builder for chaining.
-
clearLength
public GribCollectionProto.MFile.Builder clearLength()
uint64 length = 4;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final GribCollectionProto.MFile.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.MFile.Builder>
-
mergeUnknownFields
public final GribCollectionProto.MFile.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.MFile.Builder>
-
-