Package org.yamcs.replication.protobuf
Class Request
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.yamcs.replication.protobuf.Request
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,RequestOrBuilder
public final class Request extends com.google.protobuf.GeneratedMessageV3 implements RequestOrBuilder
sent from Slave to Master directly when the Master is the TCP server or after a Wakeup when the Slave is the TCP server
Protobuf typeRequest- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRequest.Buildersent from Slave to Master directly when the Master is the TCP server or after a Wakeup when the Slave is the TCP serverstatic classRequest.TypeProtobuf enumRequest.Type-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-
-
Field Summary
Fields Modifier and Type Field Description static intAUTHTOKEN_FIELD_NUMBERstatic com.google.protobuf.Parser<Request>PARSERDeprecated.static intREQUESTSEQ_FIELD_NUMBERstatic intSTARTTXID_FIELD_NUMBERstatic intTYPE_FIELD_NUMBERstatic intYAMCSINSTANCE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetAuthToken()optional string authToken = 1;com.google.protobuf.ByteStringgetAuthTokenBytes()optional string authToken = 1;static RequestgetDefaultInstance()RequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<Request>getParserForType()intgetRequestSeq()used to track back the responseintgetSerializedSize()longgetStartTxId()start replay with this transactionRequest.TypegetType()currently only START_REPLAYcom.google.protobuf.UnknownFieldSetgetUnknownFields()StringgetYamcsInstance()optional string yamcsInstance = 3;com.google.protobuf.ByteStringgetYamcsInstanceBytes()optional string yamcsInstance = 3;booleanhasAuthToken()optional string authToken = 1;inthashCode()booleanhasRequestSeq()used to track back the responsebooleanhasStartTxId()start replay with this transactionbooleanhasType()currently only START_REPLAYbooleanhasYamcsInstance()optional string yamcsInstance = 3;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Request.BuildernewBuilder()static Request.BuildernewBuilder(Request prototype)Request.BuildernewBuilderForType()protected Request.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)static RequestparseDelimitedFrom(InputStream input)static RequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RequestparseFrom(byte[] data)static RequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RequestparseFrom(com.google.protobuf.ByteString data)static RequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RequestparseFrom(com.google.protobuf.CodedInputStream input)static RequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RequestparseFrom(InputStream input)static RequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RequestparseFrom(ByteBuffer data)static RequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Request>parser()Request.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
AUTHTOKEN_FIELD_NUMBER
public static final int AUTHTOKEN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REQUESTSEQ_FIELD_NUMBER
public static final int REQUESTSEQ_FIELD_NUMBER
- See Also:
- Constant Field Values
-
YAMCSINSTANCE_FIELD_NUMBER
public static final int YAMCSINSTANCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STARTTXID_FIELD_NUMBER
public static final int STARTTXID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Request> PARSER
Deprecated.
-
-
Method Detail
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasAuthToken
public boolean hasAuthToken()
optional string authToken = 1;- Specified by:
hasAuthTokenin interfaceRequestOrBuilder
-
getAuthToken
public String getAuthToken()
optional string authToken = 1;- Specified by:
getAuthTokenin interfaceRequestOrBuilder
-
getAuthTokenBytes
public com.google.protobuf.ByteString getAuthTokenBytes()
optional string authToken = 1;- Specified by:
getAuthTokenBytesin interfaceRequestOrBuilder
-
hasRequestSeq
public boolean hasRequestSeq()
used to track back the response
optional uint32 requestSeq = 2;- Specified by:
hasRequestSeqin interfaceRequestOrBuilder
-
getRequestSeq
public int getRequestSeq()
used to track back the response
optional uint32 requestSeq = 2;- Specified by:
getRequestSeqin interfaceRequestOrBuilder
-
hasYamcsInstance
public boolean hasYamcsInstance()
optional string yamcsInstance = 3;- Specified by:
hasYamcsInstancein interfaceRequestOrBuilder
-
getYamcsInstance
public String getYamcsInstance()
optional string yamcsInstance = 3;- Specified by:
getYamcsInstancein interfaceRequestOrBuilder
-
getYamcsInstanceBytes
public com.google.protobuf.ByteString getYamcsInstanceBytes()
optional string yamcsInstance = 3;- Specified by:
getYamcsInstanceBytesin interfaceRequestOrBuilder
-
hasType
public boolean hasType()
currently only START_REPLAY
optional .Request.Type type = 4;- Specified by:
hasTypein interfaceRequestOrBuilder
-
getType
public Request.Type getType()
currently only START_REPLAY
optional .Request.Type type = 4;- Specified by:
getTypein interfaceRequestOrBuilder
-
hasStartTxId
public boolean hasStartTxId()
start replay with this transaction
optional uint64 startTxId = 5;- Specified by:
hasStartTxIdin interfaceRequestOrBuilder
-
getStartTxId
public long getStartTxId()
start replay with this transaction
optional uint64 startTxId = 5;- Specified by:
getStartTxIdin interfaceRequestOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Request parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Request parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Request parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Request parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Request parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Request parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Request parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Request parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Request parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Request parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Request parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Request parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Request.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Request.Builder newBuilder()
-
newBuilder
public static Request.Builder newBuilder(Request prototype)
-
toBuilder
public Request.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Request.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Request getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Request> parser()
-
getParserForType
public com.google.protobuf.Parser<Request> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Request getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-