
org.yamcs.protobuf.Archive Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yamcs-api Show documentation
Show all versions of yamcs-api Show documentation
Used by external clients to communicate with Yamcs
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: yamcs/protobuf/archive/archive.proto
package org.yamcs.protobuf;
public final class Archive {
private Archive() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface StreamParameterValuesRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:yamcs.protobuf.archive.StreamParameterValuesRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return Whether the instance field is set.
*/
boolean hasInstance();
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return The instance.
*/
java.lang.String getInstance();
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return The bytes for instance.
*/
com.google.protobuf.ByteString
getInstanceBytes();
/**
* optional .google.protobuf.Timestamp start = 2;
* @return Whether the start field is set.
*/
boolean hasStart();
/**
* optional .google.protobuf.Timestamp start = 2;
* @return The start.
*/
com.google.protobuf.Timestamp getStart();
/**
* optional .google.protobuf.Timestamp start = 2;
*/
com.google.protobuf.TimestampOrBuilder getStartOrBuilder();
/**
* optional .google.protobuf.Timestamp stop = 3;
* @return Whether the stop field is set.
*/
boolean hasStop();
/**
* optional .google.protobuf.Timestamp stop = 3;
* @return The stop.
*/
com.google.protobuf.Timestamp getStop();
/**
* optional .google.protobuf.Timestamp stop = 3;
*/
com.google.protobuf.TimestampOrBuilder getStopOrBuilder();
/**
*
* Parameter identifiers. Each identifier takes the form of
* a namespace and a name.
* For Yamcs-native naming only the name field is required and
* should be the fully qualified name. The namespace is only
* required when the name represents an alias of that parameter.
*
*
* repeated .yamcs.protobuf.NamedObjectId ids = 4;
*/
java.util.List
getIdsList();
/**
*
* Parameter identifiers. Each identifier takes the form of
* a namespace and a name.
* For Yamcs-native naming only the name field is required and
* should be the fully qualified name. The namespace is only
* required when the name represents an alias of that parameter.
*
*
* repeated .yamcs.protobuf.NamedObjectId ids = 4;
*/
org.yamcs.protobuf.Yamcs.NamedObjectId getIds(int index);
/**
*
* Parameter identifiers. Each identifier takes the form of
* a namespace and a name.
* For Yamcs-native naming only the name field is required and
* should be the fully qualified name. The namespace is only
* required when the name represents an alias of that parameter.
*
*
* repeated .yamcs.protobuf.NamedObjectId ids = 4;
*/
int getIdsCount();
/**
*
* Parameter identifiers. Each identifier takes the form of
* a namespace and a name.
* For Yamcs-native naming only the name field is required and
* should be the fully qualified name. The namespace is only
* required when the name represents an alias of that parameter.
*
*
* repeated .yamcs.protobuf.NamedObjectId ids = 4;
*/
java.util.List extends org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder>
getIdsOrBuilderList();
/**
*
* Parameter identifiers. Each identifier takes the form of
* a namespace and a name.
* For Yamcs-native naming only the name field is required and
* should be the fully qualified name. The namespace is only
* required when the name represents an alias of that parameter.
*
*
* repeated .yamcs.protobuf.NamedObjectId ids = 4;
*/
org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getIdsOrBuilder(
int index);
/**
*
* Since version 5.4.0, Yamcs records the name of the TM link on which
* a TM packet is received together with the packet (in the tm table).
* This option, if specified, allows retrieving as part of replay only
* the packets originally received on one of the links specified.
*
*
* repeated string tmLinks = 5;
* @return A list containing the tmLinks.
*/
java.util.List
getTmLinksList();
/**
*
* Since version 5.4.0, Yamcs records the name of the TM link on which
* a TM packet is received together with the packet (in the tm table).
* This option, if specified, allows retrieving as part of replay only
* the packets originally received on one of the links specified.
*
*
* repeated string tmLinks = 5;
* @return The count of tmLinks.
*/
int getTmLinksCount();
/**
*
* Since version 5.4.0, Yamcs records the name of the TM link on which
* a TM packet is received together with the packet (in the tm table).
* This option, if specified, allows retrieving as part of replay only
* the packets originally received on one of the links specified.
*
*
* repeated string tmLinks = 5;
* @param index The index of the element to return.
* @return The tmLinks at the given index.
*/
java.lang.String getTmLinks(int index);
/**
*
* Since version 5.4.0, Yamcs records the name of the TM link on which
* a TM packet is received together with the packet (in the tm table).
* This option, if specified, allows retrieving as part of replay only
* the packets originally received on one of the links specified.
*
*
* repeated string tmLinks = 5;
* @param index The index of the value to return.
* @return The bytes of the tmLinks at the given index.
*/
com.google.protobuf.ByteString
getTmLinksBytes(int index);
}
/**
*
* Retrieves parameters by performing a replay
*
*
* Protobuf type {@code yamcs.protobuf.archive.StreamParameterValuesRequest}
*/
public static final class StreamParameterValuesRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:yamcs.protobuf.archive.StreamParameterValuesRequest)
StreamParameterValuesRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use StreamParameterValuesRequest.newBuilder() to construct.
private StreamParameterValuesRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private StreamParameterValuesRequest() {
instance_ = "";
ids_ = java.util.Collections.emptyList();
tmLinks_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new StreamParameterValuesRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private StreamParameterValuesRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
instance_ = bs;
break;
}
case 18: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) != 0)) {
subBuilder = start_.toBuilder();
}
start_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(start_);
start_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000002;
break;
}
case 26: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (((bitField0_ & 0x00000004) != 0)) {
subBuilder = stop_.toBuilder();
}
stop_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(stop_);
stop_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000004;
break;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000008) != 0)) {
ids_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
ids_.add(
input.readMessage(org.yamcs.protobuf.Yamcs.NamedObjectId.PARSER, extensionRegistry));
break;
}
case 42: {
com.google.protobuf.ByteString bs = input.readBytes();
if (!((mutable_bitField0_ & 0x00000010) != 0)) {
tmLinks_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000010;
}
tmLinks_.add(bs);
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000008) != 0)) {
ids_ = java.util.Collections.unmodifiableList(ids_);
}
if (((mutable_bitField0_ & 0x00000010) != 0)) {
tmLinks_ = tmLinks_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.yamcs.protobuf.Archive.internal_static_yamcs_protobuf_archive_StreamParameterValuesRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.yamcs.protobuf.Archive.internal_static_yamcs_protobuf_archive_StreamParameterValuesRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.yamcs.protobuf.Archive.StreamParameterValuesRequest.class, org.yamcs.protobuf.Archive.StreamParameterValuesRequest.Builder.class);
}
private int bitField0_;
public static final int INSTANCE_FIELD_NUMBER = 1;
private volatile java.lang.Object instance_;
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return Whether the instance field is set.
*/
@java.lang.Override
public boolean hasInstance() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return The instance.
*/
@java.lang.Override
public java.lang.String getInstance() {
java.lang.Object ref = instance_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
instance_ = s;
}
return s;
}
}
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return The bytes for instance.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getInstanceBytes() {
java.lang.Object ref = instance_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
instance_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int START_FIELD_NUMBER = 2;
private com.google.protobuf.Timestamp start_;
/**
* optional .google.protobuf.Timestamp start = 2;
* @return Whether the start field is set.
*/
@java.lang.Override
public boolean hasStart() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .google.protobuf.Timestamp start = 2;
* @return The start.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getStart() {
return start_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : start_;
}
/**
* optional .google.protobuf.Timestamp start = 2;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getStartOrBuilder() {
return start_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : start_;
}
public static final int STOP_FIELD_NUMBER = 3;
private com.google.protobuf.Timestamp stop_;
/**
* optional .google.protobuf.Timestamp stop = 3;
* @return Whether the stop field is set.
*/
@java.lang.Override
public boolean hasStop() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional .google.protobuf.Timestamp stop = 3;
* @return The stop.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getStop() {
return stop_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stop_;
}
/**
* optional .google.protobuf.Timestamp stop = 3;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getStopOrBuilder() {
return stop_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stop_;
}
public static final int IDS_FIELD_NUMBER = 4;
private java.util.List ids_;
/**
*
* Parameter identifiers. Each identifier takes the form of
* a namespace and a name.
* For Yamcs-native naming only the name field is required and
* should be the fully qualified name. The namespace is only
* required when the name represents an alias of that parameter.
*
*
* repeated .yamcs.protobuf.NamedObjectId ids = 4;
*/
@java.lang.Override
public java.util.List getIdsList() {
return ids_;
}
/**
*
* Parameter identifiers. Each identifier takes the form of
* a namespace and a name.
* For Yamcs-native naming only the name field is required and
* should be the fully qualified name. The namespace is only
* required when the name represents an alias of that parameter.
*
*
* repeated .yamcs.protobuf.NamedObjectId ids = 4;
*/
@java.lang.Override
public java.util.List extends org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder>
getIdsOrBuilderList() {
return ids_;
}
/**
*
* Parameter identifiers. Each identifier takes the form of
* a namespace and a name.
* For Yamcs-native naming only the name field is required and
* should be the fully qualified name. The namespace is only
* required when the name represents an alias of that parameter.
*
*
* repeated .yamcs.protobuf.NamedObjectId ids = 4;
*/
@java.lang.Override
public int getIdsCount() {
return ids_.size();
}
/**
*
* Parameter identifiers. Each identifier takes the form of
* a namespace and a name.
* For Yamcs-native naming only the name field is required and
* should be the fully qualified name. The namespace is only
* required when the name represents an alias of that parameter.
*
*
* repeated .yamcs.protobuf.NamedObjectId ids = 4;
*/
@java.lang.Override
public org.yamcs.protobuf.Yamcs.NamedObjectId getIds(int index) {
return ids_.get(index);
}
/**
*
* Parameter identifiers. Each identifier takes the form of
* a namespace and a name.
* For Yamcs-native naming only the name field is required and
* should be the fully qualified name. The namespace is only
* required when the name represents an alias of that parameter.
*
*
* repeated .yamcs.protobuf.NamedObjectId ids = 4;
*/
@java.lang.Override
public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getIdsOrBuilder(
int index) {
return ids_.get(index);
}
public static final int TMLINKS_FIELD_NUMBER = 5;
private com.google.protobuf.LazyStringList tmLinks_;
/**
*
* Since version 5.4.0, Yamcs records the name of the TM link on which
* a TM packet is received together with the packet (in the tm table).
* This option, if specified, allows retrieving as part of replay only
* the packets originally received on one of the links specified.
*
*
* repeated string tmLinks = 5;
* @return A list containing the tmLinks.
*/
public com.google.protobuf.ProtocolStringList
getTmLinksList() {
return tmLinks_;
}
/**
*
* Since version 5.4.0, Yamcs records the name of the TM link on which
* a TM packet is received together with the packet (in the tm table).
* This option, if specified, allows retrieving as part of replay only
* the packets originally received on one of the links specified.
*
*
* repeated string tmLinks = 5;
* @return The count of tmLinks.
*/
public int getTmLinksCount() {
return tmLinks_.size();
}
/**
*
* Since version 5.4.0, Yamcs records the name of the TM link on which
* a TM packet is received together with the packet (in the tm table).
* This option, if specified, allows retrieving as part of replay only
* the packets originally received on one of the links specified.
*
*
* repeated string tmLinks = 5;
* @param index The index of the element to return.
* @return The tmLinks at the given index.
*/
public java.lang.String getTmLinks(int index) {
return tmLinks_.get(index);
}
/**
*
* Since version 5.4.0, Yamcs records the name of the TM link on which
* a TM packet is received together with the packet (in the tm table).
* This option, if specified, allows retrieving as part of replay only
* the packets originally received on one of the links specified.
*
*
* repeated string tmLinks = 5;
* @param index The index of the value to return.
* @return The bytes of the tmLinks at the given index.
*/
public com.google.protobuf.ByteString
getTmLinksBytes(int index) {
return tmLinks_.getByteString(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
for (int i = 0; i < getIdsCount(); i++) {
if (!getIds(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instance_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getStart());
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(3, getStop());
}
for (int i = 0; i < ids_.size(); i++) {
output.writeMessage(4, ids_.get(i));
}
for (int i = 0; i < tmLinks_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, tmLinks_.getRaw(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instance_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getStart());
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getStop());
}
for (int i = 0; i < ids_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, ids_.get(i));
}
{
int dataSize = 0;
for (int i = 0; i < tmLinks_.size(); i++) {
dataSize += computeStringSizeNoTag(tmLinks_.getRaw(i));
}
size += dataSize;
size += 1 * getTmLinksList().size();
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.yamcs.protobuf.Archive.StreamParameterValuesRequest)) {
return super.equals(obj);
}
org.yamcs.protobuf.Archive.StreamParameterValuesRequest other = (org.yamcs.protobuf.Archive.StreamParameterValuesRequest) obj;
if (hasInstance() != other.hasInstance()) return false;
if (hasInstance()) {
if (!getInstance()
.equals(other.getInstance())) return false;
}
if (hasStart() != other.hasStart()) return false;
if (hasStart()) {
if (!getStart()
.equals(other.getStart())) return false;
}
if (hasStop() != other.hasStop()) return false;
if (hasStop()) {
if (!getStop()
.equals(other.getStop())) return false;
}
if (!getIdsList()
.equals(other.getIdsList())) return false;
if (!getTmLinksList()
.equals(other.getTmLinksList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasInstance()) {
hash = (37 * hash) + INSTANCE_FIELD_NUMBER;
hash = (53 * hash) + getInstance().hashCode();
}
if (hasStart()) {
hash = (37 * hash) + START_FIELD_NUMBER;
hash = (53 * hash) + getStart().hashCode();
}
if (hasStop()) {
hash = (37 * hash) + STOP_FIELD_NUMBER;
hash = (53 * hash) + getStop().hashCode();
}
if (getIdsCount() > 0) {
hash = (37 * hash) + IDS_FIELD_NUMBER;
hash = (53 * hash) + getIdsList().hashCode();
}
if (getTmLinksCount() > 0) {
hash = (37 * hash) + TMLINKS_FIELD_NUMBER;
hash = (53 * hash) + getTmLinksList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.yamcs.protobuf.Archive.StreamParameterValuesRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.yamcs.protobuf.Archive.StreamParameterValuesRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.yamcs.protobuf.Archive.StreamParameterValuesRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.yamcs.protobuf.Archive.StreamParameterValuesRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.yamcs.protobuf.Archive.StreamParameterValuesRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.yamcs.protobuf.Archive.StreamParameterValuesRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.yamcs.protobuf.Archive.StreamParameterValuesRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.yamcs.protobuf.Archive.StreamParameterValuesRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.yamcs.protobuf.Archive.StreamParameterValuesRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.yamcs.protobuf.Archive.StreamParameterValuesRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.yamcs.protobuf.Archive.StreamParameterValuesRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.yamcs.protobuf.Archive.StreamParameterValuesRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.yamcs.protobuf.Archive.StreamParameterValuesRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Retrieves parameters by performing a replay
*
*
* Protobuf type {@code yamcs.protobuf.archive.StreamParameterValuesRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:yamcs.protobuf.archive.StreamParameterValuesRequest)
org.yamcs.protobuf.Archive.StreamParameterValuesRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.yamcs.protobuf.Archive.internal_static_yamcs_protobuf_archive_StreamParameterValuesRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.yamcs.protobuf.Archive.internal_static_yamcs_protobuf_archive_StreamParameterValuesRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.yamcs.protobuf.Archive.StreamParameterValuesRequest.class, org.yamcs.protobuf.Archive.StreamParameterValuesRequest.Builder.class);
}
// Construct using org.yamcs.protobuf.Archive.StreamParameterValuesRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStartFieldBuilder();
getStopFieldBuilder();
getIdsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
instance_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
if (startBuilder_ == null) {
start_ = null;
} else {
startBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
if (stopBuilder_ == null) {
stop_ = null;
} else {
stopBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
if (idsBuilder_ == null) {
ids_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
} else {
idsBuilder_.clear();
}
tmLinks_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.yamcs.protobuf.Archive.internal_static_yamcs_protobuf_archive_StreamParameterValuesRequest_descriptor;
}
@java.lang.Override
public org.yamcs.protobuf.Archive.StreamParameterValuesRequest getDefaultInstanceForType() {
return org.yamcs.protobuf.Archive.StreamParameterValuesRequest.getDefaultInstance();
}
@java.lang.Override
public org.yamcs.protobuf.Archive.StreamParameterValuesRequest build() {
org.yamcs.protobuf.Archive.StreamParameterValuesRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.yamcs.protobuf.Archive.StreamParameterValuesRequest buildPartial() {
org.yamcs.protobuf.Archive.StreamParameterValuesRequest result = new org.yamcs.protobuf.Archive.StreamParameterValuesRequest(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
to_bitField0_ |= 0x00000001;
}
result.instance_ = instance_;
if (((from_bitField0_ & 0x00000002) != 0)) {
if (startBuilder_ == null) {
result.start_ = start_;
} else {
result.start_ = startBuilder_.build();
}
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
if (stopBuilder_ == null) {
result.stop_ = stop_;
} else {
result.stop_ = stopBuilder_.build();
}
to_bitField0_ |= 0x00000004;
}
if (idsBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0)) {
ids_ = java.util.Collections.unmodifiableList(ids_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.ids_ = ids_;
} else {
result.ids_ = idsBuilder_.build();
}
if (((bitField0_ & 0x00000010) != 0)) {
tmLinks_ = tmLinks_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000010);
}
result.tmLinks_ = tmLinks_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.yamcs.protobuf.Archive.StreamParameterValuesRequest) {
return mergeFrom((org.yamcs.protobuf.Archive.StreamParameterValuesRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.yamcs.protobuf.Archive.StreamParameterValuesRequest other) {
if (other == org.yamcs.protobuf.Archive.StreamParameterValuesRequest.getDefaultInstance()) return this;
if (other.hasInstance()) {
bitField0_ |= 0x00000001;
instance_ = other.instance_;
onChanged();
}
if (other.hasStart()) {
mergeStart(other.getStart());
}
if (other.hasStop()) {
mergeStop(other.getStop());
}
if (idsBuilder_ == null) {
if (!other.ids_.isEmpty()) {
if (ids_.isEmpty()) {
ids_ = other.ids_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureIdsIsMutable();
ids_.addAll(other.ids_);
}
onChanged();
}
} else {
if (!other.ids_.isEmpty()) {
if (idsBuilder_.isEmpty()) {
idsBuilder_.dispose();
idsBuilder_ = null;
ids_ = other.ids_;
bitField0_ = (bitField0_ & ~0x00000008);
idsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getIdsFieldBuilder() : null;
} else {
idsBuilder_.addAllMessages(other.ids_);
}
}
}
if (!other.tmLinks_.isEmpty()) {
if (tmLinks_.isEmpty()) {
tmLinks_ = other.tmLinks_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureTmLinksIsMutable();
tmLinks_.addAll(other.tmLinks_);
}
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
for (int i = 0; i < getIdsCount(); i++) {
if (!getIds(i).isInitialized()) {
return false;
}
}
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.yamcs.protobuf.Archive.StreamParameterValuesRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.yamcs.protobuf.Archive.StreamParameterValuesRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object instance_ = "";
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return Whether the instance field is set.
*/
public boolean hasInstance() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return The instance.
*/
public java.lang.String getInstance() {
java.lang.Object ref = instance_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
instance_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return The bytes for instance.
*/
public com.google.protobuf.ByteString
getInstanceBytes() {
java.lang.Object ref = instance_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
instance_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @param value The instance to set.
* @return This builder for chaining.
*/
public Builder setInstance(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
instance_ = value;
onChanged();
return this;
}
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return This builder for chaining.
*/
public Builder clearInstance() {
bitField0_ = (bitField0_ & ~0x00000001);
instance_ = getDefaultInstance().getInstance();
onChanged();
return this;
}
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @param value The bytes for instance to set.
* @return This builder for chaining.
*/
public Builder setInstanceBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
instance_ = value;
onChanged();
return this;
}
private com.google.protobuf.Timestamp start_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startBuilder_;
/**
* optional .google.protobuf.Timestamp start = 2;
* @return Whether the start field is set.
*/
public boolean hasStart() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .google.protobuf.Timestamp start = 2;
* @return The start.
*/
public com.google.protobuf.Timestamp getStart() {
if (startBuilder_ == null) {
return start_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : start_;
} else {
return startBuilder_.getMessage();
}
}
/**
* optional .google.protobuf.Timestamp start = 2;
*/
public Builder setStart(com.google.protobuf.Timestamp value) {
if (startBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
start_ = value;
onChanged();
} else {
startBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .google.protobuf.Timestamp start = 2;
*/
public Builder setStart(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (startBuilder_ == null) {
start_ = builderForValue.build();
onChanged();
} else {
startBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .google.protobuf.Timestamp start = 2;
*/
public Builder mergeStart(com.google.protobuf.Timestamp value) {
if (startBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
start_ != null &&
start_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
start_ =
com.google.protobuf.Timestamp.newBuilder(start_).mergeFrom(value).buildPartial();
} else {
start_ = value;
}
onChanged();
} else {
startBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .google.protobuf.Timestamp start = 2;
*/
public Builder clearStart() {
if (startBuilder_ == null) {
start_ = null;
onChanged();
} else {
startBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* optional .google.protobuf.Timestamp start = 2;
*/
public com.google.protobuf.Timestamp.Builder getStartBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getStartFieldBuilder().getBuilder();
}
/**
* optional .google.protobuf.Timestamp start = 2;
*/
public com.google.protobuf.TimestampOrBuilder getStartOrBuilder() {
if (startBuilder_ != null) {
return startBuilder_.getMessageOrBuilder();
} else {
return start_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : start_;
}
}
/**
* optional .google.protobuf.Timestamp start = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getStartFieldBuilder() {
if (startBuilder_ == null) {
startBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getStart(),
getParentForChildren(),
isClean());
start_ = null;
}
return startBuilder_;
}
private com.google.protobuf.Timestamp stop_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> stopBuilder_;
/**
* optional .google.protobuf.Timestamp stop = 3;
* @return Whether the stop field is set.
*/
public boolean hasStop() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional .google.protobuf.Timestamp stop = 3;
* @return The stop.
*/
public com.google.protobuf.Timestamp getStop() {
if (stopBuilder_ == null) {
return stop_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stop_;
} else {
return stopBuilder_.getMessage();
}
}
/**
* optional .google.protobuf.Timestamp stop = 3;
*/
public Builder setStop(com.google.protobuf.Timestamp value) {
if (stopBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
stop_ = value;
onChanged();
} else {
stopBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .google.protobuf.Timestamp stop = 3;
*/
public Builder setStop(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (stopBuilder_ == null) {
stop_ = builderForValue.build();
onChanged();
} else {
stopBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .google.protobuf.Timestamp stop = 3;
*/
public Builder mergeStop(com.google.protobuf.Timestamp value) {
if (stopBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
stop_ != null &&
stop_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
stop_ =
com.google.protobuf.Timestamp.newBuilder(stop_).mergeFrom(value).buildPartial();
} else {
stop_ = value;
}
onChanged();
} else {
stopBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .google.protobuf.Timestamp stop = 3;
*/
public Builder clearStop() {
if (stopBuilder_ == null) {
stop_ = null;
onChanged();
} else {
stopBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
/**
* optional .google.protobuf.Timestamp stop = 3;
*/
public com.google.protobuf.Timestamp.Builder getStopBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getStopFieldBuilder().getBuilder();
}
/**
* optional .google.protobuf.Timestamp stop = 3;
*/
public com.google.protobuf.TimestampOrBuilder getStopOrBuilder() {
if (stopBuilder_ != null) {
return stopBuilder_.getMessageOrBuilder();
} else {
return stop_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : stop_;
}
}
/**
* optional .google.protobuf.Timestamp stop = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getStopFieldBuilder() {
if (stopBuilder_ == null) {
stopBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getStop(),
getParentForChildren(),
isClean());
stop_ = null;
}
return stopBuilder_;
}
private java.util.List ids_ =
java.util.Collections.emptyList();
private void ensureIdsIsMutable() {
if (!((bitField0_ & 0x00000008) != 0)) {
ids_ = new java.util.ArrayList(ids_);
bitField0_ |= 0x00000008;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> idsBuilder_;
/**
*
* Parameter identifiers. Each identifier takes the form of
* a namespace and a name.
* For Yamcs-native naming only the name field is required and
* should be the fully qualified name. The namespace is only
* required when the name represents an alias of that parameter.
*
*
* repeated .yamcs.protobuf.NamedObjectId ids = 4;
*/
public java.util.List getIdsList() {
if (idsBuilder_ == null) {
return java.util.Collections.unmodifiableList(ids_);
} else {
return idsBuilder_.getMessageList();
}
}
/**
*
* Parameter identifiers. Each identifier takes the form of
* a namespace and a name.
* For Yamcs-native naming only the name field is required and
* should be the fully qualified name. The namespace is only
* required when the name represents an alias of that parameter.
*
*
* repeated .yamcs.protobuf.NamedObjectId ids = 4;
*/
public int getIdsCount() {
if (idsBuilder_ == null) {
return ids_.size();
} else {
return idsBuilder_.getCount();
}
}
/**
*
* Parameter identifiers. Each identifier takes the form of
* a namespace and a name.
* For Yamcs-native naming only the name field is required and
* should be the fully qualified name. The namespace is only
* required when the name represents an alias of that parameter.
*
*
* repeated .yamcs.protobuf.NamedObjectId ids = 4;
*/
public org.yamcs.protobuf.Yamcs.NamedObjectId getIds(int index) {
if (idsBuilder_ == null) {
return ids_.get(index);
} else {
return idsBuilder_.getMessage(index);
}
}
/**
*
* Parameter identifiers. Each identifier takes the form of
* a namespace and a name.
* For Yamcs-native naming only the name field is required and
* should be the fully qualified name. The namespace is only
* required when the name represents an alias of that parameter.
*
*
* repeated .yamcs.protobuf.NamedObjectId ids = 4;
*/
public Builder setIds(
int index, org.yamcs.protobuf.Yamcs.NamedObjectId value) {
if (idsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureIdsIsMutable();
ids_.set(index, value);
onChanged();
} else {
idsBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* Parameter identifiers. Each identifier takes the form of
* a namespace and a name.
* For Yamcs-native naming only the name field is required and
* should be the fully qualified name. The namespace is only
* required when the name represents an alias of that parameter.
*
*
* repeated .yamcs.protobuf.NamedObjectId ids = 4;
*/
public Builder setIds(
int index, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) {
if (idsBuilder_ == null) {
ensureIdsIsMutable();
ids_.set(index, builderForValue.build());
onChanged();
} else {
idsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* Parameter identifiers. Each identifier takes the form of
* a namespace and a name.
* For Yamcs-native naming only the name field is required and
* should be the fully qualified name. The namespace is only
* required when the name represents an alias of that parameter.
*
*
* repeated .yamcs.protobuf.NamedObjectId ids = 4;
*/
public Builder addIds(org.yamcs.protobuf.Yamcs.NamedObjectId value) {
if (idsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureIdsIsMutable();
ids_.add(value);
onChanged();
} else {
idsBuilder_.addMessage(value);
}
return this;
}
/**
*
* Parameter identifiers. Each identifier takes the form of
* a namespace and a name.
* For Yamcs-native naming only the name field is required and
* should be the fully qualified name. The namespace is only
* required when the name represents an alias of that parameter.
*
*
* repeated .yamcs.protobuf.NamedObjectId ids = 4;
*/
public Builder addIds(
int index, org.yamcs.protobuf.Yamcs.NamedObjectId value) {
if (idsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureIdsIsMutable();
ids_.add(index, value);
onChanged();
} else {
idsBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* Parameter identifiers. Each identifier takes the form of
* a namespace and a name.
* For Yamcs-native naming only the name field is required and
* should be the fully qualified name. The namespace is only
* required when the name represents an alias of that parameter.
*
*
* repeated .yamcs.protobuf.NamedObjectId ids = 4;
*/
public Builder addIds(
org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) {
if (idsBuilder_ == null) {
ensureIdsIsMutable();
ids_.add(builderForValue.build());
onChanged();
} else {
idsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* Parameter identifiers. Each identifier takes the form of
* a namespace and a name.
* For Yamcs-native naming only the name field is required and
* should be the fully qualified name. The namespace is only
* required when the name represents an alias of that parameter.
*
*
* repeated .yamcs.protobuf.NamedObjectId ids = 4;
*/
public Builder addIds(
int index, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) {
if (idsBuilder_ == null) {
ensureIdsIsMutable();
ids_.add(index, builderForValue.build());
onChanged();
} else {
idsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* Parameter identifiers. Each identifier takes the form of
* a namespace and a name.
* For Yamcs-native naming only the name field is required and
* should be the fully qualified name. The namespace is only
* required when the name represents an alias of that parameter.
*
*
* repeated .yamcs.protobuf.NamedObjectId ids = 4;
*/
public Builder addAllIds(
java.lang.Iterable extends org.yamcs.protobuf.Yamcs.NamedObjectId> values) {
if (idsBuilder_ == null) {
ensureIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, ids_);
onChanged();
} else {
idsBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* Parameter identifiers. Each identifier takes the form of
* a namespace and a name.
* For Yamcs-native naming only the name field is required and
* should be the fully qualified name. The namespace is only
* required when the name represents an alias of that parameter.
*
*
* repeated .yamcs.protobuf.NamedObjectId ids = 4;
*/
public Builder clearIds() {
if (idsBuilder_ == null) {
ids_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
idsBuilder_.clear();
}
return this;
}
/**
*
* Parameter identifiers. Each identifier takes the form of
* a namespace and a name.
* For Yamcs-native naming only the name field is required and
* should be the fully qualified name. The namespace is only
* required when the name represents an alias of that parameter.
*
*
* repeated .yamcs.protobuf.NamedObjectId ids = 4;
*/
public Builder removeIds(int index) {
if (idsBuilder_ == null) {
ensureIdsIsMutable();
ids_.remove(index);
onChanged();
} else {
idsBuilder_.remove(index);
}
return this;
}
/**
*
* Parameter identifiers. Each identifier takes the form of
* a namespace and a name.
* For Yamcs-native naming only the name field is required and
* should be the fully qualified name. The namespace is only
* required when the name represents an alias of that parameter.
*
*
* repeated .yamcs.protobuf.NamedObjectId ids = 4;
*/
public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder getIdsBuilder(
int index) {
return getIdsFieldBuilder().getBuilder(index);
}
/**
*
* Parameter identifiers. Each identifier takes the form of
* a namespace and a name.
* For Yamcs-native naming only the name field is required and
* should be the fully qualified name. The namespace is only
* required when the name represents an alias of that parameter.
*
*
* repeated .yamcs.protobuf.NamedObjectId ids = 4;
*/
public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getIdsOrBuilder(
int index) {
if (idsBuilder_ == null) {
return ids_.get(index); } else {
return idsBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* Parameter identifiers. Each identifier takes the form of
* a namespace and a name.
* For Yamcs-native naming only the name field is required and
* should be the fully qualified name. The namespace is only
* required when the name represents an alias of that parameter.
*
*
* repeated .yamcs.protobuf.NamedObjectId ids = 4;
*/
public java.util.List extends org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder>
getIdsOrBuilderList() {
if (idsBuilder_ != null) {
return idsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(ids_);
}
}
/**
*
* Parameter identifiers. Each identifier takes the form of
* a namespace and a name.
* For Yamcs-native naming only the name field is required and
* should be the fully qualified name. The namespace is only
* required when the name represents an alias of that parameter.
*
*
* repeated .yamcs.protobuf.NamedObjectId ids = 4;
*/
public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder addIdsBuilder() {
return getIdsFieldBuilder().addBuilder(
org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance());
}
/**
*
* Parameter identifiers. Each identifier takes the form of
* a namespace and a name.
* For Yamcs-native naming only the name field is required and
* should be the fully qualified name. The namespace is only
* required when the name represents an alias of that parameter.
*
*
* repeated .yamcs.protobuf.NamedObjectId ids = 4;
*/
public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder addIdsBuilder(
int index) {
return getIdsFieldBuilder().addBuilder(
index, org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance());
}
/**
*
* Parameter identifiers. Each identifier takes the form of
* a namespace and a name.
* For Yamcs-native naming only the name field is required and
* should be the fully qualified name. The namespace is only
* required when the name represents an alias of that parameter.
*
*
* repeated .yamcs.protobuf.NamedObjectId ids = 4;
*/
public java.util.List
getIdsBuilderList() {
return getIdsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder>
getIdsFieldBuilder() {
if (idsBuilder_ == null) {
idsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder>(
ids_,
((bitField0_ & 0x00000008) != 0),
getParentForChildren(),
isClean());
ids_ = null;
}
return idsBuilder_;
}
private com.google.protobuf.LazyStringList tmLinks_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureTmLinksIsMutable() {
if (!((bitField0_ & 0x00000010) != 0)) {
tmLinks_ = new com.google.protobuf.LazyStringArrayList(tmLinks_);
bitField0_ |= 0x00000010;
}
}
/**
*
* Since version 5.4.0, Yamcs records the name of the TM link on which
* a TM packet is received together with the packet (in the tm table).
* This option, if specified, allows retrieving as part of replay only
* the packets originally received on one of the links specified.
*
*
* repeated string tmLinks = 5;
* @return A list containing the tmLinks.
*/
public com.google.protobuf.ProtocolStringList
getTmLinksList() {
return tmLinks_.getUnmodifiableView();
}
/**
*
* Since version 5.4.0, Yamcs records the name of the TM link on which
* a TM packet is received together with the packet (in the tm table).
* This option, if specified, allows retrieving as part of replay only
* the packets originally received on one of the links specified.
*
*
* repeated string tmLinks = 5;
* @return The count of tmLinks.
*/
public int getTmLinksCount() {
return tmLinks_.size();
}
/**
*
* Since version 5.4.0, Yamcs records the name of the TM link on which
* a TM packet is received together with the packet (in the tm table).
* This option, if specified, allows retrieving as part of replay only
* the packets originally received on one of the links specified.
*
*
* repeated string tmLinks = 5;
* @param index The index of the element to return.
* @return The tmLinks at the given index.
*/
public java.lang.String getTmLinks(int index) {
return tmLinks_.get(index);
}
/**
*
* Since version 5.4.0, Yamcs records the name of the TM link on which
* a TM packet is received together with the packet (in the tm table).
* This option, if specified, allows retrieving as part of replay only
* the packets originally received on one of the links specified.
*
*
* repeated string tmLinks = 5;
* @param index The index of the value to return.
* @return The bytes of the tmLinks at the given index.
*/
public com.google.protobuf.ByteString
getTmLinksBytes(int index) {
return tmLinks_.getByteString(index);
}
/**
*
* Since version 5.4.0, Yamcs records the name of the TM link on which
* a TM packet is received together with the packet (in the tm table).
* This option, if specified, allows retrieving as part of replay only
* the packets originally received on one of the links specified.
*
*
* repeated string tmLinks = 5;
* @param index The index to set the value at.
* @param value The tmLinks to set.
* @return This builder for chaining.
*/
public Builder setTmLinks(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureTmLinksIsMutable();
tmLinks_.set(index, value);
onChanged();
return this;
}
/**
*
* Since version 5.4.0, Yamcs records the name of the TM link on which
* a TM packet is received together with the packet (in the tm table).
* This option, if specified, allows retrieving as part of replay only
* the packets originally received on one of the links specified.
*
*
* repeated string tmLinks = 5;
* @param value The tmLinks to add.
* @return This builder for chaining.
*/
public Builder addTmLinks(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureTmLinksIsMutable();
tmLinks_.add(value);
onChanged();
return this;
}
/**
*
* Since version 5.4.0, Yamcs records the name of the TM link on which
* a TM packet is received together with the packet (in the tm table).
* This option, if specified, allows retrieving as part of replay only
* the packets originally received on one of the links specified.
*
*
* repeated string tmLinks = 5;
* @param values The tmLinks to add.
* @return This builder for chaining.
*/
public Builder addAllTmLinks(
java.lang.Iterable values) {
ensureTmLinksIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, tmLinks_);
onChanged();
return this;
}
/**
*
* Since version 5.4.0, Yamcs records the name of the TM link on which
* a TM packet is received together with the packet (in the tm table).
* This option, if specified, allows retrieving as part of replay only
* the packets originally received on one of the links specified.
*
*
* repeated string tmLinks = 5;
* @return This builder for chaining.
*/
public Builder clearTmLinks() {
tmLinks_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
*
* Since version 5.4.0, Yamcs records the name of the TM link on which
* a TM packet is received together with the packet (in the tm table).
* This option, if specified, allows retrieving as part of replay only
* the packets originally received on one of the links specified.
*
*
* repeated string tmLinks = 5;
* @param value The bytes of the tmLinks to add.
* @return This builder for chaining.
*/
public Builder addTmLinksBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureTmLinksIsMutable();
tmLinks_.add(value);
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:yamcs.protobuf.archive.StreamParameterValuesRequest)
}
// @@protoc_insertion_point(class_scope:yamcs.protobuf.archive.StreamParameterValuesRequest)
private static final org.yamcs.protobuf.Archive.StreamParameterValuesRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.yamcs.protobuf.Archive.StreamParameterValuesRequest();
}
public static org.yamcs.protobuf.Archive.StreamParameterValuesRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public StreamParameterValuesRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new StreamParameterValuesRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public org.yamcs.protobuf.Archive.StreamParameterValuesRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ParameterGroupInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:yamcs.protobuf.archive.ParameterGroupInfo)
com.google.protobuf.MessageOrBuilder {
/**
*
* Parameter group names
*
*
* repeated string groups = 2;
* @return A list containing the groups.
*/
java.util.List
getGroupsList();
/**
*
* Parameter group names
*
*
* repeated string groups = 2;
* @return The count of groups.
*/
int getGroupsCount();
/**
*
* Parameter group names
*
*
* repeated string groups = 2;
* @param index The index of the element to return.
* @return The groups at the given index.
*/
java.lang.String getGroups(int index);
/**
*
* Parameter group names
*
*
* repeated string groups = 2;
* @param index The index of the value to return.
* @return The bytes of the groups at the given index.
*/
com.google.protobuf.ByteString
getGroupsBytes(int index);
}
/**
* Protobuf type {@code yamcs.protobuf.archive.ParameterGroupInfo}
*/
public static final class ParameterGroupInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:yamcs.protobuf.archive.ParameterGroupInfo)
ParameterGroupInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use ParameterGroupInfo.newBuilder() to construct.
private ParameterGroupInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ParameterGroupInfo() {
groups_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ParameterGroupInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ParameterGroupInfo(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
groups_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000001;
}
groups_.add(bs);
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
groups_ = groups_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.yamcs.protobuf.Archive.internal_static_yamcs_protobuf_archive_ParameterGroupInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.yamcs.protobuf.Archive.internal_static_yamcs_protobuf_archive_ParameterGroupInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.yamcs.protobuf.Archive.ParameterGroupInfo.class, org.yamcs.protobuf.Archive.ParameterGroupInfo.Builder.class);
}
public static final int GROUPS_FIELD_NUMBER = 2;
private com.google.protobuf.LazyStringList groups_;
/**
*
* Parameter group names
*
*
* repeated string groups = 2;
* @return A list containing the groups.
*/
public com.google.protobuf.ProtocolStringList
getGroupsList() {
return groups_;
}
/**
*
* Parameter group names
*
*
* repeated string groups = 2;
* @return The count of groups.
*/
public int getGroupsCount() {
return groups_.size();
}
/**
*
* Parameter group names
*
*
* repeated string groups = 2;
* @param index The index of the element to return.
* @return The groups at the given index.
*/
public java.lang.String getGroups(int index) {
return groups_.get(index);
}
/**
*
* Parameter group names
*
*
* repeated string groups = 2;
* @param index The index of the value to return.
* @return The bytes of the groups at the given index.
*/
public com.google.protobuf.ByteString
getGroupsBytes(int index) {
return groups_.getByteString(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < groups_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, groups_.getRaw(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < groups_.size(); i++) {
dataSize += computeStringSizeNoTag(groups_.getRaw(i));
}
size += dataSize;
size += 1 * getGroupsList().size();
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.yamcs.protobuf.Archive.ParameterGroupInfo)) {
return super.equals(obj);
}
org.yamcs.protobuf.Archive.ParameterGroupInfo other = (org.yamcs.protobuf.Archive.ParameterGroupInfo) obj;
if (!getGroupsList()
.equals(other.getGroupsList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getGroupsCount() > 0) {
hash = (37 * hash) + GROUPS_FIELD_NUMBER;
hash = (53 * hash) + getGroupsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.yamcs.protobuf.Archive.ParameterGroupInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.yamcs.protobuf.Archive.ParameterGroupInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.yamcs.protobuf.Archive.ParameterGroupInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.yamcs.protobuf.Archive.ParameterGroupInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.yamcs.protobuf.Archive.ParameterGroupInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.yamcs.protobuf.Archive.ParameterGroupInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.yamcs.protobuf.Archive.ParameterGroupInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.yamcs.protobuf.Archive.ParameterGroupInfo parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.yamcs.protobuf.Archive.ParameterGroupInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.yamcs.protobuf.Archive.ParameterGroupInfo parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.yamcs.protobuf.Archive.ParameterGroupInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.yamcs.protobuf.Archive.ParameterGroupInfo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.yamcs.protobuf.Archive.ParameterGroupInfo prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code yamcs.protobuf.archive.ParameterGroupInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:yamcs.protobuf.archive.ParameterGroupInfo)
org.yamcs.protobuf.Archive.ParameterGroupInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.yamcs.protobuf.Archive.internal_static_yamcs_protobuf_archive_ParameterGroupInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.yamcs.protobuf.Archive.internal_static_yamcs_protobuf_archive_ParameterGroupInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.yamcs.protobuf.Archive.ParameterGroupInfo.class, org.yamcs.protobuf.Archive.ParameterGroupInfo.Builder.class);
}
// Construct using org.yamcs.protobuf.Archive.ParameterGroupInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
groups_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.yamcs.protobuf.Archive.internal_static_yamcs_protobuf_archive_ParameterGroupInfo_descriptor;
}
@java.lang.Override
public org.yamcs.protobuf.Archive.ParameterGroupInfo getDefaultInstanceForType() {
return org.yamcs.protobuf.Archive.ParameterGroupInfo.getDefaultInstance();
}
@java.lang.Override
public org.yamcs.protobuf.Archive.ParameterGroupInfo build() {
org.yamcs.protobuf.Archive.ParameterGroupInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.yamcs.protobuf.Archive.ParameterGroupInfo buildPartial() {
org.yamcs.protobuf.Archive.ParameterGroupInfo result = new org.yamcs.protobuf.Archive.ParameterGroupInfo(this);
int from_bitField0_ = bitField0_;
if (((bitField0_ & 0x00000001) != 0)) {
groups_ = groups_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.groups_ = groups_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.yamcs.protobuf.Archive.ParameterGroupInfo) {
return mergeFrom((org.yamcs.protobuf.Archive.ParameterGroupInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.yamcs.protobuf.Archive.ParameterGroupInfo other) {
if (other == org.yamcs.protobuf.Archive.ParameterGroupInfo.getDefaultInstance()) return this;
if (!other.groups_.isEmpty()) {
if (groups_.isEmpty()) {
groups_ = other.groups_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureGroupsIsMutable();
groups_.addAll(other.groups_);
}
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.yamcs.protobuf.Archive.ParameterGroupInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.yamcs.protobuf.Archive.ParameterGroupInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.google.protobuf.LazyStringList groups_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureGroupsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
groups_ = new com.google.protobuf.LazyStringArrayList(groups_);
bitField0_ |= 0x00000001;
}
}
/**
*
* Parameter group names
*
*
* repeated string groups = 2;
* @return A list containing the groups.
*/
public com.google.protobuf.ProtocolStringList
getGroupsList() {
return groups_.getUnmodifiableView();
}
/**
*
* Parameter group names
*
*
* repeated string groups = 2;
* @return The count of groups.
*/
public int getGroupsCount() {
return groups_.size();
}
/**
*
* Parameter group names
*
*
* repeated string groups = 2;
* @param index The index of the element to return.
* @return The groups at the given index.
*/
public java.lang.String getGroups(int index) {
return groups_.get(index);
}
/**
*
* Parameter group names
*
*
* repeated string groups = 2;
* @param index The index of the value to return.
* @return The bytes of the groups at the given index.
*/
public com.google.protobuf.ByteString
getGroupsBytes(int index) {
return groups_.getByteString(index);
}
/**
*
* Parameter group names
*
*
* repeated string groups = 2;
* @param index The index to set the value at.
* @param value The groups to set.
* @return This builder for chaining.
*/
public Builder setGroups(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureGroupsIsMutable();
groups_.set(index, value);
onChanged();
return this;
}
/**
*
* Parameter group names
*
*
* repeated string groups = 2;
* @param value The groups to add.
* @return This builder for chaining.
*/
public Builder addGroups(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureGroupsIsMutable();
groups_.add(value);
onChanged();
return this;
}
/**
*
* Parameter group names
*
*
* repeated string groups = 2;
* @param values The groups to add.
* @return This builder for chaining.
*/
public Builder addAllGroups(
java.lang.Iterable values) {
ensureGroupsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, groups_);
onChanged();
return this;
}
/**
*
* Parameter group names
*
*
* repeated string groups = 2;
* @return This builder for chaining.
*/
public Builder clearGroups() {
groups_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
*
* Parameter group names
*
*
* repeated string groups = 2;
* @param value The bytes of the groups to add.
* @return This builder for chaining.
*/
public Builder addGroupsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureGroupsIsMutable();
groups_.add(value);
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:yamcs.protobuf.archive.ParameterGroupInfo)
}
// @@protoc_insertion_point(class_scope:yamcs.protobuf.archive.ParameterGroupInfo)
private static final org.yamcs.protobuf.Archive.ParameterGroupInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.yamcs.protobuf.Archive.ParameterGroupInfo();
}
public static org.yamcs.protobuf.Archive.ParameterGroupInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ParameterGroupInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ParameterGroupInfo(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public org.yamcs.protobuf.Archive.ParameterGroupInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ListParameterGroupsRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:yamcs.protobuf.archive.ListParameterGroupsRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return Whether the instance field is set.
*/
boolean hasInstance();
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return The instance.
*/
java.lang.String getInstance();
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return The bytes for instance.
*/
com.google.protobuf.ByteString
getInstanceBytes();
}
/**
* Protobuf type {@code yamcs.protobuf.archive.ListParameterGroupsRequest}
*/
public static final class ListParameterGroupsRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:yamcs.protobuf.archive.ListParameterGroupsRequest)
ListParameterGroupsRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use ListParameterGroupsRequest.newBuilder() to construct.
private ListParameterGroupsRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ListParameterGroupsRequest() {
instance_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ListParameterGroupsRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ListParameterGroupsRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
instance_ = bs;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.yamcs.protobuf.Archive.internal_static_yamcs_protobuf_archive_ListParameterGroupsRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.yamcs.protobuf.Archive.internal_static_yamcs_protobuf_archive_ListParameterGroupsRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.yamcs.protobuf.Archive.ListParameterGroupsRequest.class, org.yamcs.protobuf.Archive.ListParameterGroupsRequest.Builder.class);
}
private int bitField0_;
public static final int INSTANCE_FIELD_NUMBER = 1;
private volatile java.lang.Object instance_;
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return Whether the instance field is set.
*/
@java.lang.Override
public boolean hasInstance() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return The instance.
*/
@java.lang.Override
public java.lang.String getInstance() {
java.lang.Object ref = instance_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
instance_ = s;
}
return s;
}
}
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return The bytes for instance.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getInstanceBytes() {
java.lang.Object ref = instance_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
instance_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instance_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instance_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.yamcs.protobuf.Archive.ListParameterGroupsRequest)) {
return super.equals(obj);
}
org.yamcs.protobuf.Archive.ListParameterGroupsRequest other = (org.yamcs.protobuf.Archive.ListParameterGroupsRequest) obj;
if (hasInstance() != other.hasInstance()) return false;
if (hasInstance()) {
if (!getInstance()
.equals(other.getInstance())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasInstance()) {
hash = (37 * hash) + INSTANCE_FIELD_NUMBER;
hash = (53 * hash) + getInstance().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.yamcs.protobuf.Archive.ListParameterGroupsRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.yamcs.protobuf.Archive.ListParameterGroupsRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.yamcs.protobuf.Archive.ListParameterGroupsRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.yamcs.protobuf.Archive.ListParameterGroupsRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.yamcs.protobuf.Archive.ListParameterGroupsRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.yamcs.protobuf.Archive.ListParameterGroupsRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.yamcs.protobuf.Archive.ListParameterGroupsRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.yamcs.protobuf.Archive.ListParameterGroupsRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.yamcs.protobuf.Archive.ListParameterGroupsRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.yamcs.protobuf.Archive.ListParameterGroupsRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.yamcs.protobuf.Archive.ListParameterGroupsRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.yamcs.protobuf.Archive.ListParameterGroupsRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.yamcs.protobuf.Archive.ListParameterGroupsRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code yamcs.protobuf.archive.ListParameterGroupsRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:yamcs.protobuf.archive.ListParameterGroupsRequest)
org.yamcs.protobuf.Archive.ListParameterGroupsRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.yamcs.protobuf.Archive.internal_static_yamcs_protobuf_archive_ListParameterGroupsRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.yamcs.protobuf.Archive.internal_static_yamcs_protobuf_archive_ListParameterGroupsRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.yamcs.protobuf.Archive.ListParameterGroupsRequest.class, org.yamcs.protobuf.Archive.ListParameterGroupsRequest.Builder.class);
}
// Construct using org.yamcs.protobuf.Archive.ListParameterGroupsRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
instance_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.yamcs.protobuf.Archive.internal_static_yamcs_protobuf_archive_ListParameterGroupsRequest_descriptor;
}
@java.lang.Override
public org.yamcs.protobuf.Archive.ListParameterGroupsRequest getDefaultInstanceForType() {
return org.yamcs.protobuf.Archive.ListParameterGroupsRequest.getDefaultInstance();
}
@java.lang.Override
public org.yamcs.protobuf.Archive.ListParameterGroupsRequest build() {
org.yamcs.protobuf.Archive.ListParameterGroupsRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.yamcs.protobuf.Archive.ListParameterGroupsRequest buildPartial() {
org.yamcs.protobuf.Archive.ListParameterGroupsRequest result = new org.yamcs.protobuf.Archive.ListParameterGroupsRequest(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
to_bitField0_ |= 0x00000001;
}
result.instance_ = instance_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.yamcs.protobuf.Archive.ListParameterGroupsRequest) {
return mergeFrom((org.yamcs.protobuf.Archive.ListParameterGroupsRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.yamcs.protobuf.Archive.ListParameterGroupsRequest other) {
if (other == org.yamcs.protobuf.Archive.ListParameterGroupsRequest.getDefaultInstance()) return this;
if (other.hasInstance()) {
bitField0_ |= 0x00000001;
instance_ = other.instance_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.yamcs.protobuf.Archive.ListParameterGroupsRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.yamcs.protobuf.Archive.ListParameterGroupsRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object instance_ = "";
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return Whether the instance field is set.
*/
public boolean hasInstance() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return The instance.
*/
public java.lang.String getInstance() {
java.lang.Object ref = instance_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
instance_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return The bytes for instance.
*/
public com.google.protobuf.ByteString
getInstanceBytes() {
java.lang.Object ref = instance_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
instance_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @param value The instance to set.
* @return This builder for chaining.
*/
public Builder setInstance(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
instance_ = value;
onChanged();
return this;
}
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return This builder for chaining.
*/
public Builder clearInstance() {
bitField0_ = (bitField0_ & ~0x00000001);
instance_ = getDefaultInstance().getInstance();
onChanged();
return this;
}
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @param value The bytes for instance to set.
* @return This builder for chaining.
*/
public Builder setInstanceBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
instance_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:yamcs.protobuf.archive.ListParameterGroupsRequest)
}
// @@protoc_insertion_point(class_scope:yamcs.protobuf.archive.ListParameterGroupsRequest)
private static final org.yamcs.protobuf.Archive.ListParameterGroupsRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.yamcs.protobuf.Archive.ListParameterGroupsRequest();
}
public static org.yamcs.protobuf.Archive.ListParameterGroupsRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ListParameterGroupsRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ListParameterGroupsRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public org.yamcs.protobuf.Archive.ListParameterGroupsRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ListParameterHistoryRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:yamcs.protobuf.archive.ListParameterHistoryRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return Whether the instance field is set.
*/
boolean hasInstance();
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return The instance.
*/
java.lang.String getInstance();
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return The bytes for instance.
*/
com.google.protobuf.ByteString
getInstanceBytes();
/**
*
* Parameter name
*
*
* optional string name = 2;
* @return Whether the name field is set.
*/
boolean hasName();
/**
*
* Parameter name
*
*
* optional string name = 2;
* @return The name.
*/
java.lang.String getName();
/**
*
* Parameter name
*
*
* optional string name = 2;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* The zero-based row number at which to start outputting results. Default: ``0``.
*
*
* optional int64 pos = 3;
* @return Whether the pos field is set.
*/
boolean hasPos();
/**
*
* The zero-based row number at which to start outputting results. Default: ``0``.
*
*
* optional int64 pos = 3;
* @return The pos.
*/
long getPos();
/**
*
* The maximum number of returned records per page. Choose this value too high
* and you risk hitting the maximum response size limit enforced by the server.
* Default: ``100``.
*
*
* optional int32 limit = 4;
* @return Whether the limit field is set.
*/
boolean hasLimit();
/**
*
* The maximum number of returned records per page. Choose this value too high
* and you risk hitting the maximum response size limit enforced by the server.
* Default: ``100``.
*
*
* optional int32 limit = 4;
* @return The limit.
*/
int getLimit();
/**
*
* Whether to filter out consecutive identical values. Default ``no``.
*
*
* optional bool norepeat = 5;
* @return Whether the norepeat field is set.
*/
boolean hasNorepeat();
/**
*
* Whether to filter out consecutive identical values. Default ``no``.
*
*
* optional bool norepeat = 5;
* @return The norepeat.
*/
boolean getNorepeat();
/**
*
* Filter the lower bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 6;
* @return Whether the start field is set.
*/
boolean hasStart();
/**
*
* Filter the lower bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 6;
* @return The start.
*/
com.google.protobuf.Timestamp getStart();
/**
*
* Filter the lower bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 6;
*/
com.google.protobuf.TimestampOrBuilder getStartOrBuilder();
/**
*
* Filter the upper bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 7;
* @return Whether the stop field is set.
*/
boolean hasStop();
/**
*
* Filter the upper bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 7;
* @return The stop.
*/
com.google.protobuf.Timestamp getStop();
/**
*
* Filter the upper bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 7;
*/
com.google.protobuf.TimestampOrBuilder getStopOrBuilder();
/**
*
* The order of the returned results. Can be either ``asc`` or ``desc``.
* Default: ``desc``.
*
*
* optional string order = 8;
* @return Whether the order field is set.
*/
boolean hasOrder();
/**
*
* The order of the returned results. Can be either ``asc`` or ``desc``.
* Default: ``desc``.
*
*
* optional string order = 8;
* @return The order.
*/
java.lang.String getOrder();
/**
*
* The order of the returned results. Can be either ``asc`` or ``desc``.
* Default: ``desc``.
*
*
* optional string order = 8;
* @return The bytes for order.
*/
com.google.protobuf.ByteString
getOrderBytes();
/**
*
* Disable loading of parameters from the parameter cache. Default: ``false``.
*
*
* optional bool norealtime = 9;
* @return Whether the norealtime field is set.
*/
boolean hasNorealtime();
/**
*
* Disable loading of parameters from the parameter cache. Default: ``false``.
*
*
* optional bool norealtime = 9;
* @return The norealtime.
*/
boolean getNorealtime();
/**
*
* The name of the processor from which to use the parameter cache.
* Default: ``realtime``.
*
*
* optional string processor = 10;
* @return Whether the processor field is set.
*/
boolean hasProcessor();
/**
*
* The name of the processor from which to use the parameter cache.
* Default: ``realtime``.
*
*
* optional string processor = 10;
* @return The processor.
*/
java.lang.String getProcessor();
/**
*
* The name of the processor from which to use the parameter cache.
* Default: ``realtime``.
*
*
* optional string processor = 10;
* @return The bytes for processor.
*/
com.google.protobuf.ByteString
getProcessorBytes();
/**
*
* Specifies how to retrieve the parameters. Either ``ParameterArchive`` or
* ``replay``. If ``replay`` is specified, a replay processor will be created
* and data will be processed with the active Mission Database. Note that this
* is much slower than receiving data from the ParameterArchive.
* Default: ``ParameterArchive``.
*
*
* optional string source = 11;
* @return Whether the source field is set.
*/
boolean hasSource();
/**
*
* Specifies how to retrieve the parameters. Either ``ParameterArchive`` or
* ``replay``. If ``replay`` is specified, a replay processor will be created
* and data will be processed with the active Mission Database. Note that this
* is much slower than receiving data from the ParameterArchive.
* Default: ``ParameterArchive``.
*
*
* optional string source = 11;
* @return The source.
*/
java.lang.String getSource();
/**
*
* Specifies how to retrieve the parameters. Either ``ParameterArchive`` or
* ``replay``. If ``replay`` is specified, a replay processor will be created
* and data will be processed with the active Mission Database. Note that this
* is much slower than receiving data from the ParameterArchive.
* Default: ``ParameterArchive``.
*
*
* optional string source = 11;
* @return The bytes for source.
*/
com.google.protobuf.ByteString
getSourceBytes();
/**
*
* If set, truncate binary values to the specified byte length.
* This may be necessary when Yamcs contains large binary values.
*
*
* optional int32 maxBytes = 13;
* @return Whether the maxBytes field is set.
*/
boolean hasMaxBytes();
/**
*
* If set, truncate binary values to the specified byte length.
* This may be necessary when Yamcs contains large binary values.
*
*
* optional int32 maxBytes = 13;
* @return The maxBytes.
*/
int getMaxBytes();
/**
*
* Continuation token returned by a previous page response.
*
*
* optional string next = 12;
* @return Whether the next field is set.
*/
boolean hasNext();
/**
*
* Continuation token returned by a previous page response.
*
*
* optional string next = 12;
* @return The next.
*/
java.lang.String getNext();
/**
*
* Continuation token returned by a previous page response.
*
*
* optional string next = 12;
* @return The bytes for next.
*/
com.google.protobuf.ByteString
getNextBytes();
}
/**
* Protobuf type {@code yamcs.protobuf.archive.ListParameterHistoryRequest}
*/
public static final class ListParameterHistoryRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:yamcs.protobuf.archive.ListParameterHistoryRequest)
ListParameterHistoryRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use ListParameterHistoryRequest.newBuilder() to construct.
private ListParameterHistoryRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ListParameterHistoryRequest() {
instance_ = "";
name_ = "";
order_ = "";
processor_ = "";
source_ = "";
next_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ListParameterHistoryRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ListParameterHistoryRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
instance_ = bs;
break;
}
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
name_ = bs;
break;
}
case 24: {
bitField0_ |= 0x00000004;
pos_ = input.readInt64();
break;
}
case 32: {
bitField0_ |= 0x00000008;
limit_ = input.readInt32();
break;
}
case 40: {
bitField0_ |= 0x00000010;
norepeat_ = input.readBool();
break;
}
case 50: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (((bitField0_ & 0x00000020) != 0)) {
subBuilder = start_.toBuilder();
}
start_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(start_);
start_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000020;
break;
}
case 58: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (((bitField0_ & 0x00000040) != 0)) {
subBuilder = stop_.toBuilder();
}
stop_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(stop_);
stop_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000040;
break;
}
case 66: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000080;
order_ = bs;
break;
}
case 72: {
bitField0_ |= 0x00000100;
norealtime_ = input.readBool();
break;
}
case 82: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000200;
processor_ = bs;
break;
}
case 90: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000400;
source_ = bs;
break;
}
case 98: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00001000;
next_ = bs;
break;
}
case 104: {
bitField0_ |= 0x00000800;
maxBytes_ = input.readInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.yamcs.protobuf.Archive.internal_static_yamcs_protobuf_archive_ListParameterHistoryRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.yamcs.protobuf.Archive.internal_static_yamcs_protobuf_archive_ListParameterHistoryRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.yamcs.protobuf.Archive.ListParameterHistoryRequest.class, org.yamcs.protobuf.Archive.ListParameterHistoryRequest.Builder.class);
}
private int bitField0_;
public static final int INSTANCE_FIELD_NUMBER = 1;
private volatile java.lang.Object instance_;
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return Whether the instance field is set.
*/
@java.lang.Override
public boolean hasInstance() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return The instance.
*/
@java.lang.Override
public java.lang.String getInstance() {
java.lang.Object ref = instance_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
instance_ = s;
}
return s;
}
}
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return The bytes for instance.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getInstanceBytes() {
java.lang.Object ref = instance_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
instance_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NAME_FIELD_NUMBER = 2;
private volatile java.lang.Object name_;
/**
*
* Parameter name
*
*
* optional string name = 2;
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* Parameter name
*
*
* optional string name = 2;
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
*
* Parameter name
*
*
* optional string name = 2;
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int POS_FIELD_NUMBER = 3;
private long pos_;
/**
*
* The zero-based row number at which to start outputting results. Default: ``0``.
*
*
* optional int64 pos = 3;
* @return Whether the pos field is set.
*/
@java.lang.Override
public boolean hasPos() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
* The zero-based row number at which to start outputting results. Default: ``0``.
*
*
* optional int64 pos = 3;
* @return The pos.
*/
@java.lang.Override
public long getPos() {
return pos_;
}
public static final int LIMIT_FIELD_NUMBER = 4;
private int limit_;
/**
*
* The maximum number of returned records per page. Choose this value too high
* and you risk hitting the maximum response size limit enforced by the server.
* Default: ``100``.
*
*
* optional int32 limit = 4;
* @return Whether the limit field is set.
*/
@java.lang.Override
public boolean hasLimit() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
*
* The maximum number of returned records per page. Choose this value too high
* and you risk hitting the maximum response size limit enforced by the server.
* Default: ``100``.
*
*
* optional int32 limit = 4;
* @return The limit.
*/
@java.lang.Override
public int getLimit() {
return limit_;
}
public static final int NOREPEAT_FIELD_NUMBER = 5;
private boolean norepeat_;
/**
*
* Whether to filter out consecutive identical values. Default ``no``.
*
*
* optional bool norepeat = 5;
* @return Whether the norepeat field is set.
*/
@java.lang.Override
public boolean hasNorepeat() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
*
* Whether to filter out consecutive identical values. Default ``no``.
*
*
* optional bool norepeat = 5;
* @return The norepeat.
*/
@java.lang.Override
public boolean getNorepeat() {
return norepeat_;
}
public static final int START_FIELD_NUMBER = 6;
private com.google.protobuf.Timestamp start_;
/**
*
* Filter the lower bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 6;
* @return Whether the start field is set.
*/
@java.lang.Override
public boolean hasStart() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
*
* Filter the lower bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 6;
* @return The start.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getStart() {
return start_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : start_;
}
/**
*
* Filter the lower bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 6;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getStartOrBuilder() {
return start_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : start_;
}
public static final int STOP_FIELD_NUMBER = 7;
private com.google.protobuf.Timestamp stop_;
/**
*
* Filter the upper bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 7;
* @return Whether the stop field is set.
*/
@java.lang.Override
public boolean hasStop() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
*
* Filter the upper bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 7;
* @return The stop.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getStop() {
return stop_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stop_;
}
/**
*
* Filter the upper bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 7;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getStopOrBuilder() {
return stop_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stop_;
}
public static final int ORDER_FIELD_NUMBER = 8;
private volatile java.lang.Object order_;
/**
*
* The order of the returned results. Can be either ``asc`` or ``desc``.
* Default: ``desc``.
*
*
* optional string order = 8;
* @return Whether the order field is set.
*/
@java.lang.Override
public boolean hasOrder() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
*
* The order of the returned results. Can be either ``asc`` or ``desc``.
* Default: ``desc``.
*
*
* optional string order = 8;
* @return The order.
*/
@java.lang.Override
public java.lang.String getOrder() {
java.lang.Object ref = order_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
order_ = s;
}
return s;
}
}
/**
*
* The order of the returned results. Can be either ``asc`` or ``desc``.
* Default: ``desc``.
*
*
* optional string order = 8;
* @return The bytes for order.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOrderBytes() {
java.lang.Object ref = order_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
order_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NOREALTIME_FIELD_NUMBER = 9;
private boolean norealtime_;
/**
*
* Disable loading of parameters from the parameter cache. Default: ``false``.
*
*
* optional bool norealtime = 9;
* @return Whether the norealtime field is set.
*/
@java.lang.Override
public boolean hasNorealtime() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
*
* Disable loading of parameters from the parameter cache. Default: ``false``.
*
*
* optional bool norealtime = 9;
* @return The norealtime.
*/
@java.lang.Override
public boolean getNorealtime() {
return norealtime_;
}
public static final int PROCESSOR_FIELD_NUMBER = 10;
private volatile java.lang.Object processor_;
/**
*
* The name of the processor from which to use the parameter cache.
* Default: ``realtime``.
*
*
* optional string processor = 10;
* @return Whether the processor field is set.
*/
@java.lang.Override
public boolean hasProcessor() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
*
* The name of the processor from which to use the parameter cache.
* Default: ``realtime``.
*
*
* optional string processor = 10;
* @return The processor.
*/
@java.lang.Override
public java.lang.String getProcessor() {
java.lang.Object ref = processor_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
processor_ = s;
}
return s;
}
}
/**
*
* The name of the processor from which to use the parameter cache.
* Default: ``realtime``.
*
*
* optional string processor = 10;
* @return The bytes for processor.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getProcessorBytes() {
java.lang.Object ref = processor_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
processor_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SOURCE_FIELD_NUMBER = 11;
private volatile java.lang.Object source_;
/**
*
* Specifies how to retrieve the parameters. Either ``ParameterArchive`` or
* ``replay``. If ``replay`` is specified, a replay processor will be created
* and data will be processed with the active Mission Database. Note that this
* is much slower than receiving data from the ParameterArchive.
* Default: ``ParameterArchive``.
*
*
* optional string source = 11;
* @return Whether the source field is set.
*/
@java.lang.Override
public boolean hasSource() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
*
* Specifies how to retrieve the parameters. Either ``ParameterArchive`` or
* ``replay``. If ``replay`` is specified, a replay processor will be created
* and data will be processed with the active Mission Database. Note that this
* is much slower than receiving data from the ParameterArchive.
* Default: ``ParameterArchive``.
*
*
* optional string source = 11;
* @return The source.
*/
@java.lang.Override
public java.lang.String getSource() {
java.lang.Object ref = source_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
source_ = s;
}
return s;
}
}
/**
*
* Specifies how to retrieve the parameters. Either ``ParameterArchive`` or
* ``replay``. If ``replay`` is specified, a replay processor will be created
* and data will be processed with the active Mission Database. Note that this
* is much slower than receiving data from the ParameterArchive.
* Default: ``ParameterArchive``.
*
*
* optional string source = 11;
* @return The bytes for source.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSourceBytes() {
java.lang.Object ref = source_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
source_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MAXBYTES_FIELD_NUMBER = 13;
private int maxBytes_;
/**
*
* If set, truncate binary values to the specified byte length.
* This may be necessary when Yamcs contains large binary values.
*
*
* optional int32 maxBytes = 13;
* @return Whether the maxBytes field is set.
*/
@java.lang.Override
public boolean hasMaxBytes() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
*
* If set, truncate binary values to the specified byte length.
* This may be necessary when Yamcs contains large binary values.
*
*
* optional int32 maxBytes = 13;
* @return The maxBytes.
*/
@java.lang.Override
public int getMaxBytes() {
return maxBytes_;
}
public static final int NEXT_FIELD_NUMBER = 12;
private volatile java.lang.Object next_;
/**
*
* Continuation token returned by a previous page response.
*
*
* optional string next = 12;
* @return Whether the next field is set.
*/
@java.lang.Override
public boolean hasNext() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
*
* Continuation token returned by a previous page response.
*
*
* optional string next = 12;
* @return The next.
*/
@java.lang.Override
public java.lang.String getNext() {
java.lang.Object ref = next_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
next_ = s;
}
return s;
}
}
/**
*
* Continuation token returned by a previous page response.
*
*
* optional string next = 12;
* @return The bytes for next.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNextBytes() {
java.lang.Object ref = next_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
next_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instance_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(3, pos_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeInt32(4, limit_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeBool(5, norepeat_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeMessage(6, getStart());
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeMessage(7, getStop());
}
if (((bitField0_ & 0x00000080) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, order_);
}
if (((bitField0_ & 0x00000100) != 0)) {
output.writeBool(9, norealtime_);
}
if (((bitField0_ & 0x00000200) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, processor_);
}
if (((bitField0_ & 0x00000400) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, source_);
}
if (((bitField0_ & 0x00001000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 12, next_);
}
if (((bitField0_ & 0x00000800) != 0)) {
output.writeInt32(13, maxBytes_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instance_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, pos_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, limit_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(5, norepeat_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getStart());
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getStop());
}
if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, order_);
}
if (((bitField0_ & 0x00000100) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(9, norealtime_);
}
if (((bitField0_ & 0x00000200) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, processor_);
}
if (((bitField0_ & 0x00000400) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, source_);
}
if (((bitField0_ & 0x00001000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, next_);
}
if (((bitField0_ & 0x00000800) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(13, maxBytes_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.yamcs.protobuf.Archive.ListParameterHistoryRequest)) {
return super.equals(obj);
}
org.yamcs.protobuf.Archive.ListParameterHistoryRequest other = (org.yamcs.protobuf.Archive.ListParameterHistoryRequest) obj;
if (hasInstance() != other.hasInstance()) return false;
if (hasInstance()) {
if (!getInstance()
.equals(other.getInstance())) return false;
}
if (hasName() != other.hasName()) return false;
if (hasName()) {
if (!getName()
.equals(other.getName())) return false;
}
if (hasPos() != other.hasPos()) return false;
if (hasPos()) {
if (getPos()
!= other.getPos()) return false;
}
if (hasLimit() != other.hasLimit()) return false;
if (hasLimit()) {
if (getLimit()
!= other.getLimit()) return false;
}
if (hasNorepeat() != other.hasNorepeat()) return false;
if (hasNorepeat()) {
if (getNorepeat()
!= other.getNorepeat()) return false;
}
if (hasStart() != other.hasStart()) return false;
if (hasStart()) {
if (!getStart()
.equals(other.getStart())) return false;
}
if (hasStop() != other.hasStop()) return false;
if (hasStop()) {
if (!getStop()
.equals(other.getStop())) return false;
}
if (hasOrder() != other.hasOrder()) return false;
if (hasOrder()) {
if (!getOrder()
.equals(other.getOrder())) return false;
}
if (hasNorealtime() != other.hasNorealtime()) return false;
if (hasNorealtime()) {
if (getNorealtime()
!= other.getNorealtime()) return false;
}
if (hasProcessor() != other.hasProcessor()) return false;
if (hasProcessor()) {
if (!getProcessor()
.equals(other.getProcessor())) return false;
}
if (hasSource() != other.hasSource()) return false;
if (hasSource()) {
if (!getSource()
.equals(other.getSource())) return false;
}
if (hasMaxBytes() != other.hasMaxBytes()) return false;
if (hasMaxBytes()) {
if (getMaxBytes()
!= other.getMaxBytes()) return false;
}
if (hasNext() != other.hasNext()) return false;
if (hasNext()) {
if (!getNext()
.equals(other.getNext())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasInstance()) {
hash = (37 * hash) + INSTANCE_FIELD_NUMBER;
hash = (53 * hash) + getInstance().hashCode();
}
if (hasName()) {
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
}
if (hasPos()) {
hash = (37 * hash) + POS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getPos());
}
if (hasLimit()) {
hash = (37 * hash) + LIMIT_FIELD_NUMBER;
hash = (53 * hash) + getLimit();
}
if (hasNorepeat()) {
hash = (37 * hash) + NOREPEAT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getNorepeat());
}
if (hasStart()) {
hash = (37 * hash) + START_FIELD_NUMBER;
hash = (53 * hash) + getStart().hashCode();
}
if (hasStop()) {
hash = (37 * hash) + STOP_FIELD_NUMBER;
hash = (53 * hash) + getStop().hashCode();
}
if (hasOrder()) {
hash = (37 * hash) + ORDER_FIELD_NUMBER;
hash = (53 * hash) + getOrder().hashCode();
}
if (hasNorealtime()) {
hash = (37 * hash) + NOREALTIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getNorealtime());
}
if (hasProcessor()) {
hash = (37 * hash) + PROCESSOR_FIELD_NUMBER;
hash = (53 * hash) + getProcessor().hashCode();
}
if (hasSource()) {
hash = (37 * hash) + SOURCE_FIELD_NUMBER;
hash = (53 * hash) + getSource().hashCode();
}
if (hasMaxBytes()) {
hash = (37 * hash) + MAXBYTES_FIELD_NUMBER;
hash = (53 * hash) + getMaxBytes();
}
if (hasNext()) {
hash = (37 * hash) + NEXT_FIELD_NUMBER;
hash = (53 * hash) + getNext().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.yamcs.protobuf.Archive.ListParameterHistoryRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.yamcs.protobuf.Archive.ListParameterHistoryRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.yamcs.protobuf.Archive.ListParameterHistoryRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.yamcs.protobuf.Archive.ListParameterHistoryRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.yamcs.protobuf.Archive.ListParameterHistoryRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.yamcs.protobuf.Archive.ListParameterHistoryRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.yamcs.protobuf.Archive.ListParameterHistoryRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.yamcs.protobuf.Archive.ListParameterHistoryRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.yamcs.protobuf.Archive.ListParameterHistoryRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.yamcs.protobuf.Archive.ListParameterHistoryRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.yamcs.protobuf.Archive.ListParameterHistoryRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.yamcs.protobuf.Archive.ListParameterHistoryRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.yamcs.protobuf.Archive.ListParameterHistoryRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code yamcs.protobuf.archive.ListParameterHistoryRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:yamcs.protobuf.archive.ListParameterHistoryRequest)
org.yamcs.protobuf.Archive.ListParameterHistoryRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.yamcs.protobuf.Archive.internal_static_yamcs_protobuf_archive_ListParameterHistoryRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.yamcs.protobuf.Archive.internal_static_yamcs_protobuf_archive_ListParameterHistoryRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.yamcs.protobuf.Archive.ListParameterHistoryRequest.class, org.yamcs.protobuf.Archive.ListParameterHistoryRequest.Builder.class);
}
// Construct using org.yamcs.protobuf.Archive.ListParameterHistoryRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStartFieldBuilder();
getStopFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
instance_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
name_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
pos_ = 0L;
bitField0_ = (bitField0_ & ~0x00000004);
limit_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
norepeat_ = false;
bitField0_ = (bitField0_ & ~0x00000010);
if (startBuilder_ == null) {
start_ = null;
} else {
startBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000020);
if (stopBuilder_ == null) {
stop_ = null;
} else {
stopBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000040);
order_ = "";
bitField0_ = (bitField0_ & ~0x00000080);
norealtime_ = false;
bitField0_ = (bitField0_ & ~0x00000100);
processor_ = "";
bitField0_ = (bitField0_ & ~0x00000200);
source_ = "";
bitField0_ = (bitField0_ & ~0x00000400);
maxBytes_ = 0;
bitField0_ = (bitField0_ & ~0x00000800);
next_ = "";
bitField0_ = (bitField0_ & ~0x00001000);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.yamcs.protobuf.Archive.internal_static_yamcs_protobuf_archive_ListParameterHistoryRequest_descriptor;
}
@java.lang.Override
public org.yamcs.protobuf.Archive.ListParameterHistoryRequest getDefaultInstanceForType() {
return org.yamcs.protobuf.Archive.ListParameterHistoryRequest.getDefaultInstance();
}
@java.lang.Override
public org.yamcs.protobuf.Archive.ListParameterHistoryRequest build() {
org.yamcs.protobuf.Archive.ListParameterHistoryRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.yamcs.protobuf.Archive.ListParameterHistoryRequest buildPartial() {
org.yamcs.protobuf.Archive.ListParameterHistoryRequest result = new org.yamcs.protobuf.Archive.ListParameterHistoryRequest(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
to_bitField0_ |= 0x00000001;
}
result.instance_ = instance_;
if (((from_bitField0_ & 0x00000002) != 0)) {
to_bitField0_ |= 0x00000002;
}
result.name_ = name_;
if (((from_bitField0_ & 0x00000004) != 0)) {
result.pos_ = pos_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.limit_ = limit_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.norepeat_ = norepeat_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
if (startBuilder_ == null) {
result.start_ = start_;
} else {
result.start_ = startBuilder_.build();
}
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
if (stopBuilder_ == null) {
result.stop_ = stop_;
} else {
result.stop_ = stopBuilder_.build();
}
to_bitField0_ |= 0x00000040;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
to_bitField0_ |= 0x00000080;
}
result.order_ = order_;
if (((from_bitField0_ & 0x00000100) != 0)) {
result.norealtime_ = norealtime_;
to_bitField0_ |= 0x00000100;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
to_bitField0_ |= 0x00000200;
}
result.processor_ = processor_;
if (((from_bitField0_ & 0x00000400) != 0)) {
to_bitField0_ |= 0x00000400;
}
result.source_ = source_;
if (((from_bitField0_ & 0x00000800) != 0)) {
result.maxBytes_ = maxBytes_;
to_bitField0_ |= 0x00000800;
}
if (((from_bitField0_ & 0x00001000) != 0)) {
to_bitField0_ |= 0x00001000;
}
result.next_ = next_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.yamcs.protobuf.Archive.ListParameterHistoryRequest) {
return mergeFrom((org.yamcs.protobuf.Archive.ListParameterHistoryRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.yamcs.protobuf.Archive.ListParameterHistoryRequest other) {
if (other == org.yamcs.protobuf.Archive.ListParameterHistoryRequest.getDefaultInstance()) return this;
if (other.hasInstance()) {
bitField0_ |= 0x00000001;
instance_ = other.instance_;
onChanged();
}
if (other.hasName()) {
bitField0_ |= 0x00000002;
name_ = other.name_;
onChanged();
}
if (other.hasPos()) {
setPos(other.getPos());
}
if (other.hasLimit()) {
setLimit(other.getLimit());
}
if (other.hasNorepeat()) {
setNorepeat(other.getNorepeat());
}
if (other.hasStart()) {
mergeStart(other.getStart());
}
if (other.hasStop()) {
mergeStop(other.getStop());
}
if (other.hasOrder()) {
bitField0_ |= 0x00000080;
order_ = other.order_;
onChanged();
}
if (other.hasNorealtime()) {
setNorealtime(other.getNorealtime());
}
if (other.hasProcessor()) {
bitField0_ |= 0x00000200;
processor_ = other.processor_;
onChanged();
}
if (other.hasSource()) {
bitField0_ |= 0x00000400;
source_ = other.source_;
onChanged();
}
if (other.hasMaxBytes()) {
setMaxBytes(other.getMaxBytes());
}
if (other.hasNext()) {
bitField0_ |= 0x00001000;
next_ = other.next_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.yamcs.protobuf.Archive.ListParameterHistoryRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.yamcs.protobuf.Archive.ListParameterHistoryRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object instance_ = "";
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return Whether the instance field is set.
*/
public boolean hasInstance() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return The instance.
*/
public java.lang.String getInstance() {
java.lang.Object ref = instance_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
instance_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return The bytes for instance.
*/
public com.google.protobuf.ByteString
getInstanceBytes() {
java.lang.Object ref = instance_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
instance_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @param value The instance to set.
* @return This builder for chaining.
*/
public Builder setInstance(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
instance_ = value;
onChanged();
return this;
}
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return This builder for chaining.
*/
public Builder clearInstance() {
bitField0_ = (bitField0_ & ~0x00000001);
instance_ = getDefaultInstance().getInstance();
onChanged();
return this;
}
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @param value The bytes for instance to set.
* @return This builder for chaining.
*/
public Builder setInstanceBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
instance_ = value;
onChanged();
return this;
}
private java.lang.Object name_ = "";
/**
*
* Parameter name
*
*
* optional string name = 2;
* @return Whether the name field is set.
*/
public boolean hasName() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* Parameter name
*
*
* optional string name = 2;
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Parameter name
*
*
* optional string name = 2;
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Parameter name
*
*
* optional string name = 2;
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
name_ = value;
onChanged();
return this;
}
/**
*
* Parameter name
*
*
* optional string name = 2;
* @return This builder for chaining.
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000002);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
*
* Parameter name
*
*
* optional string name = 2;
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
name_ = value;
onChanged();
return this;
}
private long pos_ ;
/**
*
* The zero-based row number at which to start outputting results. Default: ``0``.
*
*
* optional int64 pos = 3;
* @return Whether the pos field is set.
*/
@java.lang.Override
public boolean hasPos() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
* The zero-based row number at which to start outputting results. Default: ``0``.
*
*
* optional int64 pos = 3;
* @return The pos.
*/
@java.lang.Override
public long getPos() {
return pos_;
}
/**
*
* The zero-based row number at which to start outputting results. Default: ``0``.
*
*
* optional int64 pos = 3;
* @param value The pos to set.
* @return This builder for chaining.
*/
public Builder setPos(long value) {
bitField0_ |= 0x00000004;
pos_ = value;
onChanged();
return this;
}
/**
*
* The zero-based row number at which to start outputting results. Default: ``0``.
*
*
* optional int64 pos = 3;
* @return This builder for chaining.
*/
public Builder clearPos() {
bitField0_ = (bitField0_ & ~0x00000004);
pos_ = 0L;
onChanged();
return this;
}
private int limit_ ;
/**
*
* The maximum number of returned records per page. Choose this value too high
* and you risk hitting the maximum response size limit enforced by the server.
* Default: ``100``.
*
*
* optional int32 limit = 4;
* @return Whether the limit field is set.
*/
@java.lang.Override
public boolean hasLimit() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
*
* The maximum number of returned records per page. Choose this value too high
* and you risk hitting the maximum response size limit enforced by the server.
* Default: ``100``.
*
*
* optional int32 limit = 4;
* @return The limit.
*/
@java.lang.Override
public int getLimit() {
return limit_;
}
/**
*
* The maximum number of returned records per page. Choose this value too high
* and you risk hitting the maximum response size limit enforced by the server.
* Default: ``100``.
*
*
* optional int32 limit = 4;
* @param value The limit to set.
* @return This builder for chaining.
*/
public Builder setLimit(int value) {
bitField0_ |= 0x00000008;
limit_ = value;
onChanged();
return this;
}
/**
*
* The maximum number of returned records per page. Choose this value too high
* and you risk hitting the maximum response size limit enforced by the server.
* Default: ``100``.
*
*
* optional int32 limit = 4;
* @return This builder for chaining.
*/
public Builder clearLimit() {
bitField0_ = (bitField0_ & ~0x00000008);
limit_ = 0;
onChanged();
return this;
}
private boolean norepeat_ ;
/**
*
* Whether to filter out consecutive identical values. Default ``no``.
*
*
* optional bool norepeat = 5;
* @return Whether the norepeat field is set.
*/
@java.lang.Override
public boolean hasNorepeat() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
*
* Whether to filter out consecutive identical values. Default ``no``.
*
*
* optional bool norepeat = 5;
* @return The norepeat.
*/
@java.lang.Override
public boolean getNorepeat() {
return norepeat_;
}
/**
*
* Whether to filter out consecutive identical values. Default ``no``.
*
*
* optional bool norepeat = 5;
* @param value The norepeat to set.
* @return This builder for chaining.
*/
public Builder setNorepeat(boolean value) {
bitField0_ |= 0x00000010;
norepeat_ = value;
onChanged();
return this;
}
/**
*
* Whether to filter out consecutive identical values. Default ``no``.
*
*
* optional bool norepeat = 5;
* @return This builder for chaining.
*/
public Builder clearNorepeat() {
bitField0_ = (bitField0_ & ~0x00000010);
norepeat_ = false;
onChanged();
return this;
}
private com.google.protobuf.Timestamp start_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startBuilder_;
/**
*
* Filter the lower bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 6;
* @return Whether the start field is set.
*/
public boolean hasStart() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
*
* Filter the lower bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 6;
* @return The start.
*/
public com.google.protobuf.Timestamp getStart() {
if (startBuilder_ == null) {
return start_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : start_;
} else {
return startBuilder_.getMessage();
}
}
/**
*
* Filter the lower bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 6;
*/
public Builder setStart(com.google.protobuf.Timestamp value) {
if (startBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
start_ = value;
onChanged();
} else {
startBuilder_.setMessage(value);
}
bitField0_ |= 0x00000020;
return this;
}
/**
*
* Filter the lower bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 6;
*/
public Builder setStart(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (startBuilder_ == null) {
start_ = builderForValue.build();
onChanged();
} else {
startBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000020;
return this;
}
/**
*
* Filter the lower bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 6;
*/
public Builder mergeStart(com.google.protobuf.Timestamp value) {
if (startBuilder_ == null) {
if (((bitField0_ & 0x00000020) != 0) &&
start_ != null &&
start_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
start_ =
com.google.protobuf.Timestamp.newBuilder(start_).mergeFrom(value).buildPartial();
} else {
start_ = value;
}
onChanged();
} else {
startBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000020;
return this;
}
/**
*
* Filter the lower bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 6;
*/
public Builder clearStart() {
if (startBuilder_ == null) {
start_ = null;
onChanged();
} else {
startBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000020);
return this;
}
/**
*
* Filter the lower bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 6;
*/
public com.google.protobuf.Timestamp.Builder getStartBuilder() {
bitField0_ |= 0x00000020;
onChanged();
return getStartFieldBuilder().getBuilder();
}
/**
*
* Filter the lower bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 6;
*/
public com.google.protobuf.TimestampOrBuilder getStartOrBuilder() {
if (startBuilder_ != null) {
return startBuilder_.getMessageOrBuilder();
} else {
return start_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : start_;
}
}
/**
*
* Filter the lower bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getStartFieldBuilder() {
if (startBuilder_ == null) {
startBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getStart(),
getParentForChildren(),
isClean());
start_ = null;
}
return startBuilder_;
}
private com.google.protobuf.Timestamp stop_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> stopBuilder_;
/**
*
* Filter the upper bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 7;
* @return Whether the stop field is set.
*/
public boolean hasStop() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
*
* Filter the upper bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 7;
* @return The stop.
*/
public com.google.protobuf.Timestamp getStop() {
if (stopBuilder_ == null) {
return stop_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stop_;
} else {
return stopBuilder_.getMessage();
}
}
/**
*
* Filter the upper bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 7;
*/
public Builder setStop(com.google.protobuf.Timestamp value) {
if (stopBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
stop_ = value;
onChanged();
} else {
stopBuilder_.setMessage(value);
}
bitField0_ |= 0x00000040;
return this;
}
/**
*
* Filter the upper bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 7;
*/
public Builder setStop(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (stopBuilder_ == null) {
stop_ = builderForValue.build();
onChanged();
} else {
stopBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000040;
return this;
}
/**
*
* Filter the upper bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 7;
*/
public Builder mergeStop(com.google.protobuf.Timestamp value) {
if (stopBuilder_ == null) {
if (((bitField0_ & 0x00000040) != 0) &&
stop_ != null &&
stop_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
stop_ =
com.google.protobuf.Timestamp.newBuilder(stop_).mergeFrom(value).buildPartial();
} else {
stop_ = value;
}
onChanged();
} else {
stopBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000040;
return this;
}
/**
*
* Filter the upper bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 7;
*/
public Builder clearStop() {
if (stopBuilder_ == null) {
stop_ = null;
onChanged();
} else {
stopBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000040);
return this;
}
/**
*
* Filter the upper bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 7;
*/
public com.google.protobuf.Timestamp.Builder getStopBuilder() {
bitField0_ |= 0x00000040;
onChanged();
return getStopFieldBuilder().getBuilder();
}
/**
*
* Filter the upper bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 7;
*/
public com.google.protobuf.TimestampOrBuilder getStopOrBuilder() {
if (stopBuilder_ != null) {
return stopBuilder_.getMessageOrBuilder();
} else {
return stop_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : stop_;
}
}
/**
*
* Filter the upper bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getStopFieldBuilder() {
if (stopBuilder_ == null) {
stopBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getStop(),
getParentForChildren(),
isClean());
stop_ = null;
}
return stopBuilder_;
}
private java.lang.Object order_ = "";
/**
*
* The order of the returned results. Can be either ``asc`` or ``desc``.
* Default: ``desc``.
*
*
* optional string order = 8;
* @return Whether the order field is set.
*/
public boolean hasOrder() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
*
* The order of the returned results. Can be either ``asc`` or ``desc``.
* Default: ``desc``.
*
*
* optional string order = 8;
* @return The order.
*/
public java.lang.String getOrder() {
java.lang.Object ref = order_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
order_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The order of the returned results. Can be either ``asc`` or ``desc``.
* Default: ``desc``.
*
*
* optional string order = 8;
* @return The bytes for order.
*/
public com.google.protobuf.ByteString
getOrderBytes() {
java.lang.Object ref = order_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
order_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The order of the returned results. Can be either ``asc`` or ``desc``.
* Default: ``desc``.
*
*
* optional string order = 8;
* @param value The order to set.
* @return This builder for chaining.
*/
public Builder setOrder(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000080;
order_ = value;
onChanged();
return this;
}
/**
*
* The order of the returned results. Can be either ``asc`` or ``desc``.
* Default: ``desc``.
*
*
* optional string order = 8;
* @return This builder for chaining.
*/
public Builder clearOrder() {
bitField0_ = (bitField0_ & ~0x00000080);
order_ = getDefaultInstance().getOrder();
onChanged();
return this;
}
/**
*
* The order of the returned results. Can be either ``asc`` or ``desc``.
* Default: ``desc``.
*
*
* optional string order = 8;
* @param value The bytes for order to set.
* @return This builder for chaining.
*/
public Builder setOrderBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000080;
order_ = value;
onChanged();
return this;
}
private boolean norealtime_ ;
/**
*
* Disable loading of parameters from the parameter cache. Default: ``false``.
*
*
* optional bool norealtime = 9;
* @return Whether the norealtime field is set.
*/
@java.lang.Override
public boolean hasNorealtime() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
*
* Disable loading of parameters from the parameter cache. Default: ``false``.
*
*
* optional bool norealtime = 9;
* @return The norealtime.
*/
@java.lang.Override
public boolean getNorealtime() {
return norealtime_;
}
/**
*
* Disable loading of parameters from the parameter cache. Default: ``false``.
*
*
* optional bool norealtime = 9;
* @param value The norealtime to set.
* @return This builder for chaining.
*/
public Builder setNorealtime(boolean value) {
bitField0_ |= 0x00000100;
norealtime_ = value;
onChanged();
return this;
}
/**
*
* Disable loading of parameters from the parameter cache. Default: ``false``.
*
*
* optional bool norealtime = 9;
* @return This builder for chaining.
*/
public Builder clearNorealtime() {
bitField0_ = (bitField0_ & ~0x00000100);
norealtime_ = false;
onChanged();
return this;
}
private java.lang.Object processor_ = "";
/**
*
* The name of the processor from which to use the parameter cache.
* Default: ``realtime``.
*
*
* optional string processor = 10;
* @return Whether the processor field is set.
*/
public boolean hasProcessor() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
*
* The name of the processor from which to use the parameter cache.
* Default: ``realtime``.
*
*
* optional string processor = 10;
* @return The processor.
*/
public java.lang.String getProcessor() {
java.lang.Object ref = processor_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
processor_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The name of the processor from which to use the parameter cache.
* Default: ``realtime``.
*
*
* optional string processor = 10;
* @return The bytes for processor.
*/
public com.google.protobuf.ByteString
getProcessorBytes() {
java.lang.Object ref = processor_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
processor_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The name of the processor from which to use the parameter cache.
* Default: ``realtime``.
*
*
* optional string processor = 10;
* @param value The processor to set.
* @return This builder for chaining.
*/
public Builder setProcessor(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000200;
processor_ = value;
onChanged();
return this;
}
/**
*
* The name of the processor from which to use the parameter cache.
* Default: ``realtime``.
*
*
* optional string processor = 10;
* @return This builder for chaining.
*/
public Builder clearProcessor() {
bitField0_ = (bitField0_ & ~0x00000200);
processor_ = getDefaultInstance().getProcessor();
onChanged();
return this;
}
/**
*
* The name of the processor from which to use the parameter cache.
* Default: ``realtime``.
*
*
* optional string processor = 10;
* @param value The bytes for processor to set.
* @return This builder for chaining.
*/
public Builder setProcessorBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000200;
processor_ = value;
onChanged();
return this;
}
private java.lang.Object source_ = "";
/**
*
* Specifies how to retrieve the parameters. Either ``ParameterArchive`` or
* ``replay``. If ``replay`` is specified, a replay processor will be created
* and data will be processed with the active Mission Database. Note that this
* is much slower than receiving data from the ParameterArchive.
* Default: ``ParameterArchive``.
*
*
* optional string source = 11;
* @return Whether the source field is set.
*/
public boolean hasSource() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
*
* Specifies how to retrieve the parameters. Either ``ParameterArchive`` or
* ``replay``. If ``replay`` is specified, a replay processor will be created
* and data will be processed with the active Mission Database. Note that this
* is much slower than receiving data from the ParameterArchive.
* Default: ``ParameterArchive``.
*
*
* optional string source = 11;
* @return The source.
*/
public java.lang.String getSource() {
java.lang.Object ref = source_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
source_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Specifies how to retrieve the parameters. Either ``ParameterArchive`` or
* ``replay``. If ``replay`` is specified, a replay processor will be created
* and data will be processed with the active Mission Database. Note that this
* is much slower than receiving data from the ParameterArchive.
* Default: ``ParameterArchive``.
*
*
* optional string source = 11;
* @return The bytes for source.
*/
public com.google.protobuf.ByteString
getSourceBytes() {
java.lang.Object ref = source_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
source_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Specifies how to retrieve the parameters. Either ``ParameterArchive`` or
* ``replay``. If ``replay`` is specified, a replay processor will be created
* and data will be processed with the active Mission Database. Note that this
* is much slower than receiving data from the ParameterArchive.
* Default: ``ParameterArchive``.
*
*
* optional string source = 11;
* @param value The source to set.
* @return This builder for chaining.
*/
public Builder setSource(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000400;
source_ = value;
onChanged();
return this;
}
/**
*
* Specifies how to retrieve the parameters. Either ``ParameterArchive`` or
* ``replay``. If ``replay`` is specified, a replay processor will be created
* and data will be processed with the active Mission Database. Note that this
* is much slower than receiving data from the ParameterArchive.
* Default: ``ParameterArchive``.
*
*
* optional string source = 11;
* @return This builder for chaining.
*/
public Builder clearSource() {
bitField0_ = (bitField0_ & ~0x00000400);
source_ = getDefaultInstance().getSource();
onChanged();
return this;
}
/**
*
* Specifies how to retrieve the parameters. Either ``ParameterArchive`` or
* ``replay``. If ``replay`` is specified, a replay processor will be created
* and data will be processed with the active Mission Database. Note that this
* is much slower than receiving data from the ParameterArchive.
* Default: ``ParameterArchive``.
*
*
* optional string source = 11;
* @param value The bytes for source to set.
* @return This builder for chaining.
*/
public Builder setSourceBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000400;
source_ = value;
onChanged();
return this;
}
private int maxBytes_ ;
/**
*
* If set, truncate binary values to the specified byte length.
* This may be necessary when Yamcs contains large binary values.
*
*
* optional int32 maxBytes = 13;
* @return Whether the maxBytes field is set.
*/
@java.lang.Override
public boolean hasMaxBytes() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
*
* If set, truncate binary values to the specified byte length.
* This may be necessary when Yamcs contains large binary values.
*
*
* optional int32 maxBytes = 13;
* @return The maxBytes.
*/
@java.lang.Override
public int getMaxBytes() {
return maxBytes_;
}
/**
*
* If set, truncate binary values to the specified byte length.
* This may be necessary when Yamcs contains large binary values.
*
*
* optional int32 maxBytes = 13;
* @param value The maxBytes to set.
* @return This builder for chaining.
*/
public Builder setMaxBytes(int value) {
bitField0_ |= 0x00000800;
maxBytes_ = value;
onChanged();
return this;
}
/**
*
* If set, truncate binary values to the specified byte length.
* This may be necessary when Yamcs contains large binary values.
*
*
* optional int32 maxBytes = 13;
* @return This builder for chaining.
*/
public Builder clearMaxBytes() {
bitField0_ = (bitField0_ & ~0x00000800);
maxBytes_ = 0;
onChanged();
return this;
}
private java.lang.Object next_ = "";
/**
*
* Continuation token returned by a previous page response.
*
*
* optional string next = 12;
* @return Whether the next field is set.
*/
public boolean hasNext() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
*
* Continuation token returned by a previous page response.
*
*
* optional string next = 12;
* @return The next.
*/
public java.lang.String getNext() {
java.lang.Object ref = next_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
next_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Continuation token returned by a previous page response.
*
*
* optional string next = 12;
* @return The bytes for next.
*/
public com.google.protobuf.ByteString
getNextBytes() {
java.lang.Object ref = next_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
next_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Continuation token returned by a previous page response.
*
*
* optional string next = 12;
* @param value The next to set.
* @return This builder for chaining.
*/
public Builder setNext(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00001000;
next_ = value;
onChanged();
return this;
}
/**
*
* Continuation token returned by a previous page response.
*
*
* optional string next = 12;
* @return This builder for chaining.
*/
public Builder clearNext() {
bitField0_ = (bitField0_ & ~0x00001000);
next_ = getDefaultInstance().getNext();
onChanged();
return this;
}
/**
*
* Continuation token returned by a previous page response.
*
*
* optional string next = 12;
* @param value The bytes for next to set.
* @return This builder for chaining.
*/
public Builder setNextBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00001000;
next_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:yamcs.protobuf.archive.ListParameterHistoryRequest)
}
// @@protoc_insertion_point(class_scope:yamcs.protobuf.archive.ListParameterHistoryRequest)
private static final org.yamcs.protobuf.Archive.ListParameterHistoryRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.yamcs.protobuf.Archive.ListParameterHistoryRequest();
}
public static org.yamcs.protobuf.Archive.ListParameterHistoryRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ListParameterHistoryRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ListParameterHistoryRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public org.yamcs.protobuf.Archive.ListParameterHistoryRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ListParameterHistoryResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:yamcs.protobuf.archive.ListParameterHistoryResponse)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
*/
java.util.List
getParameterList();
/**
* repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
*/
org.yamcs.protobuf.Pvalue.ParameterValue getParameter(int index);
/**
* repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
*/
int getParameterCount();
/**
* repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
*/
java.util.List extends org.yamcs.protobuf.Pvalue.ParameterValueOrBuilder>
getParameterOrBuilderList();
/**
* repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
*/
org.yamcs.protobuf.Pvalue.ParameterValueOrBuilder getParameterOrBuilder(
int index);
/**
*
* Token indicating the response is only partial. More results can then
* be obtained by performing the same request (including all original
* query parameters) and setting the ``next`` parameter to this token.
*
*
* optional string continuationToken = 2;
* @return Whether the continuationToken field is set.
*/
boolean hasContinuationToken();
/**
*
* Token indicating the response is only partial. More results can then
* be obtained by performing the same request (including all original
* query parameters) and setting the ``next`` parameter to this token.
*
*
* optional string continuationToken = 2;
* @return The continuationToken.
*/
java.lang.String getContinuationToken();
/**
*
* Token indicating the response is only partial. More results can then
* be obtained by performing the same request (including all original
* query parameters) and setting the ``next`` parameter to this token.
*
*
* optional string continuationToken = 2;
* @return The bytes for continuationToken.
*/
com.google.protobuf.ByteString
getContinuationTokenBytes();
}
/**
* Protobuf type {@code yamcs.protobuf.archive.ListParameterHistoryResponse}
*/
public static final class ListParameterHistoryResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:yamcs.protobuf.archive.ListParameterHistoryResponse)
ListParameterHistoryResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use ListParameterHistoryResponse.newBuilder() to construct.
private ListParameterHistoryResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ListParameterHistoryResponse() {
parameter_ = java.util.Collections.emptyList();
continuationToken_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ListParameterHistoryResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ListParameterHistoryResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
parameter_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
parameter_.add(
input.readMessage(org.yamcs.protobuf.Pvalue.ParameterValue.PARSER, extensionRegistry));
break;
}
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
continuationToken_ = bs;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
parameter_ = java.util.Collections.unmodifiableList(parameter_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.yamcs.protobuf.Archive.internal_static_yamcs_protobuf_archive_ListParameterHistoryResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.yamcs.protobuf.Archive.internal_static_yamcs_protobuf_archive_ListParameterHistoryResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.yamcs.protobuf.Archive.ListParameterHistoryResponse.class, org.yamcs.protobuf.Archive.ListParameterHistoryResponse.Builder.class);
}
private int bitField0_;
public static final int PARAMETER_FIELD_NUMBER = 1;
private java.util.List parameter_;
/**
* repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
*/
@java.lang.Override
public java.util.List getParameterList() {
return parameter_;
}
/**
* repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
*/
@java.lang.Override
public java.util.List extends org.yamcs.protobuf.Pvalue.ParameterValueOrBuilder>
getParameterOrBuilderList() {
return parameter_;
}
/**
* repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
*/
@java.lang.Override
public int getParameterCount() {
return parameter_.size();
}
/**
* repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
*/
@java.lang.Override
public org.yamcs.protobuf.Pvalue.ParameterValue getParameter(int index) {
return parameter_.get(index);
}
/**
* repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
*/
@java.lang.Override
public org.yamcs.protobuf.Pvalue.ParameterValueOrBuilder getParameterOrBuilder(
int index) {
return parameter_.get(index);
}
public static final int CONTINUATIONTOKEN_FIELD_NUMBER = 2;
private volatile java.lang.Object continuationToken_;
/**
*
* Token indicating the response is only partial. More results can then
* be obtained by performing the same request (including all original
* query parameters) and setting the ``next`` parameter to this token.
*
*
* optional string continuationToken = 2;
* @return Whether the continuationToken field is set.
*/
@java.lang.Override
public boolean hasContinuationToken() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Token indicating the response is only partial. More results can then
* be obtained by performing the same request (including all original
* query parameters) and setting the ``next`` parameter to this token.
*
*
* optional string continuationToken = 2;
* @return The continuationToken.
*/
@java.lang.Override
public java.lang.String getContinuationToken() {
java.lang.Object ref = continuationToken_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
continuationToken_ = s;
}
return s;
}
}
/**
*
* Token indicating the response is only partial. More results can then
* be obtained by performing the same request (including all original
* query parameters) and setting the ``next`` parameter to this token.
*
*
* optional string continuationToken = 2;
* @return The bytes for continuationToken.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getContinuationTokenBytes() {
java.lang.Object ref = continuationToken_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
continuationToken_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
for (int i = 0; i < getParameterCount(); i++) {
if (!getParameter(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < parameter_.size(); i++) {
output.writeMessage(1, parameter_.get(i));
}
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, continuationToken_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < parameter_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, parameter_.get(i));
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, continuationToken_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.yamcs.protobuf.Archive.ListParameterHistoryResponse)) {
return super.equals(obj);
}
org.yamcs.protobuf.Archive.ListParameterHistoryResponse other = (org.yamcs.protobuf.Archive.ListParameterHistoryResponse) obj;
if (!getParameterList()
.equals(other.getParameterList())) return false;
if (hasContinuationToken() != other.hasContinuationToken()) return false;
if (hasContinuationToken()) {
if (!getContinuationToken()
.equals(other.getContinuationToken())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getParameterCount() > 0) {
hash = (37 * hash) + PARAMETER_FIELD_NUMBER;
hash = (53 * hash) + getParameterList().hashCode();
}
if (hasContinuationToken()) {
hash = (37 * hash) + CONTINUATIONTOKEN_FIELD_NUMBER;
hash = (53 * hash) + getContinuationToken().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.yamcs.protobuf.Archive.ListParameterHistoryResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.yamcs.protobuf.Archive.ListParameterHistoryResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.yamcs.protobuf.Archive.ListParameterHistoryResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.yamcs.protobuf.Archive.ListParameterHistoryResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.yamcs.protobuf.Archive.ListParameterHistoryResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.yamcs.protobuf.Archive.ListParameterHistoryResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.yamcs.protobuf.Archive.ListParameterHistoryResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.yamcs.protobuf.Archive.ListParameterHistoryResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.yamcs.protobuf.Archive.ListParameterHistoryResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.yamcs.protobuf.Archive.ListParameterHistoryResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.yamcs.protobuf.Archive.ListParameterHistoryResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.yamcs.protobuf.Archive.ListParameterHistoryResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.yamcs.protobuf.Archive.ListParameterHistoryResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code yamcs.protobuf.archive.ListParameterHistoryResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:yamcs.protobuf.archive.ListParameterHistoryResponse)
org.yamcs.protobuf.Archive.ListParameterHistoryResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.yamcs.protobuf.Archive.internal_static_yamcs_protobuf_archive_ListParameterHistoryResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.yamcs.protobuf.Archive.internal_static_yamcs_protobuf_archive_ListParameterHistoryResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.yamcs.protobuf.Archive.ListParameterHistoryResponse.class, org.yamcs.protobuf.Archive.ListParameterHistoryResponse.Builder.class);
}
// Construct using org.yamcs.protobuf.Archive.ListParameterHistoryResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getParameterFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (parameterBuilder_ == null) {
parameter_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
parameterBuilder_.clear();
}
continuationToken_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.yamcs.protobuf.Archive.internal_static_yamcs_protobuf_archive_ListParameterHistoryResponse_descriptor;
}
@java.lang.Override
public org.yamcs.protobuf.Archive.ListParameterHistoryResponse getDefaultInstanceForType() {
return org.yamcs.protobuf.Archive.ListParameterHistoryResponse.getDefaultInstance();
}
@java.lang.Override
public org.yamcs.protobuf.Archive.ListParameterHistoryResponse build() {
org.yamcs.protobuf.Archive.ListParameterHistoryResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.yamcs.protobuf.Archive.ListParameterHistoryResponse buildPartial() {
org.yamcs.protobuf.Archive.ListParameterHistoryResponse result = new org.yamcs.protobuf.Archive.ListParameterHistoryResponse(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (parameterBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
parameter_ = java.util.Collections.unmodifiableList(parameter_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.parameter_ = parameter_;
} else {
result.parameter_ = parameterBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) != 0)) {
to_bitField0_ |= 0x00000001;
}
result.continuationToken_ = continuationToken_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.yamcs.protobuf.Archive.ListParameterHistoryResponse) {
return mergeFrom((org.yamcs.protobuf.Archive.ListParameterHistoryResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.yamcs.protobuf.Archive.ListParameterHistoryResponse other) {
if (other == org.yamcs.protobuf.Archive.ListParameterHistoryResponse.getDefaultInstance()) return this;
if (parameterBuilder_ == null) {
if (!other.parameter_.isEmpty()) {
if (parameter_.isEmpty()) {
parameter_ = other.parameter_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureParameterIsMutable();
parameter_.addAll(other.parameter_);
}
onChanged();
}
} else {
if (!other.parameter_.isEmpty()) {
if (parameterBuilder_.isEmpty()) {
parameterBuilder_.dispose();
parameterBuilder_ = null;
parameter_ = other.parameter_;
bitField0_ = (bitField0_ & ~0x00000001);
parameterBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getParameterFieldBuilder() : null;
} else {
parameterBuilder_.addAllMessages(other.parameter_);
}
}
}
if (other.hasContinuationToken()) {
bitField0_ |= 0x00000002;
continuationToken_ = other.continuationToken_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
for (int i = 0; i < getParameterCount(); i++) {
if (!getParameter(i).isInitialized()) {
return false;
}
}
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.yamcs.protobuf.Archive.ListParameterHistoryResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.yamcs.protobuf.Archive.ListParameterHistoryResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List parameter_ =
java.util.Collections.emptyList();
private void ensureParameterIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
parameter_ = new java.util.ArrayList(parameter_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.yamcs.protobuf.Pvalue.ParameterValue, org.yamcs.protobuf.Pvalue.ParameterValue.Builder, org.yamcs.protobuf.Pvalue.ParameterValueOrBuilder> parameterBuilder_;
/**
* repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
*/
public java.util.List getParameterList() {
if (parameterBuilder_ == null) {
return java.util.Collections.unmodifiableList(parameter_);
} else {
return parameterBuilder_.getMessageList();
}
}
/**
* repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
*/
public int getParameterCount() {
if (parameterBuilder_ == null) {
return parameter_.size();
} else {
return parameterBuilder_.getCount();
}
}
/**
* repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
*/
public org.yamcs.protobuf.Pvalue.ParameterValue getParameter(int index) {
if (parameterBuilder_ == null) {
return parameter_.get(index);
} else {
return parameterBuilder_.getMessage(index);
}
}
/**
* repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
*/
public Builder setParameter(
int index, org.yamcs.protobuf.Pvalue.ParameterValue value) {
if (parameterBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureParameterIsMutable();
parameter_.set(index, value);
onChanged();
} else {
parameterBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
*/
public Builder setParameter(
int index, org.yamcs.protobuf.Pvalue.ParameterValue.Builder builderForValue) {
if (parameterBuilder_ == null) {
ensureParameterIsMutable();
parameter_.set(index, builderForValue.build());
onChanged();
} else {
parameterBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
*/
public Builder addParameter(org.yamcs.protobuf.Pvalue.ParameterValue value) {
if (parameterBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureParameterIsMutable();
parameter_.add(value);
onChanged();
} else {
parameterBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
*/
public Builder addParameter(
int index, org.yamcs.protobuf.Pvalue.ParameterValue value) {
if (parameterBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureParameterIsMutable();
parameter_.add(index, value);
onChanged();
} else {
parameterBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
*/
public Builder addParameter(
org.yamcs.protobuf.Pvalue.ParameterValue.Builder builderForValue) {
if (parameterBuilder_ == null) {
ensureParameterIsMutable();
parameter_.add(builderForValue.build());
onChanged();
} else {
parameterBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
*/
public Builder addParameter(
int index, org.yamcs.protobuf.Pvalue.ParameterValue.Builder builderForValue) {
if (parameterBuilder_ == null) {
ensureParameterIsMutable();
parameter_.add(index, builderForValue.build());
onChanged();
} else {
parameterBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
*/
public Builder addAllParameter(
java.lang.Iterable extends org.yamcs.protobuf.Pvalue.ParameterValue> values) {
if (parameterBuilder_ == null) {
ensureParameterIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, parameter_);
onChanged();
} else {
parameterBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
*/
public Builder clearParameter() {
if (parameterBuilder_ == null) {
parameter_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
parameterBuilder_.clear();
}
return this;
}
/**
* repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
*/
public Builder removeParameter(int index) {
if (parameterBuilder_ == null) {
ensureParameterIsMutable();
parameter_.remove(index);
onChanged();
} else {
parameterBuilder_.remove(index);
}
return this;
}
/**
* repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
*/
public org.yamcs.protobuf.Pvalue.ParameterValue.Builder getParameterBuilder(
int index) {
return getParameterFieldBuilder().getBuilder(index);
}
/**
* repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
*/
public org.yamcs.protobuf.Pvalue.ParameterValueOrBuilder getParameterOrBuilder(
int index) {
if (parameterBuilder_ == null) {
return parameter_.get(index); } else {
return parameterBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
*/
public java.util.List extends org.yamcs.protobuf.Pvalue.ParameterValueOrBuilder>
getParameterOrBuilderList() {
if (parameterBuilder_ != null) {
return parameterBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(parameter_);
}
}
/**
* repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
*/
public org.yamcs.protobuf.Pvalue.ParameterValue.Builder addParameterBuilder() {
return getParameterFieldBuilder().addBuilder(
org.yamcs.protobuf.Pvalue.ParameterValue.getDefaultInstance());
}
/**
* repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
*/
public org.yamcs.protobuf.Pvalue.ParameterValue.Builder addParameterBuilder(
int index) {
return getParameterFieldBuilder().addBuilder(
index, org.yamcs.protobuf.Pvalue.ParameterValue.getDefaultInstance());
}
/**
* repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
*/
public java.util.List
getParameterBuilderList() {
return getParameterFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.yamcs.protobuf.Pvalue.ParameterValue, org.yamcs.protobuf.Pvalue.ParameterValue.Builder, org.yamcs.protobuf.Pvalue.ParameterValueOrBuilder>
getParameterFieldBuilder() {
if (parameterBuilder_ == null) {
parameterBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.yamcs.protobuf.Pvalue.ParameterValue, org.yamcs.protobuf.Pvalue.ParameterValue.Builder, org.yamcs.protobuf.Pvalue.ParameterValueOrBuilder>(
parameter_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
parameter_ = null;
}
return parameterBuilder_;
}
private java.lang.Object continuationToken_ = "";
/**
*
* Token indicating the response is only partial. More results can then
* be obtained by performing the same request (including all original
* query parameters) and setting the ``next`` parameter to this token.
*
*
* optional string continuationToken = 2;
* @return Whether the continuationToken field is set.
*/
public boolean hasContinuationToken() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* Token indicating the response is only partial. More results can then
* be obtained by performing the same request (including all original
* query parameters) and setting the ``next`` parameter to this token.
*
*
* optional string continuationToken = 2;
* @return The continuationToken.
*/
public java.lang.String getContinuationToken() {
java.lang.Object ref = continuationToken_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
continuationToken_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Token indicating the response is only partial. More results can then
* be obtained by performing the same request (including all original
* query parameters) and setting the ``next`` parameter to this token.
*
*
* optional string continuationToken = 2;
* @return The bytes for continuationToken.
*/
public com.google.protobuf.ByteString
getContinuationTokenBytes() {
java.lang.Object ref = continuationToken_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
continuationToken_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Token indicating the response is only partial. More results can then
* be obtained by performing the same request (including all original
* query parameters) and setting the ``next`` parameter to this token.
*
*
* optional string continuationToken = 2;
* @param value The continuationToken to set.
* @return This builder for chaining.
*/
public Builder setContinuationToken(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
continuationToken_ = value;
onChanged();
return this;
}
/**
*
* Token indicating the response is only partial. More results can then
* be obtained by performing the same request (including all original
* query parameters) and setting the ``next`` parameter to this token.
*
*
* optional string continuationToken = 2;
* @return This builder for chaining.
*/
public Builder clearContinuationToken() {
bitField0_ = (bitField0_ & ~0x00000002);
continuationToken_ = getDefaultInstance().getContinuationToken();
onChanged();
return this;
}
/**
*
* Token indicating the response is only partial. More results can then
* be obtained by performing the same request (including all original
* query parameters) and setting the ``next`` parameter to this token.
*
*
* optional string continuationToken = 2;
* @param value The bytes for continuationToken to set.
* @return This builder for chaining.
*/
public Builder setContinuationTokenBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
continuationToken_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:yamcs.protobuf.archive.ListParameterHistoryResponse)
}
// @@protoc_insertion_point(class_scope:yamcs.protobuf.archive.ListParameterHistoryResponse)
private static final org.yamcs.protobuf.Archive.ListParameterHistoryResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.yamcs.protobuf.Archive.ListParameterHistoryResponse();
}
public static org.yamcs.protobuf.Archive.ListParameterHistoryResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ListParameterHistoryResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ListParameterHistoryResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public org.yamcs.protobuf.Archive.ListParameterHistoryResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetParameterSamplesRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:yamcs.protobuf.archive.GetParameterSamplesRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return Whether the instance field is set.
*/
boolean hasInstance();
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return The instance.
*/
java.lang.String getInstance();
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return The bytes for instance.
*/
com.google.protobuf.ByteString
getInstanceBytes();
/**
*
* Parameter name
*
*
* optional string name = 2;
* @return Whether the name field is set.
*/
boolean hasName();
/**
*
* Parameter name
*
*
* optional string name = 2;
* @return The name.
*/
java.lang.String getName();
/**
*
* Parameter name
*
*
* optional string name = 2;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* Filter the lower bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 3;
* @return Whether the start field is set.
*/
boolean hasStart();
/**
*
* Filter the lower bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 3;
* @return The start.
*/
com.google.protobuf.Timestamp getStart();
/**
*
* Filter the lower bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 3;
*/
com.google.protobuf.TimestampOrBuilder getStartOrBuilder();
/**
*
* Filter the upper bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 4;
* @return Whether the stop field is set.
*/
boolean hasStop();
/**
*
* Filter the upper bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 4;
* @return The stop.
*/
com.google.protobuf.Timestamp getStop();
/**
*
* Filter the upper bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 4;
*/
com.google.protobuf.TimestampOrBuilder getStopOrBuilder();
/**
*
* Number of intervals to use. Default: ``500``.
*
*
* optional int32 count = 5;
* @return Whether the count field is set.
*/
boolean hasCount();
/**
*
* Number of intervals to use. Default: ``500``.
*
*
* optional int32 count = 5;
* @return The count.
*/
int getCount();
/**
*
* Disable loading of parameters from the parameter cache. Default: ``false``.
*
*
* optional bool norealtime = 6;
* @return Whether the norealtime field is set.
*/
boolean hasNorealtime();
/**
*
* Disable loading of parameters from the parameter cache. Default: ``false``.
*
*
* optional bool norealtime = 6;
* @return The norealtime.
*/
boolean getNorealtime();
/**
*
* Consider the raw value instead of the engineering value.
* Default is to use the engineering value
*
*
* optional bool useRawValue = 9;
* @return Whether the useRawValue field is set.
*/
boolean hasUseRawValue();
/**
*
* Consider the raw value instead of the engineering value.
* Default is to use the engineering value
*
*
* optional bool useRawValue = 9;
* @return The useRawValue.
*/
boolean getUseRawValue();
/**
*
* Milliseconds before a sample is considered expired. This property is
* used as a fallback, when the underlying parameter values have no
* implicit expiration time.
* Default: ``120000``.
*
*
* optional uint64 gapTime = 10;
* @return Whether the gapTime field is set.
*/
boolean hasGapTime();
/**
*
* Milliseconds before a sample is considered expired. This property is
* used as a fallback, when the underlying parameter values have no
* implicit expiration time.
* Default: ``120000``.
*
*
* optional uint64 gapTime = 10;
* @return The gapTime.
*/
long getGapTime();
/**
*
* The name of the processor from which to use the parameter cache.
* Default: ``realtime``.
*
*
* optional string processor = 7;
* @return Whether the processor field is set.
*/
boolean hasProcessor();
/**
*
* The name of the processor from which to use the parameter cache.
* Default: ``realtime``.
*
*
* optional string processor = 7;
* @return The processor.
*/
java.lang.String getProcessor();
/**
*
* The name of the processor from which to use the parameter cache.
* Default: ``realtime``.
*
*
* optional string processor = 7;
* @return The bytes for processor.
*/
com.google.protobuf.ByteString
getProcessorBytes();
/**
*
* Specifies how to retrieve the parameters. Either ``ParameterArchive`` or
* ``replay``. If ``replay`` is specified, a replay processor will be created
* and data will be processed with the active Mission Database. Note that
* this is much slower than receiving data from the ParameterArchive.
* Default: ``ParameterArchive``.
*
*
* optional string source = 8;
* @return Whether the source field is set.
*/
boolean hasSource();
/**
*
* Specifies how to retrieve the parameters. Either ``ParameterArchive`` or
* ``replay``. If ``replay`` is specified, a replay processor will be created
* and data will be processed with the active Mission Database. Note that
* this is much slower than receiving data from the ParameterArchive.
* Default: ``ParameterArchive``.
*
*
* optional string source = 8;
* @return The source.
*/
java.lang.String getSource();
/**
*
* Specifies how to retrieve the parameters. Either ``ParameterArchive`` or
* ``replay``. If ``replay`` is specified, a replay processor will be created
* and data will be processed with the active Mission Database. Note that
* this is much slower than receiving data from the ParameterArchive.
* Default: ``ParameterArchive``.
*
*
* optional string source = 8;
* @return The bytes for source.
*/
com.google.protobuf.ByteString
getSourceBytes();
}
/**
* Protobuf type {@code yamcs.protobuf.archive.GetParameterSamplesRequest}
*/
public static final class GetParameterSamplesRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:yamcs.protobuf.archive.GetParameterSamplesRequest)
GetParameterSamplesRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetParameterSamplesRequest.newBuilder() to construct.
private GetParameterSamplesRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetParameterSamplesRequest() {
instance_ = "";
name_ = "";
processor_ = "";
source_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetParameterSamplesRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetParameterSamplesRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
instance_ = bs;
break;
}
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
name_ = bs;
break;
}
case 26: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (((bitField0_ & 0x00000004) != 0)) {
subBuilder = start_.toBuilder();
}
start_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(start_);
start_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000004;
break;
}
case 34: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (((bitField0_ & 0x00000008) != 0)) {
subBuilder = stop_.toBuilder();
}
stop_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(stop_);
stop_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000008;
break;
}
case 40: {
bitField0_ |= 0x00000010;
count_ = input.readInt32();
break;
}
case 48: {
bitField0_ |= 0x00000020;
norealtime_ = input.readBool();
break;
}
case 58: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000100;
processor_ = bs;
break;
}
case 66: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000200;
source_ = bs;
break;
}
case 72: {
bitField0_ |= 0x00000040;
useRawValue_ = input.readBool();
break;
}
case 80: {
bitField0_ |= 0x00000080;
gapTime_ = input.readUInt64();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.yamcs.protobuf.Archive.internal_static_yamcs_protobuf_archive_GetParameterSamplesRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.yamcs.protobuf.Archive.internal_static_yamcs_protobuf_archive_GetParameterSamplesRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.yamcs.protobuf.Archive.GetParameterSamplesRequest.class, org.yamcs.protobuf.Archive.GetParameterSamplesRequest.Builder.class);
}
private int bitField0_;
public static final int INSTANCE_FIELD_NUMBER = 1;
private volatile java.lang.Object instance_;
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return Whether the instance field is set.
*/
@java.lang.Override
public boolean hasInstance() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return The instance.
*/
@java.lang.Override
public java.lang.String getInstance() {
java.lang.Object ref = instance_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
instance_ = s;
}
return s;
}
}
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return The bytes for instance.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getInstanceBytes() {
java.lang.Object ref = instance_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
instance_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NAME_FIELD_NUMBER = 2;
private volatile java.lang.Object name_;
/**
*
* Parameter name
*
*
* optional string name = 2;
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* Parameter name
*
*
* optional string name = 2;
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
*
* Parameter name
*
*
* optional string name = 2;
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int START_FIELD_NUMBER = 3;
private com.google.protobuf.Timestamp start_;
/**
*
* Filter the lower bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 3;
* @return Whether the start field is set.
*/
@java.lang.Override
public boolean hasStart() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
* Filter the lower bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 3;
* @return The start.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getStart() {
return start_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : start_;
}
/**
*
* Filter the lower bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 3;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getStartOrBuilder() {
return start_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : start_;
}
public static final int STOP_FIELD_NUMBER = 4;
private com.google.protobuf.Timestamp stop_;
/**
*
* Filter the upper bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 4;
* @return Whether the stop field is set.
*/
@java.lang.Override
public boolean hasStop() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
*
* Filter the upper bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 4;
* @return The stop.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getStop() {
return stop_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stop_;
}
/**
*
* Filter the upper bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 4;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getStopOrBuilder() {
return stop_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stop_;
}
public static final int COUNT_FIELD_NUMBER = 5;
private int count_;
/**
*
* Number of intervals to use. Default: ``500``.
*
*
* optional int32 count = 5;
* @return Whether the count field is set.
*/
@java.lang.Override
public boolean hasCount() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
*
* Number of intervals to use. Default: ``500``.
*
*
* optional int32 count = 5;
* @return The count.
*/
@java.lang.Override
public int getCount() {
return count_;
}
public static final int NOREALTIME_FIELD_NUMBER = 6;
private boolean norealtime_;
/**
*
* Disable loading of parameters from the parameter cache. Default: ``false``.
*
*
* optional bool norealtime = 6;
* @return Whether the norealtime field is set.
*/
@java.lang.Override
public boolean hasNorealtime() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
*
* Disable loading of parameters from the parameter cache. Default: ``false``.
*
*
* optional bool norealtime = 6;
* @return The norealtime.
*/
@java.lang.Override
public boolean getNorealtime() {
return norealtime_;
}
public static final int USERAWVALUE_FIELD_NUMBER = 9;
private boolean useRawValue_;
/**
*
* Consider the raw value instead of the engineering value.
* Default is to use the engineering value
*
*
* optional bool useRawValue = 9;
* @return Whether the useRawValue field is set.
*/
@java.lang.Override
public boolean hasUseRawValue() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
*
* Consider the raw value instead of the engineering value.
* Default is to use the engineering value
*
*
* optional bool useRawValue = 9;
* @return The useRawValue.
*/
@java.lang.Override
public boolean getUseRawValue() {
return useRawValue_;
}
public static final int GAPTIME_FIELD_NUMBER = 10;
private long gapTime_;
/**
*
* Milliseconds before a sample is considered expired. This property is
* used as a fallback, when the underlying parameter values have no
* implicit expiration time.
* Default: ``120000``.
*
*
* optional uint64 gapTime = 10;
* @return Whether the gapTime field is set.
*/
@java.lang.Override
public boolean hasGapTime() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
*
* Milliseconds before a sample is considered expired. This property is
* used as a fallback, when the underlying parameter values have no
* implicit expiration time.
* Default: ``120000``.
*
*
* optional uint64 gapTime = 10;
* @return The gapTime.
*/
@java.lang.Override
public long getGapTime() {
return gapTime_;
}
public static final int PROCESSOR_FIELD_NUMBER = 7;
private volatile java.lang.Object processor_;
/**
*
* The name of the processor from which to use the parameter cache.
* Default: ``realtime``.
*
*
* optional string processor = 7;
* @return Whether the processor field is set.
*/
@java.lang.Override
public boolean hasProcessor() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
*
* The name of the processor from which to use the parameter cache.
* Default: ``realtime``.
*
*
* optional string processor = 7;
* @return The processor.
*/
@java.lang.Override
public java.lang.String getProcessor() {
java.lang.Object ref = processor_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
processor_ = s;
}
return s;
}
}
/**
*
* The name of the processor from which to use the parameter cache.
* Default: ``realtime``.
*
*
* optional string processor = 7;
* @return The bytes for processor.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getProcessorBytes() {
java.lang.Object ref = processor_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
processor_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SOURCE_FIELD_NUMBER = 8;
private volatile java.lang.Object source_;
/**
*
* Specifies how to retrieve the parameters. Either ``ParameterArchive`` or
* ``replay``. If ``replay`` is specified, a replay processor will be created
* and data will be processed with the active Mission Database. Note that
* this is much slower than receiving data from the ParameterArchive.
* Default: ``ParameterArchive``.
*
*
* optional string source = 8;
* @return Whether the source field is set.
*/
@java.lang.Override
public boolean hasSource() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
*
* Specifies how to retrieve the parameters. Either ``ParameterArchive`` or
* ``replay``. If ``replay`` is specified, a replay processor will be created
* and data will be processed with the active Mission Database. Note that
* this is much slower than receiving data from the ParameterArchive.
* Default: ``ParameterArchive``.
*
*
* optional string source = 8;
* @return The source.
*/
@java.lang.Override
public java.lang.String getSource() {
java.lang.Object ref = source_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
source_ = s;
}
return s;
}
}
/**
*
* Specifies how to retrieve the parameters. Either ``ParameterArchive`` or
* ``replay``. If ``replay`` is specified, a replay processor will be created
* and data will be processed with the active Mission Database. Note that
* this is much slower than receiving data from the ParameterArchive.
* Default: ``ParameterArchive``.
*
*
* optional string source = 8;
* @return The bytes for source.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSourceBytes() {
java.lang.Object ref = source_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
source_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instance_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(3, getStart());
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeMessage(4, getStop());
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeInt32(5, count_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeBool(6, norealtime_);
}
if (((bitField0_ & 0x00000100) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, processor_);
}
if (((bitField0_ & 0x00000200) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, source_);
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeBool(9, useRawValue_);
}
if (((bitField0_ & 0x00000080) != 0)) {
output.writeUInt64(10, gapTime_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instance_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getStart());
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getStop());
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(5, count_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(6, norealtime_);
}
if (((bitField0_ & 0x00000100) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, processor_);
}
if (((bitField0_ & 0x00000200) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, source_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(9, useRawValue_);
}
if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(10, gapTime_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.yamcs.protobuf.Archive.GetParameterSamplesRequest)) {
return super.equals(obj);
}
org.yamcs.protobuf.Archive.GetParameterSamplesRequest other = (org.yamcs.protobuf.Archive.GetParameterSamplesRequest) obj;
if (hasInstance() != other.hasInstance()) return false;
if (hasInstance()) {
if (!getInstance()
.equals(other.getInstance())) return false;
}
if (hasName() != other.hasName()) return false;
if (hasName()) {
if (!getName()
.equals(other.getName())) return false;
}
if (hasStart() != other.hasStart()) return false;
if (hasStart()) {
if (!getStart()
.equals(other.getStart())) return false;
}
if (hasStop() != other.hasStop()) return false;
if (hasStop()) {
if (!getStop()
.equals(other.getStop())) return false;
}
if (hasCount() != other.hasCount()) return false;
if (hasCount()) {
if (getCount()
!= other.getCount()) return false;
}
if (hasNorealtime() != other.hasNorealtime()) return false;
if (hasNorealtime()) {
if (getNorealtime()
!= other.getNorealtime()) return false;
}
if (hasUseRawValue() != other.hasUseRawValue()) return false;
if (hasUseRawValue()) {
if (getUseRawValue()
!= other.getUseRawValue()) return false;
}
if (hasGapTime() != other.hasGapTime()) return false;
if (hasGapTime()) {
if (getGapTime()
!= other.getGapTime()) return false;
}
if (hasProcessor() != other.hasProcessor()) return false;
if (hasProcessor()) {
if (!getProcessor()
.equals(other.getProcessor())) return false;
}
if (hasSource() != other.hasSource()) return false;
if (hasSource()) {
if (!getSource()
.equals(other.getSource())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasInstance()) {
hash = (37 * hash) + INSTANCE_FIELD_NUMBER;
hash = (53 * hash) + getInstance().hashCode();
}
if (hasName()) {
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
}
if (hasStart()) {
hash = (37 * hash) + START_FIELD_NUMBER;
hash = (53 * hash) + getStart().hashCode();
}
if (hasStop()) {
hash = (37 * hash) + STOP_FIELD_NUMBER;
hash = (53 * hash) + getStop().hashCode();
}
if (hasCount()) {
hash = (37 * hash) + COUNT_FIELD_NUMBER;
hash = (53 * hash) + getCount();
}
if (hasNorealtime()) {
hash = (37 * hash) + NOREALTIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getNorealtime());
}
if (hasUseRawValue()) {
hash = (37 * hash) + USERAWVALUE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getUseRawValue());
}
if (hasGapTime()) {
hash = (37 * hash) + GAPTIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getGapTime());
}
if (hasProcessor()) {
hash = (37 * hash) + PROCESSOR_FIELD_NUMBER;
hash = (53 * hash) + getProcessor().hashCode();
}
if (hasSource()) {
hash = (37 * hash) + SOURCE_FIELD_NUMBER;
hash = (53 * hash) + getSource().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.yamcs.protobuf.Archive.GetParameterSamplesRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.yamcs.protobuf.Archive.GetParameterSamplesRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.yamcs.protobuf.Archive.GetParameterSamplesRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.yamcs.protobuf.Archive.GetParameterSamplesRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.yamcs.protobuf.Archive.GetParameterSamplesRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.yamcs.protobuf.Archive.GetParameterSamplesRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.yamcs.protobuf.Archive.GetParameterSamplesRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.yamcs.protobuf.Archive.GetParameterSamplesRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.yamcs.protobuf.Archive.GetParameterSamplesRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.yamcs.protobuf.Archive.GetParameterSamplesRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.yamcs.protobuf.Archive.GetParameterSamplesRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.yamcs.protobuf.Archive.GetParameterSamplesRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.yamcs.protobuf.Archive.GetParameterSamplesRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code yamcs.protobuf.archive.GetParameterSamplesRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:yamcs.protobuf.archive.GetParameterSamplesRequest)
org.yamcs.protobuf.Archive.GetParameterSamplesRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.yamcs.protobuf.Archive.internal_static_yamcs_protobuf_archive_GetParameterSamplesRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.yamcs.protobuf.Archive.internal_static_yamcs_protobuf_archive_GetParameterSamplesRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.yamcs.protobuf.Archive.GetParameterSamplesRequest.class, org.yamcs.protobuf.Archive.GetParameterSamplesRequest.Builder.class);
}
// Construct using org.yamcs.protobuf.Archive.GetParameterSamplesRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStartFieldBuilder();
getStopFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
instance_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
name_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
if (startBuilder_ == null) {
start_ = null;
} else {
startBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
if (stopBuilder_ == null) {
stop_ = null;
} else {
stopBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
count_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
norealtime_ = false;
bitField0_ = (bitField0_ & ~0x00000020);
useRawValue_ = false;
bitField0_ = (bitField0_ & ~0x00000040);
gapTime_ = 0L;
bitField0_ = (bitField0_ & ~0x00000080);
processor_ = "";
bitField0_ = (bitField0_ & ~0x00000100);
source_ = "";
bitField0_ = (bitField0_ & ~0x00000200);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.yamcs.protobuf.Archive.internal_static_yamcs_protobuf_archive_GetParameterSamplesRequest_descriptor;
}
@java.lang.Override
public org.yamcs.protobuf.Archive.GetParameterSamplesRequest getDefaultInstanceForType() {
return org.yamcs.protobuf.Archive.GetParameterSamplesRequest.getDefaultInstance();
}
@java.lang.Override
public org.yamcs.protobuf.Archive.GetParameterSamplesRequest build() {
org.yamcs.protobuf.Archive.GetParameterSamplesRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.yamcs.protobuf.Archive.GetParameterSamplesRequest buildPartial() {
org.yamcs.protobuf.Archive.GetParameterSamplesRequest result = new org.yamcs.protobuf.Archive.GetParameterSamplesRequest(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
to_bitField0_ |= 0x00000001;
}
result.instance_ = instance_;
if (((from_bitField0_ & 0x00000002) != 0)) {
to_bitField0_ |= 0x00000002;
}
result.name_ = name_;
if (((from_bitField0_ & 0x00000004) != 0)) {
if (startBuilder_ == null) {
result.start_ = start_;
} else {
result.start_ = startBuilder_.build();
}
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
if (stopBuilder_ == null) {
result.stop_ = stop_;
} else {
result.stop_ = stopBuilder_.build();
}
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.count_ = count_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.norealtime_ = norealtime_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.useRawValue_ = useRawValue_;
to_bitField0_ |= 0x00000040;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.gapTime_ = gapTime_;
to_bitField0_ |= 0x00000080;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
to_bitField0_ |= 0x00000100;
}
result.processor_ = processor_;
if (((from_bitField0_ & 0x00000200) != 0)) {
to_bitField0_ |= 0x00000200;
}
result.source_ = source_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.yamcs.protobuf.Archive.GetParameterSamplesRequest) {
return mergeFrom((org.yamcs.protobuf.Archive.GetParameterSamplesRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.yamcs.protobuf.Archive.GetParameterSamplesRequest other) {
if (other == org.yamcs.protobuf.Archive.GetParameterSamplesRequest.getDefaultInstance()) return this;
if (other.hasInstance()) {
bitField0_ |= 0x00000001;
instance_ = other.instance_;
onChanged();
}
if (other.hasName()) {
bitField0_ |= 0x00000002;
name_ = other.name_;
onChanged();
}
if (other.hasStart()) {
mergeStart(other.getStart());
}
if (other.hasStop()) {
mergeStop(other.getStop());
}
if (other.hasCount()) {
setCount(other.getCount());
}
if (other.hasNorealtime()) {
setNorealtime(other.getNorealtime());
}
if (other.hasUseRawValue()) {
setUseRawValue(other.getUseRawValue());
}
if (other.hasGapTime()) {
setGapTime(other.getGapTime());
}
if (other.hasProcessor()) {
bitField0_ |= 0x00000100;
processor_ = other.processor_;
onChanged();
}
if (other.hasSource()) {
bitField0_ |= 0x00000200;
source_ = other.source_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.yamcs.protobuf.Archive.GetParameterSamplesRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.yamcs.protobuf.Archive.GetParameterSamplesRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object instance_ = "";
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return Whether the instance field is set.
*/
public boolean hasInstance() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return The instance.
*/
public java.lang.String getInstance() {
java.lang.Object ref = instance_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
instance_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return The bytes for instance.
*/
public com.google.protobuf.ByteString
getInstanceBytes() {
java.lang.Object ref = instance_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
instance_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @param value The instance to set.
* @return This builder for chaining.
*/
public Builder setInstance(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
instance_ = value;
onChanged();
return this;
}
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return This builder for chaining.
*/
public Builder clearInstance() {
bitField0_ = (bitField0_ & ~0x00000001);
instance_ = getDefaultInstance().getInstance();
onChanged();
return this;
}
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @param value The bytes for instance to set.
* @return This builder for chaining.
*/
public Builder setInstanceBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
instance_ = value;
onChanged();
return this;
}
private java.lang.Object name_ = "";
/**
*
* Parameter name
*
*
* optional string name = 2;
* @return Whether the name field is set.
*/
public boolean hasName() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* Parameter name
*
*
* optional string name = 2;
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Parameter name
*
*
* optional string name = 2;
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Parameter name
*
*
* optional string name = 2;
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
name_ = value;
onChanged();
return this;
}
/**
*
* Parameter name
*
*
* optional string name = 2;
* @return This builder for chaining.
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000002);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
*
* Parameter name
*
*
* optional string name = 2;
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
name_ = value;
onChanged();
return this;
}
private com.google.protobuf.Timestamp start_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startBuilder_;
/**
*
* Filter the lower bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 3;
* @return Whether the start field is set.
*/
public boolean hasStart() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
* Filter the lower bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 3;
* @return The start.
*/
public com.google.protobuf.Timestamp getStart() {
if (startBuilder_ == null) {
return start_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : start_;
} else {
return startBuilder_.getMessage();
}
}
/**
*
* Filter the lower bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 3;
*/
public Builder setStart(com.google.protobuf.Timestamp value) {
if (startBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
start_ = value;
onChanged();
} else {
startBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
*
* Filter the lower bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 3;
*/
public Builder setStart(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (startBuilder_ == null) {
start_ = builderForValue.build();
onChanged();
} else {
startBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
return this;
}
/**
*
* Filter the lower bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 3;
*/
public Builder mergeStart(com.google.protobuf.Timestamp value) {
if (startBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
start_ != null &&
start_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
start_ =
com.google.protobuf.Timestamp.newBuilder(start_).mergeFrom(value).buildPartial();
} else {
start_ = value;
}
onChanged();
} else {
startBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
*
* Filter the lower bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 3;
*/
public Builder clearStart() {
if (startBuilder_ == null) {
start_ = null;
onChanged();
} else {
startBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
/**
*
* Filter the lower bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 3;
*/
public com.google.protobuf.Timestamp.Builder getStartBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getStartFieldBuilder().getBuilder();
}
/**
*
* Filter the lower bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 3;
*/
public com.google.protobuf.TimestampOrBuilder getStartOrBuilder() {
if (startBuilder_ != null) {
return startBuilder_.getMessageOrBuilder();
} else {
return start_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : start_;
}
}
/**
*
* Filter the lower bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getStartFieldBuilder() {
if (startBuilder_ == null) {
startBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getStart(),
getParentForChildren(),
isClean());
start_ = null;
}
return startBuilder_;
}
private com.google.protobuf.Timestamp stop_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> stopBuilder_;
/**
*
* Filter the upper bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 4;
* @return Whether the stop field is set.
*/
public boolean hasStop() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
*
* Filter the upper bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 4;
* @return The stop.
*/
public com.google.protobuf.Timestamp getStop() {
if (stopBuilder_ == null) {
return stop_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stop_;
} else {
return stopBuilder_.getMessage();
}
}
/**
*
* Filter the upper bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 4;
*/
public Builder setStop(com.google.protobuf.Timestamp value) {
if (stopBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
stop_ = value;
onChanged();
} else {
stopBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
*
* Filter the upper bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 4;
*/
public Builder setStop(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (stopBuilder_ == null) {
stop_ = builderForValue.build();
onChanged();
} else {
stopBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
return this;
}
/**
*
* Filter the upper bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 4;
*/
public Builder mergeStop(com.google.protobuf.Timestamp value) {
if (stopBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0) &&
stop_ != null &&
stop_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
stop_ =
com.google.protobuf.Timestamp.newBuilder(stop_).mergeFrom(value).buildPartial();
} else {
stop_ = value;
}
onChanged();
} else {
stopBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
*
* Filter the upper bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 4;
*/
public Builder clearStop() {
if (stopBuilder_ == null) {
stop_ = null;
onChanged();
} else {
stopBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
/**
*
* Filter the upper bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 4;
*/
public com.google.protobuf.Timestamp.Builder getStopBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getStopFieldBuilder().getBuilder();
}
/**
*
* Filter the upper bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 4;
*/
public com.google.protobuf.TimestampOrBuilder getStopOrBuilder() {
if (stopBuilder_ != null) {
return stopBuilder_.getMessageOrBuilder();
} else {
return stop_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : stop_;
}
}
/**
*
* Filter the upper bound of the parameter's generation time. Specify a date
* string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getStopFieldBuilder() {
if (stopBuilder_ == null) {
stopBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getStop(),
getParentForChildren(),
isClean());
stop_ = null;
}
return stopBuilder_;
}
private int count_ ;
/**
*
* Number of intervals to use. Default: ``500``.
*
*
* optional int32 count = 5;
* @return Whether the count field is set.
*/
@java.lang.Override
public boolean hasCount() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
*
* Number of intervals to use. Default: ``500``.
*
*
* optional int32 count = 5;
* @return The count.
*/
@java.lang.Override
public int getCount() {
return count_;
}
/**
*
* Number of intervals to use. Default: ``500``.
*
*
* optional int32 count = 5;
* @param value The count to set.
* @return This builder for chaining.
*/
public Builder setCount(int value) {
bitField0_ |= 0x00000010;
count_ = value;
onChanged();
return this;
}
/**
*
* Number of intervals to use. Default: ``500``.
*
*
* optional int32 count = 5;
* @return This builder for chaining.
*/
public Builder clearCount() {
bitField0_ = (bitField0_ & ~0x00000010);
count_ = 0;
onChanged();
return this;
}
private boolean norealtime_ ;
/**
*
* Disable loading of parameters from the parameter cache. Default: ``false``.
*
*
* optional bool norealtime = 6;
* @return Whether the norealtime field is set.
*/
@java.lang.Override
public boolean hasNorealtime() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
*
* Disable loading of parameters from the parameter cache. Default: ``false``.
*
*
* optional bool norealtime = 6;
* @return The norealtime.
*/
@java.lang.Override
public boolean getNorealtime() {
return norealtime_;
}
/**
*
* Disable loading of parameters from the parameter cache. Default: ``false``.
*
*
* optional bool norealtime = 6;
* @param value The norealtime to set.
* @return This builder for chaining.
*/
public Builder setNorealtime(boolean value) {
bitField0_ |= 0x00000020;
norealtime_ = value;
onChanged();
return this;
}
/**
*
* Disable loading of parameters from the parameter cache. Default: ``false``.
*
*
* optional bool norealtime = 6;
* @return This builder for chaining.
*/
public Builder clearNorealtime() {
bitField0_ = (bitField0_ & ~0x00000020);
norealtime_ = false;
onChanged();
return this;
}
private boolean useRawValue_ ;
/**
*
* Consider the raw value instead of the engineering value.
* Default is to use the engineering value
*
*
* optional bool useRawValue = 9;
* @return Whether the useRawValue field is set.
*/
@java.lang.Override
public boolean hasUseRawValue() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
*
* Consider the raw value instead of the engineering value.
* Default is to use the engineering value
*
*
* optional bool useRawValue = 9;
* @return The useRawValue.
*/
@java.lang.Override
public boolean getUseRawValue() {
return useRawValue_;
}
/**
*
* Consider the raw value instead of the engineering value.
* Default is to use the engineering value
*
*
* optional bool useRawValue = 9;
* @param value The useRawValue to set.
* @return This builder for chaining.
*/
public Builder setUseRawValue(boolean value) {
bitField0_ |= 0x00000040;
useRawValue_ = value;
onChanged();
return this;
}
/**
*
* Consider the raw value instead of the engineering value.
* Default is to use the engineering value
*
*
* optional bool useRawValue = 9;
* @return This builder for chaining.
*/
public Builder clearUseRawValue() {
bitField0_ = (bitField0_ & ~0x00000040);
useRawValue_ = false;
onChanged();
return this;
}
private long gapTime_ ;
/**
*
* Milliseconds before a sample is considered expired. This property is
* used as a fallback, when the underlying parameter values have no
* implicit expiration time.
* Default: ``120000``.
*
*
* optional uint64 gapTime = 10;
* @return Whether the gapTime field is set.
*/
@java.lang.Override
public boolean hasGapTime() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
*
* Milliseconds before a sample is considered expired. This property is
* used as a fallback, when the underlying parameter values have no
* implicit expiration time.
* Default: ``120000``.
*
*
* optional uint64 gapTime = 10;
* @return The gapTime.
*/
@java.lang.Override
public long getGapTime() {
return gapTime_;
}
/**
*
* Milliseconds before a sample is considered expired. This property is
* used as a fallback, when the underlying parameter values have no
* implicit expiration time.
* Default: ``120000``.
*
*
* optional uint64 gapTime = 10;
* @param value The gapTime to set.
* @return This builder for chaining.
*/
public Builder setGapTime(long value) {
bitField0_ |= 0x00000080;
gapTime_ = value;
onChanged();
return this;
}
/**
*
* Milliseconds before a sample is considered expired. This property is
* used as a fallback, when the underlying parameter values have no
* implicit expiration time.
* Default: ``120000``.
*
*
* optional uint64 gapTime = 10;
* @return This builder for chaining.
*/
public Builder clearGapTime() {
bitField0_ = (bitField0_ & ~0x00000080);
gapTime_ = 0L;
onChanged();
return this;
}
private java.lang.Object processor_ = "";
/**
*
* The name of the processor from which to use the parameter cache.
* Default: ``realtime``.
*
*
* optional string processor = 7;
* @return Whether the processor field is set.
*/
public boolean hasProcessor() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
*
* The name of the processor from which to use the parameter cache.
* Default: ``realtime``.
*
*
* optional string processor = 7;
* @return The processor.
*/
public java.lang.String getProcessor() {
java.lang.Object ref = processor_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
processor_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The name of the processor from which to use the parameter cache.
* Default: ``realtime``.
*
*
* optional string processor = 7;
* @return The bytes for processor.
*/
public com.google.protobuf.ByteString
getProcessorBytes() {
java.lang.Object ref = processor_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
processor_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The name of the processor from which to use the parameter cache.
* Default: ``realtime``.
*
*
* optional string processor = 7;
* @param value The processor to set.
* @return This builder for chaining.
*/
public Builder setProcessor(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000100;
processor_ = value;
onChanged();
return this;
}
/**
*
* The name of the processor from which to use the parameter cache.
* Default: ``realtime``.
*
*
* optional string processor = 7;
* @return This builder for chaining.
*/
public Builder clearProcessor() {
bitField0_ = (bitField0_ & ~0x00000100);
processor_ = getDefaultInstance().getProcessor();
onChanged();
return this;
}
/**
*
* The name of the processor from which to use the parameter cache.
* Default: ``realtime``.
*
*
* optional string processor = 7;
* @param value The bytes for processor to set.
* @return This builder for chaining.
*/
public Builder setProcessorBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000100;
processor_ = value;
onChanged();
return this;
}
private java.lang.Object source_ = "";
/**
*
* Specifies how to retrieve the parameters. Either ``ParameterArchive`` or
* ``replay``. If ``replay`` is specified, a replay processor will be created
* and data will be processed with the active Mission Database. Note that
* this is much slower than receiving data from the ParameterArchive.
* Default: ``ParameterArchive``.
*
*
* optional string source = 8;
* @return Whether the source field is set.
*/
public boolean hasSource() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
*
* Specifies how to retrieve the parameters. Either ``ParameterArchive`` or
* ``replay``. If ``replay`` is specified, a replay processor will be created
* and data will be processed with the active Mission Database. Note that
* this is much slower than receiving data from the ParameterArchive.
* Default: ``ParameterArchive``.
*
*
* optional string source = 8;
* @return The source.
*/
public java.lang.String getSource() {
java.lang.Object ref = source_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
source_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Specifies how to retrieve the parameters. Either ``ParameterArchive`` or
* ``replay``. If ``replay`` is specified, a replay processor will be created
* and data will be processed with the active Mission Database. Note that
* this is much slower than receiving data from the ParameterArchive.
* Default: ``ParameterArchive``.
*
*
* optional string source = 8;
* @return The bytes for source.
*/
public com.google.protobuf.ByteString
getSourceBytes() {
java.lang.Object ref = source_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
source_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Specifies how to retrieve the parameters. Either ``ParameterArchive`` or
* ``replay``. If ``replay`` is specified, a replay processor will be created
* and data will be processed with the active Mission Database. Note that
* this is much slower than receiving data from the ParameterArchive.
* Default: ``ParameterArchive``.
*
*
* optional string source = 8;
* @param value The source to set.
* @return This builder for chaining.
*/
public Builder setSource(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000200;
source_ = value;
onChanged();
return this;
}
/**
*
* Specifies how to retrieve the parameters. Either ``ParameterArchive`` or
* ``replay``. If ``replay`` is specified, a replay processor will be created
* and data will be processed with the active Mission Database. Note that
* this is much slower than receiving data from the ParameterArchive.
* Default: ``ParameterArchive``.
*
*
* optional string source = 8;
* @return This builder for chaining.
*/
public Builder clearSource() {
bitField0_ = (bitField0_ & ~0x00000200);
source_ = getDefaultInstance().getSource();
onChanged();
return this;
}
/**
*
* Specifies how to retrieve the parameters. Either ``ParameterArchive`` or
* ``replay``. If ``replay`` is specified, a replay processor will be created
* and data will be processed with the active Mission Database. Note that
* this is much slower than receiving data from the ParameterArchive.
* Default: ``ParameterArchive``.
*
*
* optional string source = 8;
* @param value The bytes for source to set.
* @return This builder for chaining.
*/
public Builder setSourceBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000200;
source_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:yamcs.protobuf.archive.GetParameterSamplesRequest)
}
// @@protoc_insertion_point(class_scope:yamcs.protobuf.archive.GetParameterSamplesRequest)
private static final org.yamcs.protobuf.Archive.GetParameterSamplesRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.yamcs.protobuf.Archive.GetParameterSamplesRequest();
}
public static org.yamcs.protobuf.Archive.GetParameterSamplesRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetParameterSamplesRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetParameterSamplesRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public org.yamcs.protobuf.Archive.GetParameterSamplesRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ExportParameterValuesRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:yamcs.protobuf.archive.ExportParameterValuesRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return Whether the instance field is set.
*/
boolean hasInstance();
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return The instance.
*/
java.lang.String getInstance();
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return The bytes for instance.
*/
com.google.protobuf.ByteString
getInstanceBytes();
/**
*
* Filter the lower bound of the parameter's generation time.
* Specify a date string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 2;
* @return Whether the start field is set.
*/
boolean hasStart();
/**
*
* Filter the lower bound of the parameter's generation time.
* Specify a date string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 2;
* @return The start.
*/
com.google.protobuf.Timestamp getStart();
/**
*
* Filter the lower bound of the parameter's generation time.
* Specify a date string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 2;
*/
com.google.protobuf.TimestampOrBuilder getStartOrBuilder();
/**
*
* Filter the upper bound of the parameter's generation time.
* Specify a date string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 3;
* @return Whether the stop field is set.
*/
boolean hasStop();
/**
*
* Filter the upper bound of the parameter's generation time.
* Specify a date string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 3;
* @return The stop.
*/
com.google.protobuf.Timestamp getStop();
/**
*
* Filter the upper bound of the parameter's generation time.
* Specify a date string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 3;
*/
com.google.protobuf.TimestampOrBuilder getStopOrBuilder();
/**
*
* The parameters to add to the export.
*
*
* repeated string parameters = 4;
* @return A list containing the parameters.
*/
java.util.List
getParametersList();
/**
*
* The parameters to add to the export.
*
*
* repeated string parameters = 4;
* @return The count of parameters.
*/
int getParametersCount();
/**
*
* The parameters to add to the export.
*
*
* repeated string parameters = 4;
* @param index The index of the element to return.
* @return The parameters at the given index.
*/
java.lang.String getParameters(int index);
/**
*
* The parameters to add to the export.
*
*
* repeated string parameters = 4;
* @param index The index of the value to return.
* @return The bytes of the parameters at the given index.
*/
com.google.protobuf.ByteString
getParametersBytes(int index);
/**
*
* Identifier of a Parameter List, describing the parameters to
* export.
* This may be used as an alternative to the ``parameters`` field.
*
*
* optional string list = 14;
* @return Whether the list field is set.
*/
boolean hasList();
/**
*
* Identifier of a Parameter List, describing the parameters to
* export.
* This may be used as an alternative to the ``parameters`` field.
*
*
* optional string list = 14;
* @return The list.
*/
java.lang.String getList();
/**
*
* Identifier of a Parameter List, describing the parameters to
* export.
* This may be used as an alternative to the ``parameters`` field.
*
*
* optional string list = 14;
* @return The bytes for list.
*/
com.google.protobuf.ByteString
getListBytes();
/**
*
* Namespace used to display parameter names in csv header.
* Only used when no parameter ids were specified.
*
*
* optional string namespace = 5;
* @return Whether the namespace field is set.
*/
boolean hasNamespace();
/**
*
* Namespace used to display parameter names in csv header.
* Only used when no parameter ids were specified.
*
*
* optional string namespace = 5;
* @return The namespace.
*/
java.lang.String getNamespace();
/**
*
* Namespace used to display parameter names in csv header.
* Only used when no parameter ids were specified.
*
*
* optional string namespace = 5;
* @return The bytes for namespace.
*/
com.google.protobuf.ByteString
getNamespaceBytes();
/**
*
* Extra columns added to the CSV output:
* * ``raw``: Raw parameter values
* * ``monitoring``: Monitoring status
*
*
* repeated string extra = 6;
* @return A list containing the extra.
*/
java.util.List
getExtraList();
/**
*
* Extra columns added to the CSV output:
* * ``raw``: Raw parameter values
* * ``monitoring``: Monitoring status
*
*
* repeated string extra = 6;
* @return The count of extra.
*/
int getExtraCount();
/**
*
* Extra columns added to the CSV output:
* * ``raw``: Raw parameter values
* * ``monitoring``: Monitoring status
*
*
* repeated string extra = 6;
* @param index The index of the element to return.
* @return The extra at the given index.
*/
java.lang.String getExtra(int index);
/**
*
* Extra columns added to the CSV output:
* * ``raw``: Raw parameter values
* * ``monitoring``: Monitoring status
*
*
* repeated string extra = 6;
* @param index The index of the value to return.
* @return The bytes of the extra at the given index.
*/
com.google.protobuf.ByteString
getExtraBytes(int index);
/**
*
* Column delimiter. One of ``TAB``, ``COMMA`` or ``SEMICOLON``.
* Default: ``TAB``.
*
*
* optional string delimiter = 7;
* @return Whether the delimiter field is set.
*/
boolean hasDelimiter();
/**
*
* Column delimiter. One of ``TAB``, ``COMMA`` or ``SEMICOLON``.
* Default: ``TAB``.
*
*
* optional string delimiter = 7;
* @return The delimiter.
*/
java.lang.String getDelimiter();
/**
*
* Column delimiter. One of ``TAB``, ``COMMA`` or ``SEMICOLON``.
* Default: ``TAB``.
*
*
* optional string delimiter = 7;
* @return The bytes for delimiter.
*/
com.google.protobuf.ByteString
getDelimiterBytes();
/**
*
* When specified, only one value each for each interval is returned.
* The value is in milliseconds.
*
*
* optional int32 interval = 8;
* @return Whether the interval field is set.
*/
boolean hasInterval();
/**
*
* When specified, only one value each for each interval is returned.
* The value is in milliseconds.
*
*
* optional int32 interval = 8;
* @return The interval.
*/
int getInterval();
/**
*
* If true, repeat the the previous value, if there is no value for
* the current timestamp. Default: ``false``.
*
*
* optional bool preserveLastValue = 9;
* @return Whether the preserveLastValue field is set.
*/
boolean hasPreserveLastValue();
/**
*
* If true, repeat the the previous value, if there is no value for
* the current timestamp. Default: ``false``.
*
*
* optional bool preserveLastValue = 9;
* @return The preserveLastValue.
*/
boolean getPreserveLastValue();
/**
*
* The zero-based row number at which to start outputting results. Default: ``0``.
*
*
* optional int64 pos = 10;
* @return Whether the pos field is set.
*/
boolean hasPos();
/**
*
* The zero-based row number at which to start outputting results. Default: ``0``.
*
*
* optional int64 pos = 10;
* @return The pos.
*/
long getPos();
/**
*
* The maximum number of returned records. Default: unlimited.
*
*
* optional int32 limit = 11;
* @return Whether the limit field is set.
*/
boolean hasLimit();
/**
*
* The maximum number of returned records. Default: unlimited.
*
*
* optional int32 limit = 11;
* @return The limit.
*/
int getLimit();
/**
*
* The order of the returned results. Can be either ``asc`` or ``desc``.
* Default: ``asc``.
*
*
* optional string order = 12;
* @return Whether the order field is set.
*/
boolean hasOrder();
/**
*
* The order of the returned results. Can be either ``asc`` or ``desc``.
* Default: ``asc``.
*
*
* optional string order = 12;
* @return The order.
*/
java.lang.String getOrder();
/**
*
* The order of the returned results. Can be either ``asc`` or ``desc``.
* Default: ``asc``.
*
*
* optional string order = 12;
* @return The bytes for order.
*/
com.google.protobuf.ByteString
getOrderBytes();
/**
*
* Preferred filename, this is returned in a Content-Disposition HTTP header.
* If unset, Yamcs will determine a name.
*
*
* optional string filename = 13;
* @return Whether the filename field is set.
*/
boolean hasFilename();
/**
*
* Preferred filename, this is returned in a Content-Disposition HTTP header.
* If unset, Yamcs will determine a name.
*
*
* optional string filename = 13;
* @return The filename.
*/
java.lang.String getFilename();
/**
*
* Preferred filename, this is returned in a Content-Disposition HTTP header.
* If unset, Yamcs will determine a name.
*
*
* optional string filename = 13;
* @return The bytes for filename.
*/
com.google.protobuf.ByteString
getFilenameBytes();
/**
*
* Header row to include in the response.
* One of ``QUALIFIED_NAME``, ``SHORT_NAME`` or ``NONE``.
* Default: ``QUALIFIED_NAME``.
*
*
* optional string header = 15;
* @return Whether the header field is set.
*/
boolean hasHeader();
/**
*
* Header row to include in the response.
* One of ``QUALIFIED_NAME``, ``SHORT_NAME`` or ``NONE``.
* Default: ``QUALIFIED_NAME``.
*
*
* optional string header = 15;
* @return The header.
*/
java.lang.String getHeader();
/**
*
* Header row to include in the response.
* One of ``QUALIFIED_NAME``, ``SHORT_NAME`` or ``NONE``.
* Default: ``QUALIFIED_NAME``.
*
*
* optional string header = 15;
* @return The bytes for header.
*/
com.google.protobuf.ByteString
getHeaderBytes();
}
/**
* Protobuf type {@code yamcs.protobuf.archive.ExportParameterValuesRequest}
*/
public static final class ExportParameterValuesRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:yamcs.protobuf.archive.ExportParameterValuesRequest)
ExportParameterValuesRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use ExportParameterValuesRequest.newBuilder() to construct.
private ExportParameterValuesRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ExportParameterValuesRequest() {
instance_ = "";
parameters_ = com.google.protobuf.LazyStringArrayList.EMPTY;
list_ = "";
namespace_ = "";
extra_ = com.google.protobuf.LazyStringArrayList.EMPTY;
delimiter_ = "";
order_ = "";
filename_ = "";
header_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ExportParameterValuesRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ExportParameterValuesRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
instance_ = bs;
break;
}
case 18: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) != 0)) {
subBuilder = start_.toBuilder();
}
start_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(start_);
start_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000002;
break;
}
case 26: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (((bitField0_ & 0x00000004) != 0)) {
subBuilder = stop_.toBuilder();
}
stop_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(stop_);
stop_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000004;
break;
}
case 34: {
com.google.protobuf.ByteString bs = input.readBytes();
if (!((mutable_bitField0_ & 0x00000008) != 0)) {
parameters_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000008;
}
parameters_.add(bs);
break;
}
case 42: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000010;
namespace_ = bs;
break;
}
case 50: {
com.google.protobuf.ByteString bs = input.readBytes();
if (!((mutable_bitField0_ & 0x00000040) != 0)) {
extra_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000040;
}
extra_.add(bs);
break;
}
case 58: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000020;
delimiter_ = bs;
break;
}
case 64: {
bitField0_ |= 0x00000040;
interval_ = input.readInt32();
break;
}
case 72: {
bitField0_ |= 0x00000080;
preserveLastValue_ = input.readBool();
break;
}
case 80: {
bitField0_ |= 0x00000100;
pos_ = input.readInt64();
break;
}
case 88: {
bitField0_ |= 0x00000200;
limit_ = input.readInt32();
break;
}
case 98: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000400;
order_ = bs;
break;
}
case 106: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000800;
filename_ = bs;
break;
}
case 114: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000008;
list_ = bs;
break;
}
case 122: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00001000;
header_ = bs;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000008) != 0)) {
parameters_ = parameters_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000040) != 0)) {
extra_ = extra_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.yamcs.protobuf.Archive.internal_static_yamcs_protobuf_archive_ExportParameterValuesRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.yamcs.protobuf.Archive.internal_static_yamcs_protobuf_archive_ExportParameterValuesRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.yamcs.protobuf.Archive.ExportParameterValuesRequest.class, org.yamcs.protobuf.Archive.ExportParameterValuesRequest.Builder.class);
}
private int bitField0_;
public static final int INSTANCE_FIELD_NUMBER = 1;
private volatile java.lang.Object instance_;
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return Whether the instance field is set.
*/
@java.lang.Override
public boolean hasInstance() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return The instance.
*/
@java.lang.Override
public java.lang.String getInstance() {
java.lang.Object ref = instance_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
instance_ = s;
}
return s;
}
}
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return The bytes for instance.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getInstanceBytes() {
java.lang.Object ref = instance_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
instance_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int START_FIELD_NUMBER = 2;
private com.google.protobuf.Timestamp start_;
/**
*
* Filter the lower bound of the parameter's generation time.
* Specify a date string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 2;
* @return Whether the start field is set.
*/
@java.lang.Override
public boolean hasStart() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* Filter the lower bound of the parameter's generation time.
* Specify a date string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 2;
* @return The start.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getStart() {
return start_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : start_;
}
/**
*
* Filter the lower bound of the parameter's generation time.
* Specify a date string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 2;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getStartOrBuilder() {
return start_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : start_;
}
public static final int STOP_FIELD_NUMBER = 3;
private com.google.protobuf.Timestamp stop_;
/**
*
* Filter the upper bound of the parameter's generation time.
* Specify a date string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 3;
* @return Whether the stop field is set.
*/
@java.lang.Override
public boolean hasStop() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
* Filter the upper bound of the parameter's generation time.
* Specify a date string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 3;
* @return The stop.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getStop() {
return stop_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stop_;
}
/**
*
* Filter the upper bound of the parameter's generation time.
* Specify a date string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 3;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getStopOrBuilder() {
return stop_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stop_;
}
public static final int PARAMETERS_FIELD_NUMBER = 4;
private com.google.protobuf.LazyStringList parameters_;
/**
*
* The parameters to add to the export.
*
*
* repeated string parameters = 4;
* @return A list containing the parameters.
*/
public com.google.protobuf.ProtocolStringList
getParametersList() {
return parameters_;
}
/**
*
* The parameters to add to the export.
*
*
* repeated string parameters = 4;
* @return The count of parameters.
*/
public int getParametersCount() {
return parameters_.size();
}
/**
*
* The parameters to add to the export.
*
*
* repeated string parameters = 4;
* @param index The index of the element to return.
* @return The parameters at the given index.
*/
public java.lang.String getParameters(int index) {
return parameters_.get(index);
}
/**
*
* The parameters to add to the export.
*
*
* repeated string parameters = 4;
* @param index The index of the value to return.
* @return The bytes of the parameters at the given index.
*/
public com.google.protobuf.ByteString
getParametersBytes(int index) {
return parameters_.getByteString(index);
}
public static final int LIST_FIELD_NUMBER = 14;
private volatile java.lang.Object list_;
/**
*
* Identifier of a Parameter List, describing the parameters to
* export.
* This may be used as an alternative to the ``parameters`` field.
*
*
* optional string list = 14;
* @return Whether the list field is set.
*/
@java.lang.Override
public boolean hasList() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
*
* Identifier of a Parameter List, describing the parameters to
* export.
* This may be used as an alternative to the ``parameters`` field.
*
*
* optional string list = 14;
* @return The list.
*/
@java.lang.Override
public java.lang.String getList() {
java.lang.Object ref = list_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
list_ = s;
}
return s;
}
}
/**
*
* Identifier of a Parameter List, describing the parameters to
* export.
* This may be used as an alternative to the ``parameters`` field.
*
*
* optional string list = 14;
* @return The bytes for list.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getListBytes() {
java.lang.Object ref = list_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
list_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NAMESPACE_FIELD_NUMBER = 5;
private volatile java.lang.Object namespace_;
/**
*
* Namespace used to display parameter names in csv header.
* Only used when no parameter ids were specified.
*
*
* optional string namespace = 5;
* @return Whether the namespace field is set.
*/
@java.lang.Override
public boolean hasNamespace() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
*
* Namespace used to display parameter names in csv header.
* Only used when no parameter ids were specified.
*
*
* optional string namespace = 5;
* @return The namespace.
*/
@java.lang.Override
public java.lang.String getNamespace() {
java.lang.Object ref = namespace_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
namespace_ = s;
}
return s;
}
}
/**
*
* Namespace used to display parameter names in csv header.
* Only used when no parameter ids were specified.
*
*
* optional string namespace = 5;
* @return The bytes for namespace.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNamespaceBytes() {
java.lang.Object ref = namespace_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
namespace_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int EXTRA_FIELD_NUMBER = 6;
private com.google.protobuf.LazyStringList extra_;
/**
*
* Extra columns added to the CSV output:
* * ``raw``: Raw parameter values
* * ``monitoring``: Monitoring status
*
*
* repeated string extra = 6;
* @return A list containing the extra.
*/
public com.google.protobuf.ProtocolStringList
getExtraList() {
return extra_;
}
/**
*
* Extra columns added to the CSV output:
* * ``raw``: Raw parameter values
* * ``monitoring``: Monitoring status
*
*
* repeated string extra = 6;
* @return The count of extra.
*/
public int getExtraCount() {
return extra_.size();
}
/**
*
* Extra columns added to the CSV output:
* * ``raw``: Raw parameter values
* * ``monitoring``: Monitoring status
*
*
* repeated string extra = 6;
* @param index The index of the element to return.
* @return The extra at the given index.
*/
public java.lang.String getExtra(int index) {
return extra_.get(index);
}
/**
*
* Extra columns added to the CSV output:
* * ``raw``: Raw parameter values
* * ``monitoring``: Monitoring status
*
*
* repeated string extra = 6;
* @param index The index of the value to return.
* @return The bytes of the extra at the given index.
*/
public com.google.protobuf.ByteString
getExtraBytes(int index) {
return extra_.getByteString(index);
}
public static final int DELIMITER_FIELD_NUMBER = 7;
private volatile java.lang.Object delimiter_;
/**
*
* Column delimiter. One of ``TAB``, ``COMMA`` or ``SEMICOLON``.
* Default: ``TAB``.
*
*
* optional string delimiter = 7;
* @return Whether the delimiter field is set.
*/
@java.lang.Override
public boolean hasDelimiter() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
*
* Column delimiter. One of ``TAB``, ``COMMA`` or ``SEMICOLON``.
* Default: ``TAB``.
*
*
* optional string delimiter = 7;
* @return The delimiter.
*/
@java.lang.Override
public java.lang.String getDelimiter() {
java.lang.Object ref = delimiter_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
delimiter_ = s;
}
return s;
}
}
/**
*
* Column delimiter. One of ``TAB``, ``COMMA`` or ``SEMICOLON``.
* Default: ``TAB``.
*
*
* optional string delimiter = 7;
* @return The bytes for delimiter.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDelimiterBytes() {
java.lang.Object ref = delimiter_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
delimiter_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int INTERVAL_FIELD_NUMBER = 8;
private int interval_;
/**
*
* When specified, only one value each for each interval is returned.
* The value is in milliseconds.
*
*
* optional int32 interval = 8;
* @return Whether the interval field is set.
*/
@java.lang.Override
public boolean hasInterval() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
*
* When specified, only one value each for each interval is returned.
* The value is in milliseconds.
*
*
* optional int32 interval = 8;
* @return The interval.
*/
@java.lang.Override
public int getInterval() {
return interval_;
}
public static final int PRESERVELASTVALUE_FIELD_NUMBER = 9;
private boolean preserveLastValue_;
/**
*
* If true, repeat the the previous value, if there is no value for
* the current timestamp. Default: ``false``.
*
*
* optional bool preserveLastValue = 9;
* @return Whether the preserveLastValue field is set.
*/
@java.lang.Override
public boolean hasPreserveLastValue() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
*
* If true, repeat the the previous value, if there is no value for
* the current timestamp. Default: ``false``.
*
*
* optional bool preserveLastValue = 9;
* @return The preserveLastValue.
*/
@java.lang.Override
public boolean getPreserveLastValue() {
return preserveLastValue_;
}
public static final int POS_FIELD_NUMBER = 10;
private long pos_;
/**
*
* The zero-based row number at which to start outputting results. Default: ``0``.
*
*
* optional int64 pos = 10;
* @return Whether the pos field is set.
*/
@java.lang.Override
public boolean hasPos() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
*
* The zero-based row number at which to start outputting results. Default: ``0``.
*
*
* optional int64 pos = 10;
* @return The pos.
*/
@java.lang.Override
public long getPos() {
return pos_;
}
public static final int LIMIT_FIELD_NUMBER = 11;
private int limit_;
/**
*
* The maximum number of returned records. Default: unlimited.
*
*
* optional int32 limit = 11;
* @return Whether the limit field is set.
*/
@java.lang.Override
public boolean hasLimit() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
*
* The maximum number of returned records. Default: unlimited.
*
*
* optional int32 limit = 11;
* @return The limit.
*/
@java.lang.Override
public int getLimit() {
return limit_;
}
public static final int ORDER_FIELD_NUMBER = 12;
private volatile java.lang.Object order_;
/**
*
* The order of the returned results. Can be either ``asc`` or ``desc``.
* Default: ``asc``.
*
*
* optional string order = 12;
* @return Whether the order field is set.
*/
@java.lang.Override
public boolean hasOrder() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
*
* The order of the returned results. Can be either ``asc`` or ``desc``.
* Default: ``asc``.
*
*
* optional string order = 12;
* @return The order.
*/
@java.lang.Override
public java.lang.String getOrder() {
java.lang.Object ref = order_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
order_ = s;
}
return s;
}
}
/**
*
* The order of the returned results. Can be either ``asc`` or ``desc``.
* Default: ``asc``.
*
*
* optional string order = 12;
* @return The bytes for order.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOrderBytes() {
java.lang.Object ref = order_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
order_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FILENAME_FIELD_NUMBER = 13;
private volatile java.lang.Object filename_;
/**
*
* Preferred filename, this is returned in a Content-Disposition HTTP header.
* If unset, Yamcs will determine a name.
*
*
* optional string filename = 13;
* @return Whether the filename field is set.
*/
@java.lang.Override
public boolean hasFilename() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
*
* Preferred filename, this is returned in a Content-Disposition HTTP header.
* If unset, Yamcs will determine a name.
*
*
* optional string filename = 13;
* @return The filename.
*/
@java.lang.Override
public java.lang.String getFilename() {
java.lang.Object ref = filename_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
filename_ = s;
}
return s;
}
}
/**
*
* Preferred filename, this is returned in a Content-Disposition HTTP header.
* If unset, Yamcs will determine a name.
*
*
* optional string filename = 13;
* @return The bytes for filename.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFilenameBytes() {
java.lang.Object ref = filename_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
filename_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int HEADER_FIELD_NUMBER = 15;
private volatile java.lang.Object header_;
/**
*
* Header row to include in the response.
* One of ``QUALIFIED_NAME``, ``SHORT_NAME`` or ``NONE``.
* Default: ``QUALIFIED_NAME``.
*
*
* optional string header = 15;
* @return Whether the header field is set.
*/
@java.lang.Override
public boolean hasHeader() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
*
* Header row to include in the response.
* One of ``QUALIFIED_NAME``, ``SHORT_NAME`` or ``NONE``.
* Default: ``QUALIFIED_NAME``.
*
*
* optional string header = 15;
* @return The header.
*/
@java.lang.Override
public java.lang.String getHeader() {
java.lang.Object ref = header_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
header_ = s;
}
return s;
}
}
/**
*
* Header row to include in the response.
* One of ``QUALIFIED_NAME``, ``SHORT_NAME`` or ``NONE``.
* Default: ``QUALIFIED_NAME``.
*
*
* optional string header = 15;
* @return The bytes for header.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getHeaderBytes() {
java.lang.Object ref = header_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
header_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instance_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getStart());
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(3, getStop());
}
for (int i = 0; i < parameters_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, parameters_.getRaw(i));
}
if (((bitField0_ & 0x00000010) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, namespace_);
}
for (int i = 0; i < extra_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, extra_.getRaw(i));
}
if (((bitField0_ & 0x00000020) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, delimiter_);
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeInt32(8, interval_);
}
if (((bitField0_ & 0x00000080) != 0)) {
output.writeBool(9, preserveLastValue_);
}
if (((bitField0_ & 0x00000100) != 0)) {
output.writeInt64(10, pos_);
}
if (((bitField0_ & 0x00000200) != 0)) {
output.writeInt32(11, limit_);
}
if (((bitField0_ & 0x00000400) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 12, order_);
}
if (((bitField0_ & 0x00000800) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 13, filename_);
}
if (((bitField0_ & 0x00000008) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 14, list_);
}
if (((bitField0_ & 0x00001000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 15, header_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instance_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getStart());
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getStop());
}
{
int dataSize = 0;
for (int i = 0; i < parameters_.size(); i++) {
dataSize += computeStringSizeNoTag(parameters_.getRaw(i));
}
size += dataSize;
size += 1 * getParametersList().size();
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, namespace_);
}
{
int dataSize = 0;
for (int i = 0; i < extra_.size(); i++) {
dataSize += computeStringSizeNoTag(extra_.getRaw(i));
}
size += dataSize;
size += 1 * getExtraList().size();
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, delimiter_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(8, interval_);
}
if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(9, preserveLastValue_);
}
if (((bitField0_ & 0x00000100) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(10, pos_);
}
if (((bitField0_ & 0x00000200) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(11, limit_);
}
if (((bitField0_ & 0x00000400) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, order_);
}
if (((bitField0_ & 0x00000800) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, filename_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, list_);
}
if (((bitField0_ & 0x00001000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, header_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.yamcs.protobuf.Archive.ExportParameterValuesRequest)) {
return super.equals(obj);
}
org.yamcs.protobuf.Archive.ExportParameterValuesRequest other = (org.yamcs.protobuf.Archive.ExportParameterValuesRequest) obj;
if (hasInstance() != other.hasInstance()) return false;
if (hasInstance()) {
if (!getInstance()
.equals(other.getInstance())) return false;
}
if (hasStart() != other.hasStart()) return false;
if (hasStart()) {
if (!getStart()
.equals(other.getStart())) return false;
}
if (hasStop() != other.hasStop()) return false;
if (hasStop()) {
if (!getStop()
.equals(other.getStop())) return false;
}
if (!getParametersList()
.equals(other.getParametersList())) return false;
if (hasList() != other.hasList()) return false;
if (hasList()) {
if (!getList()
.equals(other.getList())) return false;
}
if (hasNamespace() != other.hasNamespace()) return false;
if (hasNamespace()) {
if (!getNamespace()
.equals(other.getNamespace())) return false;
}
if (!getExtraList()
.equals(other.getExtraList())) return false;
if (hasDelimiter() != other.hasDelimiter()) return false;
if (hasDelimiter()) {
if (!getDelimiter()
.equals(other.getDelimiter())) return false;
}
if (hasInterval() != other.hasInterval()) return false;
if (hasInterval()) {
if (getInterval()
!= other.getInterval()) return false;
}
if (hasPreserveLastValue() != other.hasPreserveLastValue()) return false;
if (hasPreserveLastValue()) {
if (getPreserveLastValue()
!= other.getPreserveLastValue()) return false;
}
if (hasPos() != other.hasPos()) return false;
if (hasPos()) {
if (getPos()
!= other.getPos()) return false;
}
if (hasLimit() != other.hasLimit()) return false;
if (hasLimit()) {
if (getLimit()
!= other.getLimit()) return false;
}
if (hasOrder() != other.hasOrder()) return false;
if (hasOrder()) {
if (!getOrder()
.equals(other.getOrder())) return false;
}
if (hasFilename() != other.hasFilename()) return false;
if (hasFilename()) {
if (!getFilename()
.equals(other.getFilename())) return false;
}
if (hasHeader() != other.hasHeader()) return false;
if (hasHeader()) {
if (!getHeader()
.equals(other.getHeader())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasInstance()) {
hash = (37 * hash) + INSTANCE_FIELD_NUMBER;
hash = (53 * hash) + getInstance().hashCode();
}
if (hasStart()) {
hash = (37 * hash) + START_FIELD_NUMBER;
hash = (53 * hash) + getStart().hashCode();
}
if (hasStop()) {
hash = (37 * hash) + STOP_FIELD_NUMBER;
hash = (53 * hash) + getStop().hashCode();
}
if (getParametersCount() > 0) {
hash = (37 * hash) + PARAMETERS_FIELD_NUMBER;
hash = (53 * hash) + getParametersList().hashCode();
}
if (hasList()) {
hash = (37 * hash) + LIST_FIELD_NUMBER;
hash = (53 * hash) + getList().hashCode();
}
if (hasNamespace()) {
hash = (37 * hash) + NAMESPACE_FIELD_NUMBER;
hash = (53 * hash) + getNamespace().hashCode();
}
if (getExtraCount() > 0) {
hash = (37 * hash) + EXTRA_FIELD_NUMBER;
hash = (53 * hash) + getExtraList().hashCode();
}
if (hasDelimiter()) {
hash = (37 * hash) + DELIMITER_FIELD_NUMBER;
hash = (53 * hash) + getDelimiter().hashCode();
}
if (hasInterval()) {
hash = (37 * hash) + INTERVAL_FIELD_NUMBER;
hash = (53 * hash) + getInterval();
}
if (hasPreserveLastValue()) {
hash = (37 * hash) + PRESERVELASTVALUE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getPreserveLastValue());
}
if (hasPos()) {
hash = (37 * hash) + POS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getPos());
}
if (hasLimit()) {
hash = (37 * hash) + LIMIT_FIELD_NUMBER;
hash = (53 * hash) + getLimit();
}
if (hasOrder()) {
hash = (37 * hash) + ORDER_FIELD_NUMBER;
hash = (53 * hash) + getOrder().hashCode();
}
if (hasFilename()) {
hash = (37 * hash) + FILENAME_FIELD_NUMBER;
hash = (53 * hash) + getFilename().hashCode();
}
if (hasHeader()) {
hash = (37 * hash) + HEADER_FIELD_NUMBER;
hash = (53 * hash) + getHeader().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.yamcs.protobuf.Archive.ExportParameterValuesRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.yamcs.protobuf.Archive.ExportParameterValuesRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.yamcs.protobuf.Archive.ExportParameterValuesRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.yamcs.protobuf.Archive.ExportParameterValuesRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.yamcs.protobuf.Archive.ExportParameterValuesRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.yamcs.protobuf.Archive.ExportParameterValuesRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.yamcs.protobuf.Archive.ExportParameterValuesRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.yamcs.protobuf.Archive.ExportParameterValuesRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.yamcs.protobuf.Archive.ExportParameterValuesRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.yamcs.protobuf.Archive.ExportParameterValuesRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.yamcs.protobuf.Archive.ExportParameterValuesRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.yamcs.protobuf.Archive.ExportParameterValuesRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.yamcs.protobuf.Archive.ExportParameterValuesRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code yamcs.protobuf.archive.ExportParameterValuesRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:yamcs.protobuf.archive.ExportParameterValuesRequest)
org.yamcs.protobuf.Archive.ExportParameterValuesRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.yamcs.protobuf.Archive.internal_static_yamcs_protobuf_archive_ExportParameterValuesRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.yamcs.protobuf.Archive.internal_static_yamcs_protobuf_archive_ExportParameterValuesRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.yamcs.protobuf.Archive.ExportParameterValuesRequest.class, org.yamcs.protobuf.Archive.ExportParameterValuesRequest.Builder.class);
}
// Construct using org.yamcs.protobuf.Archive.ExportParameterValuesRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStartFieldBuilder();
getStopFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
instance_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
if (startBuilder_ == null) {
start_ = null;
} else {
startBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
if (stopBuilder_ == null) {
stop_ = null;
} else {
stopBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
parameters_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000008);
list_ = "";
bitField0_ = (bitField0_ & ~0x00000010);
namespace_ = "";
bitField0_ = (bitField0_ & ~0x00000020);
extra_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000040);
delimiter_ = "";
bitField0_ = (bitField0_ & ~0x00000080);
interval_ = 0;
bitField0_ = (bitField0_ & ~0x00000100);
preserveLastValue_ = false;
bitField0_ = (bitField0_ & ~0x00000200);
pos_ = 0L;
bitField0_ = (bitField0_ & ~0x00000400);
limit_ = 0;
bitField0_ = (bitField0_ & ~0x00000800);
order_ = "";
bitField0_ = (bitField0_ & ~0x00001000);
filename_ = "";
bitField0_ = (bitField0_ & ~0x00002000);
header_ = "";
bitField0_ = (bitField0_ & ~0x00004000);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.yamcs.protobuf.Archive.internal_static_yamcs_protobuf_archive_ExportParameterValuesRequest_descriptor;
}
@java.lang.Override
public org.yamcs.protobuf.Archive.ExportParameterValuesRequest getDefaultInstanceForType() {
return org.yamcs.protobuf.Archive.ExportParameterValuesRequest.getDefaultInstance();
}
@java.lang.Override
public org.yamcs.protobuf.Archive.ExportParameterValuesRequest build() {
org.yamcs.protobuf.Archive.ExportParameterValuesRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.yamcs.protobuf.Archive.ExportParameterValuesRequest buildPartial() {
org.yamcs.protobuf.Archive.ExportParameterValuesRequest result = new org.yamcs.protobuf.Archive.ExportParameterValuesRequest(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
to_bitField0_ |= 0x00000001;
}
result.instance_ = instance_;
if (((from_bitField0_ & 0x00000002) != 0)) {
if (startBuilder_ == null) {
result.start_ = start_;
} else {
result.start_ = startBuilder_.build();
}
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
if (stopBuilder_ == null) {
result.stop_ = stop_;
} else {
result.stop_ = stopBuilder_.build();
}
to_bitField0_ |= 0x00000004;
}
if (((bitField0_ & 0x00000008) != 0)) {
parameters_ = parameters_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000008);
}
result.parameters_ = parameters_;
if (((from_bitField0_ & 0x00000010) != 0)) {
to_bitField0_ |= 0x00000008;
}
result.list_ = list_;
if (((from_bitField0_ & 0x00000020) != 0)) {
to_bitField0_ |= 0x00000010;
}
result.namespace_ = namespace_;
if (((bitField0_ & 0x00000040) != 0)) {
extra_ = extra_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000040);
}
result.extra_ = extra_;
if (((from_bitField0_ & 0x00000080) != 0)) {
to_bitField0_ |= 0x00000020;
}
result.delimiter_ = delimiter_;
if (((from_bitField0_ & 0x00000100) != 0)) {
result.interval_ = interval_;
to_bitField0_ |= 0x00000040;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
result.preserveLastValue_ = preserveLastValue_;
to_bitField0_ |= 0x00000080;
}
if (((from_bitField0_ & 0x00000400) != 0)) {
result.pos_ = pos_;
to_bitField0_ |= 0x00000100;
}
if (((from_bitField0_ & 0x00000800) != 0)) {
result.limit_ = limit_;
to_bitField0_ |= 0x00000200;
}
if (((from_bitField0_ & 0x00001000) != 0)) {
to_bitField0_ |= 0x00000400;
}
result.order_ = order_;
if (((from_bitField0_ & 0x00002000) != 0)) {
to_bitField0_ |= 0x00000800;
}
result.filename_ = filename_;
if (((from_bitField0_ & 0x00004000) != 0)) {
to_bitField0_ |= 0x00001000;
}
result.header_ = header_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.yamcs.protobuf.Archive.ExportParameterValuesRequest) {
return mergeFrom((org.yamcs.protobuf.Archive.ExportParameterValuesRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.yamcs.protobuf.Archive.ExportParameterValuesRequest other) {
if (other == org.yamcs.protobuf.Archive.ExportParameterValuesRequest.getDefaultInstance()) return this;
if (other.hasInstance()) {
bitField0_ |= 0x00000001;
instance_ = other.instance_;
onChanged();
}
if (other.hasStart()) {
mergeStart(other.getStart());
}
if (other.hasStop()) {
mergeStop(other.getStop());
}
if (!other.parameters_.isEmpty()) {
if (parameters_.isEmpty()) {
parameters_ = other.parameters_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureParametersIsMutable();
parameters_.addAll(other.parameters_);
}
onChanged();
}
if (other.hasList()) {
bitField0_ |= 0x00000010;
list_ = other.list_;
onChanged();
}
if (other.hasNamespace()) {
bitField0_ |= 0x00000020;
namespace_ = other.namespace_;
onChanged();
}
if (!other.extra_.isEmpty()) {
if (extra_.isEmpty()) {
extra_ = other.extra_;
bitField0_ = (bitField0_ & ~0x00000040);
} else {
ensureExtraIsMutable();
extra_.addAll(other.extra_);
}
onChanged();
}
if (other.hasDelimiter()) {
bitField0_ |= 0x00000080;
delimiter_ = other.delimiter_;
onChanged();
}
if (other.hasInterval()) {
setInterval(other.getInterval());
}
if (other.hasPreserveLastValue()) {
setPreserveLastValue(other.getPreserveLastValue());
}
if (other.hasPos()) {
setPos(other.getPos());
}
if (other.hasLimit()) {
setLimit(other.getLimit());
}
if (other.hasOrder()) {
bitField0_ |= 0x00001000;
order_ = other.order_;
onChanged();
}
if (other.hasFilename()) {
bitField0_ |= 0x00002000;
filename_ = other.filename_;
onChanged();
}
if (other.hasHeader()) {
bitField0_ |= 0x00004000;
header_ = other.header_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.yamcs.protobuf.Archive.ExportParameterValuesRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.yamcs.protobuf.Archive.ExportParameterValuesRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object instance_ = "";
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return Whether the instance field is set.
*/
public boolean hasInstance() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return The instance.
*/
public java.lang.String getInstance() {
java.lang.Object ref = instance_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
instance_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return The bytes for instance.
*/
public com.google.protobuf.ByteString
getInstanceBytes() {
java.lang.Object ref = instance_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
instance_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @param value The instance to set.
* @return This builder for chaining.
*/
public Builder setInstance(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
instance_ = value;
onChanged();
return this;
}
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @return This builder for chaining.
*/
public Builder clearInstance() {
bitField0_ = (bitField0_ & ~0x00000001);
instance_ = getDefaultInstance().getInstance();
onChanged();
return this;
}
/**
*
* Yamcs instance name
*
*
* optional string instance = 1;
* @param value The bytes for instance to set.
* @return This builder for chaining.
*/
public Builder setInstanceBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
instance_ = value;
onChanged();
return this;
}
private com.google.protobuf.Timestamp start_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startBuilder_;
/**
*
* Filter the lower bound of the parameter's generation time.
* Specify a date string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 2;
* @return Whether the start field is set.
*/
public boolean hasStart() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* Filter the lower bound of the parameter's generation time.
* Specify a date string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 2;
* @return The start.
*/
public com.google.protobuf.Timestamp getStart() {
if (startBuilder_ == null) {
return start_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : start_;
} else {
return startBuilder_.getMessage();
}
}
/**
*
* Filter the lower bound of the parameter's generation time.
* Specify a date string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 2;
*/
public Builder setStart(com.google.protobuf.Timestamp value) {
if (startBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
start_ = value;
onChanged();
} else {
startBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
*
* Filter the lower bound of the parameter's generation time.
* Specify a date string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 2;
*/
public Builder setStart(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (startBuilder_ == null) {
start_ = builderForValue.build();
onChanged();
} else {
startBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
return this;
}
/**
*
* Filter the lower bound of the parameter's generation time.
* Specify a date string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 2;
*/
public Builder mergeStart(com.google.protobuf.Timestamp value) {
if (startBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
start_ != null &&
start_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
start_ =
com.google.protobuf.Timestamp.newBuilder(start_).mergeFrom(value).buildPartial();
} else {
start_ = value;
}
onChanged();
} else {
startBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
*
* Filter the lower bound of the parameter's generation time.
* Specify a date string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 2;
*/
public Builder clearStart() {
if (startBuilder_ == null) {
start_ = null;
onChanged();
} else {
startBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
*
* Filter the lower bound of the parameter's generation time.
* Specify a date string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 2;
*/
public com.google.protobuf.Timestamp.Builder getStartBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getStartFieldBuilder().getBuilder();
}
/**
*
* Filter the lower bound of the parameter's generation time.
* Specify a date string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 2;
*/
public com.google.protobuf.TimestampOrBuilder getStartOrBuilder() {
if (startBuilder_ != null) {
return startBuilder_.getMessageOrBuilder();
} else {
return start_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : start_;
}
}
/**
*
* Filter the lower bound of the parameter's generation time.
* Specify a date string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp start = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getStartFieldBuilder() {
if (startBuilder_ == null) {
startBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getStart(),
getParentForChildren(),
isClean());
start_ = null;
}
return startBuilder_;
}
private com.google.protobuf.Timestamp stop_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> stopBuilder_;
/**
*
* Filter the upper bound of the parameter's generation time.
* Specify a date string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 3;
* @return Whether the stop field is set.
*/
public boolean hasStop() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
* Filter the upper bound of the parameter's generation time.
* Specify a date string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 3;
* @return The stop.
*/
public com.google.protobuf.Timestamp getStop() {
if (stopBuilder_ == null) {
return stop_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stop_;
} else {
return stopBuilder_.getMessage();
}
}
/**
*
* Filter the upper bound of the parameter's generation time.
* Specify a date string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 3;
*/
public Builder setStop(com.google.protobuf.Timestamp value) {
if (stopBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
stop_ = value;
onChanged();
} else {
stopBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
*
* Filter the upper bound of the parameter's generation time.
* Specify a date string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 3;
*/
public Builder setStop(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (stopBuilder_ == null) {
stop_ = builderForValue.build();
onChanged();
} else {
stopBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
return this;
}
/**
*
* Filter the upper bound of the parameter's generation time.
* Specify a date string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 3;
*/
public Builder mergeStop(com.google.protobuf.Timestamp value) {
if (stopBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
stop_ != null &&
stop_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
stop_ =
com.google.protobuf.Timestamp.newBuilder(stop_).mergeFrom(value).buildPartial();
} else {
stop_ = value;
}
onChanged();
} else {
stopBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
*
* Filter the upper bound of the parameter's generation time.
* Specify a date string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 3;
*/
public Builder clearStop() {
if (stopBuilder_ == null) {
stop_ = null;
onChanged();
} else {
stopBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
/**
*
* Filter the upper bound of the parameter's generation time.
* Specify a date string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 3;
*/
public com.google.protobuf.Timestamp.Builder getStopBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getStopFieldBuilder().getBuilder();
}
/**
*
* Filter the upper bound of the parameter's generation time.
* Specify a date string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 3;
*/
public com.google.protobuf.TimestampOrBuilder getStopOrBuilder() {
if (stopBuilder_ != null) {
return stopBuilder_.getMessageOrBuilder();
} else {
return stop_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : stop_;
}
}
/**
*
* Filter the upper bound of the parameter's generation time.
* Specify a date string in ISO 8601 format.
*
*
* optional .google.protobuf.Timestamp stop = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getStopFieldBuilder() {
if (stopBuilder_ == null) {
stopBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getStop(),
getParentForChildren(),
isClean());
stop_ = null;
}
return stopBuilder_;
}
private com.google.protobuf.LazyStringList parameters_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureParametersIsMutable() {
if (!((bitField0_ & 0x00000008) != 0)) {
parameters_ = new com.google.protobuf.LazyStringArrayList(parameters_);
bitField0_ |= 0x00000008;
}
}
/**
*
* The parameters to add to the export.
*
*
* repeated string parameters = 4;
* @return A list containing the parameters.
*/
public com.google.protobuf.ProtocolStringList
getParametersList() {
return parameters_.getUnmodifiableView();
}
/**
*
* The parameters to add to the export.
*
*
* repeated string parameters = 4;
* @return The count of parameters.
*/
public int getParametersCount() {
return parameters_.size();
}
/**
*
* The parameters to add to the export.
*
*
* repeated string parameters = 4;
* @param index The index of the element to return.
* @return The parameters at the given index.
*/
public java.lang.String getParameters(int index) {
return parameters_.get(index);
}
/**
*
* The parameters to add to the export.
*
*
* repeated string parameters = 4;
* @param index The index of the value to return.
* @return The bytes of the parameters at the given index.
*/
public com.google.protobuf.ByteString
getParametersBytes(int index) {
return parameters_.getByteString(index);
}
/**
*
* The parameters to add to the export.
*
*
* repeated string parameters = 4;
* @param index The index to set the value at.
* @param value The parameters to set.
* @return This builder for chaining.
*/
public Builder setParameters(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureParametersIsMutable();
parameters_.set(index, value);
onChanged();
return this;
}
/**
*
* The parameters to add to the export.
*
*
* repeated string parameters = 4;
* @param value The parameters to add.
* @return This builder for chaining.
*/
public Builder addParameters(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureParametersIsMutable();
parameters_.add(value);
onChanged();
return this;
}
/**
*
* The parameters to add to the export.
*
*
* repeated string parameters = 4;
* @param values The parameters to add.
* @return This builder for chaining.
*/
public Builder addAllParameters(
java.lang.Iterable values) {
ensureParametersIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, parameters_);
onChanged();
return this;
}
/**
*
* The parameters to add to the export.
*
*
* repeated string parameters = 4;
* @return This builder for chaining.
*/
public Builder clearParameters() {
parameters_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
*
* The parameters to add to the export.
*
*
* repeated string parameters = 4;
* @param value The bytes of the parameters to add.
* @return This builder for chaining.
*/
public Builder addParametersBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureParametersIsMutable();
parameters_.add(value);
onChanged();
return this;
}
private java.lang.Object list_ = "";
/**
*
* Identifier of a Parameter List, describing the parameters to
* export.
* This may be used as an alternative to the ``parameters`` field.
*
*
* optional string list = 14;
* @return Whether the list field is set.
*/
public boolean hasList() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
*
* Identifier of a Parameter List, describing the parameters to
* export.
* This may be used as an alternative to the ``parameters`` field.
*
*
* optional string list = 14;
* @return The list.
*/
public java.lang.String getList() {
java.lang.Object ref = list_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
list_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Identifier of a Parameter List, describing the parameters to
* export.
* This may be used as an alternative to the ``parameters`` field.
*
*
* optional string list = 14;
* @return The bytes for list.
*/
public com.google.protobuf.ByteString
getListBytes() {
java.lang.Object ref = list_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
list_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Identifier of a Parameter List, describing the parameters to
* export.
* This may be used as an alternative to the ``parameters`` field.
*
*
* optional string list = 14;
* @param value The list to set.
* @return This builder for chaining.
*/
public Builder setList(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
list_ = value;
onChanged();
return this;
}
/**
*
* Identifier of a Parameter List, describing the parameters to
* export.
* This may be used as an alternative to the ``parameters`` field.
*
*
* optional string list = 14;
* @return This builder for chaining.
*/
public Builder clearList() {
bitField0_ = (bitField0_ & ~0x00000010);
list_ = getDefaultInstance().getList();
onChanged();
return this;
}
/**
*
* Identifier of a Parameter List, describing the parameters to
* export.
* This may be used as an alternative to the ``parameters`` field.
*
*
* optional string list = 14;
* @param value The bytes for list to set.
* @return This builder for chaining.
*/
public Builder setListBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
list_ = value;
onChanged();
return this;
}
private java.lang.Object namespace_ = "";
/**
*
* Namespace used to display parameter names in csv header.
* Only used when no parameter ids were specified.
*
*
* optional string namespace = 5;
* @return Whether the namespace field is set.
*/
public boolean hasNamespace() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
*
* Namespace used to display parameter names in csv header.
* Only used when no parameter ids were specified.
*
*
* optional string namespace = 5;
* @return The namespace.
*/
public java.lang.String getNamespace() {
java.lang.Object ref = namespace_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
namespace_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Namespace used to display parameter names in csv header.
* Only used when no parameter ids were specified.
*
*
* optional string namespace = 5;
* @return The bytes for namespace.
*/
public com.google.protobuf.ByteString
getNamespaceBytes() {
java.lang.Object ref = namespace_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
namespace_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Namespace used to display parameter names in csv header.
* Only used when no parameter ids were specified.
*
*
* optional string namespace = 5;
* @param value The namespace to set.
* @return This builder for chaining.
*/
public Builder setNamespace(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
namespace_ = value;
onChanged();
return this;
}
/**
*
* Namespace used to display parameter names in csv header.
* Only used when no parameter ids were specified.
*
*
* optional string namespace = 5;
* @return This builder for chaining.
*/
public Builder clearNamespace() {
bitField0_ = (bitField0_ & ~0x00000020);
namespace_ = getDefaultInstance().getNamespace();
onChanged();
return this;
}
/**
*
* Namespace used to display parameter names in csv header.
* Only used when no parameter ids were specified.
*
*
* optional string namespace = 5;
* @param value The bytes for namespace to set.
* @return This builder for chaining.
*/
public Builder setNamespaceBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
namespace_ = value;
onChanged();
return this;
}
private com.google.protobuf.LazyStringList extra_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureExtraIsMutable() {
if (!((bitField0_ & 0x00000040) != 0)) {
extra_ = new com.google.protobuf.LazyStringArrayList(extra_);
bitField0_ |= 0x00000040;
}
}
/**
*
* Extra columns added to the CSV output:
* * ``raw``: Raw parameter values
* * ``monitoring``: Monitoring status
*
*
* repeated string extra = 6;
* @return A list containing the extra.
*/
public com.google.protobuf.ProtocolStringList
getExtraList() {
return extra_.getUnmodifiableView();
}
/**
*
* Extra columns added to the CSV output:
* * ``raw``: Raw parameter values
* * ``monitoring``: Monitoring status
*
*
* repeated string extra = 6;
* @return The count of extra.
*/
public int getExtraCount() {
return extra_.size();
}
/**
*
* Extra columns added to the CSV output:
* * ``raw``: Raw parameter values
* * ``monitoring``: Monitoring status
*
*
* repeated string extra = 6;
* @param index The index of the element to return.
* @return The extra at the given index.
*/
public java.lang.String getExtra(int index) {
return extra_.get(index);
}
/**
*
* Extra columns added to the CSV output:
* * ``raw``: Raw parameter values
* * ``monitoring``: Monitoring status
*
*
* repeated string extra = 6;
* @param index The index of the value to return.
* @return The bytes of the extra at the given index.
*/
public com.google.protobuf.ByteString
getExtraBytes(int index) {
return extra_.getByteString(index);
}
/**
*
* Extra columns added to the CSV output:
* * ``raw``: Raw parameter values
* * ``monitoring``: Monitoring status
*
*
* repeated string extra = 6;
* @param index The index to set the value at.
* @param value The extra to set.
* @return This builder for chaining.
*/
public Builder setExtra(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureExtraIsMutable();
extra_.set(index, value);
onChanged();
return this;
}
/**
*
* Extra columns added to the CSV output:
* * ``raw``: Raw parameter values
* * ``monitoring``: Monitoring status
*
*
* repeated string extra = 6;
* @param value The extra to add.
* @return This builder for chaining.
*/
public Builder addExtra(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureExtraIsMutable();
extra_.add(value);
onChanged();
return this;
}
/**
*
* Extra columns added to the CSV output:
* * ``raw``: Raw parameter values
* * ``monitoring``: Monitoring status
*
*
* repeated string extra = 6;
* @param values The extra to add.
* @return This builder for chaining.
*/
public Builder addAllExtra(
java.lang.Iterable values) {
ensureExtraIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, extra_);
onChanged();
return this;
}
/**
*
* Extra columns added to the CSV output:
* * ``raw``: Raw parameter values
* * ``monitoring``: Monitoring status
*
*
* repeated string extra = 6;
* @return This builder for chaining.
*/
public Builder clearExtra() {
extra_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
return this;
}
/**
*
* Extra columns added to the CSV output:
* * ``raw``: Raw parameter values
* * ``monitoring``: Monitoring status
*
*
* repeated string extra = 6;
* @param value The bytes of the extra to add.
* @return This builder for chaining.
*/
public Builder addExtraBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureExtraIsMutable();
extra_.add(value);
onChanged();
return this;
}
private java.lang.Object delimiter_ = "";
/**
*
* Column delimiter. One of ``TAB``, ``COMMA`` or ``SEMICOLON``.
* Default: ``TAB``.
*
*
* optional string delimiter = 7;
* @return Whether the delimiter field is set.
*/
public boolean hasDelimiter() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
*
* Column delimiter. One of ``TAB``, ``COMMA`` or ``SEMICOLON``.
* Default: ``TAB``.
*
*
* optional string delimiter = 7;
* @return The delimiter.
*/
public java.lang.String getDelimiter() {
java.lang.Object ref = delimiter_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
delimiter_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Column delimiter. One of ``TAB``, ``COMMA`` or ``SEMICOLON``.
* Default: ``TAB``.
*
*
* optional string delimiter = 7;
* @return The bytes for delimiter.
*/
public com.google.protobuf.ByteString
getDelimiterBytes() {
java.lang.Object ref = delimiter_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
delimiter_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Column delimiter. One of ``TAB``, ``COMMA`` or ``SEMICOLON``.
* Default: ``TAB``.
*
*
* optional string delimiter = 7;
* @param value The delimiter to set.
* @return This builder for chaining.
*/
public Builder setDelimiter(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000080;
delimiter_ = value;
onChanged();
return this;
}
/**
*
* Column delimiter. One of ``TAB``, ``COMMA`` or ``SEMICOLON``.
* Default: ``TAB``.
*
*
* optional string delimiter = 7;
* @return This builder for chaining.
*/
public Builder clearDelimiter() {
bitField0_ = (bitField0_ & ~0x00000080);
delimiter_ = getDefaultInstance().getDelimiter();
onChanged();
return this;
}
/**
*
* Column delimiter. One of ``TAB``, ``COMMA`` or ``SEMICOLON``.
* Default: ``TAB``.
*
*
* optional string delimiter = 7;
* @param value The bytes for delimiter to set.
* @return This builder for chaining.
*/
public Builder setDelimiterBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000080;
delimiter_ = value;
onChanged();
return this;
}
private int interval_ ;
/**
*
* When specified, only one value each for each interval is returned.
* The value is in milliseconds.
*
*
* optional int32 interval = 8;
* @return Whether the interval field is set.
*/
@java.lang.Override
public boolean hasInterval() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
*
* When specified, only one value each for each interval is returned.
* The value is in milliseconds.
*
*
* optional int32 interval = 8;
* @return The interval.
*/
@java.lang.Override
public int getInterval() {
return interval_;
}
/**
*
* When specified, only one value each for each interval is returned.
* The value is in milliseconds.
*
*
* optional int32 interval = 8;
* @param value The interval to set.
* @return This builder for chaining.
*/
public Builder setInterval(int value) {
bitField0_ |= 0x00000100;
interval_ = value;
onChanged();
return this;
}
/**
*
* When specified, only one value each for each interval is returned.
* The value is in milliseconds.
*
*
* optional int32 interval = 8;
* @return This builder for chaining.
*/
public Builder clearInterval() {
bitField0_ = (bitField0_ & ~0x00000100);
interval_ = 0;
onChanged();
return this;
}
private boolean preserveLastValue_ ;
/**
*
* If true, repeat the the previous value, if there is no value for
* the current timestamp. Default: ``false``.
*
*
* optional bool preserveLastValue = 9;
* @return Whether the preserveLastValue field is set.
*/
@java.lang.Override
public boolean hasPreserveLastValue() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
*
* If true, repeat the the previous value, if there is no value for
* the current timestamp. Default: ``false``.
*
*
* optional bool preserveLastValue = 9;
* @return The preserveLastValue.
*/
@java.lang.Override
public boolean getPreserveLastValue() {
return preserveLastValue_;
}
/**
*
* If true, repeat the the previous value, if there is no value for
* the current timestamp. Default: ``false``.
*
*
* optional bool preserveLastValue = 9;
* @param value The preserveLastValue to set.
* @return This builder for chaining.
*/
public Builder setPreserveLastValue(boolean value) {
bitField0_ |= 0x00000200;
preserveLastValue_ = value;
onChanged();
return this;
}
/**
*
* If true, repeat the the previous value, if there is no value for
* the current timestamp. Default: ``false``.
*
*
* optional bool preserveLastValue = 9;
* @return This builder for chaining.
*/
public Builder clearPreserveLastValue() {
bitField0_ = (bitField0_ & ~0x00000200);
preserveLastValue_ = false;
onChanged();
return this;
}
private long pos_ ;
/**
*
* The zero-based row number at which to start outputting results. Default: ``0``.
*
*
* optional int64 pos = 10;
* @return Whether the pos field is set.
*/
@java.lang.Override
public boolean hasPos() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
*
* The zero-based row number at which to start outputting results. Default: ``0``.
*
*
* optional int64 pos = 10;
* @return The pos.
*/
@java.lang.Override
public long getPos() {
return pos_;
}
/**
*
* The zero-based row number at which to start outputting results. Default: ``0``.
*
*
* optional int64 pos = 10;
* @param value The pos to set.
* @return This builder for chaining.
*/
public Builder setPos(long value) {
bitField0_ |= 0x00000400;
pos_ = value;
onChanged();
return this;
}
/**
*
* The zero-based row number at which to start outputting results. Default: ``0``.
*
*
* optional int64 pos = 10;
* @return This builder for chaining.
*/
public Builder clearPos() {
bitField0_ = (bitField0_ & ~0x00000400);
pos_ = 0L;
onChanged();
return this;
}
private int limit_ ;
/**
*
* The maximum number of returned records. Default: unlimited.
*
*
* optional int32 limit = 11;
* @return Whether the limit field is set.
*/
@java.lang.Override
public boolean hasLimit() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
*
* The maximum number of returned records. Default: unlimited.
*
*
* optional int32 limit = 11;
* @return The limit.
*/
@java.lang.Override
public int getLimit() {
return limit_;
}
/**
*
* The maximum number of returned records. Default: unlimited.
*
*
* optional int32 limit = 11;
* @param value The limit to set.
* @return This builder for chaining.
*/
public Builder setLimit(int value) {
bitField0_ |= 0x00000800;
limit_ = value;
onChanged();
return this;
}
/**
*
* The maximum number of returned records. Default: unlimited.
*
*
* optional int32 limit = 11;
* @return This builder for chaining.
*/
public Builder clearLimit() {
bitField0_ = (bitField0_ & ~0x00000800);
limit_ = 0;
onChanged();
return this;
}
private java.lang.Object order_ = "";
/**
*
* The order of the returned results. Can be either ``asc`` or ``desc``.
* Default: ``asc``.
*
*
* optional string order = 12;
* @return Whether the order field is set.
*/
public boolean hasOrder() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
*
* The order of the returned results. Can be either ``asc`` or ``desc``.
* Default: ``asc``.
*
*
* optional string order = 12;
* @return The order.
*/
public java.lang.String getOrder() {
java.lang.Object ref = order_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
order_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The order of the returned results. Can be either ``asc`` or ``desc``.
* Default: ``asc``.
*
*
* optional string order = 12;
* @return The bytes for order.
*/
public com.google.protobuf.ByteString
getOrderBytes() {
java.lang.Object ref = order_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
order_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The order of the returned results. Can be either ``asc`` or ``desc``.
* Default: ``asc``.
*
*
* optional string order = 12;
* @param value The order to set.
* @return This builder for chaining.
*/
public Builder setOrder(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00001000;
order_ = value;
onChanged();
return this;
}
/**
*
* The order of the returned results. Can be either ``asc`` or ``desc``.
* Default: ``asc``.
*
*
* optional string order = 12;
* @return This builder for chaining.
*/
public Builder clearOrder() {
bitField0_ = (bitField0_ & ~0x00001000);
order_ = getDefaultInstance().getOrder();
onChanged();
return this;
}
/**
*
* The order of the returned results. Can be either ``asc`` or ``desc``.
* Default: ``asc``.
*
*
* optional string order = 12;
* @param value The bytes for order to set.
* @return This builder for chaining.
*/
public Builder setOrderBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00001000;
order_ = value;
onChanged();
return this;
}
private java.lang.Object filename_ = "";
/**
*
* Preferred filename, this is returned in a Content-Disposition HTTP header.
* If unset, Yamcs will determine a name.
*
*
* optional string filename = 13;
* @return Whether the filename field is set.
*/
public boolean hasFilename() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
*
* Preferred filename, this is returned in a Content-Disposition HTTP header.
* If unset, Yamcs will determine a name.
*
*
* optional string filename = 13;
* @return The filename.
*/
public java.lang.String getFilename() {
java.lang.Object ref = filename_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
filename_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Preferred filename, this is returned in a Content-Disposition HTTP header.
* If unset, Yamcs will determine a name.
*
*
* optional string filename = 13;
* @return The bytes for filename.
*/
public com.google.protobuf.ByteString
getFilenameBytes() {
java.lang.Object ref = filename_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
filename_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Preferred filename, this is returned in a Content-Disposition HTTP header.
* If unset, Yamcs will determine a name.
*
*
* optional string filename = 13;
* @param value The filename to set.
* @return This builder for chaining.
*/
public Builder setFilename(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00002000;
filename_ = value;
onChanged();
return this;
}
/**
*
* Preferred filename, this is returned in a Content-Disposition HTTP header.
* If unset, Yamcs will determine a name.
*
*
* optional string filename = 13;
* @return This builder for chaining.
*/
public Builder clearFilename() {
bitField0_ = (bitField0_ & ~0x00002000);
filename_ = getDefaultInstance().getFilename();
onChanged();
return this;
}
/**
*
* Preferred filename, this is returned in a Content-Disposition HTTP header.
* If unset, Yamcs will determine a name.
*
*
* optional string filename = 13;
* @param value The bytes for filename to set.
* @return This builder for chaining.
*/
public Builder setFilenameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00002000;
filename_ = value;
onChanged();
return this;
}
private java.lang.Object header_ = "";
/**
*
* Header row to include in the response.
* One of ``QUALIFIED_NAME``, ``SHORT_NAME`` or ``NONE``.
* Default: ``QUALIFIED_NAME``.
*
*
* optional string header = 15;
* @return Whether the header field is set.
*/
public boolean hasHeader() {
return ((bitField0_ & 0x00004000) != 0);
}
/**
*
* Header row to include in the response.
* One of ``QUALIFIED_NAME``, ``SHORT_NAME`` or ``NONE``.
* Default: ``QUALIFIED_NAME``.
*
*
* optional string header = 15;
* @return The header.
*/
public java.lang.String getHeader() {
java.lang.Object ref = header_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
header_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Header row to include in the response.
* One of ``QUALIFIED_NAME``, ``SHORT_NAME`` or ``NONE``.
* Default: ``QUALIFIED_NAME``.
*
*
* optional string header = 15;
* @return The bytes for header.
*/
public com.google.protobuf.ByteString
getHeaderBytes() {
java.lang.Object ref = header_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
header_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Header row to include in the response.
* One of ``QUALIFIED_NAME``, ``SHORT_NAME`` or ``NONE``.
* Default: ``QUALIFIED_NAME``.
*
*
* optional string header = 15;
* @param value The header to set.
* @return This builder for chaining.
*/
public Builder setHeader(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00004000;
header_ = value;
onChanged();
return this;
}
/**
*
* Header row to include in the response.
* One of ``QUALIFIED_NAME``, ``SHORT_NAME`` or ``NONE``.
* Default: ``QUALIFIED_NAME``.
*
*
* optional string header = 15;
* @return This builder for chaining.
*/
public Builder clearHeader() {
bitField0_ = (bitField0_ & ~0x00004000);
header_ = getDefaultInstance().getHeader();
onChanged();
return this;
}
/**
*
* Header row to include in the response.
* One of ``QUALIFIED_NAME``, ``SHORT_NAME`` or ``NONE``.
* Default: ``QUALIFIED_NAME``.
*
*
* optional string header = 15;
* @param value The bytes for header to set.
* @return This builder for chaining.
*/
public Builder setHeaderBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00004000;
header_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:yamcs.protobuf.archive.ExportParameterValuesRequest)
}
// @@protoc_insertion_point(class_scope:yamcs.protobuf.archive.ExportParameterValuesRequest)
private static final org.yamcs.protobuf.Archive.ExportParameterValuesRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.yamcs.protobuf.Archive.ExportParameterValuesRequest();
}
public static org.yamcs.protobuf.Archive.ExportParameterValuesRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ExportParameterValuesRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ExportParameterValuesRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public org.yamcs.protobuf.Archive.ExportParameterValuesRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_yamcs_protobuf_archive_StreamParameterValuesRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_yamcs_protobuf_archive_StreamParameterValuesRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_yamcs_protobuf_archive_ParameterGroupInfo_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_yamcs_protobuf_archive_ParameterGroupInfo_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_yamcs_protobuf_archive_ListParameterGroupsRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_yamcs_protobuf_archive_ListParameterGroupsRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_yamcs_protobuf_archive_ListParameterHistoryRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_yamcs_protobuf_archive_ListParameterHistoryRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_yamcs_protobuf_archive_ListParameterHistoryResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_yamcs_protobuf_archive_ListParameterHistoryResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_yamcs_protobuf_archive_GetParameterSamplesRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_yamcs_protobuf_archive_GetParameterSamplesRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_yamcs_protobuf_archive_ExportParameterValuesRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_yamcs_protobuf_archive_ExportParameterValuesRequest_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n$yamcs/protobuf/archive/archive.proto\022\026" +
"yamcs.protobuf.archive\032\037google/protobuf/" +
"timestamp.proto\032\033yamcs/api/annotations.p" +
"roto\032\030yamcs/api/httpbody.proto\032\"yamcs/pr" +
"otobuf/pvalue/pvalue.proto\032\032yamcs/protob" +
"uf/yamcs.proto\"\302\001\n\034StreamParameterValues" +
"Request\022\020\n\010instance\030\001 \001(\t\022)\n\005start\030\002 \001(\013" +
"2\032.google.protobuf.Timestamp\022(\n\004stop\030\003 \001" +
"(\0132\032.google.protobuf.Timestamp\022*\n\003ids\030\004 " +
"\003(\0132\035.yamcs.protobuf.NamedObjectId\022\017\n\007tm" +
"Links\030\005 \003(\t\"$\n\022ParameterGroupInfo\022\016\n\006gro" +
"ups\030\002 \003(\t\".\n\032ListParameterGroupsRequest\022" +
"\020\n\010instance\030\001 \001(\t\"\246\002\n\033ListParameterHisto" +
"ryRequest\022\020\n\010instance\030\001 \001(\t\022\014\n\004name\030\002 \001(" +
"\t\022\013\n\003pos\030\003 \001(\003\022\r\n\005limit\030\004 \001(\005\022\020\n\010norepea" +
"t\030\005 \001(\010\022)\n\005start\030\006 \001(\0132\032.google.protobuf" +
".Timestamp\022(\n\004stop\030\007 \001(\0132\032.google.protob" +
"uf.Timestamp\022\r\n\005order\030\010 \001(\t\022\022\n\nnorealtim" +
"e\030\t \001(\010\022\021\n\tprocessor\030\n \001(\t\022\016\n\006source\030\013 \001" +
"(\t\022\020\n\010maxBytes\030\r \001(\005\022\014\n\004next\030\014 \001(\t\"s\n\034Li" +
"stParameterHistoryResponse\0228\n\tparameter\030" +
"\001 \003(\0132%.yamcs.protobuf.pvalue.ParameterV" +
"alue\022\031\n\021continuationToken\030\002 \001(\t\"\375\001\n\032GetP" +
"arameterSamplesRequest\022\020\n\010instance\030\001 \001(\t" +
"\022\014\n\004name\030\002 \001(\t\022)\n\005start\030\003 \001(\0132\032.google.p" +
"rotobuf.Timestamp\022(\n\004stop\030\004 \001(\0132\032.google" +
".protobuf.Timestamp\022\r\n\005count\030\005 \001(\005\022\022\n\nno" +
"realtime\030\006 \001(\010\022\023\n\013useRawValue\030\t \001(\010\022\017\n\007g" +
"apTime\030\n \001(\004\022\021\n\tprocessor\030\007 \001(\t\022\016\n\006sourc" +
"e\030\010 \001(\t\"\326\002\n\034ExportParameterValuesRequest" +
"\022\020\n\010instance\030\001 \001(\t\022)\n\005start\030\002 \001(\0132\032.goog" +
"le.protobuf.Timestamp\022(\n\004stop\030\003 \001(\0132\032.go" +
"ogle.protobuf.Timestamp\022\022\n\nparameters\030\004 " +
"\003(\t\022\014\n\004list\030\016 \001(\t\022\021\n\tnamespace\030\005 \001(\t\022\r\n\005" +
"extra\030\006 \003(\t\022\021\n\tdelimiter\030\007 \001(\t\022\020\n\010interv" +
"al\030\010 \001(\005\022\031\n\021preserveLastValue\030\t \001(\010\022\013\n\003p" +
"os\030\n \001(\003\022\r\n\005limit\030\013 \001(\005\022\r\n\005order\030\014 \001(\t\022\020" +
"\n\010filename\030\r \001(\t\022\016\n\006header\030\017 \001(\t2\266\007\n\020Str" +
"eamArchiveApi\022\245\001\n\023ListParameterGroups\0222." +
"yamcs.protobuf.archive.ListParameterGrou" +
"psRequest\032*.yamcs.protobuf.archive.Param" +
"eterGroupInfo\".\212\222\003*\n(/api/archive/{insta" +
"nce}/parameter-groups\022\272\001\n\024ListParameterH" +
"istory\0223.yamcs.protobuf.archive.ListPara" +
"meterHistoryRequest\0324.yamcs.protobuf.arc" +
"hive.ListParameterHistoryResponse\"7\212\222\0033\n" +
"1/api/stream-archive/{instance}/paramete" +
"rs/{name*}\022\264\001\n\025StreamParameterValues\0224.y" +
"amcs.protobuf.archive.StreamParameterVal" +
"uesRequest\032$.yamcs.protobuf.pvalue.Param" +
"eterData\"=\212\222\0039\0324/api/stream-archive/{ins" +
"tance}:streamParameterValues:\001*0\001\022\265\001\n\023Ge" +
"tParameterSamples\0222.yamcs.protobuf.archi" +
"ve.GetParameterSamplesRequest\032!.yamcs.pr" +
"otobuf.pvalue.TimeSeries\"G\212\222\003C\n9/api/str" +
"eam-archive/{instance}/parameters/{name*" +
"}/samplesR\006sample\022\315\001\n\025ExportParameterVal" +
"ues\0224.yamcs.protobuf.archive.ExportParam" +
"eterValuesRequest\032\023.yamcs.api.HttpBody\"g" +
"\212\222\003c\n-/api/archive/{instance}:exportPara" +
"meterValuesZ2\032-/api/archive/{instance}:e" +
"xportParameterValues:\001*0\001B\024\n\022org.yamcs.p" +
"rotobuf"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.protobuf.TimestampProto.getDescriptor(),
org.yamcs.api.AnnotationsProto.getDescriptor(),
org.yamcs.api.HttpBodyProto.getDescriptor(),
org.yamcs.protobuf.Pvalue.getDescriptor(),
org.yamcs.protobuf.Yamcs.getDescriptor(),
});
internal_static_yamcs_protobuf_archive_StreamParameterValuesRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_yamcs_protobuf_archive_StreamParameterValuesRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_yamcs_protobuf_archive_StreamParameterValuesRequest_descriptor,
new java.lang.String[] { "Instance", "Start", "Stop", "Ids", "TmLinks", });
internal_static_yamcs_protobuf_archive_ParameterGroupInfo_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_yamcs_protobuf_archive_ParameterGroupInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_yamcs_protobuf_archive_ParameterGroupInfo_descriptor,
new java.lang.String[] { "Groups", });
internal_static_yamcs_protobuf_archive_ListParameterGroupsRequest_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_yamcs_protobuf_archive_ListParameterGroupsRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_yamcs_protobuf_archive_ListParameterGroupsRequest_descriptor,
new java.lang.String[] { "Instance", });
internal_static_yamcs_protobuf_archive_ListParameterHistoryRequest_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_yamcs_protobuf_archive_ListParameterHistoryRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_yamcs_protobuf_archive_ListParameterHistoryRequest_descriptor,
new java.lang.String[] { "Instance", "Name", "Pos", "Limit", "Norepeat", "Start", "Stop", "Order", "Norealtime", "Processor", "Source", "MaxBytes", "Next", });
internal_static_yamcs_protobuf_archive_ListParameterHistoryResponse_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_yamcs_protobuf_archive_ListParameterHistoryResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_yamcs_protobuf_archive_ListParameterHistoryResponse_descriptor,
new java.lang.String[] { "Parameter", "ContinuationToken", });
internal_static_yamcs_protobuf_archive_GetParameterSamplesRequest_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_yamcs_protobuf_archive_GetParameterSamplesRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_yamcs_protobuf_archive_GetParameterSamplesRequest_descriptor,
new java.lang.String[] { "Instance", "Name", "Start", "Stop", "Count", "Norealtime", "UseRawValue", "GapTime", "Processor", "Source", });
internal_static_yamcs_protobuf_archive_ExportParameterValuesRequest_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_yamcs_protobuf_archive_ExportParameterValuesRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_yamcs_protobuf_archive_ExportParameterValuesRequest_descriptor,
new java.lang.String[] { "Instance", "Start", "Stop", "Parameters", "List", "Namespace", "Extra", "Delimiter", "Interval", "PreserveLastValue", "Pos", "Limit", "Order", "Filename", "Header", });
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(org.yamcs.api.AnnotationsProto.route);
com.google.protobuf.Descriptors.FileDescriptor
.internalUpdateFileDescriptor(descriptor, registry);
com.google.protobuf.TimestampProto.getDescriptor();
org.yamcs.api.AnnotationsProto.getDescriptor();
org.yamcs.api.HttpBodyProto.getDescriptor();
org.yamcs.protobuf.Pvalue.getDescriptor();
org.yamcs.protobuf.Yamcs.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy