Package org.yamcs.protobuf
Class Yamcs.ArchiveRecord.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
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()
boolean
containsExtra
(String key) map<string, string> extra = 10;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getExtra()
Deprecated.int
map<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.Timestamp
getFirst()
optional .google.protobuf.Timestamp first = 8;
com.google.protobuf.Timestamp.Builder
optional .google.protobuf.Timestamp first = 8;
com.google.protobuf.TimestampOrBuilder
optional .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.Timestamp
getLast()
optional .google.protobuf.Timestamp last = 9;
com.google.protobuf.Timestamp.Builder
optional .google.protobuf.Timestamp last = 9;
com.google.protobuf.TimestampOrBuilder
optional .google.protobuf.Timestamp last = 9;
Deprecated.int
getNum()
optional int32 num = 4;
long
optional int64 seqFirst = 6;
long
optional int64 seqLast = 7;
boolean
hasFirst()
optional .google.protobuf.Timestamp first = 8;
boolean
hasId()
optional .yamcs.protobuf.NamedObjectId id = 1;
boolean
hasLast()
optional .google.protobuf.Timestamp last = 9;
boolean
hasNum()
optional int32 num = 4;
boolean
optional int64 seqFirst = 6;
boolean
optional int64 seqLast = 7;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
protected com.google.protobuf.MapField
internalGetMapField
(int number) protected com.google.protobuf.MapField
internalGetMutableMapField
(int number) final boolean
mergeFirst
(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, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Yamcs.ArchiveRecord.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Yamcs.ArchiveRecord.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Yamcs.ArchiveRecord.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<Yamcs.ArchiveRecord.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<Yamcs.ArchiveRecord.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Yamcs.ArchiveRecord.Builder>
-
setField
public Yamcs.ArchiveRecord.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Yamcs.ArchiveRecord.Builder>
-
clearField
public Yamcs.ArchiveRecord.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Yamcs.ArchiveRecord.Builder>
-
clearOneof
public Yamcs.ArchiveRecord.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Yamcs.ArchiveRecord.Builder>
-
addRepeatedField
public Yamcs.ArchiveRecord.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Yamcs.ArchiveRecord.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Yamcs.ArchiveRecord.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Yamcs.ArchiveRecord.Builder>
- Throws:
IOException
-
hasId
public boolean hasId()optional .yamcs.protobuf.NamedObjectId id = 1;
- Specified by:
hasId
in interfaceYamcs.ArchiveRecordOrBuilder
- Returns:
- Whether the id field is set.
-
getId
optional .yamcs.protobuf.NamedObjectId id = 1;
- Specified by:
getId
in 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:
getIdOrBuilder
in interfaceYamcs.ArchiveRecordOrBuilder
-
hasNum
public boolean hasNum()optional int32 num = 4;
- Specified by:
hasNum
in interfaceYamcs.ArchiveRecordOrBuilder
- Returns:
- Whether the num field is set.
-
getNum
public int getNum()optional int32 num = 4;
- Specified by:
getNum
in 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:
hasSeqFirst
in interfaceYamcs.ArchiveRecordOrBuilder
- Returns:
- Whether the seqFirst field is set.
-
getSeqFirst
public long getSeqFirst()optional int64 seqFirst = 6;
- Specified by:
getSeqFirst
in 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:
hasSeqLast
in interfaceYamcs.ArchiveRecordOrBuilder
- Returns:
- Whether the seqLast field is set.
-
getSeqLast
public long getSeqLast()optional int64 seqLast = 7;
- Specified by:
getSeqLast
in 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:
hasFirst
in interfaceYamcs.ArchiveRecordOrBuilder
- Returns:
- Whether the first field is set.
-
getFirst
public com.google.protobuf.Timestamp getFirst()optional .google.protobuf.Timestamp first = 8;
- Specified by:
getFirst
in 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:
getFirstOrBuilder
in interfaceYamcs.ArchiveRecordOrBuilder
-
hasLast
public boolean hasLast()optional .google.protobuf.Timestamp last = 9;
- Specified by:
hasLast
in interfaceYamcs.ArchiveRecordOrBuilder
- Returns:
- Whether the last field is set.
-
getLast
public com.google.protobuf.Timestamp getLast()optional .google.protobuf.Timestamp last = 9;
- Specified by:
getLast
in 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:
getLastOrBuilder
in interfaceYamcs.ArchiveRecordOrBuilder
-
getExtraCount
public int getExtraCount()Description copied from interface:Yamcs.ArchiveRecordOrBuilder
map<string, string> extra = 10;
- Specified by:
getExtraCount
in interfaceYamcs.ArchiveRecordOrBuilder
-
containsExtra
map<string, string> extra = 10;
- Specified by:
containsExtra
in interfaceYamcs.ArchiveRecordOrBuilder
-
getExtra
Deprecated.UsegetExtraMap()
instead.- Specified by:
getExtra
in interfaceYamcs.ArchiveRecordOrBuilder
-
getExtraMap
map<string, string> extra = 10;
- Specified by:
getExtraMap
in interfaceYamcs.ArchiveRecordOrBuilder
-
getExtraOrDefault
map<string, string> extra = 10;
- Specified by:
getExtraOrDefault
in interfaceYamcs.ArchiveRecordOrBuilder
-
getExtraOrThrow
map<string, string> extra = 10;
- Specified by:
getExtraOrThrow
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Yamcs.ArchiveRecord.Builder>
-
mergeUnknownFields
public final Yamcs.ArchiveRecord.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Yamcs.ArchiveRecord.Builder>
-