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 class
GribCollectionProto.Coord.Builder
Protobuf 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 int
AXISTYPE_FIELD_NUMBER
static int
BOUND_FIELD_NUMBER
static int
CODE_FIELD_NUMBER
static int
ISORTHOGONAL_FIELD_NUMBER
static int
ISREGULAR_FIELD_NUMBER
static int
MSECS_FIELD_NUMBER
static int
TIME2RUNTIME_FIELD_NUMBER
static int
TIMES_FIELD_NUMBER
static int
UNIT_FIELD_NUMBER
static int
VALUES_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
GribCollectionProto.GribAxisType
getAxisType()
.GribAxisType axisType = 1;
int
getAxisTypeValue()
.GribAxisType axisType = 1;
float
getBound(int index)
only used if interval, then = (value, bound)int
getBoundCount()
only used if interval, then = (value, bound)List<Float>
getBoundList()
only used if interval, then = (value, bound)int
getCode()
time unit; level typestatic GribCollectionProto.Coord
getDefaultInstance()
GribCollectionProto.Coord
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
boolean
getIsOrthogonal()
time2D onlyboolean
getIsRegular()
time2D onlylong
getMsecs(int index)
calendar date : runtime, time2Dint
getMsecsCount()
calendar date : runtime, time2DList<Long>
getMsecsList()
calendar date : runtime, time2Dcom.google.protobuf.Parser<GribCollectionProto.Coord>
getParserForType()
int
getSerializedSize()
int
getTime2Runtime(int index)
time index to runtime index, Best Time onlyint
getTime2RuntimeCount()
time index to runtime index, Best Time onlyList<Integer>
getTime2RuntimeList()
time index to runtime index, Best Time onlyGribCollectionProto.Coord
getTimes(int index)
time2D onlyint
getTimesCount()
time2D onlyList<GribCollectionProto.Coord>
getTimesList()
time2D onlyGribCollectionProto.CoordOrBuilder
getTimesOrBuilder(int index)
time2D onlyList<? extends GribCollectionProto.CoordOrBuilder>
getTimesOrBuilderList()
time2D onlyString
getUnit()
string unit = 3;
com.google.protobuf.ByteString
getUnitBytes()
string unit = 3;
float
getValues(int index)
repeated float values = 4 [packed = true];
int
getValuesCount()
repeated float values = 4 [packed = true];
List<Float>
getValuesList()
repeated float values = 4 [packed = true];
int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static GribCollectionProto.Coord.Builder
newBuilder()
static GribCollectionProto.Coord.Builder
newBuilder(GribCollectionProto.Coord prototype)
GribCollectionProto.Coord.Builder
newBuilderForType()
protected GribCollectionProto.Coord.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static GribCollectionProto.Coord
parseDelimitedFrom(InputStream input)
static GribCollectionProto.Coord
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GribCollectionProto.Coord
parseFrom(byte[] data)
static GribCollectionProto.Coord
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GribCollectionProto.Coord
parseFrom(com.google.protobuf.ByteString data)
static GribCollectionProto.Coord
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GribCollectionProto.Coord
parseFrom(com.google.protobuf.CodedInputStream input)
static GribCollectionProto.Coord
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GribCollectionProto.Coord
parseFrom(InputStream input)
static GribCollectionProto.Coord
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GribCollectionProto.Coord
parseFrom(ByteBuffer data)
static GribCollectionProto.Coord
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<GribCollectionProto.Coord>
parser()
GribCollectionProto.Coord.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
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
-
getAxisTypeValue
public int getAxisTypeValue()
.GribAxisType axisType = 1;
- Specified by:
getAxisTypeValue
in interfaceGribCollectionProto.CoordOrBuilder
- Returns:
- The enum numeric value on the wire for axisType.
-
getAxisType
public GribCollectionProto.GribAxisType getAxisType()
.GribAxisType axisType = 1;
- Specified by:
getAxisType
in interfaceGribCollectionProto.CoordOrBuilder
- Returns:
- The axisType.
-
getCode
public int getCode()
time unit; level type
int32 code = 2;
- Specified by:
getCode
in interfaceGribCollectionProto.CoordOrBuilder
- Returns:
- The code.
-
getUnit
public String getUnit()
string unit = 3;
- Specified by:
getUnit
in interfaceGribCollectionProto.CoordOrBuilder
- Returns:
- The unit.
-
getUnitBytes
public com.google.protobuf.ByteString getUnitBytes()
string unit = 3;
- Specified by:
getUnitBytes
in interfaceGribCollectionProto.CoordOrBuilder
- Returns:
- The bytes for unit.
-
getValuesList
public List<Float> getValuesList()
repeated float values = 4 [packed = true];
- Specified by:
getValuesList
in interfaceGribCollectionProto.CoordOrBuilder
- Returns:
- A list containing the values.
-
getValuesCount
public int getValuesCount()
repeated float values = 4 [packed = true];
- Specified by:
getValuesCount
in interfaceGribCollectionProto.CoordOrBuilder
- Returns:
- The count of values.
-
getValues
public float getValues(int index)
repeated float values = 4 [packed = true];
- Specified by:
getValues
in 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:
getBoundList
in 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:
getBoundCount
in 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:
getBound
in 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:
getMsecsList
in interfaceGribCollectionProto.CoordOrBuilder
- Returns:
- A list containing the msecs.
-
getMsecsCount
public int getMsecsCount()
calendar date : runtime, time2D
repeated int64 msecs = 6 [packed = true];
- Specified by:
getMsecsCount
in 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:
getMsecs
in 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:
getTimesList
in interfaceGribCollectionProto.CoordOrBuilder
-
getTimesOrBuilderList
public List<? extends GribCollectionProto.CoordOrBuilder> getTimesOrBuilderList()
time2D only
repeated .Coord times = 7;
- Specified by:
getTimesOrBuilderList
in interfaceGribCollectionProto.CoordOrBuilder
-
getTimesCount
public int getTimesCount()
time2D only
repeated .Coord times = 7;
- Specified by:
getTimesCount
in interfaceGribCollectionProto.CoordOrBuilder
-
getTimes
public GribCollectionProto.Coord getTimes(int index)
time2D only
repeated .Coord times = 7;
- Specified by:
getTimes
in interfaceGribCollectionProto.CoordOrBuilder
-
getTimesOrBuilder
public GribCollectionProto.CoordOrBuilder getTimesOrBuilder(int index)
time2D only
repeated .Coord times = 7;
- Specified by:
getTimesOrBuilder
in interfaceGribCollectionProto.CoordOrBuilder
-
getIsOrthogonal
public boolean getIsOrthogonal()
time2D only
bool isOrthogonal = 8;
- Specified by:
getIsOrthogonal
in interfaceGribCollectionProto.CoordOrBuilder
- Returns:
- The isOrthogonal.
-
getIsRegular
public boolean getIsRegular()
time2D only
bool isRegular = 9;
- Specified by:
getIsRegular
in 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:
getTime2RuntimeList
in 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:
getTime2RuntimeCount
in 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:
getTime2Runtime
in 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:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GribCollectionProto.Coord.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public GribCollectionProto.Coord getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-