Interface Protocol.OneWayCallCommandMessageOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Protocol.OneWayCallCommandMessage,Protocol.OneWayCallCommandMessage.Builder
- Enclosing class:
Protocol
public static interface Protocol.OneWayCallCommandMessageOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionstring handler_name = 2;com.google.protobuf.ByteStringstring handler_name = 2;getHeaders(int index) repeated .dev.restate.service.protocol.Header headers = 5;intrepeated .dev.restate.service.protocol.Header headers = 5;repeated .dev.restate.service.protocol.Header headers = 5;getHeadersOrBuilder(int index) repeated .dev.restate.service.protocol.Header headers = 5;List<? extends Protocol.HeaderOrBuilder> repeated .dev.restate.service.protocol.Header headers = 5;If present, it must be non empty.com.google.protobuf.ByteStringIf present, it must be non empty.intuint32 invocation_id_notification_idx = 10;longTime when this BackgroundInvoke should be executed.getKey()If this invocation has a key associated (e.g.com.google.protobuf.ByteStringIf this invocation has a key associated (e.g.getName()string name = 12;com.google.protobuf.ByteStringstring name = 12;com.google.protobuf.ByteStringbytes parameter = 3;string service_name = 1;com.google.protobuf.ByteStringstring service_name = 1;booleanIf present, it must be non empty.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
-
getServiceName
String getServiceName()string service_name = 1;- Returns:
- The serviceName.
-
getServiceNameBytes
com.google.protobuf.ByteString getServiceNameBytes()string service_name = 1;- Returns:
- The bytes for serviceName.
-
getHandlerName
String getHandlerName()string handler_name = 2;- Returns:
- The handlerName.
-
getHandlerNameBytes
com.google.protobuf.ByteString getHandlerNameBytes()string handler_name = 2;- Returns:
- The bytes for handlerName.
-
getParameter
com.google.protobuf.ByteString getParameter()bytes parameter = 3;- Returns:
- The parameter.
-
getInvokeTime
long getInvokeTime()Time when this BackgroundInvoke should be executed. The time is set as duration since UNIX Epoch. If this value is not set, equal to 0, or past in time, the runtime will execute this BackgroundInvoke as soon as possible.
uint64 invoke_time = 4;- Returns:
- The invokeTime.
-
getHeadersList
List<Protocol.Header> getHeadersList()repeated .dev.restate.service.protocol.Header headers = 5; -
getHeaders
repeated .dev.restate.service.protocol.Header headers = 5; -
getHeadersCount
int getHeadersCount()repeated .dev.restate.service.protocol.Header headers = 5; -
getHeadersOrBuilderList
List<? extends Protocol.HeaderOrBuilder> getHeadersOrBuilderList()repeated .dev.restate.service.protocol.Header headers = 5; -
getHeadersOrBuilder
repeated .dev.restate.service.protocol.Header headers = 5; -
getKey
String getKey()If this invocation has a key associated (e.g. for objects and workflows), then this key is filled in. Empty otherwise.
string key = 6;- Returns:
- The key.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()If this invocation has a key associated (e.g. for objects and workflows), then this key is filled in. Empty otherwise.
string key = 6;- Returns:
- The bytes for key.
-
hasIdempotencyKey
boolean hasIdempotencyKey()If present, it must be non empty.
optional string idempotency_key = 7;- Returns:
- Whether the idempotencyKey field is set.
-
getIdempotencyKey
String getIdempotencyKey()If present, it must be non empty.
optional string idempotency_key = 7;- Returns:
- The idempotencyKey.
-
getIdempotencyKeyBytes
com.google.protobuf.ByteString getIdempotencyKeyBytes()If present, it must be non empty.
optional string idempotency_key = 7;- Returns:
- The bytes for idempotencyKey.
-
getInvocationIdNotificationIdx
int getInvocationIdNotificationIdx()uint32 invocation_id_notification_idx = 10;- Returns:
- The invocationIdNotificationIdx.
-
getName
String getName()string name = 12;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()string name = 12;- Returns:
- The bytes for name.
-