java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Yamcs.ArchiveRecord.Builder>
org.yamcs.protobuf.Yamcs.ArchiveRecord.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Yamcs.ArchiveRecordOrBuilder
- Enclosing class:
- Yamcs.ArchiveRecord
public static final class Yamcs.ArchiveRecord.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Yamcs.ArchiveRecord.Builder>
implements Yamcs.ArchiveRecordOrBuilder
contains histogram dataProtobuf type
yamcs.protobuf.ArchiveRecord-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) optional .google.protobuf.Timestamp first = 8;clearId()optional .yamcs.protobuf.NamedObjectId id = 1;optional .google.protobuf.Timestamp last = 9;clearNum()optional int32 num = 4;clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional int64 seqFirst = 6;optional int64 seqLast = 7;clone()booleancontainsExtra(String key) map<string, string> extra = 10;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetExtra()Deprecated.intmap<string, string> extra = 10;map<string, string> extra = 10;getExtraOrDefault(String key, String defaultValue) map<string, string> extra = 10;getExtraOrThrow(String key) map<string, string> extra = 10;com.google.protobuf.TimestampgetFirst()optional .google.protobuf.Timestamp first = 8;com.google.protobuf.Timestamp.Builderoptional .google.protobuf.Timestamp first = 8;com.google.protobuf.TimestampOrBuilderoptional .google.protobuf.Timestamp first = 8;getId()optional .yamcs.protobuf.NamedObjectId id = 1;optional .yamcs.protobuf.NamedObjectId id = 1;optional .yamcs.protobuf.NamedObjectId id = 1;com.google.protobuf.TimestampgetLast()optional .google.protobuf.Timestamp last = 9;com.google.protobuf.Timestamp.Builderoptional .google.protobuf.Timestamp last = 9;com.google.protobuf.TimestampOrBuilderoptional .google.protobuf.Timestamp last = 9;Deprecated.intgetNum()optional int32 num = 4;longoptional int64 seqFirst = 6;longoptional int64 seqLast = 7;booleanhasFirst()optional .google.protobuf.Timestamp first = 8;booleanhasId()optional .yamcs.protobuf.NamedObjectId id = 1;booleanhasLast()optional .google.protobuf.Timestamp last = 9;booleanhasNum()optional int32 num = 4;booleanoptional int64 seqFirst = 6;booleanoptional int64 seqLast = 7;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldinternalGetMapField(int number) protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number) final booleanmergeFirst(com.google.protobuf.Timestamp value) optional .google.protobuf.Timestamp first = 8;mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Yamcs.ArchiveRecord other) mergeId(Yamcs.NamedObjectId value) optional .yamcs.protobuf.NamedObjectId id = 1;mergeLast(com.google.protobuf.Timestamp value) optional .google.protobuf.Timestamp last = 9;mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) putAllExtra(Map<String, String> values) map<string, string> extra = 10;map<string, string> extra = 10;removeExtra(String key) map<string, string> extra = 10;setFirst(com.google.protobuf.Timestamp value) optional .google.protobuf.Timestamp first = 8;setFirst(com.google.protobuf.Timestamp.Builder builderForValue) optional .google.protobuf.Timestamp first = 8;setId(Yamcs.NamedObjectId value) optional .yamcs.protobuf.NamedObjectId id = 1;setId(Yamcs.NamedObjectId.Builder builderForValue) optional .yamcs.protobuf.NamedObjectId id = 1;setLast(com.google.protobuf.Timestamp value) optional .google.protobuf.Timestamp last = 9;setLast(com.google.protobuf.Timestamp.Builder builderForValue) optional .google.protobuf.Timestamp last = 9;setNum(int value) optional int32 num = 4;setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSeqFirst(long value) optional int64 seqFirst = 6;setSeqLast(long value) optional int64 seqLast = 7;setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapFieldReflection, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Yamcs.ArchiveRecord.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Yamcs.ArchiveRecord.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Yamcs.ArchiveRecord.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Yamcs.ArchiveRecord.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Yamcs.ArchiveRecord.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Yamcs.ArchiveRecord.Builder>
-
setField
public Yamcs.ArchiveRecord.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Yamcs.ArchiveRecord.Builder>
-
clearField
public Yamcs.ArchiveRecord.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Yamcs.ArchiveRecord.Builder>
-
clearOneof
public Yamcs.ArchiveRecord.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Yamcs.ArchiveRecord.Builder>
-
setRepeatedField
public Yamcs.ArchiveRecord.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Yamcs.ArchiveRecord.Builder>
-
addRepeatedField
public Yamcs.ArchiveRecord.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Yamcs.ArchiveRecord.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Yamcs.ArchiveRecord.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Yamcs.ArchiveRecord.Builder>
-
mergeFrom
public Yamcs.ArchiveRecord.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Yamcs.ArchiveRecord.Builder>- Throws:
IOException
-
hasId
public boolean hasId()optional .yamcs.protobuf.NamedObjectId id = 1;- Specified by:
hasIdin interfaceYamcs.ArchiveRecordOrBuilder- Returns:
- Whether the id field is set.
-
getId
optional .yamcs.protobuf.NamedObjectId id = 1;- Specified by:
getIdin interfaceYamcs.ArchiveRecordOrBuilder- Returns:
- The id.
-
setId
optional .yamcs.protobuf.NamedObjectId id = 1; -
setId
optional .yamcs.protobuf.NamedObjectId id = 1; -
mergeId
optional .yamcs.protobuf.NamedObjectId id = 1; -
clearId
optional .yamcs.protobuf.NamedObjectId id = 1; -
getIdBuilder
optional .yamcs.protobuf.NamedObjectId id = 1; -
getIdOrBuilder
optional .yamcs.protobuf.NamedObjectId id = 1;- Specified by:
getIdOrBuilderin interfaceYamcs.ArchiveRecordOrBuilder
-
hasNum
public boolean hasNum()optional int32 num = 4;- Specified by:
hasNumin interfaceYamcs.ArchiveRecordOrBuilder- Returns:
- Whether the num field is set.
-
getNum
public int getNum()optional int32 num = 4;- Specified by:
getNumin interfaceYamcs.ArchiveRecordOrBuilder- Returns:
- The num.
-
setNum
optional int32 num = 4;- Parameters:
value- The num to set.- Returns:
- This builder for chaining.
-
clearNum
optional int32 num = 4;- Returns:
- This builder for chaining.
-
hasSeqFirst
public boolean hasSeqFirst()optional int64 seqFirst = 6;- Specified by:
hasSeqFirstin interfaceYamcs.ArchiveRecordOrBuilder- Returns:
- Whether the seqFirst field is set.
-
getSeqFirst
public long getSeqFirst()optional int64 seqFirst = 6;- Specified by:
getSeqFirstin interfaceYamcs.ArchiveRecordOrBuilder- Returns:
- The seqFirst.
-
setSeqFirst
optional int64 seqFirst = 6;- Parameters:
value- The seqFirst to set.- Returns:
- This builder for chaining.
-
clearSeqFirst
optional int64 seqFirst = 6;- Returns:
- This builder for chaining.
-
hasSeqLast
public boolean hasSeqLast()optional int64 seqLast = 7;- Specified by:
hasSeqLastin interfaceYamcs.ArchiveRecordOrBuilder- Returns:
- Whether the seqLast field is set.
-
getSeqLast
public long getSeqLast()optional int64 seqLast = 7;- Specified by:
getSeqLastin interfaceYamcs.ArchiveRecordOrBuilder- Returns:
- The seqLast.
-
setSeqLast
optional int64 seqLast = 7;- Parameters:
value- The seqLast to set.- Returns:
- This builder for chaining.
-
clearSeqLast
optional int64 seqLast = 7;- Returns:
- This builder for chaining.
-
hasFirst
public boolean hasFirst()optional .google.protobuf.Timestamp first = 8;- Specified by:
hasFirstin interfaceYamcs.ArchiveRecordOrBuilder- Returns:
- Whether the first field is set.
-
getFirst
public com.google.protobuf.Timestamp getFirst()optional .google.protobuf.Timestamp first = 8;- Specified by:
getFirstin interfaceYamcs.ArchiveRecordOrBuilder- Returns:
- The first.
-
setFirst
optional .google.protobuf.Timestamp first = 8; -
setFirst
optional .google.protobuf.Timestamp first = 8; -
mergeFirst
optional .google.protobuf.Timestamp first = 8; -
clearFirst
optional .google.protobuf.Timestamp first = 8; -
getFirstBuilder
public com.google.protobuf.Timestamp.Builder getFirstBuilder()optional .google.protobuf.Timestamp first = 8; -
getFirstOrBuilder
public com.google.protobuf.TimestampOrBuilder getFirstOrBuilder()optional .google.protobuf.Timestamp first = 8;- Specified by:
getFirstOrBuilderin interfaceYamcs.ArchiveRecordOrBuilder
-
hasLast
public boolean hasLast()optional .google.protobuf.Timestamp last = 9;- Specified by:
hasLastin interfaceYamcs.ArchiveRecordOrBuilder- Returns:
- Whether the last field is set.
-
getLast
public com.google.protobuf.Timestamp getLast()optional .google.protobuf.Timestamp last = 9;- Specified by:
getLastin interfaceYamcs.ArchiveRecordOrBuilder- Returns:
- The last.
-
setLast
optional .google.protobuf.Timestamp last = 9; -
setLast
optional .google.protobuf.Timestamp last = 9; -
mergeLast
optional .google.protobuf.Timestamp last = 9; -
clearLast
optional .google.protobuf.Timestamp last = 9; -
getLastBuilder
public com.google.protobuf.Timestamp.Builder getLastBuilder()optional .google.protobuf.Timestamp last = 9; -
getLastOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastOrBuilder()optional .google.protobuf.Timestamp last = 9;- Specified by:
getLastOrBuilderin interfaceYamcs.ArchiveRecordOrBuilder
-
getExtraCount
public int getExtraCount()Description copied from interface:Yamcs.ArchiveRecordOrBuildermap<string, string> extra = 10;- Specified by:
getExtraCountin interfaceYamcs.ArchiveRecordOrBuilder
-
containsExtra
map<string, string> extra = 10;- Specified by:
containsExtrain interfaceYamcs.ArchiveRecordOrBuilder
-
getExtra
Deprecated.UsegetExtraMap()instead.- Specified by:
getExtrain interfaceYamcs.ArchiveRecordOrBuilder
-
getExtraMap
map<string, string> extra = 10;- Specified by:
getExtraMapin interfaceYamcs.ArchiveRecordOrBuilder
-
getExtraOrDefault
map<string, string> extra = 10;- Specified by:
getExtraOrDefaultin interfaceYamcs.ArchiveRecordOrBuilder
-
getExtraOrThrow
map<string, string> extra = 10;- Specified by:
getExtraOrThrowin interfaceYamcs.ArchiveRecordOrBuilder
-
clearExtra
-
removeExtra
map<string, string> extra = 10; -
getMutableExtra
Deprecated.Use alternate mutation accessors instead. -
putExtra
map<string, string> extra = 10; -
putAllExtra
map<string, string> extra = 10; -
setUnknownFields
public final Yamcs.ArchiveRecord.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Yamcs.ArchiveRecord.Builder>
-
mergeUnknownFields
public final Yamcs.ArchiveRecord.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Yamcs.ArchiveRecord.Builder>
-