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
Modifier and TypeMethodDescriptioncom.google.protobuf.AnygetBody()The opaque data carried by this message.com.google.protobuf.AnyOrBuilderThe opaque data carried by this message.longint64 command_index = 4;longint64 event_id = 3;getId()An ID for this specific message.com.google.protobuf.ByteStringAn ID for this specific message.Identifies the specific instance of a protocol to which this message belongs.com.google.protobuf.ByteStringIdentifies the specific instance of a protocol to which this message belongs.booleanhasBody()The opaque data carried by this message.booleanint64 command_index = 4;booleanint64 event_id = 3;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getId
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()An ID for this specific message.
string id = 1;- Returns:
- The bytes for id.
-
getProtocolInstanceId
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.
-
hasEventId
boolean hasEventId()int64 event_id = 3;- Returns:
- Whether the eventId field is set.
-
getEventId
long getEventId()int64 event_id = 3;- Returns:
- The eventId.
-
hasCommandIndex
boolean hasCommandIndex()int64 command_index = 4;- Returns:
- Whether the commandIndex field is set.
-
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()
-