io.temporal.api.taskqueue.v1.TaskQueueStatus Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: temporal/api/taskqueue/v1/message.proto
package io.temporal.api.taskqueue.v1;
/**
* Protobuf type {@code temporal.api.taskqueue.v1.TaskQueueStatus}
*/
@javax.annotation.Generated(value="protoc", comments="annotations:TaskQueueStatus.java.pb.meta")
public final class TaskQueueStatus extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:temporal.api.taskqueue.v1.TaskQueueStatus)
TaskQueueStatusOrBuilder {
private static final long serialVersionUID = 0L;
// Use TaskQueueStatus.newBuilder() to construct.
private TaskQueueStatus(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private TaskQueueStatus() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TaskQueueStatus();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TaskQueueStatus(
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 8: {
backlogCountHint_ = input.readInt64();
break;
}
case 16: {
readLevel_ = input.readInt64();
break;
}
case 24: {
ackLevel_ = input.readInt64();
break;
}
case 33: {
ratePerSecond_ = input.readDouble();
break;
}
case 42: {
io.temporal.api.taskqueue.v1.TaskIdBlock.Builder subBuilder = null;
if (taskIdBlock_ != null) {
subBuilder = taskIdBlock_.toBuilder();
}
taskIdBlock_ = input.readMessage(io.temporal.api.taskqueue.v1.TaskIdBlock.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(taskIdBlock_);
taskIdBlock_ = 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.taskqueue.v1.MessageProto.internal_static_temporal_api_taskqueue_v1_TaskQueueStatus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.temporal.api.taskqueue.v1.MessageProto.internal_static_temporal_api_taskqueue_v1_TaskQueueStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.temporal.api.taskqueue.v1.TaskQueueStatus.class, io.temporal.api.taskqueue.v1.TaskQueueStatus.Builder.class);
}
public static final int BACKLOG_COUNT_HINT_FIELD_NUMBER = 1;
private long backlogCountHint_;
/**
* int64 backlog_count_hint = 1;
* @return The backlogCountHint.
*/
public long getBacklogCountHint() {
return backlogCountHint_;
}
public static final int READ_LEVEL_FIELD_NUMBER = 2;
private long readLevel_;
/**
* int64 read_level = 2;
* @return The readLevel.
*/
public long getReadLevel() {
return readLevel_;
}
public static final int ACK_LEVEL_FIELD_NUMBER = 3;
private long ackLevel_;
/**
* int64 ack_level = 3;
* @return The ackLevel.
*/
public long getAckLevel() {
return ackLevel_;
}
public static final int RATE_PER_SECOND_FIELD_NUMBER = 4;
private double ratePerSecond_;
/**
* double rate_per_second = 4;
* @return The ratePerSecond.
*/
public double getRatePerSecond() {
return ratePerSecond_;
}
public static final int TASK_ID_BLOCK_FIELD_NUMBER = 5;
private io.temporal.api.taskqueue.v1.TaskIdBlock taskIdBlock_;
/**
* .temporal.api.taskqueue.v1.TaskIdBlock task_id_block = 5;
* @return Whether the taskIdBlock field is set.
*/
public boolean hasTaskIdBlock() {
return taskIdBlock_ != null;
}
/**
* .temporal.api.taskqueue.v1.TaskIdBlock task_id_block = 5;
* @return The taskIdBlock.
*/
public io.temporal.api.taskqueue.v1.TaskIdBlock getTaskIdBlock() {
return taskIdBlock_ == null ? io.temporal.api.taskqueue.v1.TaskIdBlock.getDefaultInstance() : taskIdBlock_;
}
/**
* .temporal.api.taskqueue.v1.TaskIdBlock task_id_block = 5;
*/
public io.temporal.api.taskqueue.v1.TaskIdBlockOrBuilder getTaskIdBlockOrBuilder() {
return getTaskIdBlock();
}
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 (backlogCountHint_ != 0L) {
output.writeInt64(1, backlogCountHint_);
}
if (readLevel_ != 0L) {
output.writeInt64(2, readLevel_);
}
if (ackLevel_ != 0L) {
output.writeInt64(3, ackLevel_);
}
if (ratePerSecond_ != 0D) {
output.writeDouble(4, ratePerSecond_);
}
if (taskIdBlock_ != null) {
output.writeMessage(5, getTaskIdBlock());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (backlogCountHint_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, backlogCountHint_);
}
if (readLevel_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, readLevel_);
}
if (ackLevel_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, ackLevel_);
}
if (ratePerSecond_ != 0D) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(4, ratePerSecond_);
}
if (taskIdBlock_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getTaskIdBlock());
}
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.taskqueue.v1.TaskQueueStatus)) {
return super.equals(obj);
}
io.temporal.api.taskqueue.v1.TaskQueueStatus other = (io.temporal.api.taskqueue.v1.TaskQueueStatus) obj;
if (getBacklogCountHint()
!= other.getBacklogCountHint()) return false;
if (getReadLevel()
!= other.getReadLevel()) return false;
if (getAckLevel()
!= other.getAckLevel()) return false;
if (java.lang.Double.doubleToLongBits(getRatePerSecond())
!= java.lang.Double.doubleToLongBits(
other.getRatePerSecond())) return false;
if (hasTaskIdBlock() != other.hasTaskIdBlock()) return false;
if (hasTaskIdBlock()) {
if (!getTaskIdBlock()
.equals(other.getTaskIdBlock())) 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) + BACKLOG_COUNT_HINT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getBacklogCountHint());
hash = (37 * hash) + READ_LEVEL_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getReadLevel());
hash = (37 * hash) + ACK_LEVEL_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getAckLevel());
hash = (37 * hash) + RATE_PER_SECOND_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getRatePerSecond()));
if (hasTaskIdBlock()) {
hash = (37 * hash) + TASK_ID_BLOCK_FIELD_NUMBER;
hash = (53 * hash) + getTaskIdBlock().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.temporal.api.taskqueue.v1.TaskQueueStatus parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.temporal.api.taskqueue.v1.TaskQueueStatus 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.taskqueue.v1.TaskQueueStatus parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.temporal.api.taskqueue.v1.TaskQueueStatus 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.taskqueue.v1.TaskQueueStatus parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.temporal.api.taskqueue.v1.TaskQueueStatus parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.temporal.api.taskqueue.v1.TaskQueueStatus parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.temporal.api.taskqueue.v1.TaskQueueStatus 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.taskqueue.v1.TaskQueueStatus parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.temporal.api.taskqueue.v1.TaskQueueStatus 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.taskqueue.v1.TaskQueueStatus parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.temporal.api.taskqueue.v1.TaskQueueStatus 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.taskqueue.v1.TaskQueueStatus 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.taskqueue.v1.TaskQueueStatus}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:temporal.api.taskqueue.v1.TaskQueueStatus)
io.temporal.api.taskqueue.v1.TaskQueueStatusOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.temporal.api.taskqueue.v1.MessageProto.internal_static_temporal_api_taskqueue_v1_TaskQueueStatus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.temporal.api.taskqueue.v1.MessageProto.internal_static_temporal_api_taskqueue_v1_TaskQueueStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.temporal.api.taskqueue.v1.TaskQueueStatus.class, io.temporal.api.taskqueue.v1.TaskQueueStatus.Builder.class);
}
// Construct using io.temporal.api.taskqueue.v1.TaskQueueStatus.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();
backlogCountHint_ = 0L;
readLevel_ = 0L;
ackLevel_ = 0L;
ratePerSecond_ = 0D;
if (taskIdBlockBuilder_ == null) {
taskIdBlock_ = null;
} else {
taskIdBlock_ = null;
taskIdBlockBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.temporal.api.taskqueue.v1.MessageProto.internal_static_temporal_api_taskqueue_v1_TaskQueueStatus_descriptor;
}
@java.lang.Override
public io.temporal.api.taskqueue.v1.TaskQueueStatus getDefaultInstanceForType() {
return io.temporal.api.taskqueue.v1.TaskQueueStatus.getDefaultInstance();
}
@java.lang.Override
public io.temporal.api.taskqueue.v1.TaskQueueStatus build() {
io.temporal.api.taskqueue.v1.TaskQueueStatus result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.temporal.api.taskqueue.v1.TaskQueueStatus buildPartial() {
io.temporal.api.taskqueue.v1.TaskQueueStatus result = new io.temporal.api.taskqueue.v1.TaskQueueStatus(this);
result.backlogCountHint_ = backlogCountHint_;
result.readLevel_ = readLevel_;
result.ackLevel_ = ackLevel_;
result.ratePerSecond_ = ratePerSecond_;
if (taskIdBlockBuilder_ == null) {
result.taskIdBlock_ = taskIdBlock_;
} else {
result.taskIdBlock_ = taskIdBlockBuilder_.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.taskqueue.v1.TaskQueueStatus) {
return mergeFrom((io.temporal.api.taskqueue.v1.TaskQueueStatus)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.temporal.api.taskqueue.v1.TaskQueueStatus other) {
if (other == io.temporal.api.taskqueue.v1.TaskQueueStatus.getDefaultInstance()) return this;
if (other.getBacklogCountHint() != 0L) {
setBacklogCountHint(other.getBacklogCountHint());
}
if (other.getReadLevel() != 0L) {
setReadLevel(other.getReadLevel());
}
if (other.getAckLevel() != 0L) {
setAckLevel(other.getAckLevel());
}
if (other.getRatePerSecond() != 0D) {
setRatePerSecond(other.getRatePerSecond());
}
if (other.hasTaskIdBlock()) {
mergeTaskIdBlock(other.getTaskIdBlock());
}
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.taskqueue.v1.TaskQueueStatus parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.temporal.api.taskqueue.v1.TaskQueueStatus) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private long backlogCountHint_ ;
/**
* int64 backlog_count_hint = 1;
* @return The backlogCountHint.
*/
public long getBacklogCountHint() {
return backlogCountHint_;
}
/**
* int64 backlog_count_hint = 1;
* @param value The backlogCountHint to set.
* @return This builder for chaining.
*/
public Builder setBacklogCountHint(long value) {
backlogCountHint_ = value;
onChanged();
return this;
}
/**
* int64 backlog_count_hint = 1;
* @return This builder for chaining.
*/
public Builder clearBacklogCountHint() {
backlogCountHint_ = 0L;
onChanged();
return this;
}
private long readLevel_ ;
/**
* int64 read_level = 2;
* @return The readLevel.
*/
public long getReadLevel() {
return readLevel_;
}
/**
* int64 read_level = 2;
* @param value The readLevel to set.
* @return This builder for chaining.
*/
public Builder setReadLevel(long value) {
readLevel_ = value;
onChanged();
return this;
}
/**
* int64 read_level = 2;
* @return This builder for chaining.
*/
public Builder clearReadLevel() {
readLevel_ = 0L;
onChanged();
return this;
}
private long ackLevel_ ;
/**
* int64 ack_level = 3;
* @return The ackLevel.
*/
public long getAckLevel() {
return ackLevel_;
}
/**
* int64 ack_level = 3;
* @param value The ackLevel to set.
* @return This builder for chaining.
*/
public Builder setAckLevel(long value) {
ackLevel_ = value;
onChanged();
return this;
}
/**
* int64 ack_level = 3;
* @return This builder for chaining.
*/
public Builder clearAckLevel() {
ackLevel_ = 0L;
onChanged();
return this;
}
private double ratePerSecond_ ;
/**
* double rate_per_second = 4;
* @return The ratePerSecond.
*/
public double getRatePerSecond() {
return ratePerSecond_;
}
/**
* double rate_per_second = 4;
* @param value The ratePerSecond to set.
* @return This builder for chaining.
*/
public Builder setRatePerSecond(double value) {
ratePerSecond_ = value;
onChanged();
return this;
}
/**
* double rate_per_second = 4;
* @return This builder for chaining.
*/
public Builder clearRatePerSecond() {
ratePerSecond_ = 0D;
onChanged();
return this;
}
private io.temporal.api.taskqueue.v1.TaskIdBlock taskIdBlock_;
private com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.taskqueue.v1.TaskIdBlock, io.temporal.api.taskqueue.v1.TaskIdBlock.Builder, io.temporal.api.taskqueue.v1.TaskIdBlockOrBuilder> taskIdBlockBuilder_;
/**
* .temporal.api.taskqueue.v1.TaskIdBlock task_id_block = 5;
* @return Whether the taskIdBlock field is set.
*/
public boolean hasTaskIdBlock() {
return taskIdBlockBuilder_ != null || taskIdBlock_ != null;
}
/**
* .temporal.api.taskqueue.v1.TaskIdBlock task_id_block = 5;
* @return The taskIdBlock.
*/
public io.temporal.api.taskqueue.v1.TaskIdBlock getTaskIdBlock() {
if (taskIdBlockBuilder_ == null) {
return taskIdBlock_ == null ? io.temporal.api.taskqueue.v1.TaskIdBlock.getDefaultInstance() : taskIdBlock_;
} else {
return taskIdBlockBuilder_.getMessage();
}
}
/**
* .temporal.api.taskqueue.v1.TaskIdBlock task_id_block = 5;
*/
public Builder setTaskIdBlock(io.temporal.api.taskqueue.v1.TaskIdBlock value) {
if (taskIdBlockBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
taskIdBlock_ = value;
onChanged();
} else {
taskIdBlockBuilder_.setMessage(value);
}
return this;
}
/**
* .temporal.api.taskqueue.v1.TaskIdBlock task_id_block = 5;
*/
public Builder setTaskIdBlock(
io.temporal.api.taskqueue.v1.TaskIdBlock.Builder builderForValue) {
if (taskIdBlockBuilder_ == null) {
taskIdBlock_ = builderForValue.build();
onChanged();
} else {
taskIdBlockBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .temporal.api.taskqueue.v1.TaskIdBlock task_id_block = 5;
*/
public Builder mergeTaskIdBlock(io.temporal.api.taskqueue.v1.TaskIdBlock value) {
if (taskIdBlockBuilder_ == null) {
if (taskIdBlock_ != null) {
taskIdBlock_ =
io.temporal.api.taskqueue.v1.TaskIdBlock.newBuilder(taskIdBlock_).mergeFrom(value).buildPartial();
} else {
taskIdBlock_ = value;
}
onChanged();
} else {
taskIdBlockBuilder_.mergeFrom(value);
}
return this;
}
/**
* .temporal.api.taskqueue.v1.TaskIdBlock task_id_block = 5;
*/
public Builder clearTaskIdBlock() {
if (taskIdBlockBuilder_ == null) {
taskIdBlock_ = null;
onChanged();
} else {
taskIdBlock_ = null;
taskIdBlockBuilder_ = null;
}
return this;
}
/**
* .temporal.api.taskqueue.v1.TaskIdBlock task_id_block = 5;
*/
public io.temporal.api.taskqueue.v1.TaskIdBlock.Builder getTaskIdBlockBuilder() {
onChanged();
return getTaskIdBlockFieldBuilder().getBuilder();
}
/**
* .temporal.api.taskqueue.v1.TaskIdBlock task_id_block = 5;
*/
public io.temporal.api.taskqueue.v1.TaskIdBlockOrBuilder getTaskIdBlockOrBuilder() {
if (taskIdBlockBuilder_ != null) {
return taskIdBlockBuilder_.getMessageOrBuilder();
} else {
return taskIdBlock_ == null ?
io.temporal.api.taskqueue.v1.TaskIdBlock.getDefaultInstance() : taskIdBlock_;
}
}
/**
* .temporal.api.taskqueue.v1.TaskIdBlock task_id_block = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.taskqueue.v1.TaskIdBlock, io.temporal.api.taskqueue.v1.TaskIdBlock.Builder, io.temporal.api.taskqueue.v1.TaskIdBlockOrBuilder>
getTaskIdBlockFieldBuilder() {
if (taskIdBlockBuilder_ == null) {
taskIdBlockBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.taskqueue.v1.TaskIdBlock, io.temporal.api.taskqueue.v1.TaskIdBlock.Builder, io.temporal.api.taskqueue.v1.TaskIdBlockOrBuilder>(
getTaskIdBlock(),
getParentForChildren(),
isClean());
taskIdBlock_ = null;
}
return taskIdBlockBuilder_;
}
@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.taskqueue.v1.TaskQueueStatus)
}
// @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueStatus)
private static final io.temporal.api.taskqueue.v1.TaskQueueStatus DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.temporal.api.taskqueue.v1.TaskQueueStatus();
}
public static io.temporal.api.taskqueue.v1.TaskQueueStatus getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public TaskQueueStatus parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TaskQueueStatus(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.taskqueue.v1.TaskQueueStatus getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy