All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.temporal.api.schedule.v1.ScheduleActionResult Maven / Gradle / Ivy

There is a newer version: 1.27.0
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: temporal/api/schedule/v1/message.proto

package io.temporal.api.schedule.v1;

/**
 * Protobuf type {@code temporal.api.schedule.v1.ScheduleActionResult}
 */
@javax.annotation.Generated(value="protoc", comments="annotations:ScheduleActionResult.java.pb.meta")
public  final class ScheduleActionResult extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:temporal.api.schedule.v1.ScheduleActionResult)
    ScheduleActionResultOrBuilder {
private static final long serialVersionUID = 0L;
  // Use ScheduleActionResult.newBuilder() to construct.
  private ScheduleActionResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private ScheduleActionResult() {
  }

  @java.lang.Override
  @SuppressWarnings({"unused"})
  protected java.lang.Object newInstance(
      UnusedPrivateParameter unused) {
    return new ScheduleActionResult();
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private ScheduleActionResult(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new java.lang.NullPointerException();
    }
    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
        com.google.protobuf.UnknownFieldSet.newBuilder();
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          case 10: {
            com.google.protobuf.Timestamp.Builder subBuilder = null;
            if (scheduleTime_ != null) {
              subBuilder = scheduleTime_.toBuilder();
            }
            scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(scheduleTime_);
              scheduleTime_ = subBuilder.buildPartial();
            }

            break;
          }
          case 18: {
            com.google.protobuf.Timestamp.Builder subBuilder = null;
            if (actualTime_ != null) {
              subBuilder = actualTime_.toBuilder();
            }
            actualTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(actualTime_);
              actualTime_ = subBuilder.buildPartial();
            }

            break;
          }
          case 90: {
            io.temporal.api.common.v1.WorkflowExecution.Builder subBuilder = null;
            if (startWorkflowResult_ != null) {
              subBuilder = startWorkflowResult_.toBuilder();
            }
            startWorkflowResult_ = input.readMessage(io.temporal.api.common.v1.WorkflowExecution.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(startWorkflowResult_);
              startWorkflowResult_ = subBuilder.buildPartial();
            }

            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return io.temporal.api.schedule.v1.MessageProto.internal_static_temporal_api_schedule_v1_ScheduleActionResult_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return io.temporal.api.schedule.v1.MessageProto.internal_static_temporal_api_schedule_v1_ScheduleActionResult_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            io.temporal.api.schedule.v1.ScheduleActionResult.class, io.temporal.api.schedule.v1.ScheduleActionResult.Builder.class);
  }

  public static final int SCHEDULE_TIME_FIELD_NUMBER = 1;
  private com.google.protobuf.Timestamp scheduleTime_;
  /**
   * 
   * Time that the action was taken (according to the schedule, including jitter).
   * 
* * .google.protobuf.Timestamp schedule_time = 1 [(.gogoproto.stdtime) = true]; * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** *
   * Time that the action was taken (according to the schedule, including jitter).
   * 
* * .google.protobuf.Timestamp schedule_time = 1 [(.gogoproto.stdtime) = true]; * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } /** *
   * Time that the action was taken (according to the schedule, including jitter).
   * 
* * .google.protobuf.Timestamp schedule_time = 1 [(.gogoproto.stdtime) = true]; */ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { return getScheduleTime(); } public static final int ACTUAL_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp actualTime_; /** *
   * Time that the action was taken (real time).
   * 
* * .google.protobuf.Timestamp actual_time = 2 [(.gogoproto.stdtime) = true]; * @return Whether the actualTime field is set. */ public boolean hasActualTime() { return actualTime_ != null; } /** *
   * Time that the action was taken (real time).
   * 
* * .google.protobuf.Timestamp actual_time = 2 [(.gogoproto.stdtime) = true]; * @return The actualTime. */ public com.google.protobuf.Timestamp getActualTime() { return actualTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : actualTime_; } /** *
   * Time that the action was taken (real time).
   * 
* * .google.protobuf.Timestamp actual_time = 2 [(.gogoproto.stdtime) = true]; */ public com.google.protobuf.TimestampOrBuilder getActualTimeOrBuilder() { return getActualTime(); } public static final int START_WORKFLOW_RESULT_FIELD_NUMBER = 11; private io.temporal.api.common.v1.WorkflowExecution startWorkflowResult_; /** *
   * If action was start_workflow:
   * 
* * .temporal.api.common.v1.WorkflowExecution start_workflow_result = 11; * @return Whether the startWorkflowResult field is set. */ public boolean hasStartWorkflowResult() { return startWorkflowResult_ != null; } /** *
   * If action was start_workflow:
   * 
* * .temporal.api.common.v1.WorkflowExecution start_workflow_result = 11; * @return The startWorkflowResult. */ public io.temporal.api.common.v1.WorkflowExecution getStartWorkflowResult() { return startWorkflowResult_ == null ? io.temporal.api.common.v1.WorkflowExecution.getDefaultInstance() : startWorkflowResult_; } /** *
   * If action was start_workflow:
   * 
* * .temporal.api.common.v1.WorkflowExecution start_workflow_result = 11; */ public io.temporal.api.common.v1.WorkflowExecutionOrBuilder getStartWorkflowResultOrBuilder() { return getStartWorkflowResult(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (scheduleTime_ != null) { output.writeMessage(1, getScheduleTime()); } if (actualTime_ != null) { output.writeMessage(2, getActualTime()); } if (startWorkflowResult_ != null) { output.writeMessage(11, getStartWorkflowResult()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (scheduleTime_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getScheduleTime()); } if (actualTime_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getActualTime()); } if (startWorkflowResult_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, getStartWorkflowResult()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.temporal.api.schedule.v1.ScheduleActionResult)) { return super.equals(obj); } io.temporal.api.schedule.v1.ScheduleActionResult other = (io.temporal.api.schedule.v1.ScheduleActionResult) obj; if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { if (!getScheduleTime() .equals(other.getScheduleTime())) return false; } if (hasActualTime() != other.hasActualTime()) return false; if (hasActualTime()) { if (!getActualTime() .equals(other.getActualTime())) return false; } if (hasStartWorkflowResult() != other.hasStartWorkflowResult()) return false; if (hasStartWorkflowResult()) { if (!getStartWorkflowResult() .equals(other.getStartWorkflowResult())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasScheduleTime()) { hash = (37 * hash) + SCHEDULE_TIME_FIELD_NUMBER; hash = (53 * hash) + getScheduleTime().hashCode(); } if (hasActualTime()) { hash = (37 * hash) + ACTUAL_TIME_FIELD_NUMBER; hash = (53 * hash) + getActualTime().hashCode(); } if (hasStartWorkflowResult()) { hash = (37 * hash) + START_WORKFLOW_RESULT_FIELD_NUMBER; hash = (53 * hash) + getStartWorkflowResult().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.temporal.api.schedule.v1.ScheduleActionResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.temporal.api.schedule.v1.ScheduleActionResult parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.temporal.api.schedule.v1.ScheduleActionResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.temporal.api.schedule.v1.ScheduleActionResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.temporal.api.schedule.v1.ScheduleActionResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.temporal.api.schedule.v1.ScheduleActionResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.temporal.api.schedule.v1.ScheduleActionResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.temporal.api.schedule.v1.ScheduleActionResult parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.temporal.api.schedule.v1.ScheduleActionResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.temporal.api.schedule.v1.ScheduleActionResult parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.temporal.api.schedule.v1.ScheduleActionResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.temporal.api.schedule.v1.ScheduleActionResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.temporal.api.schedule.v1.ScheduleActionResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code temporal.api.schedule.v1.ScheduleActionResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:temporal.api.schedule.v1.ScheduleActionResult) io.temporal.api.schedule.v1.ScheduleActionResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.temporal.api.schedule.v1.MessageProto.internal_static_temporal_api_schedule_v1_ScheduleActionResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.temporal.api.schedule.v1.MessageProto.internal_static_temporal_api_schedule_v1_ScheduleActionResult_fieldAccessorTable .ensureFieldAccessorsInitialized( io.temporal.api.schedule.v1.ScheduleActionResult.class, io.temporal.api.schedule.v1.ScheduleActionResult.Builder.class); } // Construct using io.temporal.api.schedule.v1.ScheduleActionResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (scheduleTimeBuilder_ == null) { scheduleTime_ = null; } else { scheduleTime_ = null; scheduleTimeBuilder_ = null; } if (actualTimeBuilder_ == null) { actualTime_ = null; } else { actualTime_ = null; actualTimeBuilder_ = null; } if (startWorkflowResultBuilder_ == null) { startWorkflowResult_ = null; } else { startWorkflowResult_ = null; startWorkflowResultBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.temporal.api.schedule.v1.MessageProto.internal_static_temporal_api_schedule_v1_ScheduleActionResult_descriptor; } @java.lang.Override public io.temporal.api.schedule.v1.ScheduleActionResult getDefaultInstanceForType() { return io.temporal.api.schedule.v1.ScheduleActionResult.getDefaultInstance(); } @java.lang.Override public io.temporal.api.schedule.v1.ScheduleActionResult build() { io.temporal.api.schedule.v1.ScheduleActionResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.temporal.api.schedule.v1.ScheduleActionResult buildPartial() { io.temporal.api.schedule.v1.ScheduleActionResult result = new io.temporal.api.schedule.v1.ScheduleActionResult(this); if (scheduleTimeBuilder_ == null) { result.scheduleTime_ = scheduleTime_; } else { result.scheduleTime_ = scheduleTimeBuilder_.build(); } if (actualTimeBuilder_ == null) { result.actualTime_ = actualTime_; } else { result.actualTime_ = actualTimeBuilder_.build(); } if (startWorkflowResultBuilder_ == null) { result.startWorkflowResult_ = startWorkflowResult_; } else { result.startWorkflowResult_ = startWorkflowResultBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.temporal.api.schedule.v1.ScheduleActionResult) { return mergeFrom((io.temporal.api.schedule.v1.ScheduleActionResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.temporal.api.schedule.v1.ScheduleActionResult other) { if (other == io.temporal.api.schedule.v1.ScheduleActionResult.getDefaultInstance()) return this; if (other.hasScheduleTime()) { mergeScheduleTime(other.getScheduleTime()); } if (other.hasActualTime()) { mergeActualTime(other.getActualTime()); } if (other.hasStartWorkflowResult()) { mergeStartWorkflowResult(other.getStartWorkflowResult()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.temporal.api.schedule.v1.ScheduleActionResult parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.temporal.api.schedule.v1.ScheduleActionResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; /** *
     * Time that the action was taken (according to the schedule, including jitter).
     * 
* * .google.protobuf.Timestamp schedule_time = 1 [(.gogoproto.stdtime) = true]; * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** *
     * Time that the action was taken (according to the schedule, including jitter).
     * 
* * .google.protobuf.Timestamp schedule_time = 1 [(.gogoproto.stdtime) = true]; * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** *
     * Time that the action was taken (according to the schedule, including jitter).
     * 
* * .google.protobuf.Timestamp schedule_time = 1 [(.gogoproto.stdtime) = true]; */ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } scheduleTime_ = value; onChanged(); } else { scheduleTimeBuilder_.setMessage(value); } return this; } /** *
     * Time that the action was taken (according to the schedule, including jitter).
     * 
* * .google.protobuf.Timestamp schedule_time = 1 [(.gogoproto.stdtime) = true]; */ public Builder setScheduleTime( com.google.protobuf.Timestamp.Builder builderForValue) { if (scheduleTimeBuilder_ == null) { scheduleTime_ = builderForValue.build(); onChanged(); } else { scheduleTimeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Time that the action was taken (according to the schedule, including jitter).
     * 
* * .google.protobuf.Timestamp schedule_time = 1 [(.gogoproto.stdtime) = true]; */ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { if (scheduleTime_ != null) { scheduleTime_ = com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial(); } else { scheduleTime_ = value; } onChanged(); } else { scheduleTimeBuilder_.mergeFrom(value); } return this; } /** *
     * Time that the action was taken (according to the schedule, including jitter).
     * 
* * .google.protobuf.Timestamp schedule_time = 1 [(.gogoproto.stdtime) = true]; */ public Builder clearScheduleTime() { if (scheduleTimeBuilder_ == null) { scheduleTime_ = null; onChanged(); } else { scheduleTime_ = null; scheduleTimeBuilder_ = null; } return this; } /** *
     * Time that the action was taken (according to the schedule, including jitter).
     * 
* * .google.protobuf.Timestamp schedule_time = 1 [(.gogoproto.stdtime) = true]; */ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() { onChanged(); return getScheduleTimeFieldBuilder().getBuilder(); } /** *
     * Time that the action was taken (according to the schedule, including jitter).
     * 
* * .google.protobuf.Timestamp schedule_time = 1 [(.gogoproto.stdtime) = true]; */ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { if (scheduleTimeBuilder_ != null) { return scheduleTimeBuilder_.getMessageOrBuilder(); } else { return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } } /** *
     * Time that the action was taken (according to the schedule, including jitter).
     * 
* * .google.protobuf.Timestamp schedule_time = 1 [(.gogoproto.stdtime) = true]; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getScheduleTimeFieldBuilder() { if (scheduleTimeBuilder_ == null) { scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getScheduleTime(), getParentForChildren(), isClean()); scheduleTime_ = null; } return scheduleTimeBuilder_; } private com.google.protobuf.Timestamp actualTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> actualTimeBuilder_; /** *
     * Time that the action was taken (real time).
     * 
* * .google.protobuf.Timestamp actual_time = 2 [(.gogoproto.stdtime) = true]; * @return Whether the actualTime field is set. */ public boolean hasActualTime() { return actualTimeBuilder_ != null || actualTime_ != null; } /** *
     * Time that the action was taken (real time).
     * 
* * .google.protobuf.Timestamp actual_time = 2 [(.gogoproto.stdtime) = true]; * @return The actualTime. */ public com.google.protobuf.Timestamp getActualTime() { if (actualTimeBuilder_ == null) { return actualTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : actualTime_; } else { return actualTimeBuilder_.getMessage(); } } /** *
     * Time that the action was taken (real time).
     * 
* * .google.protobuf.Timestamp actual_time = 2 [(.gogoproto.stdtime) = true]; */ public Builder setActualTime(com.google.protobuf.Timestamp value) { if (actualTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } actualTime_ = value; onChanged(); } else { actualTimeBuilder_.setMessage(value); } return this; } /** *
     * Time that the action was taken (real time).
     * 
* * .google.protobuf.Timestamp actual_time = 2 [(.gogoproto.stdtime) = true]; */ public Builder setActualTime( com.google.protobuf.Timestamp.Builder builderForValue) { if (actualTimeBuilder_ == null) { actualTime_ = builderForValue.build(); onChanged(); } else { actualTimeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Time that the action was taken (real time).
     * 
* * .google.protobuf.Timestamp actual_time = 2 [(.gogoproto.stdtime) = true]; */ public Builder mergeActualTime(com.google.protobuf.Timestamp value) { if (actualTimeBuilder_ == null) { if (actualTime_ != null) { actualTime_ = com.google.protobuf.Timestamp.newBuilder(actualTime_).mergeFrom(value).buildPartial(); } else { actualTime_ = value; } onChanged(); } else { actualTimeBuilder_.mergeFrom(value); } return this; } /** *
     * Time that the action was taken (real time).
     * 
* * .google.protobuf.Timestamp actual_time = 2 [(.gogoproto.stdtime) = true]; */ public Builder clearActualTime() { if (actualTimeBuilder_ == null) { actualTime_ = null; onChanged(); } else { actualTime_ = null; actualTimeBuilder_ = null; } return this; } /** *
     * Time that the action was taken (real time).
     * 
* * .google.protobuf.Timestamp actual_time = 2 [(.gogoproto.stdtime) = true]; */ public com.google.protobuf.Timestamp.Builder getActualTimeBuilder() { onChanged(); return getActualTimeFieldBuilder().getBuilder(); } /** *
     * Time that the action was taken (real time).
     * 
* * .google.protobuf.Timestamp actual_time = 2 [(.gogoproto.stdtime) = true]; */ public com.google.protobuf.TimestampOrBuilder getActualTimeOrBuilder() { if (actualTimeBuilder_ != null) { return actualTimeBuilder_.getMessageOrBuilder(); } else { return actualTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : actualTime_; } } /** *
     * Time that the action was taken (real time).
     * 
* * .google.protobuf.Timestamp actual_time = 2 [(.gogoproto.stdtime) = true]; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getActualTimeFieldBuilder() { if (actualTimeBuilder_ == null) { actualTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getActualTime(), getParentForChildren(), isClean()); actualTime_ = null; } return actualTimeBuilder_; } private io.temporal.api.common.v1.WorkflowExecution startWorkflowResult_; private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.common.v1.WorkflowExecution, io.temporal.api.common.v1.WorkflowExecution.Builder, io.temporal.api.common.v1.WorkflowExecutionOrBuilder> startWorkflowResultBuilder_; /** *
     * If action was start_workflow:
     * 
* * .temporal.api.common.v1.WorkflowExecution start_workflow_result = 11; * @return Whether the startWorkflowResult field is set. */ public boolean hasStartWorkflowResult() { return startWorkflowResultBuilder_ != null || startWorkflowResult_ != null; } /** *
     * If action was start_workflow:
     * 
* * .temporal.api.common.v1.WorkflowExecution start_workflow_result = 11; * @return The startWorkflowResult. */ public io.temporal.api.common.v1.WorkflowExecution getStartWorkflowResult() { if (startWorkflowResultBuilder_ == null) { return startWorkflowResult_ == null ? io.temporal.api.common.v1.WorkflowExecution.getDefaultInstance() : startWorkflowResult_; } else { return startWorkflowResultBuilder_.getMessage(); } } /** *
     * If action was start_workflow:
     * 
* * .temporal.api.common.v1.WorkflowExecution start_workflow_result = 11; */ public Builder setStartWorkflowResult(io.temporal.api.common.v1.WorkflowExecution value) { if (startWorkflowResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); } startWorkflowResult_ = value; onChanged(); } else { startWorkflowResultBuilder_.setMessage(value); } return this; } /** *
     * If action was start_workflow:
     * 
* * .temporal.api.common.v1.WorkflowExecution start_workflow_result = 11; */ public Builder setStartWorkflowResult( io.temporal.api.common.v1.WorkflowExecution.Builder builderForValue) { if (startWorkflowResultBuilder_ == null) { startWorkflowResult_ = builderForValue.build(); onChanged(); } else { startWorkflowResultBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * If action was start_workflow:
     * 
* * .temporal.api.common.v1.WorkflowExecution start_workflow_result = 11; */ public Builder mergeStartWorkflowResult(io.temporal.api.common.v1.WorkflowExecution value) { if (startWorkflowResultBuilder_ == null) { if (startWorkflowResult_ != null) { startWorkflowResult_ = io.temporal.api.common.v1.WorkflowExecution.newBuilder(startWorkflowResult_).mergeFrom(value).buildPartial(); } else { startWorkflowResult_ = value; } onChanged(); } else { startWorkflowResultBuilder_.mergeFrom(value); } return this; } /** *
     * If action was start_workflow:
     * 
* * .temporal.api.common.v1.WorkflowExecution start_workflow_result = 11; */ public Builder clearStartWorkflowResult() { if (startWorkflowResultBuilder_ == null) { startWorkflowResult_ = null; onChanged(); } else { startWorkflowResult_ = null; startWorkflowResultBuilder_ = null; } return this; } /** *
     * If action was start_workflow:
     * 
* * .temporal.api.common.v1.WorkflowExecution start_workflow_result = 11; */ public io.temporal.api.common.v1.WorkflowExecution.Builder getStartWorkflowResultBuilder() { onChanged(); return getStartWorkflowResultFieldBuilder().getBuilder(); } /** *
     * If action was start_workflow:
     * 
* * .temporal.api.common.v1.WorkflowExecution start_workflow_result = 11; */ public io.temporal.api.common.v1.WorkflowExecutionOrBuilder getStartWorkflowResultOrBuilder() { if (startWorkflowResultBuilder_ != null) { return startWorkflowResultBuilder_.getMessageOrBuilder(); } else { return startWorkflowResult_ == null ? io.temporal.api.common.v1.WorkflowExecution.getDefaultInstance() : startWorkflowResult_; } } /** *
     * If action was start_workflow:
     * 
* * .temporal.api.common.v1.WorkflowExecution start_workflow_result = 11; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.common.v1.WorkflowExecution, io.temporal.api.common.v1.WorkflowExecution.Builder, io.temporal.api.common.v1.WorkflowExecutionOrBuilder> getStartWorkflowResultFieldBuilder() { if (startWorkflowResultBuilder_ == null) { startWorkflowResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.common.v1.WorkflowExecution, io.temporal.api.common.v1.WorkflowExecution.Builder, io.temporal.api.common.v1.WorkflowExecutionOrBuilder>( getStartWorkflowResult(), getParentForChildren(), isClean()); startWorkflowResult_ = null; } return startWorkflowResultBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:temporal.api.schedule.v1.ScheduleActionResult) } // @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.ScheduleActionResult) private static final io.temporal.api.schedule.v1.ScheduleActionResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.temporal.api.schedule.v1.ScheduleActionResult(); } public static io.temporal.api.schedule.v1.ScheduleActionResult getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ScheduleActionResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ScheduleActionResult(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.temporal.api.schedule.v1.ScheduleActionResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy