Interface RequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Request,Request.Builder
@Generated(value="protoc",
comments="annotations:RequestOrBuilder.java.pb.meta")
public interface RequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsHeader(String key) Headers extracted from the original request in the Temporal frontend..temporal.api.nexus.v1.CancelOperationRequest cancel_operation = 4;.temporal.api.nexus.v1.CancelOperationRequest cancel_operation = 4;.temporal.api.nexus.v1.Request.Capabilities capabilities = 100;.temporal.api.nexus.v1.Request.Capabilities capabilities = 100;The endpoint this request was addressed to before forwarding to the worker.com.google.protobuf.ByteStringThe endpoint this request was addressed to before forwarding to the worker.Deprecated.intHeaders extracted from the original request in the Temporal frontend.Headers extracted from the original request in the Temporal frontend.getHeaderOrDefault(String key, String defaultValue) Headers extracted from the original request in the Temporal frontend.getHeaderOrThrow(String key) Headers extracted from the original request in the Temporal frontend.com.google.protobuf.TimestampThe timestamp when the request was scheduled in the frontend.com.google.protobuf.TimestampOrBuilderThe timestamp when the request was scheduled in the frontend..temporal.api.nexus.v1.StartOperationRequest start_operation = 3;.temporal.api.nexus.v1.StartOperationRequest start_operation = 3;boolean.temporal.api.nexus.v1.CancelOperationRequest cancel_operation = 4;boolean.temporal.api.nexus.v1.Request.Capabilities capabilities = 100;booleanThe timestamp when the request was scheduled in the frontend.boolean.temporal.api.nexus.v1.StartOperationRequest start_operation = 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
-
getHeaderCount
int getHeaderCount()Headers extracted from the original request in the Temporal frontend. When using Nexus over HTTP, this includes the request's HTTP headers ignoring multiple values.
map<string, string> header = 1; -
containsHeader
Headers extracted from the original request in the Temporal frontend. When using Nexus over HTTP, this includes the request's HTTP headers ignoring multiple values.
map<string, string> header = 1; -
getHeader
-
getHeaderMap
-
getHeaderOrDefault
-
getHeaderOrThrow
-
hasScheduledTime
boolean hasScheduledTime()The timestamp when the request was scheduled in the frontend. (-- api-linter: core::0142::time-field-names=disabled aip.dev/not-precedent: Not following linter rules. --).google.protobuf.Timestamp scheduled_time = 2;- Returns:
- Whether the scheduledTime field is set.
-
getScheduledTime
com.google.protobuf.Timestamp getScheduledTime()The timestamp when the request was scheduled in the frontend. (-- api-linter: core::0142::time-field-names=disabled aip.dev/not-precedent: Not following linter rules. --).google.protobuf.Timestamp scheduled_time = 2;- Returns:
- The scheduledTime.
-
getScheduledTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getScheduledTimeOrBuilder()The timestamp when the request was scheduled in the frontend. (-- api-linter: core::0142::time-field-names=disabled aip.dev/not-precedent: Not following linter rules. --).google.protobuf.Timestamp scheduled_time = 2; -
hasCapabilities
boolean hasCapabilities().temporal.api.nexus.v1.Request.Capabilities capabilities = 100;- Returns:
- Whether the capabilities field is set.
-
getCapabilities
Request.Capabilities getCapabilities().temporal.api.nexus.v1.Request.Capabilities capabilities = 100;- Returns:
- The capabilities.
-
getCapabilitiesOrBuilder
Request.CapabilitiesOrBuilder getCapabilitiesOrBuilder().temporal.api.nexus.v1.Request.Capabilities capabilities = 100; -
hasStartOperation
boolean hasStartOperation().temporal.api.nexus.v1.StartOperationRequest start_operation = 3;- Returns:
- Whether the startOperation field is set.
-
getStartOperation
StartOperationRequest getStartOperation().temporal.api.nexus.v1.StartOperationRequest start_operation = 3;- Returns:
- The startOperation.
-
getStartOperationOrBuilder
StartOperationRequestOrBuilder getStartOperationOrBuilder().temporal.api.nexus.v1.StartOperationRequest start_operation = 3; -
hasCancelOperation
boolean hasCancelOperation().temporal.api.nexus.v1.CancelOperationRequest cancel_operation = 4;- Returns:
- Whether the cancelOperation field is set.
-
getCancelOperation
CancelOperationRequest getCancelOperation().temporal.api.nexus.v1.CancelOperationRequest cancel_operation = 4;- Returns:
- The cancelOperation.
-
getCancelOperationOrBuilder
CancelOperationRequestOrBuilder getCancelOperationOrBuilder().temporal.api.nexus.v1.CancelOperationRequest cancel_operation = 4; -
getEndpoint
String getEndpoint()The endpoint this request was addressed to before forwarding to the worker. Supported from server version 1.30.0.
string endpoint = 10;- Returns:
- The endpoint.
-
getEndpointBytes
com.google.protobuf.ByteString getEndpointBytes()The endpoint this request was addressed to before forwarding to the worker. Supported from server version 1.30.0.
string endpoint = 10;- Returns:
- The bytes for endpoint.
-
getVariantCase
Request.VariantCase getVariantCase()
-