Package ucar.nc2.grib.collection
Class GribCollectionProto.Dataset.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GribCollectionProto.Dataset.Builder>
-
- ucar.nc2.grib.collection.GribCollectionProto.Dataset.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,GribCollectionProto.DatasetOrBuilder
- Enclosing class:
- GribCollectionProto.Dataset
public static final class GribCollectionProto.Dataset.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GribCollectionProto.Dataset.Builder> implements GribCollectionProto.DatasetOrBuilder
Protobuf typeDataset
-
-
Method Summary
-
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.Dataset.Builder>
-
clear
public GribCollectionProto.Dataset.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.Dataset.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.Dataset.Builder>
-
getDefaultInstanceForType
public GribCollectionProto.Dataset getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public GribCollectionProto.Dataset build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GribCollectionProto.Dataset buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public GribCollectionProto.Dataset.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.Dataset.Builder>
-
mergeFrom
public GribCollectionProto.Dataset.Builder mergeFrom(GribCollectionProto.Dataset other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<GribCollectionProto.Dataset.Builder>
-
mergeFrom
public GribCollectionProto.Dataset.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.Dataset.Builder>
- Throws:
IOException
-
getTypeValue
public int getTypeValue()
.Dataset.Type type = 1;
- Specified by:
getTypeValue
in interfaceGribCollectionProto.DatasetOrBuilder
- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
public GribCollectionProto.Dataset.Builder setTypeValue(int value)
.Dataset.Type type = 1;
- Parameters:
value
- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
public GribCollectionProto.Dataset.Type getType()
.Dataset.Type type = 1;
- Specified by:
getType
in interfaceGribCollectionProto.DatasetOrBuilder
- Returns:
- The type.
-
setType
public GribCollectionProto.Dataset.Builder setType(GribCollectionProto.Dataset.Type value)
.Dataset.Type type = 1;
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
clearType
public GribCollectionProto.Dataset.Builder clearType()
.Dataset.Type type = 1;
- Returns:
- This builder for chaining.
-
getGroupsList
public List<GribCollectionProto.Group> getGroupsList()
repeated .Group groups = 2;
- Specified by:
getGroupsList
in interfaceGribCollectionProto.DatasetOrBuilder
-
getGroupsCount
public int getGroupsCount()
repeated .Group groups = 2;
- Specified by:
getGroupsCount
in interfaceGribCollectionProto.DatasetOrBuilder
-
getGroups
public GribCollectionProto.Group getGroups(int index)
repeated .Group groups = 2;
- Specified by:
getGroups
in interfaceGribCollectionProto.DatasetOrBuilder
-
setGroups
public GribCollectionProto.Dataset.Builder setGroups(int index, GribCollectionProto.Group value)
repeated .Group groups = 2;
-
setGroups
public GribCollectionProto.Dataset.Builder setGroups(int index, GribCollectionProto.Group.Builder builderForValue)
repeated .Group groups = 2;
-
addGroups
public GribCollectionProto.Dataset.Builder addGroups(GribCollectionProto.Group value)
repeated .Group groups = 2;
-
addGroups
public GribCollectionProto.Dataset.Builder addGroups(int index, GribCollectionProto.Group value)
repeated .Group groups = 2;
-
addGroups
public GribCollectionProto.Dataset.Builder addGroups(GribCollectionProto.Group.Builder builderForValue)
repeated .Group groups = 2;
-
addGroups
public GribCollectionProto.Dataset.Builder addGroups(int index, GribCollectionProto.Group.Builder builderForValue)
repeated .Group groups = 2;
-
addAllGroups
public GribCollectionProto.Dataset.Builder addAllGroups(Iterable<? extends GribCollectionProto.Group> values)
repeated .Group groups = 2;
-
clearGroups
public GribCollectionProto.Dataset.Builder clearGroups()
repeated .Group groups = 2;
-
removeGroups
public GribCollectionProto.Dataset.Builder removeGroups(int index)
repeated .Group groups = 2;
-
getGroupsBuilder
public GribCollectionProto.Group.Builder getGroupsBuilder(int index)
repeated .Group groups = 2;
-
getGroupsOrBuilder
public GribCollectionProto.GroupOrBuilder getGroupsOrBuilder(int index)
repeated .Group groups = 2;
- Specified by:
getGroupsOrBuilder
in interfaceGribCollectionProto.DatasetOrBuilder
-
getGroupsOrBuilderList
public List<? extends GribCollectionProto.GroupOrBuilder> getGroupsOrBuilderList()
repeated .Group groups = 2;
- Specified by:
getGroupsOrBuilderList
in interfaceGribCollectionProto.DatasetOrBuilder
-
addGroupsBuilder
public GribCollectionProto.Group.Builder addGroupsBuilder()
repeated .Group groups = 2;
-
addGroupsBuilder
public GribCollectionProto.Group.Builder addGroupsBuilder(int index)
repeated .Group groups = 2;
-
getGroupsBuilderList
public List<GribCollectionProto.Group.Builder> getGroupsBuilderList()
repeated .Group groups = 2;
-
setUnknownFields
public final GribCollectionProto.Dataset.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.Dataset.Builder>
-
mergeUnknownFields
public final GribCollectionProto.Dataset.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.Dataset.Builder>
-
-