Package ucar.nc2.grib.collection
Class GribCollectionProto.Coord
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- ucar.nc2.grib.collection.GribCollectionProto.Coord
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,GribCollectionProto.CoordOrBuilder
- Enclosing class:
- GribCollectionProto
public static final class GribCollectionProto.Coord extends com.google.protobuf.GeneratedMessageV3 implements GribCollectionProto.CoordOrBuilder
Protobuf typeCoord- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGribCollectionProto.Coord.BuilderProtobuf typeCoord-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intAXISTYPE_FIELD_NUMBERstatic intBOUND_FIELD_NUMBERstatic intCODE_FIELD_NUMBERstatic intISORTHOGONAL_FIELD_NUMBERstatic intISREGULAR_FIELD_NUMBERstatic intMSECS_FIELD_NUMBERstatic intTIME2RUNTIME_FIELD_NUMBERstatic intTIMES_FIELD_NUMBERstatic intUNIT_FIELD_NUMBERstatic intVALUES_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)GribCollectionProto.GribAxisTypegetAxisType().GribAxisType axisType = 1;intgetAxisTypeValue().GribAxisType axisType = 1;floatgetBound(int index)only used if interval, then = (value, bound)intgetBoundCount()only used if interval, then = (value, bound)List<Float>getBoundList()only used if interval, then = (value, bound)intgetCode()time unit; level typestatic GribCollectionProto.CoordgetDefaultInstance()GribCollectionProto.CoordgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()booleangetIsOrthogonal()time2D onlybooleangetIsRegular()time2D onlylonggetMsecs(int index)calendar date : runtime, time2DintgetMsecsCount()calendar date : runtime, time2DList<Long>getMsecsList()calendar date : runtime, time2Dcom.google.protobuf.Parser<GribCollectionProto.Coord>getParserForType()intgetSerializedSize()intgetTime2Runtime(int index)time index to runtime index, Best Time onlyintgetTime2RuntimeCount()time index to runtime index, Best Time onlyList<Integer>getTime2RuntimeList()time index to runtime index, Best Time onlyGribCollectionProto.CoordgetTimes(int index)time2D onlyintgetTimesCount()time2D onlyList<GribCollectionProto.Coord>getTimesList()time2D onlyGribCollectionProto.CoordOrBuildergetTimesOrBuilder(int index)time2D onlyList<? extends GribCollectionProto.CoordOrBuilder>getTimesOrBuilderList()time2D onlyStringgetUnit()string unit = 3;com.google.protobuf.ByteStringgetUnitBytes()string unit = 3;floatgetValues(int index)repeated float values = 4 [packed = true];intgetValuesCount()repeated float values = 4 [packed = true];List<Float>getValuesList()repeated float values = 4 [packed = true];inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static GribCollectionProto.Coord.BuildernewBuilder()static GribCollectionProto.Coord.BuildernewBuilder(GribCollectionProto.Coord prototype)GribCollectionProto.Coord.BuildernewBuilderForType()protected GribCollectionProto.Coord.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static GribCollectionProto.CoordparseDelimitedFrom(InputStream input)static GribCollectionProto.CoordparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GribCollectionProto.CoordparseFrom(byte[] data)static GribCollectionProto.CoordparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GribCollectionProto.CoordparseFrom(com.google.protobuf.ByteString data)static GribCollectionProto.CoordparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GribCollectionProto.CoordparseFrom(com.google.protobuf.CodedInputStream input)static GribCollectionProto.CoordparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GribCollectionProto.CoordparseFrom(InputStream input)static GribCollectionProto.CoordparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GribCollectionProto.CoordparseFrom(ByteBuffer data)static GribCollectionProto.CoordparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<GribCollectionProto.Coord>parser()GribCollectionProto.Coord.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
AXISTYPE_FIELD_NUMBER
public static final int AXISTYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CODE_FIELD_NUMBER
public static final int CODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UNIT_FIELD_NUMBER
public static final int UNIT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VALUES_FIELD_NUMBER
public static final int VALUES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BOUND_FIELD_NUMBER
public static final int BOUND_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MSECS_FIELD_NUMBER
public static final int MSECS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TIMES_FIELD_NUMBER
public static final int TIMES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ISORTHOGONAL_FIELD_NUMBER
public static final int ISORTHOGONAL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ISREGULAR_FIELD_NUMBER
public static final int ISREGULAR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TIME2RUNTIME_FIELD_NUMBER
public static final int TIME2RUNTIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getAxisTypeValue
public int getAxisTypeValue()
.GribAxisType axisType = 1;- Specified by:
getAxisTypeValuein interfaceGribCollectionProto.CoordOrBuilder- Returns:
- The enum numeric value on the wire for axisType.
-
getAxisType
public GribCollectionProto.GribAxisType getAxisType()
.GribAxisType axisType = 1;- Specified by:
getAxisTypein interfaceGribCollectionProto.CoordOrBuilder- Returns:
- The axisType.
-
getCode
public int getCode()
time unit; level type
int32 code = 2;- Specified by:
getCodein interfaceGribCollectionProto.CoordOrBuilder- Returns:
- The code.
-
getUnit
public String getUnit()
string unit = 3;- Specified by:
getUnitin interfaceGribCollectionProto.CoordOrBuilder- Returns:
- The unit.
-
getUnitBytes
public com.google.protobuf.ByteString getUnitBytes()
string unit = 3;- Specified by:
getUnitBytesin interfaceGribCollectionProto.CoordOrBuilder- Returns:
- The bytes for unit.
-
getValuesList
public List<Float> getValuesList()
repeated float values = 4 [packed = true];- Specified by:
getValuesListin interfaceGribCollectionProto.CoordOrBuilder- Returns:
- A list containing the values.
-
getValuesCount
public int getValuesCount()
repeated float values = 4 [packed = true];- Specified by:
getValuesCountin interfaceGribCollectionProto.CoordOrBuilder- Returns:
- The count of values.
-
getValues
public float getValues(int index)
repeated float values = 4 [packed = true];- Specified by:
getValuesin interfaceGribCollectionProto.CoordOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The values at the given index.
-
getBoundList
public List<Float> getBoundList()
only used if interval, then = (value, bound)
repeated float bound = 5 [packed = true];- Specified by:
getBoundListin interfaceGribCollectionProto.CoordOrBuilder- Returns:
- A list containing the bound.
-
getBoundCount
public int getBoundCount()
only used if interval, then = (value, bound)
repeated float bound = 5 [packed = true];- Specified by:
getBoundCountin interfaceGribCollectionProto.CoordOrBuilder- Returns:
- The count of bound.
-
getBound
public float getBound(int index)
only used if interval, then = (value, bound)
repeated float bound = 5 [packed = true];- Specified by:
getBoundin interfaceGribCollectionProto.CoordOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The bound at the given index.
-
getMsecsList
public List<Long> getMsecsList()
calendar date : runtime, time2D
repeated int64 msecs = 6 [packed = true];- Specified by:
getMsecsListin interfaceGribCollectionProto.CoordOrBuilder- Returns:
- A list containing the msecs.
-
getMsecsCount
public int getMsecsCount()
calendar date : runtime, time2D
repeated int64 msecs = 6 [packed = true];- Specified by:
getMsecsCountin interfaceGribCollectionProto.CoordOrBuilder- Returns:
- The count of msecs.
-
getMsecs
public long getMsecs(int index)
calendar date : runtime, time2D
repeated int64 msecs = 6 [packed = true];- Specified by:
getMsecsin interfaceGribCollectionProto.CoordOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The msecs at the given index.
-
getTimesList
public List<GribCollectionProto.Coord> getTimesList()
time2D only
repeated .Coord times = 7;- Specified by:
getTimesListin interfaceGribCollectionProto.CoordOrBuilder
-
getTimesOrBuilderList
public List<? extends GribCollectionProto.CoordOrBuilder> getTimesOrBuilderList()
time2D only
repeated .Coord times = 7;- Specified by:
getTimesOrBuilderListin interfaceGribCollectionProto.CoordOrBuilder
-
getTimesCount
public int getTimesCount()
time2D only
repeated .Coord times = 7;- Specified by:
getTimesCountin interfaceGribCollectionProto.CoordOrBuilder
-
getTimes
public GribCollectionProto.Coord getTimes(int index)
time2D only
repeated .Coord times = 7;- Specified by:
getTimesin interfaceGribCollectionProto.CoordOrBuilder
-
getTimesOrBuilder
public GribCollectionProto.CoordOrBuilder getTimesOrBuilder(int index)
time2D only
repeated .Coord times = 7;- Specified by:
getTimesOrBuilderin interfaceGribCollectionProto.CoordOrBuilder
-
getIsOrthogonal
public boolean getIsOrthogonal()
time2D only
bool isOrthogonal = 8;- Specified by:
getIsOrthogonalin interfaceGribCollectionProto.CoordOrBuilder- Returns:
- The isOrthogonal.
-
getIsRegular
public boolean getIsRegular()
time2D only
bool isRegular = 9;- Specified by:
getIsRegularin interfaceGribCollectionProto.CoordOrBuilder- Returns:
- The isRegular.
-
getTime2RuntimeList
public List<Integer> getTime2RuntimeList()
time index to runtime index, Best Time only
repeated uint32 time2runtime = 10 [packed = true];- Specified by:
getTime2RuntimeListin interfaceGribCollectionProto.CoordOrBuilder- Returns:
- A list containing the time2runtime.
-
getTime2RuntimeCount
public int getTime2RuntimeCount()
time index to runtime index, Best Time only
repeated uint32 time2runtime = 10 [packed = true];- Specified by:
getTime2RuntimeCountin interfaceGribCollectionProto.CoordOrBuilder- Returns:
- The count of time2runtime.
-
getTime2Runtime
public int getTime2Runtime(int index)
time index to runtime index, Best Time only
repeated uint32 time2runtime = 10 [packed = true];- Specified by:
getTime2Runtimein interfaceGribCollectionProto.CoordOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The time2runtime at the given index.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static GribCollectionProto.Coord parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GribCollectionProto.Coord parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GribCollectionProto.Coord parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GribCollectionProto.Coord parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GribCollectionProto.Coord parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GribCollectionProto.Coord parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GribCollectionProto.Coord parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static GribCollectionProto.Coord parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static GribCollectionProto.Coord parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static GribCollectionProto.Coord parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static GribCollectionProto.Coord parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static GribCollectionProto.Coord parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public GribCollectionProto.Coord.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static GribCollectionProto.Coord.Builder newBuilder()
-
newBuilder
public static GribCollectionProto.Coord.Builder newBuilder(GribCollectionProto.Coord prototype)
-
toBuilder
public GribCollectionProto.Coord.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GribCollectionProto.Coord.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static GribCollectionProto.Coord getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<GribCollectionProto.Coord> parser()
-
getParserForType
public com.google.protobuf.Parser<GribCollectionProto.Coord> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public GribCollectionProto.Coord getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-