public static final class GribCollectionProto.Coord.Builder extends com.google.protobuf.GeneratedMessage.Builder<GribCollectionProto.Coord.Builder> implements GribCollectionProto.CoordOrBuilder
gribCollectionIndex.Coord| Modifier and Type | Method and Description |
|---|---|
GribCollectionProto.Coord.Builder |
addAllBound(Iterable<? extends Float> values)
repeated float bound = 4; |
GribCollectionProto.Coord.Builder |
addAllValues(Iterable<? extends Float> values)
repeated float values = 3; |
GribCollectionProto.Coord.Builder |
addBound(float value)
repeated float bound = 4; |
GribCollectionProto.Coord.Builder |
addValues(float value)
repeated float values = 3; |
GribCollectionProto.Coord |
build() |
GribCollectionProto.Coord |
buildPartial() |
GribCollectionProto.Coord.Builder |
clear() |
GribCollectionProto.Coord.Builder |
clearBound()
repeated float bound = 4; |
GribCollectionProto.Coord.Builder |
clearCode()
required int32 code = 1; |
GribCollectionProto.Coord.Builder |
clearIndex()
optional int32 index = 5 [default = -1]; |
GribCollectionProto.Coord.Builder |
clearUnit()
required string unit = 2; |
GribCollectionProto.Coord.Builder |
clearValues()
repeated float values = 3; |
GribCollectionProto.Coord.Builder |
clone() |
float |
getBound(int index)
repeated float bound = 4; |
int |
getBoundCount()
repeated float bound = 4; |
List<Float> |
getBoundList()
repeated float bound = 4; |
int |
getCode()
required int32 code = 1; |
GribCollectionProto.Coord |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getIndex()
optional int32 index = 5 [default = -1]; |
String |
getUnit()
required string unit = 2; |
com.google.protobuf.ByteString |
getUnitBytes()
required string unit = 2; |
float |
getValues(int index)
repeated float values = 3; |
int |
getValuesCount()
repeated float values = 3; |
List<Float> |
getValuesList()
repeated float values = 3; |
boolean |
hasCode()
required int32 code = 1; |
boolean |
hasIndex()
optional int32 index = 5 [default = -1]; |
boolean |
hasUnit()
required string unit = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
GribCollectionProto.Coord.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GribCollectionProto.Coord.Builder |
mergeFrom(GribCollectionProto.Coord other) |
GribCollectionProto.Coord.Builder |
mergeFrom(com.google.protobuf.Message other) |
GribCollectionProto.Coord.Builder |
setBound(int index,
float value)
repeated float bound = 4; |
GribCollectionProto.Coord.Builder |
setCode(int value)
required int32 code = 1; |
GribCollectionProto.Coord.Builder |
setIndex(int value)
optional int32 index = 5 [default = -1]; |
GribCollectionProto.Coord.Builder |
setUnit(String value)
required string unit = 2; |
GribCollectionProto.Coord.Builder |
setUnitBytes(com.google.protobuf.ByteString value)
required string unit = 2; |
GribCollectionProto.Coord.Builder |
setValues(int index,
float value)
repeated float values = 3; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionaddAll, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<GribCollectionProto.Coord.Builder>public GribCollectionProto.Coord.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<GribCollectionProto.Coord.Builder>public GribCollectionProto.Coord.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<GribCollectionProto.Coord.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<GribCollectionProto.Coord.Builder>public GribCollectionProto.Coord getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic GribCollectionProto.Coord build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic GribCollectionProto.Coord buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic GribCollectionProto.Coord.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GribCollectionProto.Coord.Builder>public GribCollectionProto.Coord.Builder mergeFrom(GribCollectionProto.Coord other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<GribCollectionProto.Coord.Builder>public GribCollectionProto.Coord.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GribCollectionProto.Coord.Builder>IOExceptionpublic boolean hasCode()
required int32 code = 1;hasCode in interface GribCollectionProto.CoordOrBuilderpublic int getCode()
required int32 code = 1;getCode in interface GribCollectionProto.CoordOrBuilderpublic GribCollectionProto.Coord.Builder setCode(int value)
required int32 code = 1;public GribCollectionProto.Coord.Builder clearCode()
required int32 code = 1;public boolean hasUnit()
required string unit = 2;hasUnit in interface GribCollectionProto.CoordOrBuilderpublic String getUnit()
required string unit = 2;getUnit in interface GribCollectionProto.CoordOrBuilderpublic com.google.protobuf.ByteString getUnitBytes()
required string unit = 2;getUnitBytes in interface GribCollectionProto.CoordOrBuilderpublic GribCollectionProto.Coord.Builder setUnit(String value)
required string unit = 2;public GribCollectionProto.Coord.Builder clearUnit()
required string unit = 2;public GribCollectionProto.Coord.Builder setUnitBytes(com.google.protobuf.ByteString value)
required string unit = 2;public List<Float> getValuesList()
repeated float values = 3;getValuesList in interface GribCollectionProto.CoordOrBuilderpublic int getValuesCount()
repeated float values = 3;getValuesCount in interface GribCollectionProto.CoordOrBuilderpublic float getValues(int index)
repeated float values = 3;getValues in interface GribCollectionProto.CoordOrBuilderpublic GribCollectionProto.Coord.Builder setValues(int index, float value)
repeated float values = 3;public GribCollectionProto.Coord.Builder addValues(float value)
repeated float values = 3;public GribCollectionProto.Coord.Builder addAllValues(Iterable<? extends Float> values)
repeated float values = 3;public GribCollectionProto.Coord.Builder clearValues()
repeated float values = 3;public List<Float> getBoundList()
repeated float bound = 4;
only used if interval, then = (value, bound)
getBoundList in interface GribCollectionProto.CoordOrBuilderpublic int getBoundCount()
repeated float bound = 4;
only used if interval, then = (value, bound)
getBoundCount in interface GribCollectionProto.CoordOrBuilderpublic float getBound(int index)
repeated float bound = 4;
only used if interval, then = (value, bound)
getBound in interface GribCollectionProto.CoordOrBuilderpublic GribCollectionProto.Coord.Builder setBound(int index, float value)
repeated float bound = 4;
only used if interval, then = (value, bound)
public GribCollectionProto.Coord.Builder addBound(float value)
repeated float bound = 4;
only used if interval, then = (value, bound)
public GribCollectionProto.Coord.Builder addAllBound(Iterable<? extends Float> values)
repeated float bound = 4;
only used if interval, then = (value, bound)
public GribCollectionProto.Coord.Builder clearBound()
repeated float bound = 4;
only used if interval, then = (value, bound)
public boolean hasIndex()
optional int32 index = 5 [default = -1];
safety check
hasIndex in interface GribCollectionProto.CoordOrBuilderpublic int getIndex()
optional int32 index = 5 [default = -1];
safety check
getIndex in interface GribCollectionProto.CoordOrBuilderpublic GribCollectionProto.Coord.Builder setIndex(int value)
optional int32 index = 5 [default = -1];
safety check
public GribCollectionProto.Coord.Builder clearIndex()
optional int32 index = 5 [default = -1];
safety check
Copyright © 1999–2013 UCAR/Unidata. All rights reserved.