Package ucar.nc2.grib.collection
Class GribCollectionProto.Gds.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GribCollectionProto.Gds.Builder>
-
- ucar.nc2.grib.collection.GribCollectionProto.Gds.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,GribCollectionProto.GdsOrBuilder
- Enclosing class:
- GribCollectionProto.Gds
public static final class GribCollectionProto.Gds.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GribCollectionProto.Gds.Builder> implements GribCollectionProto.GdsOrBuilder
Protobuf typeGds
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GribCollectionProto.Gds
build()
GribCollectionProto.Gds
buildPartial()
GribCollectionProto.Gds.Builder
clear()
GribCollectionProto.Gds.Builder
clearGds()
raw gds: Grib1SectionGridDefinition or Grib2SectionGridDefinitionGribCollectionProto.Gds.Builder
clearPredefinedGridDefinition()
only grib1; instead of gds raw bytes; need center, subcenter to interpretGribCollectionProto.Gds
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.protobuf.ByteString
getGds()
raw gds: Grib1SectionGridDefinition or Grib2SectionGridDefinitionint
getPredefinedGridDefinition()
only grib1; instead of gds raw bytes; need center, subcenter to interpretprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
GribCollectionProto.Gds.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
GribCollectionProto.Gds.Builder
mergeFrom(com.google.protobuf.Message other)
GribCollectionProto.Gds.Builder
mergeFrom(GribCollectionProto.Gds other)
GribCollectionProto.Gds.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
GribCollectionProto.Gds.Builder
setGds(com.google.protobuf.ByteString value)
raw gds: Grib1SectionGridDefinition or Grib2SectionGridDefinitionGribCollectionProto.Gds.Builder
setPredefinedGridDefinition(int value)
only grib1; instead of gds raw bytes; need center, subcenter to interpretGribCollectionProto.Gds.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
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.Gds.Builder>
-
clear
public GribCollectionProto.Gds.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.Gds.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.Gds.Builder>
-
getDefaultInstanceForType
public GribCollectionProto.Gds getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public GribCollectionProto.Gds build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GribCollectionProto.Gds buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public GribCollectionProto.Gds.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.Gds.Builder>
-
mergeFrom
public GribCollectionProto.Gds.Builder mergeFrom(GribCollectionProto.Gds other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<GribCollectionProto.Gds.Builder>
-
mergeFrom
public GribCollectionProto.Gds.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.Gds.Builder>
- Throws:
IOException
-
getGds
public com.google.protobuf.ByteString getGds()
raw gds: Grib1SectionGridDefinition or Grib2SectionGridDefinition
bytes gds = 1;
- Specified by:
getGds
in interfaceGribCollectionProto.GdsOrBuilder
- Returns:
- The gds.
-
setGds
public GribCollectionProto.Gds.Builder setGds(com.google.protobuf.ByteString value)
raw gds: Grib1SectionGridDefinition or Grib2SectionGridDefinition
bytes gds = 1;
- Parameters:
value
- The gds to set.- Returns:
- This builder for chaining.
-
clearGds
public GribCollectionProto.Gds.Builder clearGds()
raw gds: Grib1SectionGridDefinition or Grib2SectionGridDefinition
bytes gds = 1;
- Returns:
- This builder for chaining.
-
getPredefinedGridDefinition
public int getPredefinedGridDefinition()
only grib1; instead of gds raw bytes; need center, subcenter to interpret
uint32 predefinedGridDefinition = 2;
- Specified by:
getPredefinedGridDefinition
in interfaceGribCollectionProto.GdsOrBuilder
- Returns:
- The predefinedGridDefinition.
-
setPredefinedGridDefinition
public GribCollectionProto.Gds.Builder setPredefinedGridDefinition(int value)
only grib1; instead of gds raw bytes; need center, subcenter to interpret
uint32 predefinedGridDefinition = 2;
- Parameters:
value
- The predefinedGridDefinition to set.- Returns:
- This builder for chaining.
-
clearPredefinedGridDefinition
public GribCollectionProto.Gds.Builder clearPredefinedGridDefinition()
only grib1; instead of gds raw bytes; need center, subcenter to interpret
uint32 predefinedGridDefinition = 2;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final GribCollectionProto.Gds.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.Gds.Builder>
-
mergeUnknownFields
public final GribCollectionProto.Gds.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.Gds.Builder>
-
-