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

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean containsHeader​(java.lang.String key)
      Headers extracted from the original request in the Temporal frontend.
      CancelOperationRequest getCancelOperation()
      .temporal.api.nexus.v1.CancelOperationRequest cancel_operation = 4;
      CancelOperationRequestOrBuilder getCancelOperationOrBuilder()
      .temporal.api.nexus.v1.CancelOperationRequest cancel_operation = 4;
      java.lang.String getEndpoint()
      The endpoint this request was addressed to before forwarding to the worker.
      com.google.protobuf.ByteString getEndpointBytes()
      The endpoint this request was addressed to before forwarding to the worker.
      java.util.Map<java.lang.String,​java.lang.String> getHeader()
      Deprecated.
      int getHeaderCount()
      Headers extracted from the original request in the Temporal frontend.
      java.util.Map<java.lang.String,​java.lang.String> getHeaderMap()
      Headers extracted from the original request in the Temporal frontend.
      java.lang.String getHeaderOrDefault​(java.lang.String key, java.lang.String defaultValue)
      Headers extracted from the original request in the Temporal frontend.
      java.lang.String getHeaderOrThrow​(java.lang.String key)
      Headers extracted from the original request in the Temporal frontend.
      com.google.protobuf.Timestamp getScheduledTime()
      The timestamp when the request was scheduled in the frontend.
      com.google.protobuf.TimestampOrBuilder getScheduledTimeOrBuilder()
      The timestamp when the request was scheduled in the frontend.
      StartOperationRequest getStartOperation()
      .temporal.api.nexus.v1.StartOperationRequest start_operation = 3;
      StartOperationRequestOrBuilder getStartOperationOrBuilder()
      .temporal.api.nexus.v1.StartOperationRequest start_operation = 3;
      Request.VariantCase getVariantCase()  
      boolean hasCancelOperation()
      .temporal.api.nexus.v1.CancelOperationRequest cancel_operation = 4;
      boolean hasScheduledTime()
      The timestamp when the request was scheduled in the frontend.
      boolean hasStartOperation()
      .temporal.api.nexus.v1.StartOperationRequest start_operation = 3;
      • 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 Detail

      • 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

        boolean containsHeader​(java.lang.String key)
         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

        @Deprecated
        java.util.Map<java.lang.String,​java.lang.String> getHeader()
        Deprecated.
        Use getHeaderMap() instead.
      • getHeaderMap

        java.util.Map<java.lang.String,​java.lang.String> getHeaderMap()
         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;
      • getHeaderOrDefault

        java.lang.String getHeaderOrDefault​(java.lang.String key,
                                            java.lang.String defaultValue)
         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;
      • getHeaderOrThrow

        java.lang.String getHeaderOrThrow​(java.lang.String key)
         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;
      • 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;
      • 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

        java.lang.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.