Package com.salesforce.eventbus.protobuf
Interface PublishResultOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PublishResult
,PublishResult.Builder
public interface PublishResultOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getReplayId
com.google.protobuf.ByteString getReplayId()Replay ID of the event
bytes replay_id = 1;
- Returns:
- The replayId.
-
hasError
boolean hasError()Publish error if any
.eventbus.v1.Error error = 2;
- Returns:
- Whether the error field is set.
-
getError
Error getError()Publish error if any
.eventbus.v1.Error error = 2;
- Returns:
- The error.
-
getErrorOrBuilder
ErrorOrBuilder getErrorOrBuilder()Publish error if any
.eventbus.v1.Error error = 2;
-
getCorrelationKey
String getCorrelationKey()Correlation key of the ProducerEvent
string correlationKey = 3;
- Returns:
- The correlationKey.
-
getCorrelationKeyBytes
com.google.protobuf.ByteString getCorrelationKeyBytes()Correlation key of the ProducerEvent
string correlationKey = 3;
- Returns:
- The bytes for correlationKey.
-