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

io.temporal.api.command.v1.StartTimerCommandAttributes 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/command/v1/message.proto

package io.temporal.api.command.v1;

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

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private StartTimerCommandAttributes(
      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: {
            java.lang.String s = input.readStringRequireUtf8();

            timerId_ = s;
            break;
          }
          case 18: {
            com.google.protobuf.Duration.Builder subBuilder = null;
            if (startToFireTimeout_ != null) {
              subBuilder = startToFireTimeout_.toBuilder();
            }
            startToFireTimeout_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(startToFireTimeout_);
              startToFireTimeout_ = 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.command.v1.MessageProto.internal_static_temporal_api_command_v1_StartTimerCommandAttributes_descriptor;
  }

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

  public static final int TIMER_ID_FIELD_NUMBER = 1;
  private volatile java.lang.Object timerId_;
  /**
   * 
   * An id for the timer, currently live timers must have different ids. Typically autogenerated
   * by the SDK.
   * 
* * string timer_id = 1; * @return The timerId. */ public java.lang.String getTimerId() { java.lang.Object ref = timerId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timerId_ = s; return s; } } /** *
   * An id for the timer, currently live timers must have different ids. Typically autogenerated
   * by the SDK.
   * 
* * string timer_id = 1; * @return The bytes for timerId. */ public com.google.protobuf.ByteString getTimerIdBytes() { java.lang.Object ref = timerId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); timerId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int START_TO_FIRE_TIMEOUT_FIELD_NUMBER = 2; private com.google.protobuf.Duration startToFireTimeout_; /** *
   * How long until the timer fires, producing a `TIMER_FIRED` event.
   * (-- api-linter: core::0140::prepositions=disabled
   *     aip.dev/not-precedent: "to" is used to indicate interval. --)
   * 
* * .google.protobuf.Duration start_to_fire_timeout = 2 [(.gogoproto.stdduration) = true]; * @return Whether the startToFireTimeout field is set. */ public boolean hasStartToFireTimeout() { return startToFireTimeout_ != null; } /** *
   * How long until the timer fires, producing a `TIMER_FIRED` event.
   * (-- api-linter: core::0140::prepositions=disabled
   *     aip.dev/not-precedent: "to" is used to indicate interval. --)
   * 
* * .google.protobuf.Duration start_to_fire_timeout = 2 [(.gogoproto.stdduration) = true]; * @return The startToFireTimeout. */ public com.google.protobuf.Duration getStartToFireTimeout() { return startToFireTimeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : startToFireTimeout_; } /** *
   * How long until the timer fires, producing a `TIMER_FIRED` event.
   * (-- api-linter: core::0140::prepositions=disabled
   *     aip.dev/not-precedent: "to" is used to indicate interval. --)
   * 
* * .google.protobuf.Duration start_to_fire_timeout = 2 [(.gogoproto.stdduration) = true]; */ public com.google.protobuf.DurationOrBuilder getStartToFireTimeoutOrBuilder() { return getStartToFireTimeout(); } 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 (!getTimerIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, timerId_); } if (startToFireTimeout_ != null) { output.writeMessage(2, getStartToFireTimeout()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getTimerIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, timerId_); } if (startToFireTimeout_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getStartToFireTimeout()); } 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.command.v1.StartTimerCommandAttributes)) { return super.equals(obj); } io.temporal.api.command.v1.StartTimerCommandAttributes other = (io.temporal.api.command.v1.StartTimerCommandAttributes) obj; if (!getTimerId() .equals(other.getTimerId())) return false; if (hasStartToFireTimeout() != other.hasStartToFireTimeout()) return false; if (hasStartToFireTimeout()) { if (!getStartToFireTimeout() .equals(other.getStartToFireTimeout())) 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(); hash = (37 * hash) + TIMER_ID_FIELD_NUMBER; hash = (53 * hash) + getTimerId().hashCode(); if (hasStartToFireTimeout()) { hash = (37 * hash) + START_TO_FIRE_TIMEOUT_FIELD_NUMBER; hash = (53 * hash) + getStartToFireTimeout().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.temporal.api.command.v1.StartTimerCommandAttributes parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.temporal.api.command.v1.StartTimerCommandAttributes 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.command.v1.StartTimerCommandAttributes parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.temporal.api.command.v1.StartTimerCommandAttributes 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.command.v1.StartTimerCommandAttributes parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.temporal.api.command.v1.StartTimerCommandAttributes parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.temporal.api.command.v1.StartTimerCommandAttributes parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.temporal.api.command.v1.StartTimerCommandAttributes 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.command.v1.StartTimerCommandAttributes parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.temporal.api.command.v1.StartTimerCommandAttributes 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.command.v1.StartTimerCommandAttributes parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.temporal.api.command.v1.StartTimerCommandAttributes 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.command.v1.StartTimerCommandAttributes 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.command.v1.StartTimerCommandAttributes} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:temporal.api.command.v1.StartTimerCommandAttributes) io.temporal.api.command.v1.StartTimerCommandAttributesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.temporal.api.command.v1.MessageProto.internal_static_temporal_api_command_v1_StartTimerCommandAttributes_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.temporal.api.command.v1.MessageProto.internal_static_temporal_api_command_v1_StartTimerCommandAttributes_fieldAccessorTable .ensureFieldAccessorsInitialized( io.temporal.api.command.v1.StartTimerCommandAttributes.class, io.temporal.api.command.v1.StartTimerCommandAttributes.Builder.class); } // Construct using io.temporal.api.command.v1.StartTimerCommandAttributes.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(); timerId_ = ""; if (startToFireTimeoutBuilder_ == null) { startToFireTimeout_ = null; } else { startToFireTimeout_ = null; startToFireTimeoutBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.temporal.api.command.v1.MessageProto.internal_static_temporal_api_command_v1_StartTimerCommandAttributes_descriptor; } @java.lang.Override public io.temporal.api.command.v1.StartTimerCommandAttributes getDefaultInstanceForType() { return io.temporal.api.command.v1.StartTimerCommandAttributes.getDefaultInstance(); } @java.lang.Override public io.temporal.api.command.v1.StartTimerCommandAttributes build() { io.temporal.api.command.v1.StartTimerCommandAttributes result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.temporal.api.command.v1.StartTimerCommandAttributes buildPartial() { io.temporal.api.command.v1.StartTimerCommandAttributes result = new io.temporal.api.command.v1.StartTimerCommandAttributes(this); result.timerId_ = timerId_; if (startToFireTimeoutBuilder_ == null) { result.startToFireTimeout_ = startToFireTimeout_; } else { result.startToFireTimeout_ = startToFireTimeoutBuilder_.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.command.v1.StartTimerCommandAttributes) { return mergeFrom((io.temporal.api.command.v1.StartTimerCommandAttributes)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.temporal.api.command.v1.StartTimerCommandAttributes other) { if (other == io.temporal.api.command.v1.StartTimerCommandAttributes.getDefaultInstance()) return this; if (!other.getTimerId().isEmpty()) { timerId_ = other.timerId_; onChanged(); } if (other.hasStartToFireTimeout()) { mergeStartToFireTimeout(other.getStartToFireTimeout()); } 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.command.v1.StartTimerCommandAttributes parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.temporal.api.command.v1.StartTimerCommandAttributes) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object timerId_ = ""; /** *
     * An id for the timer, currently live timers must have different ids. Typically autogenerated
     * by the SDK.
     * 
* * string timer_id = 1; * @return The timerId. */ public java.lang.String getTimerId() { java.lang.Object ref = timerId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timerId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * An id for the timer, currently live timers must have different ids. Typically autogenerated
     * by the SDK.
     * 
* * string timer_id = 1; * @return The bytes for timerId. */ public com.google.protobuf.ByteString getTimerIdBytes() { java.lang.Object ref = timerId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); timerId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * An id for the timer, currently live timers must have different ids. Typically autogenerated
     * by the SDK.
     * 
* * string timer_id = 1; * @param value The timerId to set. * @return This builder for chaining. */ public Builder setTimerId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } timerId_ = value; onChanged(); return this; } /** *
     * An id for the timer, currently live timers must have different ids. Typically autogenerated
     * by the SDK.
     * 
* * string timer_id = 1; * @return This builder for chaining. */ public Builder clearTimerId() { timerId_ = getDefaultInstance().getTimerId(); onChanged(); return this; } /** *
     * An id for the timer, currently live timers must have different ids. Typically autogenerated
     * by the SDK.
     * 
* * string timer_id = 1; * @param value The bytes for timerId to set. * @return This builder for chaining. */ public Builder setTimerIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); timerId_ = value; onChanged(); return this; } private com.google.protobuf.Duration startToFireTimeout_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> startToFireTimeoutBuilder_; /** *
     * How long until the timer fires, producing a `TIMER_FIRED` event.
     * (-- api-linter: core::0140::prepositions=disabled
     *     aip.dev/not-precedent: "to" is used to indicate interval. --)
     * 
* * .google.protobuf.Duration start_to_fire_timeout = 2 [(.gogoproto.stdduration) = true]; * @return Whether the startToFireTimeout field is set. */ public boolean hasStartToFireTimeout() { return startToFireTimeoutBuilder_ != null || startToFireTimeout_ != null; } /** *
     * How long until the timer fires, producing a `TIMER_FIRED` event.
     * (-- api-linter: core::0140::prepositions=disabled
     *     aip.dev/not-precedent: "to" is used to indicate interval. --)
     * 
* * .google.protobuf.Duration start_to_fire_timeout = 2 [(.gogoproto.stdduration) = true]; * @return The startToFireTimeout. */ public com.google.protobuf.Duration getStartToFireTimeout() { if (startToFireTimeoutBuilder_ == null) { return startToFireTimeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : startToFireTimeout_; } else { return startToFireTimeoutBuilder_.getMessage(); } } /** *
     * How long until the timer fires, producing a `TIMER_FIRED` event.
     * (-- api-linter: core::0140::prepositions=disabled
     *     aip.dev/not-precedent: "to" is used to indicate interval. --)
     * 
* * .google.protobuf.Duration start_to_fire_timeout = 2 [(.gogoproto.stdduration) = true]; */ public Builder setStartToFireTimeout(com.google.protobuf.Duration value) { if (startToFireTimeoutBuilder_ == null) { if (value == null) { throw new NullPointerException(); } startToFireTimeout_ = value; onChanged(); } else { startToFireTimeoutBuilder_.setMessage(value); } return this; } /** *
     * How long until the timer fires, producing a `TIMER_FIRED` event.
     * (-- api-linter: core::0140::prepositions=disabled
     *     aip.dev/not-precedent: "to" is used to indicate interval. --)
     * 
* * .google.protobuf.Duration start_to_fire_timeout = 2 [(.gogoproto.stdduration) = true]; */ public Builder setStartToFireTimeout( com.google.protobuf.Duration.Builder builderForValue) { if (startToFireTimeoutBuilder_ == null) { startToFireTimeout_ = builderForValue.build(); onChanged(); } else { startToFireTimeoutBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * How long until the timer fires, producing a `TIMER_FIRED` event.
     * (-- api-linter: core::0140::prepositions=disabled
     *     aip.dev/not-precedent: "to" is used to indicate interval. --)
     * 
* * .google.protobuf.Duration start_to_fire_timeout = 2 [(.gogoproto.stdduration) = true]; */ public Builder mergeStartToFireTimeout(com.google.protobuf.Duration value) { if (startToFireTimeoutBuilder_ == null) { if (startToFireTimeout_ != null) { startToFireTimeout_ = com.google.protobuf.Duration.newBuilder(startToFireTimeout_).mergeFrom(value).buildPartial(); } else { startToFireTimeout_ = value; } onChanged(); } else { startToFireTimeoutBuilder_.mergeFrom(value); } return this; } /** *
     * How long until the timer fires, producing a `TIMER_FIRED` event.
     * (-- api-linter: core::0140::prepositions=disabled
     *     aip.dev/not-precedent: "to" is used to indicate interval. --)
     * 
* * .google.protobuf.Duration start_to_fire_timeout = 2 [(.gogoproto.stdduration) = true]; */ public Builder clearStartToFireTimeout() { if (startToFireTimeoutBuilder_ == null) { startToFireTimeout_ = null; onChanged(); } else { startToFireTimeout_ = null; startToFireTimeoutBuilder_ = null; } return this; } /** *
     * How long until the timer fires, producing a `TIMER_FIRED` event.
     * (-- api-linter: core::0140::prepositions=disabled
     *     aip.dev/not-precedent: "to" is used to indicate interval. --)
     * 
* * .google.protobuf.Duration start_to_fire_timeout = 2 [(.gogoproto.stdduration) = true]; */ public com.google.protobuf.Duration.Builder getStartToFireTimeoutBuilder() { onChanged(); return getStartToFireTimeoutFieldBuilder().getBuilder(); } /** *
     * How long until the timer fires, producing a `TIMER_FIRED` event.
     * (-- api-linter: core::0140::prepositions=disabled
     *     aip.dev/not-precedent: "to" is used to indicate interval. --)
     * 
* * .google.protobuf.Duration start_to_fire_timeout = 2 [(.gogoproto.stdduration) = true]; */ public com.google.protobuf.DurationOrBuilder getStartToFireTimeoutOrBuilder() { if (startToFireTimeoutBuilder_ != null) { return startToFireTimeoutBuilder_.getMessageOrBuilder(); } else { return startToFireTimeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : startToFireTimeout_; } } /** *
     * How long until the timer fires, producing a `TIMER_FIRED` event.
     * (-- api-linter: core::0140::prepositions=disabled
     *     aip.dev/not-precedent: "to" is used to indicate interval. --)
     * 
* * .google.protobuf.Duration start_to_fire_timeout = 2 [(.gogoproto.stdduration) = true]; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getStartToFireTimeoutFieldBuilder() { if (startToFireTimeoutBuilder_ == null) { startToFireTimeoutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( getStartToFireTimeout(), getParentForChildren(), isClean()); startToFireTimeout_ = null; } return startToFireTimeoutBuilder_; } @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.command.v1.StartTimerCommandAttributes) } // @@protoc_insertion_point(class_scope:temporal.api.command.v1.StartTimerCommandAttributes) private static final io.temporal.api.command.v1.StartTimerCommandAttributes DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.temporal.api.command.v1.StartTimerCommandAttributes(); } public static io.temporal.api.command.v1.StartTimerCommandAttributes getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public StartTimerCommandAttributes parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new StartTimerCommandAttributes(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.command.v1.StartTimerCommandAttributes getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy