Package io.temporal.api.protocol.v1
Interface MessageOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Message
,Message.Builder
@Generated(value="protoc", comments="annotations:MessageOrBuilder.java.pb.meta") public interface MessageOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.Any
getBody()
The opaque data carried by this message.com.google.protobuf.AnyOrBuilder
getBodyOrBuilder()
The opaque data carried by this message.long
getCommandIndex()
int64 command_index = 4;
long
getEventId()
int64 event_id = 3;
java.lang.String
getId()
An ID for this specific message.com.google.protobuf.ByteString
getIdBytes()
An ID for this specific message.java.lang.String
getProtocolInstanceId()
Identifies the specific instance of a protocol to which this message belongs.com.google.protobuf.ByteString
getProtocolInstanceIdBytes()
Identifies the specific instance of a protocol to which this message belongs.Message.SequencingIdCase
getSequencingIdCase()
boolean
hasBody()
The opaque data carried by this message.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getId
java.lang.String getId()
An ID for this specific message.
string id = 1;
- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()
An ID for this specific message.
string id = 1;
- Returns:
- The bytes for id.
-
getProtocolInstanceId
java.lang.String getProtocolInstanceId()
Identifies the specific instance of a protocol to which this message belongs.
string protocol_instance_id = 2;
- Returns:
- The protocolInstanceId.
-
getProtocolInstanceIdBytes
com.google.protobuf.ByteString getProtocolInstanceIdBytes()
Identifies the specific instance of a protocol to which this message belongs.
string protocol_instance_id = 2;
- Returns:
- The bytes for protocolInstanceId.
-
getEventId
long getEventId()
int64 event_id = 3;
- Returns:
- The eventId.
-
getCommandIndex
long getCommandIndex()
int64 command_index = 4;
- Returns:
- The commandIndex.
-
hasBody
boolean hasBody()
The opaque data carried by this message. The protocol type can be extracted from the package name of the message carried inside the Any.
.google.protobuf.Any body = 5;
- Returns:
- Whether the body field is set.
-
getBody
com.google.protobuf.Any getBody()
The opaque data carried by this message. The protocol type can be extracted from the package name of the message carried inside the Any.
.google.protobuf.Any body = 5;
- Returns:
- The body.
-
getBodyOrBuilder
com.google.protobuf.AnyOrBuilder getBodyOrBuilder()
The opaque data carried by this message. The protocol type can be extracted from the package name of the message carried inside the Any.
.google.protobuf.Any body = 5;
-
getSequencingIdCase
Message.SequencingIdCase getSequencingIdCase()
-
-