Class Protocol.CompletionMessage
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- dev.restate.generated.service.protocol.Protocol.CompletionMessage
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Protocol.CompletionMessageOrBuilder,java.io.Serializable
- Enclosing class:
- Protocol
public static final class Protocol.CompletionMessage extends com.google.protobuf.GeneratedMessage implements Protocol.CompletionMessageOrBuilder
Type: 0x0000 + 1
Protobuf typedev.restate.service.protocol.CompletionMessage- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProtocol.CompletionMessage.BuilderType: 0x0000 + 1static classProtocol.CompletionMessage.ResultCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends java.lang.Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intEMPTY_FIELD_NUMBERstatic intENTRY_INDEX_FIELD_NUMBERstatic intFAILURE_FIELD_NUMBERstatic intVALUE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)static Protocol.CompletionMessagegetDefaultInstance()Protocol.CompletionMessagegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Protocol.EmptygetEmpty().dev.restate.service.protocol.Empty empty = 13;Protocol.EmptyOrBuildergetEmptyOrBuilder().dev.restate.service.protocol.Empty empty = 13;intgetEntryIndex()uint32 entry_index = 1;Protocol.FailuregetFailure().dev.restate.service.protocol.Failure failure = 15;Protocol.FailureOrBuildergetFailureOrBuilder().dev.restate.service.protocol.Failure failure = 15;com.google.protobuf.Parser<Protocol.CompletionMessage>getParserForType()Protocol.CompletionMessage.ResultCasegetResultCase()intgetSerializedSize()com.google.protobuf.ByteStringgetValue()bytes value = 14;booleanhasEmpty().dev.restate.service.protocol.Empty empty = 13;booleanhasFailure().dev.restate.service.protocol.Failure failure = 15;inthashCode()booleanhasValue()bytes value = 14;protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Protocol.CompletionMessage.BuildernewBuilder()static Protocol.CompletionMessage.BuildernewBuilder(Protocol.CompletionMessage prototype)Protocol.CompletionMessage.BuildernewBuilderForType()protected Protocol.CompletionMessage.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)static Protocol.CompletionMessageparseDelimitedFrom(java.io.InputStream input)static Protocol.CompletionMessageparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Protocol.CompletionMessageparseFrom(byte[] data)static Protocol.CompletionMessageparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Protocol.CompletionMessageparseFrom(com.google.protobuf.ByteString data)static Protocol.CompletionMessageparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Protocol.CompletionMessageparseFrom(com.google.protobuf.CodedInputStream input)static Protocol.CompletionMessageparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Protocol.CompletionMessageparseFrom(java.io.InputStream input)static Protocol.CompletionMessageparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Protocol.CompletionMessageparseFrom(java.nio.ByteBuffer data)static Protocol.CompletionMessageparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Protocol.CompletionMessage>parser()Protocol.CompletionMessage.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, 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, hashFields, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ENTRY_INDEX_FIELD_NUMBER
public static final int ENTRY_INDEX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EMPTY_FIELD_NUMBER
public static final int EMPTY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VALUE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FAILURE_FIELD_NUMBER
public static final int FAILURE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getResultCase
public Protocol.CompletionMessage.ResultCase getResultCase()
- Specified by:
getResultCasein interfaceProtocol.CompletionMessageOrBuilder
-
getEntryIndex
public int getEntryIndex()
uint32 entry_index = 1;- Specified by:
getEntryIndexin interfaceProtocol.CompletionMessageOrBuilder- Returns:
- The entryIndex.
-
hasEmpty
public boolean hasEmpty()
.dev.restate.service.protocol.Empty empty = 13;- Specified by:
hasEmptyin interfaceProtocol.CompletionMessageOrBuilder- Returns:
- Whether the empty field is set.
-
getEmpty
public Protocol.Empty getEmpty()
.dev.restate.service.protocol.Empty empty = 13;- Specified by:
getEmptyin interfaceProtocol.CompletionMessageOrBuilder- Returns:
- The empty.
-
getEmptyOrBuilder
public Protocol.EmptyOrBuilder getEmptyOrBuilder()
.dev.restate.service.protocol.Empty empty = 13;- Specified by:
getEmptyOrBuilderin interfaceProtocol.CompletionMessageOrBuilder
-
hasValue
public boolean hasValue()
bytes value = 14;- Specified by:
hasValuein interfaceProtocol.CompletionMessageOrBuilder- Returns:
- Whether the value field is set.
-
getValue
public com.google.protobuf.ByteString getValue()
bytes value = 14;- Specified by:
getValuein interfaceProtocol.CompletionMessageOrBuilder- Returns:
- The value.
-
hasFailure
public boolean hasFailure()
.dev.restate.service.protocol.Failure failure = 15;- Specified by:
hasFailurein interfaceProtocol.CompletionMessageOrBuilder- Returns:
- Whether the failure field is set.
-
getFailure
public Protocol.Failure getFailure()
.dev.restate.service.protocol.Failure failure = 15;- Specified by:
getFailurein interfaceProtocol.CompletionMessageOrBuilder- Returns:
- The failure.
-
getFailureOrBuilder
public Protocol.FailureOrBuilder getFailureOrBuilder()
.dev.restate.service.protocol.Failure failure = 15;- Specified by:
getFailureOrBuilderin interfaceProtocol.CompletionMessageOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
public boolean equals(java.lang.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 Protocol.CompletionMessage parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Protocol.CompletionMessage parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Protocol.CompletionMessage parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Protocol.CompletionMessage parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Protocol.CompletionMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Protocol.CompletionMessage parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Protocol.CompletionMessage parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Protocol.CompletionMessage parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Protocol.CompletionMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Protocol.CompletionMessage parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Protocol.CompletionMessage parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Protocol.CompletionMessage parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public Protocol.CompletionMessage.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Protocol.CompletionMessage.Builder newBuilder()
-
newBuilder
public static Protocol.CompletionMessage.Builder newBuilder(Protocol.CompletionMessage prototype)
-
toBuilder
public Protocol.CompletionMessage.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Protocol.CompletionMessage.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
public static Protocol.CompletionMessage getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Protocol.CompletionMessage> parser()
-
getParserForType
public com.google.protobuf.Parser<Protocol.CompletionMessage> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public Protocol.CompletionMessage getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-