Class NexusOperationExecutionListInfo

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.temporal.api.nexus.v1.NexusOperationExecutionListInfo
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, NexusOperationExecutionListInfoOrBuilder, Serializable

@Generated(value="protoc", comments="annotations:NexusOperationExecutionListInfo.java.pb.meta") public final class NexusOperationExecutionListInfo extends com.google.protobuf.GeneratedMessageV3 implements NexusOperationExecutionListInfoOrBuilder
 Limited Nexus operation information returned in the list response.
 When adding fields here, ensure that it is also present in NexusOperationExecutionInfo (note that it may already be present in
 NexusOperationExecutionInfo but not at the top-level).
 
Protobuf type temporal.api.nexus.v1.NexusOperationExecutionListInfo
See Also:
  • Field Details

    • OPERATION_ID_FIELD_NUMBER

      public static final int OPERATION_ID_FIELD_NUMBER
      See Also:
    • RUN_ID_FIELD_NUMBER

      public static final int RUN_ID_FIELD_NUMBER
      See Also:
    • ENDPOINT_FIELD_NUMBER

      public static final int ENDPOINT_FIELD_NUMBER
      See Also:
    • SERVICE_FIELD_NUMBER

      public static final int SERVICE_FIELD_NUMBER
      See Also:
    • OPERATION_FIELD_NUMBER

      public static final int OPERATION_FIELD_NUMBER
      See Also:
    • SCHEDULE_TIME_FIELD_NUMBER

      public static final int SCHEDULE_TIME_FIELD_NUMBER
      See Also:
    • CLOSE_TIME_FIELD_NUMBER

      public static final int CLOSE_TIME_FIELD_NUMBER
      See Also:
    • STATUS_FIELD_NUMBER

      public static final int STATUS_FIELD_NUMBER
      See Also:
    • SEARCH_ATTRIBUTES_FIELD_NUMBER

      public static final int SEARCH_ATTRIBUTES_FIELD_NUMBER
      See Also:
    • STATE_TRANSITION_COUNT_FIELD_NUMBER

      public static final int STATE_TRANSITION_COUNT_FIELD_NUMBER
      See Also:
    • EXECUTION_DURATION_FIELD_NUMBER

      public static final int EXECUTION_DURATION_FIELD_NUMBER
      See Also:
    • STATE_SIZE_BYTES_FIELD_NUMBER

      public static final int STATE_SIZE_BYTES_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getOperationId

      public String getOperationId()
       A unique identifier of this operation within its namespace along with run ID (below).
       
      string operation_id = 1;
      Specified by:
      getOperationId in interface NexusOperationExecutionListInfoOrBuilder
      Returns:
      The operationId.
    • getOperationIdBytes

      public com.google.protobuf.ByteString getOperationIdBytes()
       A unique identifier of this operation within its namespace along with run ID (below).
       
      string operation_id = 1;
      Specified by:
      getOperationIdBytes in interface NexusOperationExecutionListInfoOrBuilder
      Returns:
      The bytes for operationId.
    • getRunId

      public String getRunId()
       The run ID of the standalone Nexus operation.
       
      string run_id = 2;
      Specified by:
      getRunId in interface NexusOperationExecutionListInfoOrBuilder
      Returns:
      The runId.
    • getRunIdBytes

      public com.google.protobuf.ByteString getRunIdBytes()
       The run ID of the standalone Nexus operation.
       
      string run_id = 2;
      Specified by:
      getRunIdBytes in interface NexusOperationExecutionListInfoOrBuilder
      Returns:
      The bytes for runId.
    • getEndpoint

      public String getEndpoint()
       Endpoint name.
       
      string endpoint = 3;
      Specified by:
      getEndpoint in interface NexusOperationExecutionListInfoOrBuilder
      Returns:
      The endpoint.
    • getEndpointBytes

      public com.google.protobuf.ByteString getEndpointBytes()
       Endpoint name.
       
      string endpoint = 3;
      Specified by:
      getEndpointBytes in interface NexusOperationExecutionListInfoOrBuilder
      Returns:
      The bytes for endpoint.
    • getService

      public String getService()
       Service name.
       
      string service = 4;
      Specified by:
      getService in interface NexusOperationExecutionListInfoOrBuilder
      Returns:
      The service.
    • getServiceBytes

      public com.google.protobuf.ByteString getServiceBytes()
       Service name.
       
      string service = 4;
      Specified by:
      getServiceBytes in interface NexusOperationExecutionListInfoOrBuilder
      Returns:
      The bytes for service.
    • getOperation

      public String getOperation()
       Operation name.
       
      string operation = 5;
      Specified by:
      getOperation in interface NexusOperationExecutionListInfoOrBuilder
      Returns:
      The operation.
    • getOperationBytes

      public com.google.protobuf.ByteString getOperationBytes()
       Operation name.
       
      string operation = 5;
      Specified by:
      getOperationBytes in interface NexusOperationExecutionListInfoOrBuilder
      Returns:
      The bytes for operation.
    • hasScheduleTime

      public boolean hasScheduleTime()
       Time the operation was originally scheduled via a StartNexusOperation request.
       
      .google.protobuf.Timestamp schedule_time = 6;
      Specified by:
      hasScheduleTime in interface NexusOperationExecutionListInfoOrBuilder
      Returns:
      Whether the scheduleTime field is set.
    • getScheduleTime

      public com.google.protobuf.Timestamp getScheduleTime()
       Time the operation was originally scheduled via a StartNexusOperation request.
       
      .google.protobuf.Timestamp schedule_time = 6;
      Specified by:
      getScheduleTime in interface NexusOperationExecutionListInfoOrBuilder
      Returns:
      The scheduleTime.
    • getScheduleTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder()
       Time the operation was originally scheduled via a StartNexusOperation request.
       
      .google.protobuf.Timestamp schedule_time = 6;
      Specified by:
      getScheduleTimeOrBuilder in interface NexusOperationExecutionListInfoOrBuilder
    • hasCloseTime

      public boolean hasCloseTime()
       If the operation is in a terminal status, this field represents the time the operation transitioned to that status.
       
      .google.protobuf.Timestamp close_time = 7;
      Specified by:
      hasCloseTime in interface NexusOperationExecutionListInfoOrBuilder
      Returns:
      Whether the closeTime field is set.
    • getCloseTime

      public com.google.protobuf.Timestamp getCloseTime()
       If the operation is in a terminal status, this field represents the time the operation transitioned to that status.
       
      .google.protobuf.Timestamp close_time = 7;
      Specified by:
      getCloseTime in interface NexusOperationExecutionListInfoOrBuilder
      Returns:
      The closeTime.
    • getCloseTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCloseTimeOrBuilder()
       If the operation is in a terminal status, this field represents the time the operation transitioned to that status.
       
      .google.protobuf.Timestamp close_time = 7;
      Specified by:
      getCloseTimeOrBuilder in interface NexusOperationExecutionListInfoOrBuilder
    • getStatusValue

      public int getStatusValue()
       The status is updated once, when the operation is originally scheduled, and again when the operation reaches a terminal status.
       
      .temporal.api.enums.v1.NexusOperationExecutionStatus status = 8;
      Specified by:
      getStatusValue in interface NexusOperationExecutionListInfoOrBuilder
      Returns:
      The enum numeric value on the wire for status.
    • getStatus

      public NexusOperationExecutionStatus getStatus()
       The status is updated once, when the operation is originally scheduled, and again when the operation reaches a terminal status.
       
      .temporal.api.enums.v1.NexusOperationExecutionStatus status = 8;
      Specified by:
      getStatus in interface NexusOperationExecutionListInfoOrBuilder
      Returns:
      The status.
    • hasSearchAttributes

      public boolean hasSearchAttributes()
       Search attributes from the start request.
       
      .temporal.api.common.v1.SearchAttributes search_attributes = 9;
      Specified by:
      hasSearchAttributes in interface NexusOperationExecutionListInfoOrBuilder
      Returns:
      Whether the searchAttributes field is set.
    • getSearchAttributes

      public SearchAttributes getSearchAttributes()
       Search attributes from the start request.
       
      .temporal.api.common.v1.SearchAttributes search_attributes = 9;
      Specified by:
      getSearchAttributes in interface NexusOperationExecutionListInfoOrBuilder
      Returns:
      The searchAttributes.
    • getSearchAttributesOrBuilder

      public SearchAttributesOrBuilder getSearchAttributesOrBuilder()
       Search attributes from the start request.
       
      .temporal.api.common.v1.SearchAttributes search_attributes = 9;
      Specified by:
      getSearchAttributesOrBuilder in interface NexusOperationExecutionListInfoOrBuilder
    • getStateTransitionCount

      public long getStateTransitionCount()
       Updated on terminal status.
       
      int64 state_transition_count = 10;
      Specified by:
      getStateTransitionCount in interface NexusOperationExecutionListInfoOrBuilder
      Returns:
      The stateTransitionCount.
    • hasExecutionDuration

      public boolean hasExecutionDuration()
       The difference between close time and scheduled time.
       This field is only populated if the operation is closed.
       
      .google.protobuf.Duration execution_duration = 11;
      Specified by:
      hasExecutionDuration in interface NexusOperationExecutionListInfoOrBuilder
      Returns:
      Whether the executionDuration field is set.
    • getExecutionDuration

      public com.google.protobuf.Duration getExecutionDuration()
       The difference between close time and scheduled time.
       This field is only populated if the operation is closed.
       
      .google.protobuf.Duration execution_duration = 11;
      Specified by:
      getExecutionDuration in interface NexusOperationExecutionListInfoOrBuilder
      Returns:
      The executionDuration.
    • getExecutionDurationOrBuilder

      public com.google.protobuf.DurationOrBuilder getExecutionDurationOrBuilder()
       The difference between close time and scheduled time.
       This field is only populated if the operation is closed.
       
      .google.protobuf.Duration execution_duration = 11;
      Specified by:
      getExecutionDurationOrBuilder in interface NexusOperationExecutionListInfoOrBuilder
    • getStateSizeBytes

      public long getStateSizeBytes()
       Updated once on scheduled and once on terminal status.
       
      int64 state_size_bytes = 12;
      Specified by:
      getStateSizeBytes in interface NexusOperationExecutionListInfoOrBuilder
      Returns:
      The stateSizeBytes.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static NexusOperationExecutionListInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NexusOperationExecutionListInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NexusOperationExecutionListInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NexusOperationExecutionListInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NexusOperationExecutionListInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NexusOperationExecutionListInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NexusOperationExecutionListInfo parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static NexusOperationExecutionListInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static NexusOperationExecutionListInfo parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static NexusOperationExecutionListInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static NexusOperationExecutionListInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static NexusOperationExecutionListInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public NexusOperationExecutionListInfo.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static NexusOperationExecutionListInfo.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected NexusOperationExecutionListInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static NexusOperationExecutionListInfo getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<NexusOperationExecutionListInfo> parser()
    • getParserForType

      public com.google.protobuf.Parser<NexusOperationExecutionListInfo> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public NexusOperationExecutionListInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder