Package ucar.nc2.iosp.noaa
Class GhcnmProto.StationIndex.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GhcnmProto.StationIndex.Builder>
-
- ucar.nc2.iosp.noaa.GhcnmProto.StationIndex.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,GhcnmProto.StationIndexOrBuilder
- Enclosing class:
- GhcnmProto.StationIndex
public static final class GhcnmProto.StationIndex.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GhcnmProto.StationIndex.Builder> implements GhcnmProto.StationIndexOrBuilder
Protobuf typeStationIndex
-
-
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<GhcnmProto.StationIndex.Builder>
-
clear
public GhcnmProto.StationIndex.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<GhcnmProto.StationIndex.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<GhcnmProto.StationIndex.Builder>
-
getDefaultInstanceForType
public GhcnmProto.StationIndex getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public GhcnmProto.StationIndex build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GhcnmProto.StationIndex buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public GhcnmProto.StationIndex.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GhcnmProto.StationIndex.Builder>
-
mergeFrom
public GhcnmProto.StationIndex.Builder mergeFrom(GhcnmProto.StationIndex other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<GhcnmProto.StationIndex.Builder>
-
mergeFrom
public GhcnmProto.StationIndex.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<GhcnmProto.StationIndex.Builder>
- Throws:
IOException
-
getStnid
public long getStnid()
uint64 stnid = 1;
- Specified by:
getStnid
in interfaceGhcnmProto.StationIndexOrBuilder
- Returns:
- The stnid.
-
setStnid
public GhcnmProto.StationIndex.Builder setStnid(long value)
uint64 stnid = 1;
- Parameters:
value
- The stnid to set.- Returns:
- This builder for chaining.
-
clearStnid
public GhcnmProto.StationIndex.Builder clearStnid()
uint64 stnid = 1;
- Returns:
- This builder for chaining.
-
getStnPos
public long getStnPos()
uint64 stnPos = 2;
- Specified by:
getStnPos
in interfaceGhcnmProto.StationIndexOrBuilder
- Returns:
- The stnPos.
-
setStnPos
public GhcnmProto.StationIndex.Builder setStnPos(long value)
uint64 stnPos = 2;
- Parameters:
value
- The stnPos to set.- Returns:
- This builder for chaining.
-
clearStnPos
public GhcnmProto.StationIndex.Builder clearStnPos()
uint64 stnPos = 2;
- Returns:
- This builder for chaining.
-
getDataPos
public long getDataPos()
uint64 dataPos = 3;
- Specified by:
getDataPos
in interfaceGhcnmProto.StationIndexOrBuilder
- Returns:
- The dataPos.
-
setDataPos
public GhcnmProto.StationIndex.Builder setDataPos(long value)
uint64 dataPos = 3;
- Parameters:
value
- The dataPos to set.- Returns:
- This builder for chaining.
-
clearDataPos
public GhcnmProto.StationIndex.Builder clearDataPos()
uint64 dataPos = 3;
- Returns:
- This builder for chaining.
-
getDataCount
public int getDataCount()
uint32 dataCount = 4;
- Specified by:
getDataCount
in interfaceGhcnmProto.StationIndexOrBuilder
- Returns:
- The dataCount.
-
setDataCount
public GhcnmProto.StationIndex.Builder setDataCount(int value)
uint32 dataCount = 4;
- Parameters:
value
- The dataCount to set.- Returns:
- This builder for chaining.
-
clearDataCount
public GhcnmProto.StationIndex.Builder clearDataCount()
uint32 dataCount = 4;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final GhcnmProto.StationIndex.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GhcnmProto.StationIndex.Builder>
-
mergeUnknownFields
public final GhcnmProto.StationIndex.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GhcnmProto.StationIndex.Builder>
-
-