Package io.zeebe.gateway.protocol
Interface GatewayOuterClass.PublishMessageRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GatewayOuterClass.PublishMessageRequest
,GatewayOuterClass.PublishMessageRequest.Builder
- Enclosing class:
- GatewayOuterClass
public static interface GatewayOuterClass.PublishMessageRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getCorrelationKey()
the correlation key of the messagecom.google.protobuf.ByteString
getCorrelationKeyBytes()
the correlation key of the messageString
getMessageId()
the unique ID of the message; can be omitted.com.google.protobuf.ByteString
getMessageIdBytes()
the unique ID of the message; can be omitted.String
getName()
the name of the messagecom.google.protobuf.ByteString
getNameBytes()
the name of the messagelong
getTimeToLive()
how long the message should be buffered on the broker, in millisecondsString
getVariables()
the message variables as a JSON document; to be valid, the root of the document must be an object, e.g.com.google.protobuf.ByteString
getVariablesBytes()
the message variables as a JSON document; to be valid, the root of the document must be an object, e.g.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
the name of the message
string name = 1;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
the name of the message
string name = 1;
- Returns:
- The bytes for name.
-
getCorrelationKey
String getCorrelationKey()
the correlation key of the message
string correlationKey = 2;
- Returns:
- The correlationKey.
-
getCorrelationKeyBytes
com.google.protobuf.ByteString getCorrelationKeyBytes()
the correlation key of the message
string correlationKey = 2;
- Returns:
- The bytes for correlationKey.
-
getTimeToLive
long getTimeToLive()
how long the message should be buffered on the broker, in milliseconds
int64 timeToLive = 3;
- Returns:
- The timeToLive.
-
getMessageId
String getMessageId()
the unique ID of the message; can be omitted. only useful to ensure only one message with the given ID will ever be published (during its lifetime)
string messageId = 4;
- Returns:
- The messageId.
-
getMessageIdBytes
com.google.protobuf.ByteString getMessageIdBytes()
the unique ID of the message; can be omitted. only useful to ensure only one message with the given ID will ever be published (during its lifetime)
string messageId = 4;
- Returns:
- The bytes for messageId.
-
getVariables
String getVariables()
the message variables as a JSON document; to be valid, the root of the document must be an object, e.g. { "a": "foo" }. [ "foo" ] would not be valid.
string variables = 5;
- Returns:
- The variables.
-
getVariablesBytes
com.google.protobuf.ByteString getVariablesBytes()
the message variables as a JSON document; to be valid, the root of the document must be an object, e.g. { "a": "foo" }. [ "foo" ] would not be valid.
string variables = 5;
- Returns:
- The bytes for variables.
-
-