Package ucar.nc2.grib.collection
Class GribCollectionProto.PartitionVariable.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GribCollectionProto.PartitionVariable.Builder>
-
- ucar.nc2.grib.collection.GribCollectionProto.PartitionVariable.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,GribCollectionProto.PartitionVariableOrBuilder
- Enclosing class:
- GribCollectionProto.PartitionVariable
public static final class GribCollectionProto.PartitionVariable.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GribCollectionProto.PartitionVariable.Builder> implements GribCollectionProto.PartitionVariableOrBuilder
Protobuf typePartitionVariable
-
-
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.PartitionVariable.Builder>
-
clear
public GribCollectionProto.PartitionVariable.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.PartitionVariable.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.PartitionVariable.Builder>
-
getDefaultInstanceForType
public GribCollectionProto.PartitionVariable getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public GribCollectionProto.PartitionVariable build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GribCollectionProto.PartitionVariable buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public GribCollectionProto.PartitionVariable.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.PartitionVariable.Builder>
-
mergeFrom
public GribCollectionProto.PartitionVariable.Builder mergeFrom(GribCollectionProto.PartitionVariable other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<GribCollectionProto.PartitionVariable.Builder>
-
mergeFrom
public GribCollectionProto.PartitionVariable.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.PartitionVariable.Builder>
- Throws:
IOException
-
getGroupno
public int getGroupno()
uint32 groupno = 1;
- Specified by:
getGroupno
in interfaceGribCollectionProto.PartitionVariableOrBuilder
- Returns:
- The groupno.
-
setGroupno
public GribCollectionProto.PartitionVariable.Builder setGroupno(int value)
uint32 groupno = 1;
- Parameters:
value
- The groupno to set.- Returns:
- This builder for chaining.
-
clearGroupno
public GribCollectionProto.PartitionVariable.Builder clearGroupno()
uint32 groupno = 1;
- Returns:
- This builder for chaining.
-
getVarno
public int getVarno()
uint32 varno = 2;
- Specified by:
getVarno
in interfaceGribCollectionProto.PartitionVariableOrBuilder
- Returns:
- The varno.
-
setVarno
public GribCollectionProto.PartitionVariable.Builder setVarno(int value)
uint32 varno = 2;
- Parameters:
value
- The varno to set.- Returns:
- This builder for chaining.
-
clearVarno
public GribCollectionProto.PartitionVariable.Builder clearVarno()
uint32 varno = 2;
- Returns:
- This builder for chaining.
-
getPartno
public int getPartno()
uint32 partno = 4;
- Specified by:
getPartno
in interfaceGribCollectionProto.PartitionVariableOrBuilder
- Returns:
- The partno.
-
setPartno
public GribCollectionProto.PartitionVariable.Builder setPartno(int value)
uint32 partno = 4;
- Parameters:
value
- The partno to set.- Returns:
- This builder for chaining.
-
clearPartno
public GribCollectionProto.PartitionVariable.Builder clearPartno()
uint32 partno = 4;
- Returns:
- This builder for chaining.
-
getNdups
public int getNdups()
optionally keep stats
uint32 ndups = 8;
- Specified by:
getNdups
in interfaceGribCollectionProto.PartitionVariableOrBuilder
- Returns:
- The ndups.
-
setNdups
public GribCollectionProto.PartitionVariable.Builder setNdups(int value)
optionally keep stats
uint32 ndups = 8;
- Parameters:
value
- The ndups to set.- Returns:
- This builder for chaining.
-
clearNdups
public GribCollectionProto.PartitionVariable.Builder clearNdups()
optionally keep stats
uint32 ndups = 8;
- Returns:
- This builder for chaining.
-
getNrecords
public int getNrecords()
uint32 nrecords = 9;
- Specified by:
getNrecords
in interfaceGribCollectionProto.PartitionVariableOrBuilder
- Returns:
- The nrecords.
-
setNrecords
public GribCollectionProto.PartitionVariable.Builder setNrecords(int value)
uint32 nrecords = 9;
- Parameters:
value
- The nrecords to set.- Returns:
- This builder for chaining.
-
clearNrecords
public GribCollectionProto.PartitionVariable.Builder clearNrecords()
uint32 nrecords = 9;
- Returns:
- This builder for chaining.
-
getMissing
public int getMissing()
uint32 missing = 10;
- Specified by:
getMissing
in interfaceGribCollectionProto.PartitionVariableOrBuilder
- Returns:
- The missing.
-
setMissing
public GribCollectionProto.PartitionVariable.Builder setMissing(int value)
uint32 missing = 10;
- Parameters:
value
- The missing to set.- Returns:
- This builder for chaining.
-
clearMissing
public GribCollectionProto.PartitionVariable.Builder clearMissing()
uint32 missing = 10;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final GribCollectionProto.PartitionVariable.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.PartitionVariable.Builder>
-
mergeUnknownFields
public final GribCollectionProto.PartitionVariable.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.PartitionVariable.Builder>
-
-