Package ucar.nc2.grib.collection
Interface GribCollectionProto.ParameterOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GribCollectionProto.Parameter
,GribCollectionProto.Parameter.Builder
- Enclosing class:
- GribCollectionProto
public static interface GribCollectionProto.ParameterOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getData(int index)
repeated double data = 2;
int
getDataCount()
repeated double data = 2;
List<Double>
getDataList()
repeated double data = 2;
String
getName()
string name = 1;
com.google.protobuf.ByteString
getNameBytes()
string name = 1;
String
getSdata()
used for string datacom.google.protobuf.ByteString
getSdataBytes()
used for string data-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
string name = 1;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
string name = 1;
- Returns:
- The bytes for name.
-
getDataList
List<Double> getDataList()
repeated double data = 2;
- Returns:
- A list containing the data.
-
getDataCount
int getDataCount()
repeated double data = 2;
- Returns:
- The count of data.
-
getData
double getData(int index)
repeated double data = 2;
- Parameters:
index
- The index of the element to return.- Returns:
- The data at the given index.
-
getSdata
String getSdata()
used for string data
string sdata = 3;
- Returns:
- The sdata.
-
getSdataBytes
com.google.protobuf.ByteString getSdataBytes()
used for string data
string sdata = 3;
- Returns:
- The bytes for sdata.
-
-