io.temporal.api.schedule.v1.IntervalSpec Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: temporal/api/schedule/v1/message.proto
package io.temporal.api.schedule.v1;
/**
*
* IntervalSpec matches times that can be expressed as:
* epoch + n * interval + phase
* where n is an integer.
* phase defaults to zero if missing. interval is required.
* Both interval and phase must be non-negative and are truncated to the nearest
* second before any calculations.
* For example, an interval of 1 hour with phase of zero would match every hour,
* on the hour. The same interval but a phase of 19 minutes would match every
* xx:19:00. An interval of 28 days with phase zero would match
* 2022-02-17T00:00:00Z (among other times). The same interval with a phase of 3
* days, 5 hours, and 23 minutes would match 2022-02-20T05:23:00Z instead.
*
*
* Protobuf type {@code temporal.api.schedule.v1.IntervalSpec}
*/
@javax.annotation.Generated(value="protoc", comments="annotations:IntervalSpec.java.pb.meta")
public final class IntervalSpec extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:temporal.api.schedule.v1.IntervalSpec)
IntervalSpecOrBuilder {
private static final long serialVersionUID = 0L;
// Use IntervalSpec.newBuilder() to construct.
private IntervalSpec(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private IntervalSpec() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new IntervalSpec();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private IntervalSpec(
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.Duration.Builder subBuilder = null;
if (interval_ != null) {
subBuilder = interval_.toBuilder();
}
interval_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(interval_);
interval_ = subBuilder.buildPartial();
}
break;
}
case 18: {
com.google.protobuf.Duration.Builder subBuilder = null;
if (phase_ != null) {
subBuilder = phase_.toBuilder();
}
phase_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(phase_);
phase_ = 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_IntervalSpec_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.temporal.api.schedule.v1.MessageProto.internal_static_temporal_api_schedule_v1_IntervalSpec_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.temporal.api.schedule.v1.IntervalSpec.class, io.temporal.api.schedule.v1.IntervalSpec.Builder.class);
}
public static final int INTERVAL_FIELD_NUMBER = 1;
private com.google.protobuf.Duration interval_;
/**
* .google.protobuf.Duration interval = 1 [(.gogoproto.stdduration) = true];
* @return Whether the interval field is set.
*/
public boolean hasInterval() {
return interval_ != null;
}
/**
* .google.protobuf.Duration interval = 1 [(.gogoproto.stdduration) = true];
* @return The interval.
*/
public com.google.protobuf.Duration getInterval() {
return interval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : interval_;
}
/**
* .google.protobuf.Duration interval = 1 [(.gogoproto.stdduration) = true];
*/
public com.google.protobuf.DurationOrBuilder getIntervalOrBuilder() {
return getInterval();
}
public static final int PHASE_FIELD_NUMBER = 2;
private com.google.protobuf.Duration phase_;
/**
* .google.protobuf.Duration phase = 2 [(.gogoproto.stdduration) = true];
* @return Whether the phase field is set.
*/
public boolean hasPhase() {
return phase_ != null;
}
/**
* .google.protobuf.Duration phase = 2 [(.gogoproto.stdduration) = true];
* @return The phase.
*/
public com.google.protobuf.Duration getPhase() {
return phase_ == null ? com.google.protobuf.Duration.getDefaultInstance() : phase_;
}
/**
* .google.protobuf.Duration phase = 2 [(.gogoproto.stdduration) = true];
*/
public com.google.protobuf.DurationOrBuilder getPhaseOrBuilder() {
return getPhase();
}
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 (interval_ != null) {
output.writeMessage(1, getInterval());
}
if (phase_ != null) {
output.writeMessage(2, getPhase());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (interval_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getInterval());
}
if (phase_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getPhase());
}
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.IntervalSpec)) {
return super.equals(obj);
}
io.temporal.api.schedule.v1.IntervalSpec other = (io.temporal.api.schedule.v1.IntervalSpec) obj;
if (hasInterval() != other.hasInterval()) return false;
if (hasInterval()) {
if (!getInterval()
.equals(other.getInterval())) return false;
}
if (hasPhase() != other.hasPhase()) return false;
if (hasPhase()) {
if (!getPhase()
.equals(other.getPhase())) 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 (hasInterval()) {
hash = (37 * hash) + INTERVAL_FIELD_NUMBER;
hash = (53 * hash) + getInterval().hashCode();
}
if (hasPhase()) {
hash = (37 * hash) + PHASE_FIELD_NUMBER;
hash = (53 * hash) + getPhase().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.temporal.api.schedule.v1.IntervalSpec parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.temporal.api.schedule.v1.IntervalSpec 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.IntervalSpec parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.temporal.api.schedule.v1.IntervalSpec 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.IntervalSpec parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.temporal.api.schedule.v1.IntervalSpec 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.IntervalSpec parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.temporal.api.schedule.v1.IntervalSpec 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.IntervalSpec parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.temporal.api.schedule.v1.IntervalSpec 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.IntervalSpec 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.IntervalSpec 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.IntervalSpec 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;
}
/**
*
* IntervalSpec matches times that can be expressed as:
* epoch + n * interval + phase
* where n is an integer.
* phase defaults to zero if missing. interval is required.
* Both interval and phase must be non-negative and are truncated to the nearest
* second before any calculations.
* For example, an interval of 1 hour with phase of zero would match every hour,
* on the hour. The same interval but a phase of 19 minutes would match every
* xx:19:00. An interval of 28 days with phase zero would match
* 2022-02-17T00:00:00Z (among other times). The same interval with a phase of 3
* days, 5 hours, and 23 minutes would match 2022-02-20T05:23:00Z instead.
*
*
* Protobuf type {@code temporal.api.schedule.v1.IntervalSpec}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:temporal.api.schedule.v1.IntervalSpec)
io.temporal.api.schedule.v1.IntervalSpecOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.temporal.api.schedule.v1.MessageProto.internal_static_temporal_api_schedule_v1_IntervalSpec_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.temporal.api.schedule.v1.MessageProto.internal_static_temporal_api_schedule_v1_IntervalSpec_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.temporal.api.schedule.v1.IntervalSpec.class, io.temporal.api.schedule.v1.IntervalSpec.Builder.class);
}
// Construct using io.temporal.api.schedule.v1.IntervalSpec.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 (intervalBuilder_ == null) {
interval_ = null;
} else {
interval_ = null;
intervalBuilder_ = null;
}
if (phaseBuilder_ == null) {
phase_ = null;
} else {
phase_ = null;
phaseBuilder_ = 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_IntervalSpec_descriptor;
}
@java.lang.Override
public io.temporal.api.schedule.v1.IntervalSpec getDefaultInstanceForType() {
return io.temporal.api.schedule.v1.IntervalSpec.getDefaultInstance();
}
@java.lang.Override
public io.temporal.api.schedule.v1.IntervalSpec build() {
io.temporal.api.schedule.v1.IntervalSpec result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.temporal.api.schedule.v1.IntervalSpec buildPartial() {
io.temporal.api.schedule.v1.IntervalSpec result = new io.temporal.api.schedule.v1.IntervalSpec(this);
if (intervalBuilder_ == null) {
result.interval_ = interval_;
} else {
result.interval_ = intervalBuilder_.build();
}
if (phaseBuilder_ == null) {
result.phase_ = phase_;
} else {
result.phase_ = phaseBuilder_.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.IntervalSpec) {
return mergeFrom((io.temporal.api.schedule.v1.IntervalSpec)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.temporal.api.schedule.v1.IntervalSpec other) {
if (other == io.temporal.api.schedule.v1.IntervalSpec.getDefaultInstance()) return this;
if (other.hasInterval()) {
mergeInterval(other.getInterval());
}
if (other.hasPhase()) {
mergePhase(other.getPhase());
}
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.IntervalSpec parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.temporal.api.schedule.v1.IntervalSpec) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.google.protobuf.Duration interval_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> intervalBuilder_;
/**
* .google.protobuf.Duration interval = 1 [(.gogoproto.stdduration) = true];
* @return Whether the interval field is set.
*/
public boolean hasInterval() {
return intervalBuilder_ != null || interval_ != null;
}
/**
* .google.protobuf.Duration interval = 1 [(.gogoproto.stdduration) = true];
* @return The interval.
*/
public com.google.protobuf.Duration getInterval() {
if (intervalBuilder_ == null) {
return interval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : interval_;
} else {
return intervalBuilder_.getMessage();
}
}
/**
* .google.protobuf.Duration interval = 1 [(.gogoproto.stdduration) = true];
*/
public Builder setInterval(com.google.protobuf.Duration value) {
if (intervalBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
interval_ = value;
onChanged();
} else {
intervalBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.Duration interval = 1 [(.gogoproto.stdduration) = true];
*/
public Builder setInterval(
com.google.protobuf.Duration.Builder builderForValue) {
if (intervalBuilder_ == null) {
interval_ = builderForValue.build();
onChanged();
} else {
intervalBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.Duration interval = 1 [(.gogoproto.stdduration) = true];
*/
public Builder mergeInterval(com.google.protobuf.Duration value) {
if (intervalBuilder_ == null) {
if (interval_ != null) {
interval_ =
com.google.protobuf.Duration.newBuilder(interval_).mergeFrom(value).buildPartial();
} else {
interval_ = value;
}
onChanged();
} else {
intervalBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.Duration interval = 1 [(.gogoproto.stdduration) = true];
*/
public Builder clearInterval() {
if (intervalBuilder_ == null) {
interval_ = null;
onChanged();
} else {
interval_ = null;
intervalBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.Duration interval = 1 [(.gogoproto.stdduration) = true];
*/
public com.google.protobuf.Duration.Builder getIntervalBuilder() {
onChanged();
return getIntervalFieldBuilder().getBuilder();
}
/**
* .google.protobuf.Duration interval = 1 [(.gogoproto.stdduration) = true];
*/
public com.google.protobuf.DurationOrBuilder getIntervalOrBuilder() {
if (intervalBuilder_ != null) {
return intervalBuilder_.getMessageOrBuilder();
} else {
return interval_ == null ?
com.google.protobuf.Duration.getDefaultInstance() : interval_;
}
}
/**
* .google.protobuf.Duration interval = 1 [(.gogoproto.stdduration) = true];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>
getIntervalFieldBuilder() {
if (intervalBuilder_ == null) {
intervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
getInterval(),
getParentForChildren(),
isClean());
interval_ = null;
}
return intervalBuilder_;
}
private com.google.protobuf.Duration phase_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> phaseBuilder_;
/**
* .google.protobuf.Duration phase = 2 [(.gogoproto.stdduration) = true];
* @return Whether the phase field is set.
*/
public boolean hasPhase() {
return phaseBuilder_ != null || phase_ != null;
}
/**
* .google.protobuf.Duration phase = 2 [(.gogoproto.stdduration) = true];
* @return The phase.
*/
public com.google.protobuf.Duration getPhase() {
if (phaseBuilder_ == null) {
return phase_ == null ? com.google.protobuf.Duration.getDefaultInstance() : phase_;
} else {
return phaseBuilder_.getMessage();
}
}
/**
* .google.protobuf.Duration phase = 2 [(.gogoproto.stdduration) = true];
*/
public Builder setPhase(com.google.protobuf.Duration value) {
if (phaseBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
phase_ = value;
onChanged();
} else {
phaseBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.Duration phase = 2 [(.gogoproto.stdduration) = true];
*/
public Builder setPhase(
com.google.protobuf.Duration.Builder builderForValue) {
if (phaseBuilder_ == null) {
phase_ = builderForValue.build();
onChanged();
} else {
phaseBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.Duration phase = 2 [(.gogoproto.stdduration) = true];
*/
public Builder mergePhase(com.google.protobuf.Duration value) {
if (phaseBuilder_ == null) {
if (phase_ != null) {
phase_ =
com.google.protobuf.Duration.newBuilder(phase_).mergeFrom(value).buildPartial();
} else {
phase_ = value;
}
onChanged();
} else {
phaseBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.Duration phase = 2 [(.gogoproto.stdduration) = true];
*/
public Builder clearPhase() {
if (phaseBuilder_ == null) {
phase_ = null;
onChanged();
} else {
phase_ = null;
phaseBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.Duration phase = 2 [(.gogoproto.stdduration) = true];
*/
public com.google.protobuf.Duration.Builder getPhaseBuilder() {
onChanged();
return getPhaseFieldBuilder().getBuilder();
}
/**
* .google.protobuf.Duration phase = 2 [(.gogoproto.stdduration) = true];
*/
public com.google.protobuf.DurationOrBuilder getPhaseOrBuilder() {
if (phaseBuilder_ != null) {
return phaseBuilder_.getMessageOrBuilder();
} else {
return phase_ == null ?
com.google.protobuf.Duration.getDefaultInstance() : phase_;
}
}
/**
* .google.protobuf.Duration phase = 2 [(.gogoproto.stdduration) = true];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>
getPhaseFieldBuilder() {
if (phaseBuilder_ == null) {
phaseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
getPhase(),
getParentForChildren(),
isClean());
phase_ = null;
}
return phaseBuilder_;
}
@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.IntervalSpec)
}
// @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.IntervalSpec)
private static final io.temporal.api.schedule.v1.IntervalSpec DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.temporal.api.schedule.v1.IntervalSpec();
}
public static io.temporal.api.schedule.v1.IntervalSpec getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public IntervalSpec parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new IntervalSpec(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.IntervalSpec getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy