org.yamcs.protobuf.WebSocketServerMessage 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/web/websocket.proto
package org.yamcs.protobuf;
/**
* Protobuf type {@code yamcs.protobuf.web.WebSocketServerMessage}
*/
public final class WebSocketServerMessage extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:yamcs.protobuf.web.WebSocketServerMessage)
WebSocketServerMessageOrBuilder {
private static final long serialVersionUID = 0L;
// Use WebSocketServerMessage.newBuilder() to construct.
private WebSocketServerMessage(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WebSocketServerMessage() {
type_ = 2;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WebSocketServerMessage(
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 8: {
int rawValue = input.readEnum();
@SuppressWarnings("deprecation")
org.yamcs.protobuf.WebSocketServerMessage.MessageType value = org.yamcs.protobuf.WebSocketServerMessage.MessageType.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(1, rawValue);
} else {
bitField0_ |= 0x00000001;
type_ = rawValue;
}
break;
}
case 18: {
org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) != 0)) {
subBuilder = reply_.toBuilder();
}
reply_ = input.readMessage(org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(reply_);
reply_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000002;
break;
}
case 26: {
org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData.Builder subBuilder = null;
if (((bitField0_ & 0x00000004) != 0)) {
subBuilder = exception_.toBuilder();
}
exception_ = input.readMessage(org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(exception_);
exception_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000004;
break;
}
case 34: {
org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData.Builder subBuilder = null;
if (((bitField0_ & 0x00000008) != 0)) {
subBuilder = data_.toBuilder();
}
data_ = input.readMessage(org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(data_);
data_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000008;
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.WebSocketProto.internal_static_yamcs_protobuf_web_WebSocketServerMessage_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.yamcs.protobuf.WebSocketProto.internal_static_yamcs_protobuf_web_WebSocketServerMessage_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.yamcs.protobuf.WebSocketServerMessage.class, org.yamcs.protobuf.WebSocketServerMessage.Builder.class);
}
/**
* Protobuf enum {@code yamcs.protobuf.web.WebSocketServerMessage.MessageType}
*/
public enum MessageType
implements com.google.protobuf.ProtocolMessageEnum {
/**
*
* one-time rpc-style ACK reply
*
*
* REPLY = 2;
*/
REPLY(2),
/**
*
* one-time rpc-style exception reply
*
*
* EXCEPTION = 3;
*/
EXCEPTION(3),
/**
*
* various subscribed data
*
*
* DATA = 4;
*/
DATA(4),
;
/**
*
* one-time rpc-style ACK reply
*
*
* REPLY = 2;
*/
public static final int REPLY_VALUE = 2;
/**
*
* one-time rpc-style exception reply
*
*
* EXCEPTION = 3;
*/
public static final int EXCEPTION_VALUE = 3;
/**
*
* various subscribed data
*
*
* DATA = 4;
*/
public static final int DATA_VALUE = 4;
public final int getNumber() {
return value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static MessageType valueOf(int value) {
return forNumber(value);
}
public static MessageType forNumber(int value) {
switch (value) {
case 2: return REPLY;
case 3: return EXCEPTION;
case 4: return DATA;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
MessageType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public MessageType findValueByNumber(int number) {
return MessageType.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.yamcs.protobuf.WebSocketServerMessage.getDescriptor().getEnumTypes().get(0);
}
private static final MessageType[] VALUES = values();
public static MessageType valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private MessageType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:yamcs.protobuf.web.WebSocketServerMessage.MessageType)
}
public interface WebSocketReplyDataOrBuilder extends
// @@protoc_insertion_point(interface_extends:yamcs.protobuf.web.WebSocketServerMessage.WebSocketReplyData)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 protocolVersion = 1;
*/
boolean hasProtocolVersion();
/**
* optional uint32 protocolVersion = 1;
*/
int getProtocolVersion();
/**
*
* allow for -1
*
*
* optional int32 sequenceNumber = 2;
*/
boolean hasSequenceNumber();
/**
*
* allow for -1
*
*
* optional int32 sequenceNumber = 2;
*/
int getSequenceNumber();
/**
* optional string type = 3;
*/
boolean hasType();
/**
* optional string type = 3;
*/
java.lang.String getType();
/**
* optional string type = 3;
*/
com.google.protobuf.ByteString
getTypeBytes();
/**
* optional string message = 4;
*/
boolean hasMessage();
/**
* optional string message = 4;
*/
java.lang.String getMessage();
/**
* optional string message = 4;
*/
com.google.protobuf.ByteString
getMessageBytes();
/**
*
* Structured data
*
*
* optional bytes data = 5;
*/
boolean hasData();
/**
*
* Structured data
*
*
* optional bytes data = 5;
*/
com.google.protobuf.ByteString getData();
}
/**
* Protobuf type {@code yamcs.protobuf.web.WebSocketServerMessage.WebSocketReplyData}
*/
public static final class WebSocketReplyData extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:yamcs.protobuf.web.WebSocketServerMessage.WebSocketReplyData)
WebSocketReplyDataOrBuilder {
private static final long serialVersionUID = 0L;
// Use WebSocketReplyData.newBuilder() to construct.
private WebSocketReplyData(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WebSocketReplyData() {
type_ = "";
message_ = "";
data_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WebSocketReplyData(
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 8: {
bitField0_ |= 0x00000001;
protocolVersion_ = input.readUInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
sequenceNumber_ = input.readInt32();
break;
}
case 26: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000004;
type_ = bs;
break;
}
case 34: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000008;
message_ = bs;
break;
}
case 42: {
bitField0_ |= 0x00000010;
data_ = input.readBytes();
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.WebSocketProto.internal_static_yamcs_protobuf_web_WebSocketServerMessage_WebSocketReplyData_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.yamcs.protobuf.WebSocketProto.internal_static_yamcs_protobuf_web_WebSocketServerMessage_WebSocketReplyData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData.class, org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData.Builder.class);
}
private int bitField0_;
public static final int PROTOCOLVERSION_FIELD_NUMBER = 1;
private int protocolVersion_;
/**
* optional uint32 protocolVersion = 1;
*/
public boolean hasProtocolVersion() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 protocolVersion = 1;
*/
public int getProtocolVersion() {
return protocolVersion_;
}
public static final int SEQUENCENUMBER_FIELD_NUMBER = 2;
private int sequenceNumber_;
/**
*
* allow for -1
*
*
* optional int32 sequenceNumber = 2;
*/
public boolean hasSequenceNumber() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* allow for -1
*
*
* optional int32 sequenceNumber = 2;
*/
public int getSequenceNumber() {
return sequenceNumber_;
}
public static final int TYPE_FIELD_NUMBER = 3;
private volatile java.lang.Object type_;
/**
* optional string type = 3;
*/
public boolean hasType() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string type = 3;
*/
public java.lang.String getType() {
java.lang.Object ref = type_;
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()) {
type_ = s;
}
return s;
}
}
/**
* optional string type = 3;
*/
public com.google.protobuf.ByteString
getTypeBytes() {
java.lang.Object ref = type_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
type_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MESSAGE_FIELD_NUMBER = 4;
private volatile java.lang.Object message_;
/**
* optional string message = 4;
*/
public boolean hasMessage() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional string message = 4;
*/
public java.lang.String getMessage() {
java.lang.Object ref = message_;
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()) {
message_ = s;
}
return s;
}
}
/**
* optional string message = 4;
*/
public com.google.protobuf.ByteString
getMessageBytes() {
java.lang.Object ref = message_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
message_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DATA_FIELD_NUMBER = 5;
private com.google.protobuf.ByteString data_;
/**
*
* Structured data
*
*
* optional bytes data = 5;
*/
public boolean hasData() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
*
* Structured data
*
*
* optional bytes data = 5;
*/
public com.google.protobuf.ByteString getData() {
return data_;
}
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)) {
output.writeUInt32(1, protocolVersion_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt32(2, sequenceNumber_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, type_);
}
if (((bitField0_ & 0x00000008) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, message_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeBytes(5, data_);
}
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.CodedOutputStream
.computeUInt32Size(1, protocolVersion_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, sequenceNumber_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, type_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, message_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(5, data_);
}
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.WebSocketServerMessage.WebSocketReplyData)) {
return super.equals(obj);
}
org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData other = (org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData) obj;
if (hasProtocolVersion() != other.hasProtocolVersion()) return false;
if (hasProtocolVersion()) {
if (getProtocolVersion()
!= other.getProtocolVersion()) return false;
}
if (hasSequenceNumber() != other.hasSequenceNumber()) return false;
if (hasSequenceNumber()) {
if (getSequenceNumber()
!= other.getSequenceNumber()) return false;
}
if (hasType() != other.hasType()) return false;
if (hasType()) {
if (!getType()
.equals(other.getType())) return false;
}
if (hasMessage() != other.hasMessage()) return false;
if (hasMessage()) {
if (!getMessage()
.equals(other.getMessage())) return false;
}
if (hasData() != other.hasData()) return false;
if (hasData()) {
if (!getData()
.equals(other.getData())) 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 (hasProtocolVersion()) {
hash = (37 * hash) + PROTOCOLVERSION_FIELD_NUMBER;
hash = (53 * hash) + getProtocolVersion();
}
if (hasSequenceNumber()) {
hash = (37 * hash) + SEQUENCENUMBER_FIELD_NUMBER;
hash = (53 * hash) + getSequenceNumber();
}
if (hasType()) {
hash = (37 * hash) + TYPE_FIELD_NUMBER;
hash = (53 * hash) + getType().hashCode();
}
if (hasMessage()) {
hash = (37 * hash) + MESSAGE_FIELD_NUMBER;
hash = (53 * hash) + getMessage().hashCode();
}
if (hasData()) {
hash = (37 * hash) + DATA_FIELD_NUMBER;
hash = (53 * hash) + getData().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData 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.WebSocketServerMessage.WebSocketReplyData parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData 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.WebSocketServerMessage.WebSocketReplyData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData 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.WebSocketServerMessage.WebSocketReplyData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData 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.WebSocketServerMessage.WebSocketReplyData parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData 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.WebSocketServerMessage.WebSocketReplyData 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.web.WebSocketServerMessage.WebSocketReplyData}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:yamcs.protobuf.web.WebSocketServerMessage.WebSocketReplyData)
org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyDataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.yamcs.protobuf.WebSocketProto.internal_static_yamcs_protobuf_web_WebSocketServerMessage_WebSocketReplyData_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.yamcs.protobuf.WebSocketProto.internal_static_yamcs_protobuf_web_WebSocketServerMessage_WebSocketReplyData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData.class, org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData.Builder.class);
}
// Construct using org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData.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();
protocolVersion_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
sequenceNumber_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
type_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
message_ = "";
bitField0_ = (bitField0_ & ~0x00000008);
data_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.yamcs.protobuf.WebSocketProto.internal_static_yamcs_protobuf_web_WebSocketServerMessage_WebSocketReplyData_descriptor;
}
@java.lang.Override
public org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData getDefaultInstanceForType() {
return org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData.getDefaultInstance();
}
@java.lang.Override
public org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData build() {
org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData buildPartial() {
org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData result = new org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.protocolVersion_ = protocolVersion_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.sequenceNumber_ = sequenceNumber_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
to_bitField0_ |= 0x00000004;
}
result.type_ = type_;
if (((from_bitField0_ & 0x00000008) != 0)) {
to_bitField0_ |= 0x00000008;
}
result.message_ = message_;
if (((from_bitField0_ & 0x00000010) != 0)) {
to_bitField0_ |= 0x00000010;
}
result.data_ = data_;
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.WebSocketServerMessage.WebSocketReplyData) {
return mergeFrom((org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData other) {
if (other == org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData.getDefaultInstance()) return this;
if (other.hasProtocolVersion()) {
setProtocolVersion(other.getProtocolVersion());
}
if (other.hasSequenceNumber()) {
setSequenceNumber(other.getSequenceNumber());
}
if (other.hasType()) {
bitField0_ |= 0x00000004;
type_ = other.type_;
onChanged();
}
if (other.hasMessage()) {
bitField0_ |= 0x00000008;
message_ = other.message_;
onChanged();
}
if (other.hasData()) {
setData(other.getData());
}
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.WebSocketServerMessage.WebSocketReplyData parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int protocolVersion_ ;
/**
* optional uint32 protocolVersion = 1;
*/
public boolean hasProtocolVersion() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 protocolVersion = 1;
*/
public int getProtocolVersion() {
return protocolVersion_;
}
/**
* optional uint32 protocolVersion = 1;
*/
public Builder setProtocolVersion(int value) {
bitField0_ |= 0x00000001;
protocolVersion_ = value;
onChanged();
return this;
}
/**
* optional uint32 protocolVersion = 1;
*/
public Builder clearProtocolVersion() {
bitField0_ = (bitField0_ & ~0x00000001);
protocolVersion_ = 0;
onChanged();
return this;
}
private int sequenceNumber_ ;
/**
*
* allow for -1
*
*
* optional int32 sequenceNumber = 2;
*/
public boolean hasSequenceNumber() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* allow for -1
*
*
* optional int32 sequenceNumber = 2;
*/
public int getSequenceNumber() {
return sequenceNumber_;
}
/**
*
* allow for -1
*
*
* optional int32 sequenceNumber = 2;
*/
public Builder setSequenceNumber(int value) {
bitField0_ |= 0x00000002;
sequenceNumber_ = value;
onChanged();
return this;
}
/**
*
* allow for -1
*
*
* optional int32 sequenceNumber = 2;
*/
public Builder clearSequenceNumber() {
bitField0_ = (bitField0_ & ~0x00000002);
sequenceNumber_ = 0;
onChanged();
return this;
}
private java.lang.Object type_ = "";
/**
* optional string type = 3;
*/
public boolean hasType() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string type = 3;
*/
public java.lang.String getType() {
java.lang.Object ref = type_;
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()) {
type_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string type = 3;
*/
public com.google.protobuf.ByteString
getTypeBytes() {
java.lang.Object ref = type_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
type_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string type = 3;
*/
public Builder setType(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
type_ = value;
onChanged();
return this;
}
/**
* optional string type = 3;
*/
public Builder clearType() {
bitField0_ = (bitField0_ & ~0x00000004);
type_ = getDefaultInstance().getType();
onChanged();
return this;
}
/**
* optional string type = 3;
*/
public Builder setTypeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
type_ = value;
onChanged();
return this;
}
private java.lang.Object message_ = "";
/**
* optional string message = 4;
*/
public boolean hasMessage() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional string message = 4;
*/
public java.lang.String getMessage() {
java.lang.Object ref = message_;
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()) {
message_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string message = 4;
*/
public com.google.protobuf.ByteString
getMessageBytes() {
java.lang.Object ref = message_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
message_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string message = 4;
*/
public Builder setMessage(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
message_ = value;
onChanged();
return this;
}
/**
* optional string message = 4;
*/
public Builder clearMessage() {
bitField0_ = (bitField0_ & ~0x00000008);
message_ = getDefaultInstance().getMessage();
onChanged();
return this;
}
/**
* optional string message = 4;
*/
public Builder setMessageBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
message_ = value;
onChanged();
return this;
}
private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY;
/**
*
* Structured data
*
*
* optional bytes data = 5;
*/
public boolean hasData() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
*
* Structured data
*
*
* optional bytes data = 5;
*/
public com.google.protobuf.ByteString getData() {
return data_;
}
/**
*
* Structured data
*
*
* optional bytes data = 5;
*/
public Builder setData(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
data_ = value;
onChanged();
return this;
}
/**
*
* Structured data
*
*
* optional bytes data = 5;
*/
public Builder clearData() {
bitField0_ = (bitField0_ & ~0x00000010);
data_ = getDefaultInstance().getData();
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.web.WebSocketServerMessage.WebSocketReplyData)
}
// @@protoc_insertion_point(class_scope:yamcs.protobuf.web.WebSocketServerMessage.WebSocketReplyData)
private static final org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData();
}
public static org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WebSocketReplyData parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WebSocketReplyData(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.WebSocketServerMessage.WebSocketReplyData getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WebSocketExceptionDataOrBuilder extends
// @@protoc_insertion_point(interface_extends:yamcs.protobuf.web.WebSocketServerMessage.WebSocketExceptionData)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 protocolVersion = 1;
*/
boolean hasProtocolVersion();
/**
* optional uint32 protocolVersion = 1;
*/
int getProtocolVersion();
/**
*
* allow for -1
*
*
* optional int32 sequenceNumber = 2;
*/
boolean hasSequenceNumber();
/**
*
* allow for -1
*
*
* optional int32 sequenceNumber = 2;
*/
int getSequenceNumber();
/**
* optional string type = 3;
*/
boolean hasType();
/**
* optional string type = 3;
*/
java.lang.String getType();
/**
* optional string type = 3;
*/
com.google.protobuf.ByteString
getTypeBytes();
/**
* optional string message = 4;
*/
boolean hasMessage();
/**
* optional string message = 4;
*/
java.lang.String getMessage();
/**
* optional string message = 4;
*/
com.google.protobuf.ByteString
getMessageBytes();
/**
*
* Structured exception data
*
*
* optional bytes data = 5;
*/
boolean hasData();
/**
*
* Structured exception data
*
*
* optional bytes data = 5;
*/
com.google.protobuf.ByteString getData();
}
/**
* Protobuf type {@code yamcs.protobuf.web.WebSocketServerMessage.WebSocketExceptionData}
*/
public static final class WebSocketExceptionData extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:yamcs.protobuf.web.WebSocketServerMessage.WebSocketExceptionData)
WebSocketExceptionDataOrBuilder {
private static final long serialVersionUID = 0L;
// Use WebSocketExceptionData.newBuilder() to construct.
private WebSocketExceptionData(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WebSocketExceptionData() {
type_ = "";
message_ = "";
data_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WebSocketExceptionData(
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 8: {
bitField0_ |= 0x00000001;
protocolVersion_ = input.readUInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
sequenceNumber_ = input.readInt32();
break;
}
case 26: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000004;
type_ = bs;
break;
}
case 34: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000008;
message_ = bs;
break;
}
case 42: {
bitField0_ |= 0x00000010;
data_ = input.readBytes();
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.WebSocketProto.internal_static_yamcs_protobuf_web_WebSocketServerMessage_WebSocketExceptionData_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.yamcs.protobuf.WebSocketProto.internal_static_yamcs_protobuf_web_WebSocketServerMessage_WebSocketExceptionData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData.class, org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData.Builder.class);
}
private int bitField0_;
public static final int PROTOCOLVERSION_FIELD_NUMBER = 1;
private int protocolVersion_;
/**
* optional uint32 protocolVersion = 1;
*/
public boolean hasProtocolVersion() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 protocolVersion = 1;
*/
public int getProtocolVersion() {
return protocolVersion_;
}
public static final int SEQUENCENUMBER_FIELD_NUMBER = 2;
private int sequenceNumber_;
/**
*
* allow for -1
*
*
* optional int32 sequenceNumber = 2;
*/
public boolean hasSequenceNumber() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* allow for -1
*
*
* optional int32 sequenceNumber = 2;
*/
public int getSequenceNumber() {
return sequenceNumber_;
}
public static final int TYPE_FIELD_NUMBER = 3;
private volatile java.lang.Object type_;
/**
* optional string type = 3;
*/
public boolean hasType() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string type = 3;
*/
public java.lang.String getType() {
java.lang.Object ref = type_;
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()) {
type_ = s;
}
return s;
}
}
/**
* optional string type = 3;
*/
public com.google.protobuf.ByteString
getTypeBytes() {
java.lang.Object ref = type_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
type_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MESSAGE_FIELD_NUMBER = 4;
private volatile java.lang.Object message_;
/**
* optional string message = 4;
*/
public boolean hasMessage() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional string message = 4;
*/
public java.lang.String getMessage() {
java.lang.Object ref = message_;
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()) {
message_ = s;
}
return s;
}
}
/**
* optional string message = 4;
*/
public com.google.protobuf.ByteString
getMessageBytes() {
java.lang.Object ref = message_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
message_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DATA_FIELD_NUMBER = 5;
private com.google.protobuf.ByteString data_;
/**
*
* Structured exception data
*
*
* optional bytes data = 5;
*/
public boolean hasData() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
*
* Structured exception data
*
*
* optional bytes data = 5;
*/
public com.google.protobuf.ByteString getData() {
return data_;
}
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)) {
output.writeUInt32(1, protocolVersion_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt32(2, sequenceNumber_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, type_);
}
if (((bitField0_ & 0x00000008) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, message_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeBytes(5, data_);
}
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.CodedOutputStream
.computeUInt32Size(1, protocolVersion_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, sequenceNumber_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, type_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, message_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(5, data_);
}
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.WebSocketServerMessage.WebSocketExceptionData)) {
return super.equals(obj);
}
org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData other = (org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData) obj;
if (hasProtocolVersion() != other.hasProtocolVersion()) return false;
if (hasProtocolVersion()) {
if (getProtocolVersion()
!= other.getProtocolVersion()) return false;
}
if (hasSequenceNumber() != other.hasSequenceNumber()) return false;
if (hasSequenceNumber()) {
if (getSequenceNumber()
!= other.getSequenceNumber()) return false;
}
if (hasType() != other.hasType()) return false;
if (hasType()) {
if (!getType()
.equals(other.getType())) return false;
}
if (hasMessage() != other.hasMessage()) return false;
if (hasMessage()) {
if (!getMessage()
.equals(other.getMessage())) return false;
}
if (hasData() != other.hasData()) return false;
if (hasData()) {
if (!getData()
.equals(other.getData())) 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 (hasProtocolVersion()) {
hash = (37 * hash) + PROTOCOLVERSION_FIELD_NUMBER;
hash = (53 * hash) + getProtocolVersion();
}
if (hasSequenceNumber()) {
hash = (37 * hash) + SEQUENCENUMBER_FIELD_NUMBER;
hash = (53 * hash) + getSequenceNumber();
}
if (hasType()) {
hash = (37 * hash) + TYPE_FIELD_NUMBER;
hash = (53 * hash) + getType().hashCode();
}
if (hasMessage()) {
hash = (37 * hash) + MESSAGE_FIELD_NUMBER;
hash = (53 * hash) + getMessage().hashCode();
}
if (hasData()) {
hash = (37 * hash) + DATA_FIELD_NUMBER;
hash = (53 * hash) + getData().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData 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.WebSocketServerMessage.WebSocketExceptionData parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData 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.WebSocketServerMessage.WebSocketExceptionData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData 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.WebSocketServerMessage.WebSocketExceptionData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData 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.WebSocketServerMessage.WebSocketExceptionData parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData 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.WebSocketServerMessage.WebSocketExceptionData 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.web.WebSocketServerMessage.WebSocketExceptionData}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:yamcs.protobuf.web.WebSocketServerMessage.WebSocketExceptionData)
org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionDataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.yamcs.protobuf.WebSocketProto.internal_static_yamcs_protobuf_web_WebSocketServerMessage_WebSocketExceptionData_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.yamcs.protobuf.WebSocketProto.internal_static_yamcs_protobuf_web_WebSocketServerMessage_WebSocketExceptionData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData.class, org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData.Builder.class);
}
// Construct using org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData.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();
protocolVersion_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
sequenceNumber_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
type_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
message_ = "";
bitField0_ = (bitField0_ & ~0x00000008);
data_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.yamcs.protobuf.WebSocketProto.internal_static_yamcs_protobuf_web_WebSocketServerMessage_WebSocketExceptionData_descriptor;
}
@java.lang.Override
public org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData getDefaultInstanceForType() {
return org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData.getDefaultInstance();
}
@java.lang.Override
public org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData build() {
org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData buildPartial() {
org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData result = new org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.protocolVersion_ = protocolVersion_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.sequenceNumber_ = sequenceNumber_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
to_bitField0_ |= 0x00000004;
}
result.type_ = type_;
if (((from_bitField0_ & 0x00000008) != 0)) {
to_bitField0_ |= 0x00000008;
}
result.message_ = message_;
if (((from_bitField0_ & 0x00000010) != 0)) {
to_bitField0_ |= 0x00000010;
}
result.data_ = data_;
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.WebSocketServerMessage.WebSocketExceptionData) {
return mergeFrom((org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData other) {
if (other == org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData.getDefaultInstance()) return this;
if (other.hasProtocolVersion()) {
setProtocolVersion(other.getProtocolVersion());
}
if (other.hasSequenceNumber()) {
setSequenceNumber(other.getSequenceNumber());
}
if (other.hasType()) {
bitField0_ |= 0x00000004;
type_ = other.type_;
onChanged();
}
if (other.hasMessage()) {
bitField0_ |= 0x00000008;
message_ = other.message_;
onChanged();
}
if (other.hasData()) {
setData(other.getData());
}
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.WebSocketServerMessage.WebSocketExceptionData parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int protocolVersion_ ;
/**
* optional uint32 protocolVersion = 1;
*/
public boolean hasProtocolVersion() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 protocolVersion = 1;
*/
public int getProtocolVersion() {
return protocolVersion_;
}
/**
* optional uint32 protocolVersion = 1;
*/
public Builder setProtocolVersion(int value) {
bitField0_ |= 0x00000001;
protocolVersion_ = value;
onChanged();
return this;
}
/**
* optional uint32 protocolVersion = 1;
*/
public Builder clearProtocolVersion() {
bitField0_ = (bitField0_ & ~0x00000001);
protocolVersion_ = 0;
onChanged();
return this;
}
private int sequenceNumber_ ;
/**
*
* allow for -1
*
*
* optional int32 sequenceNumber = 2;
*/
public boolean hasSequenceNumber() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* allow for -1
*
*
* optional int32 sequenceNumber = 2;
*/
public int getSequenceNumber() {
return sequenceNumber_;
}
/**
*
* allow for -1
*
*
* optional int32 sequenceNumber = 2;
*/
public Builder setSequenceNumber(int value) {
bitField0_ |= 0x00000002;
sequenceNumber_ = value;
onChanged();
return this;
}
/**
*
* allow for -1
*
*
* optional int32 sequenceNumber = 2;
*/
public Builder clearSequenceNumber() {
bitField0_ = (bitField0_ & ~0x00000002);
sequenceNumber_ = 0;
onChanged();
return this;
}
private java.lang.Object type_ = "";
/**
* optional string type = 3;
*/
public boolean hasType() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string type = 3;
*/
public java.lang.String getType() {
java.lang.Object ref = type_;
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()) {
type_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string type = 3;
*/
public com.google.protobuf.ByteString
getTypeBytes() {
java.lang.Object ref = type_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
type_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string type = 3;
*/
public Builder setType(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
type_ = value;
onChanged();
return this;
}
/**
* optional string type = 3;
*/
public Builder clearType() {
bitField0_ = (bitField0_ & ~0x00000004);
type_ = getDefaultInstance().getType();
onChanged();
return this;
}
/**
* optional string type = 3;
*/
public Builder setTypeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
type_ = value;
onChanged();
return this;
}
private java.lang.Object message_ = "";
/**
* optional string message = 4;
*/
public boolean hasMessage() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional string message = 4;
*/
public java.lang.String getMessage() {
java.lang.Object ref = message_;
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()) {
message_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string message = 4;
*/
public com.google.protobuf.ByteString
getMessageBytes() {
java.lang.Object ref = message_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
message_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string message = 4;
*/
public Builder setMessage(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
message_ = value;
onChanged();
return this;
}
/**
* optional string message = 4;
*/
public Builder clearMessage() {
bitField0_ = (bitField0_ & ~0x00000008);
message_ = getDefaultInstance().getMessage();
onChanged();
return this;
}
/**
* optional string message = 4;
*/
public Builder setMessageBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
message_ = value;
onChanged();
return this;
}
private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY;
/**
*
* Structured exception data
*
*
* optional bytes data = 5;
*/
public boolean hasData() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
*
* Structured exception data
*
*
* optional bytes data = 5;
*/
public com.google.protobuf.ByteString getData() {
return data_;
}
/**
*
* Structured exception data
*
*
* optional bytes data = 5;
*/
public Builder setData(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
data_ = value;
onChanged();
return this;
}
/**
*
* Structured exception data
*
*
* optional bytes data = 5;
*/
public Builder clearData() {
bitField0_ = (bitField0_ & ~0x00000010);
data_ = getDefaultInstance().getData();
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.web.WebSocketServerMessage.WebSocketExceptionData)
}
// @@protoc_insertion_point(class_scope:yamcs.protobuf.web.WebSocketServerMessage.WebSocketExceptionData)
private static final org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData();
}
public static org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WebSocketExceptionData parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WebSocketExceptionData(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.WebSocketServerMessage.WebSocketExceptionData getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WebSocketSubscriptionDataOrBuilder extends
// @@protoc_insertion_point(interface_extends:yamcs.protobuf.web.WebSocketServerMessage.WebSocketSubscriptionData)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 sequenceNumber = 1;
*/
boolean hasSequenceNumber();
/**
* optional uint32 sequenceNumber = 1;
*/
int getSequenceNumber();
/**
* optional .yamcs.protobuf.ProtoDataType type = 2;
*/
boolean hasType();
/**
* optional .yamcs.protobuf.ProtoDataType type = 2;
*/
org.yamcs.protobuf.Yamcs.ProtoDataType getType();
/**
* optional .yamcs.protobuf.pvalue.ParameterData parameterData = 3;
*/
boolean hasParameterData();
/**
* optional .yamcs.protobuf.pvalue.ParameterData parameterData = 3;
*/
org.yamcs.protobuf.Pvalue.ParameterData getParameterData();
/**
* optional .yamcs.protobuf.pvalue.ParameterData parameterData = 3;
*/
org.yamcs.protobuf.Pvalue.ParameterDataOrBuilder getParameterDataOrBuilder();
/**
* optional .yamcs.protobuf.commanding.CommandHistoryEntry command = 4;
*/
boolean hasCommand();
/**
* optional .yamcs.protobuf.commanding.CommandHistoryEntry command = 4;
*/
org.yamcs.protobuf.Commanding.CommandHistoryEntry getCommand();
/**
* optional .yamcs.protobuf.commanding.CommandHistoryEntry command = 4;
*/
org.yamcs.protobuf.Commanding.CommandHistoryEntryOrBuilder getCommandOrBuilder();
/**
* optional .yamcs.protobuf.yamcsManagement.ProcessorInfo processorInfo = 5;
*/
boolean hasProcessorInfo();
/**
* optional .yamcs.protobuf.yamcsManagement.ProcessorInfo processorInfo = 5;
*/
org.yamcs.protobuf.ProcessorInfo getProcessorInfo();
/**
* optional .yamcs.protobuf.yamcsManagement.ProcessorInfo processorInfo = 5;
*/
org.yamcs.protobuf.ProcessorInfoOrBuilder getProcessorInfoOrBuilder();
/**
* optional .yamcs.protobuf.yamcsManagement.ClientInfo clientInfo = 6;
*/
boolean hasClientInfo();
/**
* optional .yamcs.protobuf.yamcsManagement.ClientInfo clientInfo = 6;
*/
org.yamcs.protobuf.ClientInfo getClientInfo();
/**
* optional .yamcs.protobuf.yamcsManagement.ClientInfo clientInfo = 6;
*/
org.yamcs.protobuf.ClientInfoOrBuilder getClientInfoOrBuilder();
/**
* optional .yamcs.protobuf.yamcsManagement.Statistics statistics = 7;
*/
boolean hasStatistics();
/**
* optional .yamcs.protobuf.yamcsManagement.Statistics statistics = 7;
*/
org.yamcs.protobuf.Statistics getStatistics();
/**
* optional .yamcs.protobuf.yamcsManagement.Statistics statistics = 7;
*/
org.yamcs.protobuf.StatisticsOrBuilder getStatisticsOrBuilder();
/**
* optional .yamcs.protobuf.Event event = 8;
*/
boolean hasEvent();
/**
* optional .yamcs.protobuf.Event event = 8;
*/
org.yamcs.protobuf.Yamcs.Event getEvent();
/**
* optional .yamcs.protobuf.Event event = 8;
*/
org.yamcs.protobuf.Yamcs.EventOrBuilder getEventOrBuilder();
/**
* optional .yamcs.protobuf.table.StreamData streamData = 9;
*/
boolean hasStreamData();
/**
* optional .yamcs.protobuf.table.StreamData streamData = 9;
*/
org.yamcs.protobuf.Table.StreamData getStreamData();
/**
* optional .yamcs.protobuf.table.StreamData streamData = 9;
*/
org.yamcs.protobuf.Table.StreamDataOrBuilder getStreamDataOrBuilder();
/**
* optional .yamcs.protobuf.alarms.AlarmData alarmData = 10;
*/
boolean hasAlarmData();
/**
* optional .yamcs.protobuf.alarms.AlarmData alarmData = 10;
*/
org.yamcs.protobuf.Alarms.AlarmData getAlarmData();
/**
* optional .yamcs.protobuf.alarms.AlarmData alarmData = 10;
*/
org.yamcs.protobuf.Alarms.AlarmDataOrBuilder getAlarmDataOrBuilder();
/**
* optional .yamcs.protobuf.TimeInfo timeInfo = 11;
*/
boolean hasTimeInfo();
/**
* optional .yamcs.protobuf.TimeInfo timeInfo = 11;
*/
org.yamcs.protobuf.Yamcs.TimeInfo getTimeInfo();
/**
* optional .yamcs.protobuf.TimeInfo timeInfo = 11;
*/
org.yamcs.protobuf.Yamcs.TimeInfoOrBuilder getTimeInfoOrBuilder();
/**
* optional .yamcs.protobuf.yamcsManagement.LinkEvent linkEvent = 12;
*/
boolean hasLinkEvent();
/**
* optional .yamcs.protobuf.yamcsManagement.LinkEvent linkEvent = 12;
*/
org.yamcs.protobuf.LinkEvent getLinkEvent();
/**
* optional .yamcs.protobuf.yamcsManagement.LinkEvent linkEvent = 12;
*/
org.yamcs.protobuf.LinkEventOrBuilder getLinkEventOrBuilder();
/**
* optional .yamcs.protobuf.commanding.CommandQueueInfo commandQueueInfo = 13;
*/
boolean hasCommandQueueInfo();
/**
* optional .yamcs.protobuf.commanding.CommandQueueInfo commandQueueInfo = 13;
*/
org.yamcs.protobuf.Commanding.CommandQueueInfo getCommandQueueInfo();
/**
* optional .yamcs.protobuf.commanding.CommandQueueInfo commandQueueInfo = 13;
*/
org.yamcs.protobuf.Commanding.CommandQueueInfoOrBuilder getCommandQueueInfoOrBuilder();
/**
* optional .yamcs.protobuf.commanding.CommandQueueEvent commandQueueEvent = 14;
*/
boolean hasCommandQueueEvent();
/**
* optional .yamcs.protobuf.commanding.CommandQueueEvent commandQueueEvent = 14;
*/
org.yamcs.protobuf.Commanding.CommandQueueEvent getCommandQueueEvent();
/**
* optional .yamcs.protobuf.commanding.CommandQueueEvent commandQueueEvent = 14;
*/
org.yamcs.protobuf.Commanding.CommandQueueEventOrBuilder getCommandQueueEventOrBuilder();
/**
* optional .yamcs.protobuf.TmPacketData tmPacket = 15;
*/
boolean hasTmPacket();
/**
* optional .yamcs.protobuf.TmPacketData tmPacket = 15;
*/
org.yamcs.protobuf.Yamcs.TmPacketData getTmPacket();
/**
* optional .yamcs.protobuf.TmPacketData tmPacket = 15;
*/
org.yamcs.protobuf.Yamcs.TmPacketDataOrBuilder getTmPacketOrBuilder();
/**
* optional .yamcs.protobuf.web.ConnectionInfo connectionInfo = 16;
*/
boolean hasConnectionInfo();
/**
* optional .yamcs.protobuf.web.ConnectionInfo connectionInfo = 16;
*/
org.yamcs.protobuf.ConnectionInfo getConnectionInfo();
/**
* optional .yamcs.protobuf.web.ConnectionInfo connectionInfo = 16;
*/
org.yamcs.protobuf.ConnectionInfoOrBuilder getConnectionInfoOrBuilder();
/**
* optional .yamcs.protobuf.yamcsManagement.StreamEvent streamEvent = 17;
*/
boolean hasStreamEvent();
/**
* optional .yamcs.protobuf.yamcsManagement.StreamEvent streamEvent = 17;
*/
org.yamcs.protobuf.StreamEvent getStreamEvent();
/**
* optional .yamcs.protobuf.yamcsManagement.StreamEvent streamEvent = 17;
*/
org.yamcs.protobuf.StreamEventOrBuilder getStreamEventOrBuilder();
/**
* optional .yamcs.protobuf.web.WebSocketExtensionData extensionData = 100;
*/
boolean hasExtensionData();
/**
* optional .yamcs.protobuf.web.WebSocketExtensionData extensionData = 100;
*/
org.yamcs.protobuf.WebSocketExtensionData getExtensionData();
/**
* optional .yamcs.protobuf.web.WebSocketExtensionData extensionData = 100;
*/
org.yamcs.protobuf.WebSocketExtensionDataOrBuilder getExtensionDataOrBuilder();
}
/**
* Protobuf type {@code yamcs.protobuf.web.WebSocketServerMessage.WebSocketSubscriptionData}
*/
public static final class WebSocketSubscriptionData extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:yamcs.protobuf.web.WebSocketServerMessage.WebSocketSubscriptionData)
WebSocketSubscriptionDataOrBuilder {
private static final long serialVersionUID = 0L;
// Use WebSocketSubscriptionData.newBuilder() to construct.
private WebSocketSubscriptionData(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WebSocketSubscriptionData() {
type_ = 1;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WebSocketSubscriptionData(
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 8: {
bitField0_ |= 0x00000001;
sequenceNumber_ = input.readUInt32();
break;
}
case 16: {
int rawValue = input.readEnum();
@SuppressWarnings("deprecation")
org.yamcs.protobuf.Yamcs.ProtoDataType value = org.yamcs.protobuf.Yamcs.ProtoDataType.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(2, rawValue);
} else {
bitField0_ |= 0x00000002;
type_ = rawValue;
}
break;
}
case 26: {
org.yamcs.protobuf.Pvalue.ParameterData.Builder subBuilder = null;
if (((bitField0_ & 0x00000004) != 0)) {
subBuilder = parameterData_.toBuilder();
}
parameterData_ = input.readMessage(org.yamcs.protobuf.Pvalue.ParameterData.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(parameterData_);
parameterData_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000004;
break;
}
case 34: {
org.yamcs.protobuf.Commanding.CommandHistoryEntry.Builder subBuilder = null;
if (((bitField0_ & 0x00000008) != 0)) {
subBuilder = command_.toBuilder();
}
command_ = input.readMessage(org.yamcs.protobuf.Commanding.CommandHistoryEntry.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(command_);
command_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000008;
break;
}
case 42: {
org.yamcs.protobuf.ProcessorInfo.Builder subBuilder = null;
if (((bitField0_ & 0x00000010) != 0)) {
subBuilder = processorInfo_.toBuilder();
}
processorInfo_ = input.readMessage(org.yamcs.protobuf.ProcessorInfo.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(processorInfo_);
processorInfo_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000010;
break;
}
case 50: {
org.yamcs.protobuf.ClientInfo.Builder subBuilder = null;
if (((bitField0_ & 0x00000020) != 0)) {
subBuilder = clientInfo_.toBuilder();
}
clientInfo_ = input.readMessage(org.yamcs.protobuf.ClientInfo.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(clientInfo_);
clientInfo_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000020;
break;
}
case 58: {
org.yamcs.protobuf.Statistics.Builder subBuilder = null;
if (((bitField0_ & 0x00000040) != 0)) {
subBuilder = statistics_.toBuilder();
}
statistics_ = input.readMessage(org.yamcs.protobuf.Statistics.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(statistics_);
statistics_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000040;
break;
}
case 66: {
org.yamcs.protobuf.Yamcs.Event.Builder subBuilder = null;
if (((bitField0_ & 0x00000080) != 0)) {
subBuilder = event_.toBuilder();
}
event_ = input.readMessage(org.yamcs.protobuf.Yamcs.Event.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(event_);
event_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000080;
break;
}
case 74: {
org.yamcs.protobuf.Table.StreamData.Builder subBuilder = null;
if (((bitField0_ & 0x00000100) != 0)) {
subBuilder = streamData_.toBuilder();
}
streamData_ = input.readMessage(org.yamcs.protobuf.Table.StreamData.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(streamData_);
streamData_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000100;
break;
}
case 82: {
org.yamcs.protobuf.Alarms.AlarmData.Builder subBuilder = null;
if (((bitField0_ & 0x00000200) != 0)) {
subBuilder = alarmData_.toBuilder();
}
alarmData_ = input.readMessage(org.yamcs.protobuf.Alarms.AlarmData.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(alarmData_);
alarmData_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000200;
break;
}
case 90: {
org.yamcs.protobuf.Yamcs.TimeInfo.Builder subBuilder = null;
if (((bitField0_ & 0x00000400) != 0)) {
subBuilder = timeInfo_.toBuilder();
}
timeInfo_ = input.readMessage(org.yamcs.protobuf.Yamcs.TimeInfo.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(timeInfo_);
timeInfo_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000400;
break;
}
case 98: {
org.yamcs.protobuf.LinkEvent.Builder subBuilder = null;
if (((bitField0_ & 0x00000800) != 0)) {
subBuilder = linkEvent_.toBuilder();
}
linkEvent_ = input.readMessage(org.yamcs.protobuf.LinkEvent.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(linkEvent_);
linkEvent_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000800;
break;
}
case 106: {
org.yamcs.protobuf.Commanding.CommandQueueInfo.Builder subBuilder = null;
if (((bitField0_ & 0x00001000) != 0)) {
subBuilder = commandQueueInfo_.toBuilder();
}
commandQueueInfo_ = input.readMessage(org.yamcs.protobuf.Commanding.CommandQueueInfo.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(commandQueueInfo_);
commandQueueInfo_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00001000;
break;
}
case 114: {
org.yamcs.protobuf.Commanding.CommandQueueEvent.Builder subBuilder = null;
if (((bitField0_ & 0x00002000) != 0)) {
subBuilder = commandQueueEvent_.toBuilder();
}
commandQueueEvent_ = input.readMessage(org.yamcs.protobuf.Commanding.CommandQueueEvent.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(commandQueueEvent_);
commandQueueEvent_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00002000;
break;
}
case 122: {
org.yamcs.protobuf.Yamcs.TmPacketData.Builder subBuilder = null;
if (((bitField0_ & 0x00004000) != 0)) {
subBuilder = tmPacket_.toBuilder();
}
tmPacket_ = input.readMessage(org.yamcs.protobuf.Yamcs.TmPacketData.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(tmPacket_);
tmPacket_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00004000;
break;
}
case 130: {
org.yamcs.protobuf.ConnectionInfo.Builder subBuilder = null;
if (((bitField0_ & 0x00008000) != 0)) {
subBuilder = connectionInfo_.toBuilder();
}
connectionInfo_ = input.readMessage(org.yamcs.protobuf.ConnectionInfo.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(connectionInfo_);
connectionInfo_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00008000;
break;
}
case 138: {
org.yamcs.protobuf.StreamEvent.Builder subBuilder = null;
if (((bitField0_ & 0x00010000) != 0)) {
subBuilder = streamEvent_.toBuilder();
}
streamEvent_ = input.readMessage(org.yamcs.protobuf.StreamEvent.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(streamEvent_);
streamEvent_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00010000;
break;
}
case 802: {
org.yamcs.protobuf.WebSocketExtensionData.Builder subBuilder = null;
if (((bitField0_ & 0x00020000) != 0)) {
subBuilder = extensionData_.toBuilder();
}
extensionData_ = input.readMessage(org.yamcs.protobuf.WebSocketExtensionData.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(extensionData_);
extensionData_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00020000;
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.WebSocketProto.internal_static_yamcs_protobuf_web_WebSocketServerMessage_WebSocketSubscriptionData_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.yamcs.protobuf.WebSocketProto.internal_static_yamcs_protobuf_web_WebSocketServerMessage_WebSocketSubscriptionData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData.class, org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData.Builder.class);
}
private int bitField0_;
public static final int SEQUENCENUMBER_FIELD_NUMBER = 1;
private int sequenceNumber_;
/**
* optional uint32 sequenceNumber = 1;
*/
public boolean hasSequenceNumber() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 sequenceNumber = 1;
*/
public int getSequenceNumber() {
return sequenceNumber_;
}
public static final int TYPE_FIELD_NUMBER = 2;
private int type_;
/**
* optional .yamcs.protobuf.ProtoDataType type = 2;
*/
public boolean hasType() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .yamcs.protobuf.ProtoDataType type = 2;
*/
public org.yamcs.protobuf.Yamcs.ProtoDataType getType() {
@SuppressWarnings("deprecation")
org.yamcs.protobuf.Yamcs.ProtoDataType result = org.yamcs.protobuf.Yamcs.ProtoDataType.valueOf(type_);
return result == null ? org.yamcs.protobuf.Yamcs.ProtoDataType.DT_ERROR : result;
}
public static final int PARAMETERDATA_FIELD_NUMBER = 3;
private org.yamcs.protobuf.Pvalue.ParameterData parameterData_;
/**
* optional .yamcs.protobuf.pvalue.ParameterData parameterData = 3;
*/
public boolean hasParameterData() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional .yamcs.protobuf.pvalue.ParameterData parameterData = 3;
*/
public org.yamcs.protobuf.Pvalue.ParameterData getParameterData() {
return parameterData_ == null ? org.yamcs.protobuf.Pvalue.ParameterData.getDefaultInstance() : parameterData_;
}
/**
* optional .yamcs.protobuf.pvalue.ParameterData parameterData = 3;
*/
public org.yamcs.protobuf.Pvalue.ParameterDataOrBuilder getParameterDataOrBuilder() {
return parameterData_ == null ? org.yamcs.protobuf.Pvalue.ParameterData.getDefaultInstance() : parameterData_;
}
public static final int COMMAND_FIELD_NUMBER = 4;
private org.yamcs.protobuf.Commanding.CommandHistoryEntry command_;
/**
* optional .yamcs.protobuf.commanding.CommandHistoryEntry command = 4;
*/
public boolean hasCommand() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional .yamcs.protobuf.commanding.CommandHistoryEntry command = 4;
*/
public org.yamcs.protobuf.Commanding.CommandHistoryEntry getCommand() {
return command_ == null ? org.yamcs.protobuf.Commanding.CommandHistoryEntry.getDefaultInstance() : command_;
}
/**
* optional .yamcs.protobuf.commanding.CommandHistoryEntry command = 4;
*/
public org.yamcs.protobuf.Commanding.CommandHistoryEntryOrBuilder getCommandOrBuilder() {
return command_ == null ? org.yamcs.protobuf.Commanding.CommandHistoryEntry.getDefaultInstance() : command_;
}
public static final int PROCESSORINFO_FIELD_NUMBER = 5;
private org.yamcs.protobuf.ProcessorInfo processorInfo_;
/**
* optional .yamcs.protobuf.yamcsManagement.ProcessorInfo processorInfo = 5;
*/
public boolean hasProcessorInfo() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional .yamcs.protobuf.yamcsManagement.ProcessorInfo processorInfo = 5;
*/
public org.yamcs.protobuf.ProcessorInfo getProcessorInfo() {
return processorInfo_ == null ? org.yamcs.protobuf.ProcessorInfo.getDefaultInstance() : processorInfo_;
}
/**
* optional .yamcs.protobuf.yamcsManagement.ProcessorInfo processorInfo = 5;
*/
public org.yamcs.protobuf.ProcessorInfoOrBuilder getProcessorInfoOrBuilder() {
return processorInfo_ == null ? org.yamcs.protobuf.ProcessorInfo.getDefaultInstance() : processorInfo_;
}
public static final int CLIENTINFO_FIELD_NUMBER = 6;
private org.yamcs.protobuf.ClientInfo clientInfo_;
/**
* optional .yamcs.protobuf.yamcsManagement.ClientInfo clientInfo = 6;
*/
public boolean hasClientInfo() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional .yamcs.protobuf.yamcsManagement.ClientInfo clientInfo = 6;
*/
public org.yamcs.protobuf.ClientInfo getClientInfo() {
return clientInfo_ == null ? org.yamcs.protobuf.ClientInfo.getDefaultInstance() : clientInfo_;
}
/**
* optional .yamcs.protobuf.yamcsManagement.ClientInfo clientInfo = 6;
*/
public org.yamcs.protobuf.ClientInfoOrBuilder getClientInfoOrBuilder() {
return clientInfo_ == null ? org.yamcs.protobuf.ClientInfo.getDefaultInstance() : clientInfo_;
}
public static final int STATISTICS_FIELD_NUMBER = 7;
private org.yamcs.protobuf.Statistics statistics_;
/**
* optional .yamcs.protobuf.yamcsManagement.Statistics statistics = 7;
*/
public boolean hasStatistics() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional .yamcs.protobuf.yamcsManagement.Statistics statistics = 7;
*/
public org.yamcs.protobuf.Statistics getStatistics() {
return statistics_ == null ? org.yamcs.protobuf.Statistics.getDefaultInstance() : statistics_;
}
/**
* optional .yamcs.protobuf.yamcsManagement.Statistics statistics = 7;
*/
public org.yamcs.protobuf.StatisticsOrBuilder getStatisticsOrBuilder() {
return statistics_ == null ? org.yamcs.protobuf.Statistics.getDefaultInstance() : statistics_;
}
public static final int EVENT_FIELD_NUMBER = 8;
private org.yamcs.protobuf.Yamcs.Event event_;
/**
* optional .yamcs.protobuf.Event event = 8;
*/
public boolean hasEvent() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional .yamcs.protobuf.Event event = 8;
*/
public org.yamcs.protobuf.Yamcs.Event getEvent() {
return event_ == null ? org.yamcs.protobuf.Yamcs.Event.getDefaultInstance() : event_;
}
/**
* optional .yamcs.protobuf.Event event = 8;
*/
public org.yamcs.protobuf.Yamcs.EventOrBuilder getEventOrBuilder() {
return event_ == null ? org.yamcs.protobuf.Yamcs.Event.getDefaultInstance() : event_;
}
public static final int STREAMDATA_FIELD_NUMBER = 9;
private org.yamcs.protobuf.Table.StreamData streamData_;
/**
* optional .yamcs.protobuf.table.StreamData streamData = 9;
*/
public boolean hasStreamData() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional .yamcs.protobuf.table.StreamData streamData = 9;
*/
public org.yamcs.protobuf.Table.StreamData getStreamData() {
return streamData_ == null ? org.yamcs.protobuf.Table.StreamData.getDefaultInstance() : streamData_;
}
/**
* optional .yamcs.protobuf.table.StreamData streamData = 9;
*/
public org.yamcs.protobuf.Table.StreamDataOrBuilder getStreamDataOrBuilder() {
return streamData_ == null ? org.yamcs.protobuf.Table.StreamData.getDefaultInstance() : streamData_;
}
public static final int ALARMDATA_FIELD_NUMBER = 10;
private org.yamcs.protobuf.Alarms.AlarmData alarmData_;
/**
* optional .yamcs.protobuf.alarms.AlarmData alarmData = 10;
*/
public boolean hasAlarmData() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* optional .yamcs.protobuf.alarms.AlarmData alarmData = 10;
*/
public org.yamcs.protobuf.Alarms.AlarmData getAlarmData() {
return alarmData_ == null ? org.yamcs.protobuf.Alarms.AlarmData.getDefaultInstance() : alarmData_;
}
/**
* optional .yamcs.protobuf.alarms.AlarmData alarmData = 10;
*/
public org.yamcs.protobuf.Alarms.AlarmDataOrBuilder getAlarmDataOrBuilder() {
return alarmData_ == null ? org.yamcs.protobuf.Alarms.AlarmData.getDefaultInstance() : alarmData_;
}
public static final int TIMEINFO_FIELD_NUMBER = 11;
private org.yamcs.protobuf.Yamcs.TimeInfo timeInfo_;
/**
* optional .yamcs.protobuf.TimeInfo timeInfo = 11;
*/
public boolean hasTimeInfo() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* optional .yamcs.protobuf.TimeInfo timeInfo = 11;
*/
public org.yamcs.protobuf.Yamcs.TimeInfo getTimeInfo() {
return timeInfo_ == null ? org.yamcs.protobuf.Yamcs.TimeInfo.getDefaultInstance() : timeInfo_;
}
/**
* optional .yamcs.protobuf.TimeInfo timeInfo = 11;
*/
public org.yamcs.protobuf.Yamcs.TimeInfoOrBuilder getTimeInfoOrBuilder() {
return timeInfo_ == null ? org.yamcs.protobuf.Yamcs.TimeInfo.getDefaultInstance() : timeInfo_;
}
public static final int LINKEVENT_FIELD_NUMBER = 12;
private org.yamcs.protobuf.LinkEvent linkEvent_;
/**
* optional .yamcs.protobuf.yamcsManagement.LinkEvent linkEvent = 12;
*/
public boolean hasLinkEvent() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* optional .yamcs.protobuf.yamcsManagement.LinkEvent linkEvent = 12;
*/
public org.yamcs.protobuf.LinkEvent getLinkEvent() {
return linkEvent_ == null ? org.yamcs.protobuf.LinkEvent.getDefaultInstance() : linkEvent_;
}
/**
* optional .yamcs.protobuf.yamcsManagement.LinkEvent linkEvent = 12;
*/
public org.yamcs.protobuf.LinkEventOrBuilder getLinkEventOrBuilder() {
return linkEvent_ == null ? org.yamcs.protobuf.LinkEvent.getDefaultInstance() : linkEvent_;
}
public static final int COMMANDQUEUEINFO_FIELD_NUMBER = 13;
private org.yamcs.protobuf.Commanding.CommandQueueInfo commandQueueInfo_;
/**
* optional .yamcs.protobuf.commanding.CommandQueueInfo commandQueueInfo = 13;
*/
public boolean hasCommandQueueInfo() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* optional .yamcs.protobuf.commanding.CommandQueueInfo commandQueueInfo = 13;
*/
public org.yamcs.protobuf.Commanding.CommandQueueInfo getCommandQueueInfo() {
return commandQueueInfo_ == null ? org.yamcs.protobuf.Commanding.CommandQueueInfo.getDefaultInstance() : commandQueueInfo_;
}
/**
* optional .yamcs.protobuf.commanding.CommandQueueInfo commandQueueInfo = 13;
*/
public org.yamcs.protobuf.Commanding.CommandQueueInfoOrBuilder getCommandQueueInfoOrBuilder() {
return commandQueueInfo_ == null ? org.yamcs.protobuf.Commanding.CommandQueueInfo.getDefaultInstance() : commandQueueInfo_;
}
public static final int COMMANDQUEUEEVENT_FIELD_NUMBER = 14;
private org.yamcs.protobuf.Commanding.CommandQueueEvent commandQueueEvent_;
/**
* optional .yamcs.protobuf.commanding.CommandQueueEvent commandQueueEvent = 14;
*/
public boolean hasCommandQueueEvent() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
* optional .yamcs.protobuf.commanding.CommandQueueEvent commandQueueEvent = 14;
*/
public org.yamcs.protobuf.Commanding.CommandQueueEvent getCommandQueueEvent() {
return commandQueueEvent_ == null ? org.yamcs.protobuf.Commanding.CommandQueueEvent.getDefaultInstance() : commandQueueEvent_;
}
/**
* optional .yamcs.protobuf.commanding.CommandQueueEvent commandQueueEvent = 14;
*/
public org.yamcs.protobuf.Commanding.CommandQueueEventOrBuilder getCommandQueueEventOrBuilder() {
return commandQueueEvent_ == null ? org.yamcs.protobuf.Commanding.CommandQueueEvent.getDefaultInstance() : commandQueueEvent_;
}
public static final int TMPACKET_FIELD_NUMBER = 15;
private org.yamcs.protobuf.Yamcs.TmPacketData tmPacket_;
/**
* optional .yamcs.protobuf.TmPacketData tmPacket = 15;
*/
public boolean hasTmPacket() {
return ((bitField0_ & 0x00004000) != 0);
}
/**
* optional .yamcs.protobuf.TmPacketData tmPacket = 15;
*/
public org.yamcs.protobuf.Yamcs.TmPacketData getTmPacket() {
return tmPacket_ == null ? org.yamcs.protobuf.Yamcs.TmPacketData.getDefaultInstance() : tmPacket_;
}
/**
* optional .yamcs.protobuf.TmPacketData tmPacket = 15;
*/
public org.yamcs.protobuf.Yamcs.TmPacketDataOrBuilder getTmPacketOrBuilder() {
return tmPacket_ == null ? org.yamcs.protobuf.Yamcs.TmPacketData.getDefaultInstance() : tmPacket_;
}
public static final int CONNECTIONINFO_FIELD_NUMBER = 16;
private org.yamcs.protobuf.ConnectionInfo connectionInfo_;
/**
* optional .yamcs.protobuf.web.ConnectionInfo connectionInfo = 16;
*/
public boolean hasConnectionInfo() {
return ((bitField0_ & 0x00008000) != 0);
}
/**
* optional .yamcs.protobuf.web.ConnectionInfo connectionInfo = 16;
*/
public org.yamcs.protobuf.ConnectionInfo getConnectionInfo() {
return connectionInfo_ == null ? org.yamcs.protobuf.ConnectionInfo.getDefaultInstance() : connectionInfo_;
}
/**
* optional .yamcs.protobuf.web.ConnectionInfo connectionInfo = 16;
*/
public org.yamcs.protobuf.ConnectionInfoOrBuilder getConnectionInfoOrBuilder() {
return connectionInfo_ == null ? org.yamcs.protobuf.ConnectionInfo.getDefaultInstance() : connectionInfo_;
}
public static final int STREAMEVENT_FIELD_NUMBER = 17;
private org.yamcs.protobuf.StreamEvent streamEvent_;
/**
* optional .yamcs.protobuf.yamcsManagement.StreamEvent streamEvent = 17;
*/
public boolean hasStreamEvent() {
return ((bitField0_ & 0x00010000) != 0);
}
/**
* optional .yamcs.protobuf.yamcsManagement.StreamEvent streamEvent = 17;
*/
public org.yamcs.protobuf.StreamEvent getStreamEvent() {
return streamEvent_ == null ? org.yamcs.protobuf.StreamEvent.getDefaultInstance() : streamEvent_;
}
/**
* optional .yamcs.protobuf.yamcsManagement.StreamEvent streamEvent = 17;
*/
public org.yamcs.protobuf.StreamEventOrBuilder getStreamEventOrBuilder() {
return streamEvent_ == null ? org.yamcs.protobuf.StreamEvent.getDefaultInstance() : streamEvent_;
}
public static final int EXTENSIONDATA_FIELD_NUMBER = 100;
private org.yamcs.protobuf.WebSocketExtensionData extensionData_;
/**
* optional .yamcs.protobuf.web.WebSocketExtensionData extensionData = 100;
*/
public boolean hasExtensionData() {
return ((bitField0_ & 0x00020000) != 0);
}
/**
* optional .yamcs.protobuf.web.WebSocketExtensionData extensionData = 100;
*/
public org.yamcs.protobuf.WebSocketExtensionData getExtensionData() {
return extensionData_ == null ? org.yamcs.protobuf.WebSocketExtensionData.getDefaultInstance() : extensionData_;
}
/**
* optional .yamcs.protobuf.web.WebSocketExtensionData extensionData = 100;
*/
public org.yamcs.protobuf.WebSocketExtensionDataOrBuilder getExtensionDataOrBuilder() {
return extensionData_ == null ? org.yamcs.protobuf.WebSocketExtensionData.getDefaultInstance() : extensionData_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (hasParameterData()) {
if (!getParameterData().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (hasCommand()) {
if (!getCommand().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (hasProcessorInfo()) {
if (!getProcessorInfo().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (hasEvent()) {
if (!getEvent().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (hasStreamData()) {
if (!getStreamData().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (hasAlarmData()) {
if (!getAlarmData().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (hasCommandQueueInfo()) {
if (!getCommandQueueInfo().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (hasCommandQueueEvent()) {
if (!getCommandQueueEvent().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (hasTmPacket()) {
if (!getTmPacket().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (hasConnectionInfo()) {
if (!getConnectionInfo().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)) {
output.writeUInt32(1, sequenceNumber_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeEnum(2, type_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(3, getParameterData());
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeMessage(4, getCommand());
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeMessage(5, getProcessorInfo());
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeMessage(6, getClientInfo());
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeMessage(7, getStatistics());
}
if (((bitField0_ & 0x00000080) != 0)) {
output.writeMessage(8, getEvent());
}
if (((bitField0_ & 0x00000100) != 0)) {
output.writeMessage(9, getStreamData());
}
if (((bitField0_ & 0x00000200) != 0)) {
output.writeMessage(10, getAlarmData());
}
if (((bitField0_ & 0x00000400) != 0)) {
output.writeMessage(11, getTimeInfo());
}
if (((bitField0_ & 0x00000800) != 0)) {
output.writeMessage(12, getLinkEvent());
}
if (((bitField0_ & 0x00001000) != 0)) {
output.writeMessage(13, getCommandQueueInfo());
}
if (((bitField0_ & 0x00002000) != 0)) {
output.writeMessage(14, getCommandQueueEvent());
}
if (((bitField0_ & 0x00004000) != 0)) {
output.writeMessage(15, getTmPacket());
}
if (((bitField0_ & 0x00008000) != 0)) {
output.writeMessage(16, getConnectionInfo());
}
if (((bitField0_ & 0x00010000) != 0)) {
output.writeMessage(17, getStreamEvent());
}
if (((bitField0_ & 0x00020000) != 0)) {
output.writeMessage(100, getExtensionData());
}
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.CodedOutputStream
.computeUInt32Size(1, sequenceNumber_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, type_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getParameterData());
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getCommand());
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getProcessorInfo());
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getClientInfo());
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getStatistics());
}
if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getEvent());
}
if (((bitField0_ & 0x00000100) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, getStreamData());
}
if (((bitField0_ & 0x00000200) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, getAlarmData());
}
if (((bitField0_ & 0x00000400) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, getTimeInfo());
}
if (((bitField0_ & 0x00000800) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, getLinkEvent());
}
if (((bitField0_ & 0x00001000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, getCommandQueueInfo());
}
if (((bitField0_ & 0x00002000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(14, getCommandQueueEvent());
}
if (((bitField0_ & 0x00004000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, getTmPacket());
}
if (((bitField0_ & 0x00008000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(16, getConnectionInfo());
}
if (((bitField0_ & 0x00010000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(17, getStreamEvent());
}
if (((bitField0_ & 0x00020000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(100, getExtensionData());
}
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.WebSocketServerMessage.WebSocketSubscriptionData)) {
return super.equals(obj);
}
org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData other = (org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData) obj;
if (hasSequenceNumber() != other.hasSequenceNumber()) return false;
if (hasSequenceNumber()) {
if (getSequenceNumber()
!= other.getSequenceNumber()) return false;
}
if (hasType() != other.hasType()) return false;
if (hasType()) {
if (type_ != other.type_) return false;
}
if (hasParameterData() != other.hasParameterData()) return false;
if (hasParameterData()) {
if (!getParameterData()
.equals(other.getParameterData())) return false;
}
if (hasCommand() != other.hasCommand()) return false;
if (hasCommand()) {
if (!getCommand()
.equals(other.getCommand())) return false;
}
if (hasProcessorInfo() != other.hasProcessorInfo()) return false;
if (hasProcessorInfo()) {
if (!getProcessorInfo()
.equals(other.getProcessorInfo())) return false;
}
if (hasClientInfo() != other.hasClientInfo()) return false;
if (hasClientInfo()) {
if (!getClientInfo()
.equals(other.getClientInfo())) return false;
}
if (hasStatistics() != other.hasStatistics()) return false;
if (hasStatistics()) {
if (!getStatistics()
.equals(other.getStatistics())) return false;
}
if (hasEvent() != other.hasEvent()) return false;
if (hasEvent()) {
if (!getEvent()
.equals(other.getEvent())) return false;
}
if (hasStreamData() != other.hasStreamData()) return false;
if (hasStreamData()) {
if (!getStreamData()
.equals(other.getStreamData())) return false;
}
if (hasAlarmData() != other.hasAlarmData()) return false;
if (hasAlarmData()) {
if (!getAlarmData()
.equals(other.getAlarmData())) return false;
}
if (hasTimeInfo() != other.hasTimeInfo()) return false;
if (hasTimeInfo()) {
if (!getTimeInfo()
.equals(other.getTimeInfo())) return false;
}
if (hasLinkEvent() != other.hasLinkEvent()) return false;
if (hasLinkEvent()) {
if (!getLinkEvent()
.equals(other.getLinkEvent())) return false;
}
if (hasCommandQueueInfo() != other.hasCommandQueueInfo()) return false;
if (hasCommandQueueInfo()) {
if (!getCommandQueueInfo()
.equals(other.getCommandQueueInfo())) return false;
}
if (hasCommandQueueEvent() != other.hasCommandQueueEvent()) return false;
if (hasCommandQueueEvent()) {
if (!getCommandQueueEvent()
.equals(other.getCommandQueueEvent())) return false;
}
if (hasTmPacket() != other.hasTmPacket()) return false;
if (hasTmPacket()) {
if (!getTmPacket()
.equals(other.getTmPacket())) return false;
}
if (hasConnectionInfo() != other.hasConnectionInfo()) return false;
if (hasConnectionInfo()) {
if (!getConnectionInfo()
.equals(other.getConnectionInfo())) return false;
}
if (hasStreamEvent() != other.hasStreamEvent()) return false;
if (hasStreamEvent()) {
if (!getStreamEvent()
.equals(other.getStreamEvent())) return false;
}
if (hasExtensionData() != other.hasExtensionData()) return false;
if (hasExtensionData()) {
if (!getExtensionData()
.equals(other.getExtensionData())) 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 (hasSequenceNumber()) {
hash = (37 * hash) + SEQUENCENUMBER_FIELD_NUMBER;
hash = (53 * hash) + getSequenceNumber();
}
if (hasType()) {
hash = (37 * hash) + TYPE_FIELD_NUMBER;
hash = (53 * hash) + type_;
}
if (hasParameterData()) {
hash = (37 * hash) + PARAMETERDATA_FIELD_NUMBER;
hash = (53 * hash) + getParameterData().hashCode();
}
if (hasCommand()) {
hash = (37 * hash) + COMMAND_FIELD_NUMBER;
hash = (53 * hash) + getCommand().hashCode();
}
if (hasProcessorInfo()) {
hash = (37 * hash) + PROCESSORINFO_FIELD_NUMBER;
hash = (53 * hash) + getProcessorInfo().hashCode();
}
if (hasClientInfo()) {
hash = (37 * hash) + CLIENTINFO_FIELD_NUMBER;
hash = (53 * hash) + getClientInfo().hashCode();
}
if (hasStatistics()) {
hash = (37 * hash) + STATISTICS_FIELD_NUMBER;
hash = (53 * hash) + getStatistics().hashCode();
}
if (hasEvent()) {
hash = (37 * hash) + EVENT_FIELD_NUMBER;
hash = (53 * hash) + getEvent().hashCode();
}
if (hasStreamData()) {
hash = (37 * hash) + STREAMDATA_FIELD_NUMBER;
hash = (53 * hash) + getStreamData().hashCode();
}
if (hasAlarmData()) {
hash = (37 * hash) + ALARMDATA_FIELD_NUMBER;
hash = (53 * hash) + getAlarmData().hashCode();
}
if (hasTimeInfo()) {
hash = (37 * hash) + TIMEINFO_FIELD_NUMBER;
hash = (53 * hash) + getTimeInfo().hashCode();
}
if (hasLinkEvent()) {
hash = (37 * hash) + LINKEVENT_FIELD_NUMBER;
hash = (53 * hash) + getLinkEvent().hashCode();
}
if (hasCommandQueueInfo()) {
hash = (37 * hash) + COMMANDQUEUEINFO_FIELD_NUMBER;
hash = (53 * hash) + getCommandQueueInfo().hashCode();
}
if (hasCommandQueueEvent()) {
hash = (37 * hash) + COMMANDQUEUEEVENT_FIELD_NUMBER;
hash = (53 * hash) + getCommandQueueEvent().hashCode();
}
if (hasTmPacket()) {
hash = (37 * hash) + TMPACKET_FIELD_NUMBER;
hash = (53 * hash) + getTmPacket().hashCode();
}
if (hasConnectionInfo()) {
hash = (37 * hash) + CONNECTIONINFO_FIELD_NUMBER;
hash = (53 * hash) + getConnectionInfo().hashCode();
}
if (hasStreamEvent()) {
hash = (37 * hash) + STREAMEVENT_FIELD_NUMBER;
hash = (53 * hash) + getStreamEvent().hashCode();
}
if (hasExtensionData()) {
hash = (37 * hash) + EXTENSIONDATA_FIELD_NUMBER;
hash = (53 * hash) + getExtensionData().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData 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.WebSocketServerMessage.WebSocketSubscriptionData parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData 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.WebSocketServerMessage.WebSocketSubscriptionData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData 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.WebSocketServerMessage.WebSocketSubscriptionData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData 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.WebSocketServerMessage.WebSocketSubscriptionData parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData 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.WebSocketServerMessage.WebSocketSubscriptionData 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.web.WebSocketServerMessage.WebSocketSubscriptionData}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:yamcs.protobuf.web.WebSocketServerMessage.WebSocketSubscriptionData)
org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionDataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.yamcs.protobuf.WebSocketProto.internal_static_yamcs_protobuf_web_WebSocketServerMessage_WebSocketSubscriptionData_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.yamcs.protobuf.WebSocketProto.internal_static_yamcs_protobuf_web_WebSocketServerMessage_WebSocketSubscriptionData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData.class, org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData.Builder.class);
}
// Construct using org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getParameterDataFieldBuilder();
getCommandFieldBuilder();
getProcessorInfoFieldBuilder();
getClientInfoFieldBuilder();
getStatisticsFieldBuilder();
getEventFieldBuilder();
getStreamDataFieldBuilder();
getAlarmDataFieldBuilder();
getTimeInfoFieldBuilder();
getLinkEventFieldBuilder();
getCommandQueueInfoFieldBuilder();
getCommandQueueEventFieldBuilder();
getTmPacketFieldBuilder();
getConnectionInfoFieldBuilder();
getStreamEventFieldBuilder();
getExtensionDataFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
sequenceNumber_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
type_ = 1;
bitField0_ = (bitField0_ & ~0x00000002);
if (parameterDataBuilder_ == null) {
parameterData_ = null;
} else {
parameterDataBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
if (commandBuilder_ == null) {
command_ = null;
} else {
commandBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
if (processorInfoBuilder_ == null) {
processorInfo_ = null;
} else {
processorInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000010);
if (clientInfoBuilder_ == null) {
clientInfo_ = null;
} else {
clientInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000020);
if (statisticsBuilder_ == null) {
statistics_ = null;
} else {
statisticsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000040);
if (eventBuilder_ == null) {
event_ = null;
} else {
eventBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000080);
if (streamDataBuilder_ == null) {
streamData_ = null;
} else {
streamDataBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000100);
if (alarmDataBuilder_ == null) {
alarmData_ = null;
} else {
alarmDataBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000200);
if (timeInfoBuilder_ == null) {
timeInfo_ = null;
} else {
timeInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000400);
if (linkEventBuilder_ == null) {
linkEvent_ = null;
} else {
linkEventBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000800);
if (commandQueueInfoBuilder_ == null) {
commandQueueInfo_ = null;
} else {
commandQueueInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00001000);
if (commandQueueEventBuilder_ == null) {
commandQueueEvent_ = null;
} else {
commandQueueEventBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00002000);
if (tmPacketBuilder_ == null) {
tmPacket_ = null;
} else {
tmPacketBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00004000);
if (connectionInfoBuilder_ == null) {
connectionInfo_ = null;
} else {
connectionInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00008000);
if (streamEventBuilder_ == null) {
streamEvent_ = null;
} else {
streamEventBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00010000);
if (extensionDataBuilder_ == null) {
extensionData_ = null;
} else {
extensionDataBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00020000);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.yamcs.protobuf.WebSocketProto.internal_static_yamcs_protobuf_web_WebSocketServerMessage_WebSocketSubscriptionData_descriptor;
}
@java.lang.Override
public org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData getDefaultInstanceForType() {
return org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData.getDefaultInstance();
}
@java.lang.Override
public org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData build() {
org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData buildPartial() {
org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData result = new org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.sequenceNumber_ = sequenceNumber_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
to_bitField0_ |= 0x00000002;
}
result.type_ = type_;
if (((from_bitField0_ & 0x00000004) != 0)) {
if (parameterDataBuilder_ == null) {
result.parameterData_ = parameterData_;
} else {
result.parameterData_ = parameterDataBuilder_.build();
}
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
if (commandBuilder_ == null) {
result.command_ = command_;
} else {
result.command_ = commandBuilder_.build();
}
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
if (processorInfoBuilder_ == null) {
result.processorInfo_ = processorInfo_;
} else {
result.processorInfo_ = processorInfoBuilder_.build();
}
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
if (clientInfoBuilder_ == null) {
result.clientInfo_ = clientInfo_;
} else {
result.clientInfo_ = clientInfoBuilder_.build();
}
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
if (statisticsBuilder_ == null) {
result.statistics_ = statistics_;
} else {
result.statistics_ = statisticsBuilder_.build();
}
to_bitField0_ |= 0x00000040;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
if (eventBuilder_ == null) {
result.event_ = event_;
} else {
result.event_ = eventBuilder_.build();
}
to_bitField0_ |= 0x00000080;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
if (streamDataBuilder_ == null) {
result.streamData_ = streamData_;
} else {
result.streamData_ = streamDataBuilder_.build();
}
to_bitField0_ |= 0x00000100;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
if (alarmDataBuilder_ == null) {
result.alarmData_ = alarmData_;
} else {
result.alarmData_ = alarmDataBuilder_.build();
}
to_bitField0_ |= 0x00000200;
}
if (((from_bitField0_ & 0x00000400) != 0)) {
if (timeInfoBuilder_ == null) {
result.timeInfo_ = timeInfo_;
} else {
result.timeInfo_ = timeInfoBuilder_.build();
}
to_bitField0_ |= 0x00000400;
}
if (((from_bitField0_ & 0x00000800) != 0)) {
if (linkEventBuilder_ == null) {
result.linkEvent_ = linkEvent_;
} else {
result.linkEvent_ = linkEventBuilder_.build();
}
to_bitField0_ |= 0x00000800;
}
if (((from_bitField0_ & 0x00001000) != 0)) {
if (commandQueueInfoBuilder_ == null) {
result.commandQueueInfo_ = commandQueueInfo_;
} else {
result.commandQueueInfo_ = commandQueueInfoBuilder_.build();
}
to_bitField0_ |= 0x00001000;
}
if (((from_bitField0_ & 0x00002000) != 0)) {
if (commandQueueEventBuilder_ == null) {
result.commandQueueEvent_ = commandQueueEvent_;
} else {
result.commandQueueEvent_ = commandQueueEventBuilder_.build();
}
to_bitField0_ |= 0x00002000;
}
if (((from_bitField0_ & 0x00004000) != 0)) {
if (tmPacketBuilder_ == null) {
result.tmPacket_ = tmPacket_;
} else {
result.tmPacket_ = tmPacketBuilder_.build();
}
to_bitField0_ |= 0x00004000;
}
if (((from_bitField0_ & 0x00008000) != 0)) {
if (connectionInfoBuilder_ == null) {
result.connectionInfo_ = connectionInfo_;
} else {
result.connectionInfo_ = connectionInfoBuilder_.build();
}
to_bitField0_ |= 0x00008000;
}
if (((from_bitField0_ & 0x00010000) != 0)) {
if (streamEventBuilder_ == null) {
result.streamEvent_ = streamEvent_;
} else {
result.streamEvent_ = streamEventBuilder_.build();
}
to_bitField0_ |= 0x00010000;
}
if (((from_bitField0_ & 0x00020000) != 0)) {
if (extensionDataBuilder_ == null) {
result.extensionData_ = extensionData_;
} else {
result.extensionData_ = extensionDataBuilder_.build();
}
to_bitField0_ |= 0x00020000;
}
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.WebSocketServerMessage.WebSocketSubscriptionData) {
return mergeFrom((org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData other) {
if (other == org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData.getDefaultInstance()) return this;
if (other.hasSequenceNumber()) {
setSequenceNumber(other.getSequenceNumber());
}
if (other.hasType()) {
setType(other.getType());
}
if (other.hasParameterData()) {
mergeParameterData(other.getParameterData());
}
if (other.hasCommand()) {
mergeCommand(other.getCommand());
}
if (other.hasProcessorInfo()) {
mergeProcessorInfo(other.getProcessorInfo());
}
if (other.hasClientInfo()) {
mergeClientInfo(other.getClientInfo());
}
if (other.hasStatistics()) {
mergeStatistics(other.getStatistics());
}
if (other.hasEvent()) {
mergeEvent(other.getEvent());
}
if (other.hasStreamData()) {
mergeStreamData(other.getStreamData());
}
if (other.hasAlarmData()) {
mergeAlarmData(other.getAlarmData());
}
if (other.hasTimeInfo()) {
mergeTimeInfo(other.getTimeInfo());
}
if (other.hasLinkEvent()) {
mergeLinkEvent(other.getLinkEvent());
}
if (other.hasCommandQueueInfo()) {
mergeCommandQueueInfo(other.getCommandQueueInfo());
}
if (other.hasCommandQueueEvent()) {
mergeCommandQueueEvent(other.getCommandQueueEvent());
}
if (other.hasTmPacket()) {
mergeTmPacket(other.getTmPacket());
}
if (other.hasConnectionInfo()) {
mergeConnectionInfo(other.getConnectionInfo());
}
if (other.hasStreamEvent()) {
mergeStreamEvent(other.getStreamEvent());
}
if (other.hasExtensionData()) {
mergeExtensionData(other.getExtensionData());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
if (hasParameterData()) {
if (!getParameterData().isInitialized()) {
return false;
}
}
if (hasCommand()) {
if (!getCommand().isInitialized()) {
return false;
}
}
if (hasProcessorInfo()) {
if (!getProcessorInfo().isInitialized()) {
return false;
}
}
if (hasEvent()) {
if (!getEvent().isInitialized()) {
return false;
}
}
if (hasStreamData()) {
if (!getStreamData().isInitialized()) {
return false;
}
}
if (hasAlarmData()) {
if (!getAlarmData().isInitialized()) {
return false;
}
}
if (hasCommandQueueInfo()) {
if (!getCommandQueueInfo().isInitialized()) {
return false;
}
}
if (hasCommandQueueEvent()) {
if (!getCommandQueueEvent().isInitialized()) {
return false;
}
}
if (hasTmPacket()) {
if (!getTmPacket().isInitialized()) {
return false;
}
}
if (hasConnectionInfo()) {
if (!getConnectionInfo().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.WebSocketServerMessage.WebSocketSubscriptionData parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int sequenceNumber_ ;
/**
* optional uint32 sequenceNumber = 1;
*/
public boolean hasSequenceNumber() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 sequenceNumber = 1;
*/
public int getSequenceNumber() {
return sequenceNumber_;
}
/**
* optional uint32 sequenceNumber = 1;
*/
public Builder setSequenceNumber(int value) {
bitField0_ |= 0x00000001;
sequenceNumber_ = value;
onChanged();
return this;
}
/**
* optional uint32 sequenceNumber = 1;
*/
public Builder clearSequenceNumber() {
bitField0_ = (bitField0_ & ~0x00000001);
sequenceNumber_ = 0;
onChanged();
return this;
}
private int type_ = 1;
/**
* optional .yamcs.protobuf.ProtoDataType type = 2;
*/
public boolean hasType() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .yamcs.protobuf.ProtoDataType type = 2;
*/
public org.yamcs.protobuf.Yamcs.ProtoDataType getType() {
@SuppressWarnings("deprecation")
org.yamcs.protobuf.Yamcs.ProtoDataType result = org.yamcs.protobuf.Yamcs.ProtoDataType.valueOf(type_);
return result == null ? org.yamcs.protobuf.Yamcs.ProtoDataType.DT_ERROR : result;
}
/**
* optional .yamcs.protobuf.ProtoDataType type = 2;
*/
public Builder setType(org.yamcs.protobuf.Yamcs.ProtoDataType value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
type_ = value.getNumber();
onChanged();
return this;
}
/**
* optional .yamcs.protobuf.ProtoDataType type = 2;
*/
public Builder clearType() {
bitField0_ = (bitField0_ & ~0x00000002);
type_ = 1;
onChanged();
return this;
}
private org.yamcs.protobuf.Pvalue.ParameterData parameterData_;
private com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.Pvalue.ParameterData, org.yamcs.protobuf.Pvalue.ParameterData.Builder, org.yamcs.protobuf.Pvalue.ParameterDataOrBuilder> parameterDataBuilder_;
/**
* optional .yamcs.protobuf.pvalue.ParameterData parameterData = 3;
*/
public boolean hasParameterData() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional .yamcs.protobuf.pvalue.ParameterData parameterData = 3;
*/
public org.yamcs.protobuf.Pvalue.ParameterData getParameterData() {
if (parameterDataBuilder_ == null) {
return parameterData_ == null ? org.yamcs.protobuf.Pvalue.ParameterData.getDefaultInstance() : parameterData_;
} else {
return parameterDataBuilder_.getMessage();
}
}
/**
* optional .yamcs.protobuf.pvalue.ParameterData parameterData = 3;
*/
public Builder setParameterData(org.yamcs.protobuf.Pvalue.ParameterData value) {
if (parameterDataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
parameterData_ = value;
onChanged();
} else {
parameterDataBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .yamcs.protobuf.pvalue.ParameterData parameterData = 3;
*/
public Builder setParameterData(
org.yamcs.protobuf.Pvalue.ParameterData.Builder builderForValue) {
if (parameterDataBuilder_ == null) {
parameterData_ = builderForValue.build();
onChanged();
} else {
parameterDataBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .yamcs.protobuf.pvalue.ParameterData parameterData = 3;
*/
public Builder mergeParameterData(org.yamcs.protobuf.Pvalue.ParameterData value) {
if (parameterDataBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
parameterData_ != null &&
parameterData_ != org.yamcs.protobuf.Pvalue.ParameterData.getDefaultInstance()) {
parameterData_ =
org.yamcs.protobuf.Pvalue.ParameterData.newBuilder(parameterData_).mergeFrom(value).buildPartial();
} else {
parameterData_ = value;
}
onChanged();
} else {
parameterDataBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .yamcs.protobuf.pvalue.ParameterData parameterData = 3;
*/
public Builder clearParameterData() {
if (parameterDataBuilder_ == null) {
parameterData_ = null;
onChanged();
} else {
parameterDataBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
/**
* optional .yamcs.protobuf.pvalue.ParameterData parameterData = 3;
*/
public org.yamcs.protobuf.Pvalue.ParameterData.Builder getParameterDataBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getParameterDataFieldBuilder().getBuilder();
}
/**
* optional .yamcs.protobuf.pvalue.ParameterData parameterData = 3;
*/
public org.yamcs.protobuf.Pvalue.ParameterDataOrBuilder getParameterDataOrBuilder() {
if (parameterDataBuilder_ != null) {
return parameterDataBuilder_.getMessageOrBuilder();
} else {
return parameterData_ == null ?
org.yamcs.protobuf.Pvalue.ParameterData.getDefaultInstance() : parameterData_;
}
}
/**
* optional .yamcs.protobuf.pvalue.ParameterData parameterData = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.Pvalue.ParameterData, org.yamcs.protobuf.Pvalue.ParameterData.Builder, org.yamcs.protobuf.Pvalue.ParameterDataOrBuilder>
getParameterDataFieldBuilder() {
if (parameterDataBuilder_ == null) {
parameterDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.Pvalue.ParameterData, org.yamcs.protobuf.Pvalue.ParameterData.Builder, org.yamcs.protobuf.Pvalue.ParameterDataOrBuilder>(
getParameterData(),
getParentForChildren(),
isClean());
parameterData_ = null;
}
return parameterDataBuilder_;
}
private org.yamcs.protobuf.Commanding.CommandHistoryEntry command_;
private com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.Commanding.CommandHistoryEntry, org.yamcs.protobuf.Commanding.CommandHistoryEntry.Builder, org.yamcs.protobuf.Commanding.CommandHistoryEntryOrBuilder> commandBuilder_;
/**
* optional .yamcs.protobuf.commanding.CommandHistoryEntry command = 4;
*/
public boolean hasCommand() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional .yamcs.protobuf.commanding.CommandHistoryEntry command = 4;
*/
public org.yamcs.protobuf.Commanding.CommandHistoryEntry getCommand() {
if (commandBuilder_ == null) {
return command_ == null ? org.yamcs.protobuf.Commanding.CommandHistoryEntry.getDefaultInstance() : command_;
} else {
return commandBuilder_.getMessage();
}
}
/**
* optional .yamcs.protobuf.commanding.CommandHistoryEntry command = 4;
*/
public Builder setCommand(org.yamcs.protobuf.Commanding.CommandHistoryEntry value) {
if (commandBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
command_ = value;
onChanged();
} else {
commandBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .yamcs.protobuf.commanding.CommandHistoryEntry command = 4;
*/
public Builder setCommand(
org.yamcs.protobuf.Commanding.CommandHistoryEntry.Builder builderForValue) {
if (commandBuilder_ == null) {
command_ = builderForValue.build();
onChanged();
} else {
commandBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .yamcs.protobuf.commanding.CommandHistoryEntry command = 4;
*/
public Builder mergeCommand(org.yamcs.protobuf.Commanding.CommandHistoryEntry value) {
if (commandBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0) &&
command_ != null &&
command_ != org.yamcs.protobuf.Commanding.CommandHistoryEntry.getDefaultInstance()) {
command_ =
org.yamcs.protobuf.Commanding.CommandHistoryEntry.newBuilder(command_).mergeFrom(value).buildPartial();
} else {
command_ = value;
}
onChanged();
} else {
commandBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .yamcs.protobuf.commanding.CommandHistoryEntry command = 4;
*/
public Builder clearCommand() {
if (commandBuilder_ == null) {
command_ = null;
onChanged();
} else {
commandBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
/**
* optional .yamcs.protobuf.commanding.CommandHistoryEntry command = 4;
*/
public org.yamcs.protobuf.Commanding.CommandHistoryEntry.Builder getCommandBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getCommandFieldBuilder().getBuilder();
}
/**
* optional .yamcs.protobuf.commanding.CommandHistoryEntry command = 4;
*/
public org.yamcs.protobuf.Commanding.CommandHistoryEntryOrBuilder getCommandOrBuilder() {
if (commandBuilder_ != null) {
return commandBuilder_.getMessageOrBuilder();
} else {
return command_ == null ?
org.yamcs.protobuf.Commanding.CommandHistoryEntry.getDefaultInstance() : command_;
}
}
/**
* optional .yamcs.protobuf.commanding.CommandHistoryEntry command = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.Commanding.CommandHistoryEntry, org.yamcs.protobuf.Commanding.CommandHistoryEntry.Builder, org.yamcs.protobuf.Commanding.CommandHistoryEntryOrBuilder>
getCommandFieldBuilder() {
if (commandBuilder_ == null) {
commandBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.Commanding.CommandHistoryEntry, org.yamcs.protobuf.Commanding.CommandHistoryEntry.Builder, org.yamcs.protobuf.Commanding.CommandHistoryEntryOrBuilder>(
getCommand(),
getParentForChildren(),
isClean());
command_ = null;
}
return commandBuilder_;
}
private org.yamcs.protobuf.ProcessorInfo processorInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.ProcessorInfo, org.yamcs.protobuf.ProcessorInfo.Builder, org.yamcs.protobuf.ProcessorInfoOrBuilder> processorInfoBuilder_;
/**
* optional .yamcs.protobuf.yamcsManagement.ProcessorInfo processorInfo = 5;
*/
public boolean hasProcessorInfo() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional .yamcs.protobuf.yamcsManagement.ProcessorInfo processorInfo = 5;
*/
public org.yamcs.protobuf.ProcessorInfo getProcessorInfo() {
if (processorInfoBuilder_ == null) {
return processorInfo_ == null ? org.yamcs.protobuf.ProcessorInfo.getDefaultInstance() : processorInfo_;
} else {
return processorInfoBuilder_.getMessage();
}
}
/**
* optional .yamcs.protobuf.yamcsManagement.ProcessorInfo processorInfo = 5;
*/
public Builder setProcessorInfo(org.yamcs.protobuf.ProcessorInfo value) {
if (processorInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
processorInfo_ = value;
onChanged();
} else {
processorInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x00000010;
return this;
}
/**
* optional .yamcs.protobuf.yamcsManagement.ProcessorInfo processorInfo = 5;
*/
public Builder setProcessorInfo(
org.yamcs.protobuf.ProcessorInfo.Builder builderForValue) {
if (processorInfoBuilder_ == null) {
processorInfo_ = builderForValue.build();
onChanged();
} else {
processorInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000010;
return this;
}
/**
* optional .yamcs.protobuf.yamcsManagement.ProcessorInfo processorInfo = 5;
*/
public Builder mergeProcessorInfo(org.yamcs.protobuf.ProcessorInfo value) {
if (processorInfoBuilder_ == null) {
if (((bitField0_ & 0x00000010) != 0) &&
processorInfo_ != null &&
processorInfo_ != org.yamcs.protobuf.ProcessorInfo.getDefaultInstance()) {
processorInfo_ =
org.yamcs.protobuf.ProcessorInfo.newBuilder(processorInfo_).mergeFrom(value).buildPartial();
} else {
processorInfo_ = value;
}
onChanged();
} else {
processorInfoBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000010;
return this;
}
/**
* optional .yamcs.protobuf.yamcsManagement.ProcessorInfo processorInfo = 5;
*/
public Builder clearProcessorInfo() {
if (processorInfoBuilder_ == null) {
processorInfo_ = null;
onChanged();
} else {
processorInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
/**
* optional .yamcs.protobuf.yamcsManagement.ProcessorInfo processorInfo = 5;
*/
public org.yamcs.protobuf.ProcessorInfo.Builder getProcessorInfoBuilder() {
bitField0_ |= 0x00000010;
onChanged();
return getProcessorInfoFieldBuilder().getBuilder();
}
/**
* optional .yamcs.protobuf.yamcsManagement.ProcessorInfo processorInfo = 5;
*/
public org.yamcs.protobuf.ProcessorInfoOrBuilder getProcessorInfoOrBuilder() {
if (processorInfoBuilder_ != null) {
return processorInfoBuilder_.getMessageOrBuilder();
} else {
return processorInfo_ == null ?
org.yamcs.protobuf.ProcessorInfo.getDefaultInstance() : processorInfo_;
}
}
/**
* optional .yamcs.protobuf.yamcsManagement.ProcessorInfo processorInfo = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.ProcessorInfo, org.yamcs.protobuf.ProcessorInfo.Builder, org.yamcs.protobuf.ProcessorInfoOrBuilder>
getProcessorInfoFieldBuilder() {
if (processorInfoBuilder_ == null) {
processorInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.ProcessorInfo, org.yamcs.protobuf.ProcessorInfo.Builder, org.yamcs.protobuf.ProcessorInfoOrBuilder>(
getProcessorInfo(),
getParentForChildren(),
isClean());
processorInfo_ = null;
}
return processorInfoBuilder_;
}
private org.yamcs.protobuf.ClientInfo clientInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.ClientInfo, org.yamcs.protobuf.ClientInfo.Builder, org.yamcs.protobuf.ClientInfoOrBuilder> clientInfoBuilder_;
/**
* optional .yamcs.protobuf.yamcsManagement.ClientInfo clientInfo = 6;
*/
public boolean hasClientInfo() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional .yamcs.protobuf.yamcsManagement.ClientInfo clientInfo = 6;
*/
public org.yamcs.protobuf.ClientInfo getClientInfo() {
if (clientInfoBuilder_ == null) {
return clientInfo_ == null ? org.yamcs.protobuf.ClientInfo.getDefaultInstance() : clientInfo_;
} else {
return clientInfoBuilder_.getMessage();
}
}
/**
* optional .yamcs.protobuf.yamcsManagement.ClientInfo clientInfo = 6;
*/
public Builder setClientInfo(org.yamcs.protobuf.ClientInfo value) {
if (clientInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
clientInfo_ = value;
onChanged();
} else {
clientInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x00000020;
return this;
}
/**
* optional .yamcs.protobuf.yamcsManagement.ClientInfo clientInfo = 6;
*/
public Builder setClientInfo(
org.yamcs.protobuf.ClientInfo.Builder builderForValue) {
if (clientInfoBuilder_ == null) {
clientInfo_ = builderForValue.build();
onChanged();
} else {
clientInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000020;
return this;
}
/**
* optional .yamcs.protobuf.yamcsManagement.ClientInfo clientInfo = 6;
*/
public Builder mergeClientInfo(org.yamcs.protobuf.ClientInfo value) {
if (clientInfoBuilder_ == null) {
if (((bitField0_ & 0x00000020) != 0) &&
clientInfo_ != null &&
clientInfo_ != org.yamcs.protobuf.ClientInfo.getDefaultInstance()) {
clientInfo_ =
org.yamcs.protobuf.ClientInfo.newBuilder(clientInfo_).mergeFrom(value).buildPartial();
} else {
clientInfo_ = value;
}
onChanged();
} else {
clientInfoBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000020;
return this;
}
/**
* optional .yamcs.protobuf.yamcsManagement.ClientInfo clientInfo = 6;
*/
public Builder clearClientInfo() {
if (clientInfoBuilder_ == null) {
clientInfo_ = null;
onChanged();
} else {
clientInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000020);
return this;
}
/**
* optional .yamcs.protobuf.yamcsManagement.ClientInfo clientInfo = 6;
*/
public org.yamcs.protobuf.ClientInfo.Builder getClientInfoBuilder() {
bitField0_ |= 0x00000020;
onChanged();
return getClientInfoFieldBuilder().getBuilder();
}
/**
* optional .yamcs.protobuf.yamcsManagement.ClientInfo clientInfo = 6;
*/
public org.yamcs.protobuf.ClientInfoOrBuilder getClientInfoOrBuilder() {
if (clientInfoBuilder_ != null) {
return clientInfoBuilder_.getMessageOrBuilder();
} else {
return clientInfo_ == null ?
org.yamcs.protobuf.ClientInfo.getDefaultInstance() : clientInfo_;
}
}
/**
* optional .yamcs.protobuf.yamcsManagement.ClientInfo clientInfo = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.ClientInfo, org.yamcs.protobuf.ClientInfo.Builder, org.yamcs.protobuf.ClientInfoOrBuilder>
getClientInfoFieldBuilder() {
if (clientInfoBuilder_ == null) {
clientInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.ClientInfo, org.yamcs.protobuf.ClientInfo.Builder, org.yamcs.protobuf.ClientInfoOrBuilder>(
getClientInfo(),
getParentForChildren(),
isClean());
clientInfo_ = null;
}
return clientInfoBuilder_;
}
private org.yamcs.protobuf.Statistics statistics_;
private com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.Statistics, org.yamcs.protobuf.Statistics.Builder, org.yamcs.protobuf.StatisticsOrBuilder> statisticsBuilder_;
/**
* optional .yamcs.protobuf.yamcsManagement.Statistics statistics = 7;
*/
public boolean hasStatistics() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional .yamcs.protobuf.yamcsManagement.Statistics statistics = 7;
*/
public org.yamcs.protobuf.Statistics getStatistics() {
if (statisticsBuilder_ == null) {
return statistics_ == null ? org.yamcs.protobuf.Statistics.getDefaultInstance() : statistics_;
} else {
return statisticsBuilder_.getMessage();
}
}
/**
* optional .yamcs.protobuf.yamcsManagement.Statistics statistics = 7;
*/
public Builder setStatistics(org.yamcs.protobuf.Statistics value) {
if (statisticsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
statistics_ = value;
onChanged();
} else {
statisticsBuilder_.setMessage(value);
}
bitField0_ |= 0x00000040;
return this;
}
/**
* optional .yamcs.protobuf.yamcsManagement.Statistics statistics = 7;
*/
public Builder setStatistics(
org.yamcs.protobuf.Statistics.Builder builderForValue) {
if (statisticsBuilder_ == null) {
statistics_ = builderForValue.build();
onChanged();
} else {
statisticsBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000040;
return this;
}
/**
* optional .yamcs.protobuf.yamcsManagement.Statistics statistics = 7;
*/
public Builder mergeStatistics(org.yamcs.protobuf.Statistics value) {
if (statisticsBuilder_ == null) {
if (((bitField0_ & 0x00000040) != 0) &&
statistics_ != null &&
statistics_ != org.yamcs.protobuf.Statistics.getDefaultInstance()) {
statistics_ =
org.yamcs.protobuf.Statistics.newBuilder(statistics_).mergeFrom(value).buildPartial();
} else {
statistics_ = value;
}
onChanged();
} else {
statisticsBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000040;
return this;
}
/**
* optional .yamcs.protobuf.yamcsManagement.Statistics statistics = 7;
*/
public Builder clearStatistics() {
if (statisticsBuilder_ == null) {
statistics_ = null;
onChanged();
} else {
statisticsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000040);
return this;
}
/**
* optional .yamcs.protobuf.yamcsManagement.Statistics statistics = 7;
*/
public org.yamcs.protobuf.Statistics.Builder getStatisticsBuilder() {
bitField0_ |= 0x00000040;
onChanged();
return getStatisticsFieldBuilder().getBuilder();
}
/**
* optional .yamcs.protobuf.yamcsManagement.Statistics statistics = 7;
*/
public org.yamcs.protobuf.StatisticsOrBuilder getStatisticsOrBuilder() {
if (statisticsBuilder_ != null) {
return statisticsBuilder_.getMessageOrBuilder();
} else {
return statistics_ == null ?
org.yamcs.protobuf.Statistics.getDefaultInstance() : statistics_;
}
}
/**
* optional .yamcs.protobuf.yamcsManagement.Statistics statistics = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.Statistics, org.yamcs.protobuf.Statistics.Builder, org.yamcs.protobuf.StatisticsOrBuilder>
getStatisticsFieldBuilder() {
if (statisticsBuilder_ == null) {
statisticsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.Statistics, org.yamcs.protobuf.Statistics.Builder, org.yamcs.protobuf.StatisticsOrBuilder>(
getStatistics(),
getParentForChildren(),
isClean());
statistics_ = null;
}
return statisticsBuilder_;
}
private org.yamcs.protobuf.Yamcs.Event event_;
private com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.Yamcs.Event, org.yamcs.protobuf.Yamcs.Event.Builder, org.yamcs.protobuf.Yamcs.EventOrBuilder> eventBuilder_;
/**
* optional .yamcs.protobuf.Event event = 8;
*/
public boolean hasEvent() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional .yamcs.protobuf.Event event = 8;
*/
public org.yamcs.protobuf.Yamcs.Event getEvent() {
if (eventBuilder_ == null) {
return event_ == null ? org.yamcs.protobuf.Yamcs.Event.getDefaultInstance() : event_;
} else {
return eventBuilder_.getMessage();
}
}
/**
* optional .yamcs.protobuf.Event event = 8;
*/
public Builder setEvent(org.yamcs.protobuf.Yamcs.Event value) {
if (eventBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
event_ = value;
onChanged();
} else {
eventBuilder_.setMessage(value);
}
bitField0_ |= 0x00000080;
return this;
}
/**
* optional .yamcs.protobuf.Event event = 8;
*/
public Builder setEvent(
org.yamcs.protobuf.Yamcs.Event.Builder builderForValue) {
if (eventBuilder_ == null) {
event_ = builderForValue.build();
onChanged();
} else {
eventBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000080;
return this;
}
/**
* optional .yamcs.protobuf.Event event = 8;
*/
public Builder mergeEvent(org.yamcs.protobuf.Yamcs.Event value) {
if (eventBuilder_ == null) {
if (((bitField0_ & 0x00000080) != 0) &&
event_ != null &&
event_ != org.yamcs.protobuf.Yamcs.Event.getDefaultInstance()) {
event_ =
org.yamcs.protobuf.Yamcs.Event.newBuilder(event_).mergeFrom(value).buildPartial();
} else {
event_ = value;
}
onChanged();
} else {
eventBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000080;
return this;
}
/**
* optional .yamcs.protobuf.Event event = 8;
*/
public Builder clearEvent() {
if (eventBuilder_ == null) {
event_ = null;
onChanged();
} else {
eventBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000080);
return this;
}
/**
* optional .yamcs.protobuf.Event event = 8;
*/
public org.yamcs.protobuf.Yamcs.Event.Builder getEventBuilder() {
bitField0_ |= 0x00000080;
onChanged();
return getEventFieldBuilder().getBuilder();
}
/**
* optional .yamcs.protobuf.Event event = 8;
*/
public org.yamcs.protobuf.Yamcs.EventOrBuilder getEventOrBuilder() {
if (eventBuilder_ != null) {
return eventBuilder_.getMessageOrBuilder();
} else {
return event_ == null ?
org.yamcs.protobuf.Yamcs.Event.getDefaultInstance() : event_;
}
}
/**
* optional .yamcs.protobuf.Event event = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.Yamcs.Event, org.yamcs.protobuf.Yamcs.Event.Builder, org.yamcs.protobuf.Yamcs.EventOrBuilder>
getEventFieldBuilder() {
if (eventBuilder_ == null) {
eventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.Yamcs.Event, org.yamcs.protobuf.Yamcs.Event.Builder, org.yamcs.protobuf.Yamcs.EventOrBuilder>(
getEvent(),
getParentForChildren(),
isClean());
event_ = null;
}
return eventBuilder_;
}
private org.yamcs.protobuf.Table.StreamData streamData_;
private com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.Table.StreamData, org.yamcs.protobuf.Table.StreamData.Builder, org.yamcs.protobuf.Table.StreamDataOrBuilder> streamDataBuilder_;
/**
* optional .yamcs.protobuf.table.StreamData streamData = 9;
*/
public boolean hasStreamData() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional .yamcs.protobuf.table.StreamData streamData = 9;
*/
public org.yamcs.protobuf.Table.StreamData getStreamData() {
if (streamDataBuilder_ == null) {
return streamData_ == null ? org.yamcs.protobuf.Table.StreamData.getDefaultInstance() : streamData_;
} else {
return streamDataBuilder_.getMessage();
}
}
/**
* optional .yamcs.protobuf.table.StreamData streamData = 9;
*/
public Builder setStreamData(org.yamcs.protobuf.Table.StreamData value) {
if (streamDataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
streamData_ = value;
onChanged();
} else {
streamDataBuilder_.setMessage(value);
}
bitField0_ |= 0x00000100;
return this;
}
/**
* optional .yamcs.protobuf.table.StreamData streamData = 9;
*/
public Builder setStreamData(
org.yamcs.protobuf.Table.StreamData.Builder builderForValue) {
if (streamDataBuilder_ == null) {
streamData_ = builderForValue.build();
onChanged();
} else {
streamDataBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000100;
return this;
}
/**
* optional .yamcs.protobuf.table.StreamData streamData = 9;
*/
public Builder mergeStreamData(org.yamcs.protobuf.Table.StreamData value) {
if (streamDataBuilder_ == null) {
if (((bitField0_ & 0x00000100) != 0) &&
streamData_ != null &&
streamData_ != org.yamcs.protobuf.Table.StreamData.getDefaultInstance()) {
streamData_ =
org.yamcs.protobuf.Table.StreamData.newBuilder(streamData_).mergeFrom(value).buildPartial();
} else {
streamData_ = value;
}
onChanged();
} else {
streamDataBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000100;
return this;
}
/**
* optional .yamcs.protobuf.table.StreamData streamData = 9;
*/
public Builder clearStreamData() {
if (streamDataBuilder_ == null) {
streamData_ = null;
onChanged();
} else {
streamDataBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000100);
return this;
}
/**
* optional .yamcs.protobuf.table.StreamData streamData = 9;
*/
public org.yamcs.protobuf.Table.StreamData.Builder getStreamDataBuilder() {
bitField0_ |= 0x00000100;
onChanged();
return getStreamDataFieldBuilder().getBuilder();
}
/**
* optional .yamcs.protobuf.table.StreamData streamData = 9;
*/
public org.yamcs.protobuf.Table.StreamDataOrBuilder getStreamDataOrBuilder() {
if (streamDataBuilder_ != null) {
return streamDataBuilder_.getMessageOrBuilder();
} else {
return streamData_ == null ?
org.yamcs.protobuf.Table.StreamData.getDefaultInstance() : streamData_;
}
}
/**
* optional .yamcs.protobuf.table.StreamData streamData = 9;
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.Table.StreamData, org.yamcs.protobuf.Table.StreamData.Builder, org.yamcs.protobuf.Table.StreamDataOrBuilder>
getStreamDataFieldBuilder() {
if (streamDataBuilder_ == null) {
streamDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.Table.StreamData, org.yamcs.protobuf.Table.StreamData.Builder, org.yamcs.protobuf.Table.StreamDataOrBuilder>(
getStreamData(),
getParentForChildren(),
isClean());
streamData_ = null;
}
return streamDataBuilder_;
}
private org.yamcs.protobuf.Alarms.AlarmData alarmData_;
private com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.Alarms.AlarmData, org.yamcs.protobuf.Alarms.AlarmData.Builder, org.yamcs.protobuf.Alarms.AlarmDataOrBuilder> alarmDataBuilder_;
/**
* optional .yamcs.protobuf.alarms.AlarmData alarmData = 10;
*/
public boolean hasAlarmData() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* optional .yamcs.protobuf.alarms.AlarmData alarmData = 10;
*/
public org.yamcs.protobuf.Alarms.AlarmData getAlarmData() {
if (alarmDataBuilder_ == null) {
return alarmData_ == null ? org.yamcs.protobuf.Alarms.AlarmData.getDefaultInstance() : alarmData_;
} else {
return alarmDataBuilder_.getMessage();
}
}
/**
* optional .yamcs.protobuf.alarms.AlarmData alarmData = 10;
*/
public Builder setAlarmData(org.yamcs.protobuf.Alarms.AlarmData value) {
if (alarmDataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
alarmData_ = value;
onChanged();
} else {
alarmDataBuilder_.setMessage(value);
}
bitField0_ |= 0x00000200;
return this;
}
/**
* optional .yamcs.protobuf.alarms.AlarmData alarmData = 10;
*/
public Builder setAlarmData(
org.yamcs.protobuf.Alarms.AlarmData.Builder builderForValue) {
if (alarmDataBuilder_ == null) {
alarmData_ = builderForValue.build();
onChanged();
} else {
alarmDataBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000200;
return this;
}
/**
* optional .yamcs.protobuf.alarms.AlarmData alarmData = 10;
*/
public Builder mergeAlarmData(org.yamcs.protobuf.Alarms.AlarmData value) {
if (alarmDataBuilder_ == null) {
if (((bitField0_ & 0x00000200) != 0) &&
alarmData_ != null &&
alarmData_ != org.yamcs.protobuf.Alarms.AlarmData.getDefaultInstance()) {
alarmData_ =
org.yamcs.protobuf.Alarms.AlarmData.newBuilder(alarmData_).mergeFrom(value).buildPartial();
} else {
alarmData_ = value;
}
onChanged();
} else {
alarmDataBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000200;
return this;
}
/**
* optional .yamcs.protobuf.alarms.AlarmData alarmData = 10;
*/
public Builder clearAlarmData() {
if (alarmDataBuilder_ == null) {
alarmData_ = null;
onChanged();
} else {
alarmDataBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000200);
return this;
}
/**
* optional .yamcs.protobuf.alarms.AlarmData alarmData = 10;
*/
public org.yamcs.protobuf.Alarms.AlarmData.Builder getAlarmDataBuilder() {
bitField0_ |= 0x00000200;
onChanged();
return getAlarmDataFieldBuilder().getBuilder();
}
/**
* optional .yamcs.protobuf.alarms.AlarmData alarmData = 10;
*/
public org.yamcs.protobuf.Alarms.AlarmDataOrBuilder getAlarmDataOrBuilder() {
if (alarmDataBuilder_ != null) {
return alarmDataBuilder_.getMessageOrBuilder();
} else {
return alarmData_ == null ?
org.yamcs.protobuf.Alarms.AlarmData.getDefaultInstance() : alarmData_;
}
}
/**
* optional .yamcs.protobuf.alarms.AlarmData alarmData = 10;
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.Alarms.AlarmData, org.yamcs.protobuf.Alarms.AlarmData.Builder, org.yamcs.protobuf.Alarms.AlarmDataOrBuilder>
getAlarmDataFieldBuilder() {
if (alarmDataBuilder_ == null) {
alarmDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.Alarms.AlarmData, org.yamcs.protobuf.Alarms.AlarmData.Builder, org.yamcs.protobuf.Alarms.AlarmDataOrBuilder>(
getAlarmData(),
getParentForChildren(),
isClean());
alarmData_ = null;
}
return alarmDataBuilder_;
}
private org.yamcs.protobuf.Yamcs.TimeInfo timeInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.Yamcs.TimeInfo, org.yamcs.protobuf.Yamcs.TimeInfo.Builder, org.yamcs.protobuf.Yamcs.TimeInfoOrBuilder> timeInfoBuilder_;
/**
* optional .yamcs.protobuf.TimeInfo timeInfo = 11;
*/
public boolean hasTimeInfo() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* optional .yamcs.protobuf.TimeInfo timeInfo = 11;
*/
public org.yamcs.protobuf.Yamcs.TimeInfo getTimeInfo() {
if (timeInfoBuilder_ == null) {
return timeInfo_ == null ? org.yamcs.protobuf.Yamcs.TimeInfo.getDefaultInstance() : timeInfo_;
} else {
return timeInfoBuilder_.getMessage();
}
}
/**
* optional .yamcs.protobuf.TimeInfo timeInfo = 11;
*/
public Builder setTimeInfo(org.yamcs.protobuf.Yamcs.TimeInfo value) {
if (timeInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
timeInfo_ = value;
onChanged();
} else {
timeInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x00000400;
return this;
}
/**
* optional .yamcs.protobuf.TimeInfo timeInfo = 11;
*/
public Builder setTimeInfo(
org.yamcs.protobuf.Yamcs.TimeInfo.Builder builderForValue) {
if (timeInfoBuilder_ == null) {
timeInfo_ = builderForValue.build();
onChanged();
} else {
timeInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000400;
return this;
}
/**
* optional .yamcs.protobuf.TimeInfo timeInfo = 11;
*/
public Builder mergeTimeInfo(org.yamcs.protobuf.Yamcs.TimeInfo value) {
if (timeInfoBuilder_ == null) {
if (((bitField0_ & 0x00000400) != 0) &&
timeInfo_ != null &&
timeInfo_ != org.yamcs.protobuf.Yamcs.TimeInfo.getDefaultInstance()) {
timeInfo_ =
org.yamcs.protobuf.Yamcs.TimeInfo.newBuilder(timeInfo_).mergeFrom(value).buildPartial();
} else {
timeInfo_ = value;
}
onChanged();
} else {
timeInfoBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000400;
return this;
}
/**
* optional .yamcs.protobuf.TimeInfo timeInfo = 11;
*/
public Builder clearTimeInfo() {
if (timeInfoBuilder_ == null) {
timeInfo_ = null;
onChanged();
} else {
timeInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000400);
return this;
}
/**
* optional .yamcs.protobuf.TimeInfo timeInfo = 11;
*/
public org.yamcs.protobuf.Yamcs.TimeInfo.Builder getTimeInfoBuilder() {
bitField0_ |= 0x00000400;
onChanged();
return getTimeInfoFieldBuilder().getBuilder();
}
/**
* optional .yamcs.protobuf.TimeInfo timeInfo = 11;
*/
public org.yamcs.protobuf.Yamcs.TimeInfoOrBuilder getTimeInfoOrBuilder() {
if (timeInfoBuilder_ != null) {
return timeInfoBuilder_.getMessageOrBuilder();
} else {
return timeInfo_ == null ?
org.yamcs.protobuf.Yamcs.TimeInfo.getDefaultInstance() : timeInfo_;
}
}
/**
* optional .yamcs.protobuf.TimeInfo timeInfo = 11;
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.Yamcs.TimeInfo, org.yamcs.protobuf.Yamcs.TimeInfo.Builder, org.yamcs.protobuf.Yamcs.TimeInfoOrBuilder>
getTimeInfoFieldBuilder() {
if (timeInfoBuilder_ == null) {
timeInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.Yamcs.TimeInfo, org.yamcs.protobuf.Yamcs.TimeInfo.Builder, org.yamcs.protobuf.Yamcs.TimeInfoOrBuilder>(
getTimeInfo(),
getParentForChildren(),
isClean());
timeInfo_ = null;
}
return timeInfoBuilder_;
}
private org.yamcs.protobuf.LinkEvent linkEvent_;
private com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.LinkEvent, org.yamcs.protobuf.LinkEvent.Builder, org.yamcs.protobuf.LinkEventOrBuilder> linkEventBuilder_;
/**
* optional .yamcs.protobuf.yamcsManagement.LinkEvent linkEvent = 12;
*/
public boolean hasLinkEvent() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* optional .yamcs.protobuf.yamcsManagement.LinkEvent linkEvent = 12;
*/
public org.yamcs.protobuf.LinkEvent getLinkEvent() {
if (linkEventBuilder_ == null) {
return linkEvent_ == null ? org.yamcs.protobuf.LinkEvent.getDefaultInstance() : linkEvent_;
} else {
return linkEventBuilder_.getMessage();
}
}
/**
* optional .yamcs.protobuf.yamcsManagement.LinkEvent linkEvent = 12;
*/
public Builder setLinkEvent(org.yamcs.protobuf.LinkEvent value) {
if (linkEventBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
linkEvent_ = value;
onChanged();
} else {
linkEventBuilder_.setMessage(value);
}
bitField0_ |= 0x00000800;
return this;
}
/**
* optional .yamcs.protobuf.yamcsManagement.LinkEvent linkEvent = 12;
*/
public Builder setLinkEvent(
org.yamcs.protobuf.LinkEvent.Builder builderForValue) {
if (linkEventBuilder_ == null) {
linkEvent_ = builderForValue.build();
onChanged();
} else {
linkEventBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000800;
return this;
}
/**
* optional .yamcs.protobuf.yamcsManagement.LinkEvent linkEvent = 12;
*/
public Builder mergeLinkEvent(org.yamcs.protobuf.LinkEvent value) {
if (linkEventBuilder_ == null) {
if (((bitField0_ & 0x00000800) != 0) &&
linkEvent_ != null &&
linkEvent_ != org.yamcs.protobuf.LinkEvent.getDefaultInstance()) {
linkEvent_ =
org.yamcs.protobuf.LinkEvent.newBuilder(linkEvent_).mergeFrom(value).buildPartial();
} else {
linkEvent_ = value;
}
onChanged();
} else {
linkEventBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000800;
return this;
}
/**
* optional .yamcs.protobuf.yamcsManagement.LinkEvent linkEvent = 12;
*/
public Builder clearLinkEvent() {
if (linkEventBuilder_ == null) {
linkEvent_ = null;
onChanged();
} else {
linkEventBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000800);
return this;
}
/**
* optional .yamcs.protobuf.yamcsManagement.LinkEvent linkEvent = 12;
*/
public org.yamcs.protobuf.LinkEvent.Builder getLinkEventBuilder() {
bitField0_ |= 0x00000800;
onChanged();
return getLinkEventFieldBuilder().getBuilder();
}
/**
* optional .yamcs.protobuf.yamcsManagement.LinkEvent linkEvent = 12;
*/
public org.yamcs.protobuf.LinkEventOrBuilder getLinkEventOrBuilder() {
if (linkEventBuilder_ != null) {
return linkEventBuilder_.getMessageOrBuilder();
} else {
return linkEvent_ == null ?
org.yamcs.protobuf.LinkEvent.getDefaultInstance() : linkEvent_;
}
}
/**
* optional .yamcs.protobuf.yamcsManagement.LinkEvent linkEvent = 12;
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.LinkEvent, org.yamcs.protobuf.LinkEvent.Builder, org.yamcs.protobuf.LinkEventOrBuilder>
getLinkEventFieldBuilder() {
if (linkEventBuilder_ == null) {
linkEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.LinkEvent, org.yamcs.protobuf.LinkEvent.Builder, org.yamcs.protobuf.LinkEventOrBuilder>(
getLinkEvent(),
getParentForChildren(),
isClean());
linkEvent_ = null;
}
return linkEventBuilder_;
}
private org.yamcs.protobuf.Commanding.CommandQueueInfo commandQueueInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.Commanding.CommandQueueInfo, org.yamcs.protobuf.Commanding.CommandQueueInfo.Builder, org.yamcs.protobuf.Commanding.CommandQueueInfoOrBuilder> commandQueueInfoBuilder_;
/**
* optional .yamcs.protobuf.commanding.CommandQueueInfo commandQueueInfo = 13;
*/
public boolean hasCommandQueueInfo() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* optional .yamcs.protobuf.commanding.CommandQueueInfo commandQueueInfo = 13;
*/
public org.yamcs.protobuf.Commanding.CommandQueueInfo getCommandQueueInfo() {
if (commandQueueInfoBuilder_ == null) {
return commandQueueInfo_ == null ? org.yamcs.protobuf.Commanding.CommandQueueInfo.getDefaultInstance() : commandQueueInfo_;
} else {
return commandQueueInfoBuilder_.getMessage();
}
}
/**
* optional .yamcs.protobuf.commanding.CommandQueueInfo commandQueueInfo = 13;
*/
public Builder setCommandQueueInfo(org.yamcs.protobuf.Commanding.CommandQueueInfo value) {
if (commandQueueInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
commandQueueInfo_ = value;
onChanged();
} else {
commandQueueInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x00001000;
return this;
}
/**
* optional .yamcs.protobuf.commanding.CommandQueueInfo commandQueueInfo = 13;
*/
public Builder setCommandQueueInfo(
org.yamcs.protobuf.Commanding.CommandQueueInfo.Builder builderForValue) {
if (commandQueueInfoBuilder_ == null) {
commandQueueInfo_ = builderForValue.build();
onChanged();
} else {
commandQueueInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00001000;
return this;
}
/**
* optional .yamcs.protobuf.commanding.CommandQueueInfo commandQueueInfo = 13;
*/
public Builder mergeCommandQueueInfo(org.yamcs.protobuf.Commanding.CommandQueueInfo value) {
if (commandQueueInfoBuilder_ == null) {
if (((bitField0_ & 0x00001000) != 0) &&
commandQueueInfo_ != null &&
commandQueueInfo_ != org.yamcs.protobuf.Commanding.CommandQueueInfo.getDefaultInstance()) {
commandQueueInfo_ =
org.yamcs.protobuf.Commanding.CommandQueueInfo.newBuilder(commandQueueInfo_).mergeFrom(value).buildPartial();
} else {
commandQueueInfo_ = value;
}
onChanged();
} else {
commandQueueInfoBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00001000;
return this;
}
/**
* optional .yamcs.protobuf.commanding.CommandQueueInfo commandQueueInfo = 13;
*/
public Builder clearCommandQueueInfo() {
if (commandQueueInfoBuilder_ == null) {
commandQueueInfo_ = null;
onChanged();
} else {
commandQueueInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00001000);
return this;
}
/**
* optional .yamcs.protobuf.commanding.CommandQueueInfo commandQueueInfo = 13;
*/
public org.yamcs.protobuf.Commanding.CommandQueueInfo.Builder getCommandQueueInfoBuilder() {
bitField0_ |= 0x00001000;
onChanged();
return getCommandQueueInfoFieldBuilder().getBuilder();
}
/**
* optional .yamcs.protobuf.commanding.CommandQueueInfo commandQueueInfo = 13;
*/
public org.yamcs.protobuf.Commanding.CommandQueueInfoOrBuilder getCommandQueueInfoOrBuilder() {
if (commandQueueInfoBuilder_ != null) {
return commandQueueInfoBuilder_.getMessageOrBuilder();
} else {
return commandQueueInfo_ == null ?
org.yamcs.protobuf.Commanding.CommandQueueInfo.getDefaultInstance() : commandQueueInfo_;
}
}
/**
* optional .yamcs.protobuf.commanding.CommandQueueInfo commandQueueInfo = 13;
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.Commanding.CommandQueueInfo, org.yamcs.protobuf.Commanding.CommandQueueInfo.Builder, org.yamcs.protobuf.Commanding.CommandQueueInfoOrBuilder>
getCommandQueueInfoFieldBuilder() {
if (commandQueueInfoBuilder_ == null) {
commandQueueInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.Commanding.CommandQueueInfo, org.yamcs.protobuf.Commanding.CommandQueueInfo.Builder, org.yamcs.protobuf.Commanding.CommandQueueInfoOrBuilder>(
getCommandQueueInfo(),
getParentForChildren(),
isClean());
commandQueueInfo_ = null;
}
return commandQueueInfoBuilder_;
}
private org.yamcs.protobuf.Commanding.CommandQueueEvent commandQueueEvent_;
private com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.Commanding.CommandQueueEvent, org.yamcs.protobuf.Commanding.CommandQueueEvent.Builder, org.yamcs.protobuf.Commanding.CommandQueueEventOrBuilder> commandQueueEventBuilder_;
/**
* optional .yamcs.protobuf.commanding.CommandQueueEvent commandQueueEvent = 14;
*/
public boolean hasCommandQueueEvent() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
* optional .yamcs.protobuf.commanding.CommandQueueEvent commandQueueEvent = 14;
*/
public org.yamcs.protobuf.Commanding.CommandQueueEvent getCommandQueueEvent() {
if (commandQueueEventBuilder_ == null) {
return commandQueueEvent_ == null ? org.yamcs.protobuf.Commanding.CommandQueueEvent.getDefaultInstance() : commandQueueEvent_;
} else {
return commandQueueEventBuilder_.getMessage();
}
}
/**
* optional .yamcs.protobuf.commanding.CommandQueueEvent commandQueueEvent = 14;
*/
public Builder setCommandQueueEvent(org.yamcs.protobuf.Commanding.CommandQueueEvent value) {
if (commandQueueEventBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
commandQueueEvent_ = value;
onChanged();
} else {
commandQueueEventBuilder_.setMessage(value);
}
bitField0_ |= 0x00002000;
return this;
}
/**
* optional .yamcs.protobuf.commanding.CommandQueueEvent commandQueueEvent = 14;
*/
public Builder setCommandQueueEvent(
org.yamcs.protobuf.Commanding.CommandQueueEvent.Builder builderForValue) {
if (commandQueueEventBuilder_ == null) {
commandQueueEvent_ = builderForValue.build();
onChanged();
} else {
commandQueueEventBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00002000;
return this;
}
/**
* optional .yamcs.protobuf.commanding.CommandQueueEvent commandQueueEvent = 14;
*/
public Builder mergeCommandQueueEvent(org.yamcs.protobuf.Commanding.CommandQueueEvent value) {
if (commandQueueEventBuilder_ == null) {
if (((bitField0_ & 0x00002000) != 0) &&
commandQueueEvent_ != null &&
commandQueueEvent_ != org.yamcs.protobuf.Commanding.CommandQueueEvent.getDefaultInstance()) {
commandQueueEvent_ =
org.yamcs.protobuf.Commanding.CommandQueueEvent.newBuilder(commandQueueEvent_).mergeFrom(value).buildPartial();
} else {
commandQueueEvent_ = value;
}
onChanged();
} else {
commandQueueEventBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00002000;
return this;
}
/**
* optional .yamcs.protobuf.commanding.CommandQueueEvent commandQueueEvent = 14;
*/
public Builder clearCommandQueueEvent() {
if (commandQueueEventBuilder_ == null) {
commandQueueEvent_ = null;
onChanged();
} else {
commandQueueEventBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00002000);
return this;
}
/**
* optional .yamcs.protobuf.commanding.CommandQueueEvent commandQueueEvent = 14;
*/
public org.yamcs.protobuf.Commanding.CommandQueueEvent.Builder getCommandQueueEventBuilder() {
bitField0_ |= 0x00002000;
onChanged();
return getCommandQueueEventFieldBuilder().getBuilder();
}
/**
* optional .yamcs.protobuf.commanding.CommandQueueEvent commandQueueEvent = 14;
*/
public org.yamcs.protobuf.Commanding.CommandQueueEventOrBuilder getCommandQueueEventOrBuilder() {
if (commandQueueEventBuilder_ != null) {
return commandQueueEventBuilder_.getMessageOrBuilder();
} else {
return commandQueueEvent_ == null ?
org.yamcs.protobuf.Commanding.CommandQueueEvent.getDefaultInstance() : commandQueueEvent_;
}
}
/**
* optional .yamcs.protobuf.commanding.CommandQueueEvent commandQueueEvent = 14;
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.Commanding.CommandQueueEvent, org.yamcs.protobuf.Commanding.CommandQueueEvent.Builder, org.yamcs.protobuf.Commanding.CommandQueueEventOrBuilder>
getCommandQueueEventFieldBuilder() {
if (commandQueueEventBuilder_ == null) {
commandQueueEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.Commanding.CommandQueueEvent, org.yamcs.protobuf.Commanding.CommandQueueEvent.Builder, org.yamcs.protobuf.Commanding.CommandQueueEventOrBuilder>(
getCommandQueueEvent(),
getParentForChildren(),
isClean());
commandQueueEvent_ = null;
}
return commandQueueEventBuilder_;
}
private org.yamcs.protobuf.Yamcs.TmPacketData tmPacket_;
private com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.Yamcs.TmPacketData, org.yamcs.protobuf.Yamcs.TmPacketData.Builder, org.yamcs.protobuf.Yamcs.TmPacketDataOrBuilder> tmPacketBuilder_;
/**
* optional .yamcs.protobuf.TmPacketData tmPacket = 15;
*/
public boolean hasTmPacket() {
return ((bitField0_ & 0x00004000) != 0);
}
/**
* optional .yamcs.protobuf.TmPacketData tmPacket = 15;
*/
public org.yamcs.protobuf.Yamcs.TmPacketData getTmPacket() {
if (tmPacketBuilder_ == null) {
return tmPacket_ == null ? org.yamcs.protobuf.Yamcs.TmPacketData.getDefaultInstance() : tmPacket_;
} else {
return tmPacketBuilder_.getMessage();
}
}
/**
* optional .yamcs.protobuf.TmPacketData tmPacket = 15;
*/
public Builder setTmPacket(org.yamcs.protobuf.Yamcs.TmPacketData value) {
if (tmPacketBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
tmPacket_ = value;
onChanged();
} else {
tmPacketBuilder_.setMessage(value);
}
bitField0_ |= 0x00004000;
return this;
}
/**
* optional .yamcs.protobuf.TmPacketData tmPacket = 15;
*/
public Builder setTmPacket(
org.yamcs.protobuf.Yamcs.TmPacketData.Builder builderForValue) {
if (tmPacketBuilder_ == null) {
tmPacket_ = builderForValue.build();
onChanged();
} else {
tmPacketBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00004000;
return this;
}
/**
* optional .yamcs.protobuf.TmPacketData tmPacket = 15;
*/
public Builder mergeTmPacket(org.yamcs.protobuf.Yamcs.TmPacketData value) {
if (tmPacketBuilder_ == null) {
if (((bitField0_ & 0x00004000) != 0) &&
tmPacket_ != null &&
tmPacket_ != org.yamcs.protobuf.Yamcs.TmPacketData.getDefaultInstance()) {
tmPacket_ =
org.yamcs.protobuf.Yamcs.TmPacketData.newBuilder(tmPacket_).mergeFrom(value).buildPartial();
} else {
tmPacket_ = value;
}
onChanged();
} else {
tmPacketBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00004000;
return this;
}
/**
* optional .yamcs.protobuf.TmPacketData tmPacket = 15;
*/
public Builder clearTmPacket() {
if (tmPacketBuilder_ == null) {
tmPacket_ = null;
onChanged();
} else {
tmPacketBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00004000);
return this;
}
/**
* optional .yamcs.protobuf.TmPacketData tmPacket = 15;
*/
public org.yamcs.protobuf.Yamcs.TmPacketData.Builder getTmPacketBuilder() {
bitField0_ |= 0x00004000;
onChanged();
return getTmPacketFieldBuilder().getBuilder();
}
/**
* optional .yamcs.protobuf.TmPacketData tmPacket = 15;
*/
public org.yamcs.protobuf.Yamcs.TmPacketDataOrBuilder getTmPacketOrBuilder() {
if (tmPacketBuilder_ != null) {
return tmPacketBuilder_.getMessageOrBuilder();
} else {
return tmPacket_ == null ?
org.yamcs.protobuf.Yamcs.TmPacketData.getDefaultInstance() : tmPacket_;
}
}
/**
* optional .yamcs.protobuf.TmPacketData tmPacket = 15;
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.Yamcs.TmPacketData, org.yamcs.protobuf.Yamcs.TmPacketData.Builder, org.yamcs.protobuf.Yamcs.TmPacketDataOrBuilder>
getTmPacketFieldBuilder() {
if (tmPacketBuilder_ == null) {
tmPacketBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.Yamcs.TmPacketData, org.yamcs.protobuf.Yamcs.TmPacketData.Builder, org.yamcs.protobuf.Yamcs.TmPacketDataOrBuilder>(
getTmPacket(),
getParentForChildren(),
isClean());
tmPacket_ = null;
}
return tmPacketBuilder_;
}
private org.yamcs.protobuf.ConnectionInfo connectionInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.ConnectionInfo, org.yamcs.protobuf.ConnectionInfo.Builder, org.yamcs.protobuf.ConnectionInfoOrBuilder> connectionInfoBuilder_;
/**
* optional .yamcs.protobuf.web.ConnectionInfo connectionInfo = 16;
*/
public boolean hasConnectionInfo() {
return ((bitField0_ & 0x00008000) != 0);
}
/**
* optional .yamcs.protobuf.web.ConnectionInfo connectionInfo = 16;
*/
public org.yamcs.protobuf.ConnectionInfo getConnectionInfo() {
if (connectionInfoBuilder_ == null) {
return connectionInfo_ == null ? org.yamcs.protobuf.ConnectionInfo.getDefaultInstance() : connectionInfo_;
} else {
return connectionInfoBuilder_.getMessage();
}
}
/**
* optional .yamcs.protobuf.web.ConnectionInfo connectionInfo = 16;
*/
public Builder setConnectionInfo(org.yamcs.protobuf.ConnectionInfo value) {
if (connectionInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
connectionInfo_ = value;
onChanged();
} else {
connectionInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x00008000;
return this;
}
/**
* optional .yamcs.protobuf.web.ConnectionInfo connectionInfo = 16;
*/
public Builder setConnectionInfo(
org.yamcs.protobuf.ConnectionInfo.Builder builderForValue) {
if (connectionInfoBuilder_ == null) {
connectionInfo_ = builderForValue.build();
onChanged();
} else {
connectionInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00008000;
return this;
}
/**
* optional .yamcs.protobuf.web.ConnectionInfo connectionInfo = 16;
*/
public Builder mergeConnectionInfo(org.yamcs.protobuf.ConnectionInfo value) {
if (connectionInfoBuilder_ == null) {
if (((bitField0_ & 0x00008000) != 0) &&
connectionInfo_ != null &&
connectionInfo_ != org.yamcs.protobuf.ConnectionInfo.getDefaultInstance()) {
connectionInfo_ =
org.yamcs.protobuf.ConnectionInfo.newBuilder(connectionInfo_).mergeFrom(value).buildPartial();
} else {
connectionInfo_ = value;
}
onChanged();
} else {
connectionInfoBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00008000;
return this;
}
/**
* optional .yamcs.protobuf.web.ConnectionInfo connectionInfo = 16;
*/
public Builder clearConnectionInfo() {
if (connectionInfoBuilder_ == null) {
connectionInfo_ = null;
onChanged();
} else {
connectionInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00008000);
return this;
}
/**
* optional .yamcs.protobuf.web.ConnectionInfo connectionInfo = 16;
*/
public org.yamcs.protobuf.ConnectionInfo.Builder getConnectionInfoBuilder() {
bitField0_ |= 0x00008000;
onChanged();
return getConnectionInfoFieldBuilder().getBuilder();
}
/**
* optional .yamcs.protobuf.web.ConnectionInfo connectionInfo = 16;
*/
public org.yamcs.protobuf.ConnectionInfoOrBuilder getConnectionInfoOrBuilder() {
if (connectionInfoBuilder_ != null) {
return connectionInfoBuilder_.getMessageOrBuilder();
} else {
return connectionInfo_ == null ?
org.yamcs.protobuf.ConnectionInfo.getDefaultInstance() : connectionInfo_;
}
}
/**
* optional .yamcs.protobuf.web.ConnectionInfo connectionInfo = 16;
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.ConnectionInfo, org.yamcs.protobuf.ConnectionInfo.Builder, org.yamcs.protobuf.ConnectionInfoOrBuilder>
getConnectionInfoFieldBuilder() {
if (connectionInfoBuilder_ == null) {
connectionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.ConnectionInfo, org.yamcs.protobuf.ConnectionInfo.Builder, org.yamcs.protobuf.ConnectionInfoOrBuilder>(
getConnectionInfo(),
getParentForChildren(),
isClean());
connectionInfo_ = null;
}
return connectionInfoBuilder_;
}
private org.yamcs.protobuf.StreamEvent streamEvent_;
private com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.StreamEvent, org.yamcs.protobuf.StreamEvent.Builder, org.yamcs.protobuf.StreamEventOrBuilder> streamEventBuilder_;
/**
* optional .yamcs.protobuf.yamcsManagement.StreamEvent streamEvent = 17;
*/
public boolean hasStreamEvent() {
return ((bitField0_ & 0x00010000) != 0);
}
/**
* optional .yamcs.protobuf.yamcsManagement.StreamEvent streamEvent = 17;
*/
public org.yamcs.protobuf.StreamEvent getStreamEvent() {
if (streamEventBuilder_ == null) {
return streamEvent_ == null ? org.yamcs.protobuf.StreamEvent.getDefaultInstance() : streamEvent_;
} else {
return streamEventBuilder_.getMessage();
}
}
/**
* optional .yamcs.protobuf.yamcsManagement.StreamEvent streamEvent = 17;
*/
public Builder setStreamEvent(org.yamcs.protobuf.StreamEvent value) {
if (streamEventBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
streamEvent_ = value;
onChanged();
} else {
streamEventBuilder_.setMessage(value);
}
bitField0_ |= 0x00010000;
return this;
}
/**
* optional .yamcs.protobuf.yamcsManagement.StreamEvent streamEvent = 17;
*/
public Builder setStreamEvent(
org.yamcs.protobuf.StreamEvent.Builder builderForValue) {
if (streamEventBuilder_ == null) {
streamEvent_ = builderForValue.build();
onChanged();
} else {
streamEventBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00010000;
return this;
}
/**
* optional .yamcs.protobuf.yamcsManagement.StreamEvent streamEvent = 17;
*/
public Builder mergeStreamEvent(org.yamcs.protobuf.StreamEvent value) {
if (streamEventBuilder_ == null) {
if (((bitField0_ & 0x00010000) != 0) &&
streamEvent_ != null &&
streamEvent_ != org.yamcs.protobuf.StreamEvent.getDefaultInstance()) {
streamEvent_ =
org.yamcs.protobuf.StreamEvent.newBuilder(streamEvent_).mergeFrom(value).buildPartial();
} else {
streamEvent_ = value;
}
onChanged();
} else {
streamEventBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00010000;
return this;
}
/**
* optional .yamcs.protobuf.yamcsManagement.StreamEvent streamEvent = 17;
*/
public Builder clearStreamEvent() {
if (streamEventBuilder_ == null) {
streamEvent_ = null;
onChanged();
} else {
streamEventBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00010000);
return this;
}
/**
* optional .yamcs.protobuf.yamcsManagement.StreamEvent streamEvent = 17;
*/
public org.yamcs.protobuf.StreamEvent.Builder getStreamEventBuilder() {
bitField0_ |= 0x00010000;
onChanged();
return getStreamEventFieldBuilder().getBuilder();
}
/**
* optional .yamcs.protobuf.yamcsManagement.StreamEvent streamEvent = 17;
*/
public org.yamcs.protobuf.StreamEventOrBuilder getStreamEventOrBuilder() {
if (streamEventBuilder_ != null) {
return streamEventBuilder_.getMessageOrBuilder();
} else {
return streamEvent_ == null ?
org.yamcs.protobuf.StreamEvent.getDefaultInstance() : streamEvent_;
}
}
/**
* optional .yamcs.protobuf.yamcsManagement.StreamEvent streamEvent = 17;
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.StreamEvent, org.yamcs.protobuf.StreamEvent.Builder, org.yamcs.protobuf.StreamEventOrBuilder>
getStreamEventFieldBuilder() {
if (streamEventBuilder_ == null) {
streamEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.StreamEvent, org.yamcs.protobuf.StreamEvent.Builder, org.yamcs.protobuf.StreamEventOrBuilder>(
getStreamEvent(),
getParentForChildren(),
isClean());
streamEvent_ = null;
}
return streamEventBuilder_;
}
private org.yamcs.protobuf.WebSocketExtensionData extensionData_;
private com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.WebSocketExtensionData, org.yamcs.protobuf.WebSocketExtensionData.Builder, org.yamcs.protobuf.WebSocketExtensionDataOrBuilder> extensionDataBuilder_;
/**
* optional .yamcs.protobuf.web.WebSocketExtensionData extensionData = 100;
*/
public boolean hasExtensionData() {
return ((bitField0_ & 0x00020000) != 0);
}
/**
* optional .yamcs.protobuf.web.WebSocketExtensionData extensionData = 100;
*/
public org.yamcs.protobuf.WebSocketExtensionData getExtensionData() {
if (extensionDataBuilder_ == null) {
return extensionData_ == null ? org.yamcs.protobuf.WebSocketExtensionData.getDefaultInstance() : extensionData_;
} else {
return extensionDataBuilder_.getMessage();
}
}
/**
* optional .yamcs.protobuf.web.WebSocketExtensionData extensionData = 100;
*/
public Builder setExtensionData(org.yamcs.protobuf.WebSocketExtensionData value) {
if (extensionDataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
extensionData_ = value;
onChanged();
} else {
extensionDataBuilder_.setMessage(value);
}
bitField0_ |= 0x00020000;
return this;
}
/**
* optional .yamcs.protobuf.web.WebSocketExtensionData extensionData = 100;
*/
public Builder setExtensionData(
org.yamcs.protobuf.WebSocketExtensionData.Builder builderForValue) {
if (extensionDataBuilder_ == null) {
extensionData_ = builderForValue.build();
onChanged();
} else {
extensionDataBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00020000;
return this;
}
/**
* optional .yamcs.protobuf.web.WebSocketExtensionData extensionData = 100;
*/
public Builder mergeExtensionData(org.yamcs.protobuf.WebSocketExtensionData value) {
if (extensionDataBuilder_ == null) {
if (((bitField0_ & 0x00020000) != 0) &&
extensionData_ != null &&
extensionData_ != org.yamcs.protobuf.WebSocketExtensionData.getDefaultInstance()) {
extensionData_ =
org.yamcs.protobuf.WebSocketExtensionData.newBuilder(extensionData_).mergeFrom(value).buildPartial();
} else {
extensionData_ = value;
}
onChanged();
} else {
extensionDataBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00020000;
return this;
}
/**
* optional .yamcs.protobuf.web.WebSocketExtensionData extensionData = 100;
*/
public Builder clearExtensionData() {
if (extensionDataBuilder_ == null) {
extensionData_ = null;
onChanged();
} else {
extensionDataBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00020000);
return this;
}
/**
* optional .yamcs.protobuf.web.WebSocketExtensionData extensionData = 100;
*/
public org.yamcs.protobuf.WebSocketExtensionData.Builder getExtensionDataBuilder() {
bitField0_ |= 0x00020000;
onChanged();
return getExtensionDataFieldBuilder().getBuilder();
}
/**
* optional .yamcs.protobuf.web.WebSocketExtensionData extensionData = 100;
*/
public org.yamcs.protobuf.WebSocketExtensionDataOrBuilder getExtensionDataOrBuilder() {
if (extensionDataBuilder_ != null) {
return extensionDataBuilder_.getMessageOrBuilder();
} else {
return extensionData_ == null ?
org.yamcs.protobuf.WebSocketExtensionData.getDefaultInstance() : extensionData_;
}
}
/**
* optional .yamcs.protobuf.web.WebSocketExtensionData extensionData = 100;
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.WebSocketExtensionData, org.yamcs.protobuf.WebSocketExtensionData.Builder, org.yamcs.protobuf.WebSocketExtensionDataOrBuilder>
getExtensionDataFieldBuilder() {
if (extensionDataBuilder_ == null) {
extensionDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.WebSocketExtensionData, org.yamcs.protobuf.WebSocketExtensionData.Builder, org.yamcs.protobuf.WebSocketExtensionDataOrBuilder>(
getExtensionData(),
getParentForChildren(),
isClean());
extensionData_ = null;
}
return extensionDataBuilder_;
}
@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.web.WebSocketServerMessage.WebSocketSubscriptionData)
}
// @@protoc_insertion_point(class_scope:yamcs.protobuf.web.WebSocketServerMessage.WebSocketSubscriptionData)
private static final org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData();
}
public static org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WebSocketSubscriptionData parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WebSocketSubscriptionData(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.WebSocketServerMessage.WebSocketSubscriptionData getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private int bitField0_;
public static final int TYPE_FIELD_NUMBER = 1;
private int type_;
/**
* optional .yamcs.protobuf.web.WebSocketServerMessage.MessageType type = 1;
*/
public boolean hasType() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .yamcs.protobuf.web.WebSocketServerMessage.MessageType type = 1;
*/
public org.yamcs.protobuf.WebSocketServerMessage.MessageType getType() {
@SuppressWarnings("deprecation")
org.yamcs.protobuf.WebSocketServerMessage.MessageType result = org.yamcs.protobuf.WebSocketServerMessage.MessageType.valueOf(type_);
return result == null ? org.yamcs.protobuf.WebSocketServerMessage.MessageType.REPLY : result;
}
public static final int REPLY_FIELD_NUMBER = 2;
private org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData reply_;
/**
* optional .yamcs.protobuf.web.WebSocketServerMessage.WebSocketReplyData reply = 2;
*/
public boolean hasReply() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .yamcs.protobuf.web.WebSocketServerMessage.WebSocketReplyData reply = 2;
*/
public org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData getReply() {
return reply_ == null ? org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData.getDefaultInstance() : reply_;
}
/**
* optional .yamcs.protobuf.web.WebSocketServerMessage.WebSocketReplyData reply = 2;
*/
public org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyDataOrBuilder getReplyOrBuilder() {
return reply_ == null ? org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData.getDefaultInstance() : reply_;
}
public static final int EXCEPTION_FIELD_NUMBER = 3;
private org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData exception_;
/**
* optional .yamcs.protobuf.web.WebSocketServerMessage.WebSocketExceptionData exception = 3;
*/
public boolean hasException() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional .yamcs.protobuf.web.WebSocketServerMessage.WebSocketExceptionData exception = 3;
*/
public org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData getException() {
return exception_ == null ? org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData.getDefaultInstance() : exception_;
}
/**
* optional .yamcs.protobuf.web.WebSocketServerMessage.WebSocketExceptionData exception = 3;
*/
public org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionDataOrBuilder getExceptionOrBuilder() {
return exception_ == null ? org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData.getDefaultInstance() : exception_;
}
public static final int DATA_FIELD_NUMBER = 4;
private org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData data_;
/**
* optional .yamcs.protobuf.web.WebSocketServerMessage.WebSocketSubscriptionData data = 4;
*/
public boolean hasData() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional .yamcs.protobuf.web.WebSocketServerMessage.WebSocketSubscriptionData data = 4;
*/
public org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData getData() {
return data_ == null ? org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData.getDefaultInstance() : data_;
}
/**
* optional .yamcs.protobuf.web.WebSocketServerMessage.WebSocketSubscriptionData data = 4;
*/
public org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionDataOrBuilder getDataOrBuilder() {
return data_ == null ? org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData.getDefaultInstance() : data_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (hasData()) {
if (!getData().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)) {
output.writeEnum(1, type_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getReply());
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(3, getException());
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeMessage(4, getData());
}
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.CodedOutputStream
.computeEnumSize(1, type_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getReply());
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getException());
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getData());
}
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.WebSocketServerMessage)) {
return super.equals(obj);
}
org.yamcs.protobuf.WebSocketServerMessage other = (org.yamcs.protobuf.WebSocketServerMessage) obj;
if (hasType() != other.hasType()) return false;
if (hasType()) {
if (type_ != other.type_) return false;
}
if (hasReply() != other.hasReply()) return false;
if (hasReply()) {
if (!getReply()
.equals(other.getReply())) return false;
}
if (hasException() != other.hasException()) return false;
if (hasException()) {
if (!getException()
.equals(other.getException())) return false;
}
if (hasData() != other.hasData()) return false;
if (hasData()) {
if (!getData()
.equals(other.getData())) 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 (hasType()) {
hash = (37 * hash) + TYPE_FIELD_NUMBER;
hash = (53 * hash) + type_;
}
if (hasReply()) {
hash = (37 * hash) + REPLY_FIELD_NUMBER;
hash = (53 * hash) + getReply().hashCode();
}
if (hasException()) {
hash = (37 * hash) + EXCEPTION_FIELD_NUMBER;
hash = (53 * hash) + getException().hashCode();
}
if (hasData()) {
hash = (37 * hash) + DATA_FIELD_NUMBER;
hash = (53 * hash) + getData().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.yamcs.protobuf.WebSocketServerMessage parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.yamcs.protobuf.WebSocketServerMessage 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.WebSocketServerMessage parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.yamcs.protobuf.WebSocketServerMessage 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.WebSocketServerMessage parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.yamcs.protobuf.WebSocketServerMessage parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.yamcs.protobuf.WebSocketServerMessage parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.yamcs.protobuf.WebSocketServerMessage 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.WebSocketServerMessage parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.yamcs.protobuf.WebSocketServerMessage 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.WebSocketServerMessage parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.yamcs.protobuf.WebSocketServerMessage 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.WebSocketServerMessage 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.web.WebSocketServerMessage}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:yamcs.protobuf.web.WebSocketServerMessage)
org.yamcs.protobuf.WebSocketServerMessageOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.yamcs.protobuf.WebSocketProto.internal_static_yamcs_protobuf_web_WebSocketServerMessage_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.yamcs.protobuf.WebSocketProto.internal_static_yamcs_protobuf_web_WebSocketServerMessage_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.yamcs.protobuf.WebSocketServerMessage.class, org.yamcs.protobuf.WebSocketServerMessage.Builder.class);
}
// Construct using org.yamcs.protobuf.WebSocketServerMessage.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getReplyFieldBuilder();
getExceptionFieldBuilder();
getDataFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
type_ = 2;
bitField0_ = (bitField0_ & ~0x00000001);
if (replyBuilder_ == null) {
reply_ = null;
} else {
replyBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
if (exceptionBuilder_ == null) {
exception_ = null;
} else {
exceptionBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
if (dataBuilder_ == null) {
data_ = null;
} else {
dataBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.yamcs.protobuf.WebSocketProto.internal_static_yamcs_protobuf_web_WebSocketServerMessage_descriptor;
}
@java.lang.Override
public org.yamcs.protobuf.WebSocketServerMessage getDefaultInstanceForType() {
return org.yamcs.protobuf.WebSocketServerMessage.getDefaultInstance();
}
@java.lang.Override
public org.yamcs.protobuf.WebSocketServerMessage build() {
org.yamcs.protobuf.WebSocketServerMessage result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.yamcs.protobuf.WebSocketServerMessage buildPartial() {
org.yamcs.protobuf.WebSocketServerMessage result = new org.yamcs.protobuf.WebSocketServerMessage(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
to_bitField0_ |= 0x00000001;
}
result.type_ = type_;
if (((from_bitField0_ & 0x00000002) != 0)) {
if (replyBuilder_ == null) {
result.reply_ = reply_;
} else {
result.reply_ = replyBuilder_.build();
}
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
if (exceptionBuilder_ == null) {
result.exception_ = exception_;
} else {
result.exception_ = exceptionBuilder_.build();
}
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
if (dataBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = dataBuilder_.build();
}
to_bitField0_ |= 0x00000008;
}
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.WebSocketServerMessage) {
return mergeFrom((org.yamcs.protobuf.WebSocketServerMessage)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.yamcs.protobuf.WebSocketServerMessage other) {
if (other == org.yamcs.protobuf.WebSocketServerMessage.getDefaultInstance()) return this;
if (other.hasType()) {
setType(other.getType());
}
if (other.hasReply()) {
mergeReply(other.getReply());
}
if (other.hasException()) {
mergeException(other.getException());
}
if (other.hasData()) {
mergeData(other.getData());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
if (hasData()) {
if (!getData().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.WebSocketServerMessage parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.yamcs.protobuf.WebSocketServerMessage) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int type_ = 2;
/**
* optional .yamcs.protobuf.web.WebSocketServerMessage.MessageType type = 1;
*/
public boolean hasType() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .yamcs.protobuf.web.WebSocketServerMessage.MessageType type = 1;
*/
public org.yamcs.protobuf.WebSocketServerMessage.MessageType getType() {
@SuppressWarnings("deprecation")
org.yamcs.protobuf.WebSocketServerMessage.MessageType result = org.yamcs.protobuf.WebSocketServerMessage.MessageType.valueOf(type_);
return result == null ? org.yamcs.protobuf.WebSocketServerMessage.MessageType.REPLY : result;
}
/**
* optional .yamcs.protobuf.web.WebSocketServerMessage.MessageType type = 1;
*/
public Builder setType(org.yamcs.protobuf.WebSocketServerMessage.MessageType value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
type_ = value.getNumber();
onChanged();
return this;
}
/**
* optional .yamcs.protobuf.web.WebSocketServerMessage.MessageType type = 1;
*/
public Builder clearType() {
bitField0_ = (bitField0_ & ~0x00000001);
type_ = 2;
onChanged();
return this;
}
private org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData reply_;
private com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData, org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData.Builder, org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyDataOrBuilder> replyBuilder_;
/**
* optional .yamcs.protobuf.web.WebSocketServerMessage.WebSocketReplyData reply = 2;
*/
public boolean hasReply() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .yamcs.protobuf.web.WebSocketServerMessage.WebSocketReplyData reply = 2;
*/
public org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData getReply() {
if (replyBuilder_ == null) {
return reply_ == null ? org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData.getDefaultInstance() : reply_;
} else {
return replyBuilder_.getMessage();
}
}
/**
* optional .yamcs.protobuf.web.WebSocketServerMessage.WebSocketReplyData reply = 2;
*/
public Builder setReply(org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData value) {
if (replyBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
reply_ = value;
onChanged();
} else {
replyBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .yamcs.protobuf.web.WebSocketServerMessage.WebSocketReplyData reply = 2;
*/
public Builder setReply(
org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData.Builder builderForValue) {
if (replyBuilder_ == null) {
reply_ = builderForValue.build();
onChanged();
} else {
replyBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .yamcs.protobuf.web.WebSocketServerMessage.WebSocketReplyData reply = 2;
*/
public Builder mergeReply(org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData value) {
if (replyBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
reply_ != null &&
reply_ != org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData.getDefaultInstance()) {
reply_ =
org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData.newBuilder(reply_).mergeFrom(value).buildPartial();
} else {
reply_ = value;
}
onChanged();
} else {
replyBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .yamcs.protobuf.web.WebSocketServerMessage.WebSocketReplyData reply = 2;
*/
public Builder clearReply() {
if (replyBuilder_ == null) {
reply_ = null;
onChanged();
} else {
replyBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* optional .yamcs.protobuf.web.WebSocketServerMessage.WebSocketReplyData reply = 2;
*/
public org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData.Builder getReplyBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getReplyFieldBuilder().getBuilder();
}
/**
* optional .yamcs.protobuf.web.WebSocketServerMessage.WebSocketReplyData reply = 2;
*/
public org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyDataOrBuilder getReplyOrBuilder() {
if (replyBuilder_ != null) {
return replyBuilder_.getMessageOrBuilder();
} else {
return reply_ == null ?
org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData.getDefaultInstance() : reply_;
}
}
/**
* optional .yamcs.protobuf.web.WebSocketServerMessage.WebSocketReplyData reply = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData, org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData.Builder, org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyDataOrBuilder>
getReplyFieldBuilder() {
if (replyBuilder_ == null) {
replyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData, org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyData.Builder, org.yamcs.protobuf.WebSocketServerMessage.WebSocketReplyDataOrBuilder>(
getReply(),
getParentForChildren(),
isClean());
reply_ = null;
}
return replyBuilder_;
}
private org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData exception_;
private com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData, org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData.Builder, org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionDataOrBuilder> exceptionBuilder_;
/**
* optional .yamcs.protobuf.web.WebSocketServerMessage.WebSocketExceptionData exception = 3;
*/
public boolean hasException() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional .yamcs.protobuf.web.WebSocketServerMessage.WebSocketExceptionData exception = 3;
*/
public org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData getException() {
if (exceptionBuilder_ == null) {
return exception_ == null ? org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData.getDefaultInstance() : exception_;
} else {
return exceptionBuilder_.getMessage();
}
}
/**
* optional .yamcs.protobuf.web.WebSocketServerMessage.WebSocketExceptionData exception = 3;
*/
public Builder setException(org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData value) {
if (exceptionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
exception_ = value;
onChanged();
} else {
exceptionBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .yamcs.protobuf.web.WebSocketServerMessage.WebSocketExceptionData exception = 3;
*/
public Builder setException(
org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData.Builder builderForValue) {
if (exceptionBuilder_ == null) {
exception_ = builderForValue.build();
onChanged();
} else {
exceptionBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .yamcs.protobuf.web.WebSocketServerMessage.WebSocketExceptionData exception = 3;
*/
public Builder mergeException(org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData value) {
if (exceptionBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
exception_ != null &&
exception_ != org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData.getDefaultInstance()) {
exception_ =
org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData.newBuilder(exception_).mergeFrom(value).buildPartial();
} else {
exception_ = value;
}
onChanged();
} else {
exceptionBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .yamcs.protobuf.web.WebSocketServerMessage.WebSocketExceptionData exception = 3;
*/
public Builder clearException() {
if (exceptionBuilder_ == null) {
exception_ = null;
onChanged();
} else {
exceptionBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
/**
* optional .yamcs.protobuf.web.WebSocketServerMessage.WebSocketExceptionData exception = 3;
*/
public org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData.Builder getExceptionBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getExceptionFieldBuilder().getBuilder();
}
/**
* optional .yamcs.protobuf.web.WebSocketServerMessage.WebSocketExceptionData exception = 3;
*/
public org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionDataOrBuilder getExceptionOrBuilder() {
if (exceptionBuilder_ != null) {
return exceptionBuilder_.getMessageOrBuilder();
} else {
return exception_ == null ?
org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData.getDefaultInstance() : exception_;
}
}
/**
* optional .yamcs.protobuf.web.WebSocketServerMessage.WebSocketExceptionData exception = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData, org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData.Builder, org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionDataOrBuilder>
getExceptionFieldBuilder() {
if (exceptionBuilder_ == null) {
exceptionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData, org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionData.Builder, org.yamcs.protobuf.WebSocketServerMessage.WebSocketExceptionDataOrBuilder>(
getException(),
getParentForChildren(),
isClean());
exception_ = null;
}
return exceptionBuilder_;
}
private org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData data_;
private com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData, org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData.Builder, org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionDataOrBuilder> dataBuilder_;
/**
* optional .yamcs.protobuf.web.WebSocketServerMessage.WebSocketSubscriptionData data = 4;
*/
public boolean hasData() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional .yamcs.protobuf.web.WebSocketServerMessage.WebSocketSubscriptionData data = 4;
*/
public org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData getData() {
if (dataBuilder_ == null) {
return data_ == null ? org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData.getDefaultInstance() : data_;
} else {
return dataBuilder_.getMessage();
}
}
/**
* optional .yamcs.protobuf.web.WebSocketServerMessage.WebSocketSubscriptionData data = 4;
*/
public Builder setData(org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData value) {
if (dataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
dataBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .yamcs.protobuf.web.WebSocketServerMessage.WebSocketSubscriptionData data = 4;
*/
public Builder setData(
org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData.Builder builderForValue) {
if (dataBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
dataBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .yamcs.protobuf.web.WebSocketServerMessage.WebSocketSubscriptionData data = 4;
*/
public Builder mergeData(org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData value) {
if (dataBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0) &&
data_ != null &&
data_ != org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData.getDefaultInstance()) {
data_ =
org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData.newBuilder(data_).mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
dataBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .yamcs.protobuf.web.WebSocketServerMessage.WebSocketSubscriptionData data = 4;
*/
public Builder clearData() {
if (dataBuilder_ == null) {
data_ = null;
onChanged();
} else {
dataBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
/**
* optional .yamcs.protobuf.web.WebSocketServerMessage.WebSocketSubscriptionData data = 4;
*/
public org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData.Builder getDataBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getDataFieldBuilder().getBuilder();
}
/**
* optional .yamcs.protobuf.web.WebSocketServerMessage.WebSocketSubscriptionData data = 4;
*/
public org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionDataOrBuilder getDataOrBuilder() {
if (dataBuilder_ != null) {
return dataBuilder_.getMessageOrBuilder();
} else {
return data_ == null ?
org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData.getDefaultInstance() : data_;
}
}
/**
* optional .yamcs.protobuf.web.WebSocketServerMessage.WebSocketSubscriptionData data = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData, org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData.Builder, org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionDataOrBuilder>
getDataFieldBuilder() {
if (dataBuilder_ == null) {
dataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData, org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionData.Builder, org.yamcs.protobuf.WebSocketServerMessage.WebSocketSubscriptionDataOrBuilder>(
getData(),
getParentForChildren(),
isClean());
data_ = null;
}
return dataBuilder_;
}
@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.web.WebSocketServerMessage)
}
// @@protoc_insertion_point(class_scope:yamcs.protobuf.web.WebSocketServerMessage)
private static final org.yamcs.protobuf.WebSocketServerMessage DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.yamcs.protobuf.WebSocketServerMessage();
}
public static org.yamcs.protobuf.WebSocketServerMessage getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WebSocketServerMessage parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WebSocketServerMessage(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.WebSocketServerMessage getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}