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
Modifier and TypeMethodDescriptionthe correlation key of the messagecom.google.protobuf.ByteStringthe correlation key of the messagethe unique ID of the message; can be omitted.com.google.protobuf.ByteStringthe unique ID of the message; can be omitted.getName()the name of the messagecom.google.protobuf.ByteStringthe name of the messagethe tenant id of the messagecom.google.protobuf.ByteStringthe tenant id of the messagelonghow long the message should be buffered on the broker, in millisecondsthe message variables as a JSON document; to be valid, the root of the document must be an object, e.g.com.google.protobuf.ByteStringthe 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.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.
-
getTenantId
String getTenantId()the tenant id of the message
string tenantId = 6;- Returns:
- The tenantId.
-
getTenantIdBytes
com.google.protobuf.ByteString getTenantIdBytes()the tenant id of the message
string tenantId = 6;- Returns:
- The bytes for tenantId.
-