com.netflix.conductor.grpc.TaskServicePb Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: grpc/task_service.proto
package com.netflix.conductor.grpc;
public final class TaskServicePb {
private TaskServicePb() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface PollRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:conductor.grpc.tasks.PollRequest)
com.google.protobuf.MessageOrBuilder {
/**
* string task_type = 1;
* @return The taskType.
*/
java.lang.String getTaskType();
/**
* string task_type = 1;
* @return The bytes for taskType.
*/
com.google.protobuf.ByteString
getTaskTypeBytes();
/**
* string worker_id = 2;
* @return The workerId.
*/
java.lang.String getWorkerId();
/**
* string worker_id = 2;
* @return The bytes for workerId.
*/
com.google.protobuf.ByteString
getWorkerIdBytes();
/**
* string domain = 3;
* @return The domain.
*/
java.lang.String getDomain();
/**
* string domain = 3;
* @return The bytes for domain.
*/
com.google.protobuf.ByteString
getDomainBytes();
}
/**
* Protobuf type {@code conductor.grpc.tasks.PollRequest}
*/
public static final class PollRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:conductor.grpc.tasks.PollRequest)
PollRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use PollRequest.newBuilder() to construct.
private PollRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PollRequest() {
taskType_ = "";
workerId_ = "";
domain_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new PollRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_PollRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_PollRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.grpc.TaskServicePb.PollRequest.class, com.netflix.conductor.grpc.TaskServicePb.PollRequest.Builder.class);
}
public static final int TASK_TYPE_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object taskType_ = "";
/**
* string task_type = 1;
* @return The taskType.
*/
@java.lang.Override
public java.lang.String getTaskType() {
java.lang.Object ref = taskType_;
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();
taskType_ = s;
return s;
}
}
/**
* string task_type = 1;
* @return The bytes for taskType.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTaskTypeBytes() {
java.lang.Object ref = taskType_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
taskType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int WORKER_ID_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object workerId_ = "";
/**
* string worker_id = 2;
* @return The workerId.
*/
@java.lang.Override
public java.lang.String getWorkerId() {
java.lang.Object ref = workerId_;
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();
workerId_ = s;
return s;
}
}
/**
* string worker_id = 2;
* @return The bytes for workerId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWorkerIdBytes() {
java.lang.Object ref = workerId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
workerId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DOMAIN_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object domain_ = "";
/**
* string domain = 3;
* @return The domain.
*/
@java.lang.Override
public java.lang.String getDomain() {
java.lang.Object ref = domain_;
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();
domain_ = s;
return s;
}
}
/**
* string domain = 3;
* @return The bytes for domain.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDomainBytes() {
java.lang.Object ref = domain_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
domain_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskType_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, taskType_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workerId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, workerId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domain_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, domain_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskType_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, taskType_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workerId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, workerId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domain_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, domain_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.netflix.conductor.grpc.TaskServicePb.PollRequest)) {
return super.equals(obj);
}
com.netflix.conductor.grpc.TaskServicePb.PollRequest other = (com.netflix.conductor.grpc.TaskServicePb.PollRequest) obj;
if (!getTaskType()
.equals(other.getTaskType())) return false;
if (!getWorkerId()
.equals(other.getWorkerId())) return false;
if (!getDomain()
.equals(other.getDomain())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) 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) + TASK_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getTaskType().hashCode();
hash = (37 * hash) + WORKER_ID_FIELD_NUMBER;
hash = (53 * hash) + getWorkerId().hashCode();
hash = (37 * hash) + DOMAIN_FIELD_NUMBER;
hash = (53 * hash) + getDomain().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.netflix.conductor.grpc.TaskServicePb.PollRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.PollRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.PollRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.PollRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.PollRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.PollRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.PollRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.PollRequest 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 com.netflix.conductor.grpc.TaskServicePb.PollRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.PollRequest 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 com.netflix.conductor.grpc.TaskServicePb.PollRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.PollRequest 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(com.netflix.conductor.grpc.TaskServicePb.PollRequest 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 conductor.grpc.tasks.PollRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:conductor.grpc.tasks.PollRequest)
com.netflix.conductor.grpc.TaskServicePb.PollRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_PollRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_PollRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.grpc.TaskServicePb.PollRequest.class, com.netflix.conductor.grpc.TaskServicePb.PollRequest.Builder.class);
}
// Construct using com.netflix.conductor.grpc.TaskServicePb.PollRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
taskType_ = "";
workerId_ = "";
domain_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_PollRequest_descriptor;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.PollRequest getDefaultInstanceForType() {
return com.netflix.conductor.grpc.TaskServicePb.PollRequest.getDefaultInstance();
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.PollRequest build() {
com.netflix.conductor.grpc.TaskServicePb.PollRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.PollRequest buildPartial() {
com.netflix.conductor.grpc.TaskServicePb.PollRequest result = new com.netflix.conductor.grpc.TaskServicePb.PollRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.netflix.conductor.grpc.TaskServicePb.PollRequest result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.taskType_ = taskType_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.workerId_ = workerId_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.domain_ = domain_;
}
}
@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 com.netflix.conductor.grpc.TaskServicePb.PollRequest) {
return mergeFrom((com.netflix.conductor.grpc.TaskServicePb.PollRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.netflix.conductor.grpc.TaskServicePb.PollRequest other) {
if (other == com.netflix.conductor.grpc.TaskServicePb.PollRequest.getDefaultInstance()) return this;
if (!other.getTaskType().isEmpty()) {
taskType_ = other.taskType_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getWorkerId().isEmpty()) {
workerId_ = other.workerId_;
bitField0_ |= 0x00000002;
onChanged();
}
if (!other.getDomain().isEmpty()) {
domain_ = other.domain_;
bitField0_ |= 0x00000004;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
taskType_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
workerId_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
domain_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object taskType_ = "";
/**
* string task_type = 1;
* @return The taskType.
*/
public java.lang.String getTaskType() {
java.lang.Object ref = taskType_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
taskType_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string task_type = 1;
* @return The bytes for taskType.
*/
public com.google.protobuf.ByteString
getTaskTypeBytes() {
java.lang.Object ref = taskType_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
taskType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string task_type = 1;
* @param value The taskType to set.
* @return This builder for chaining.
*/
public Builder setTaskType(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
taskType_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* string task_type = 1;
* @return This builder for chaining.
*/
public Builder clearTaskType() {
taskType_ = getDefaultInstance().getTaskType();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* string task_type = 1;
* @param value The bytes for taskType to set.
* @return This builder for chaining.
*/
public Builder setTaskTypeBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
taskType_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object workerId_ = "";
/**
* string worker_id = 2;
* @return The workerId.
*/
public java.lang.String getWorkerId() {
java.lang.Object ref = workerId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
workerId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string worker_id = 2;
* @return The bytes for workerId.
*/
public com.google.protobuf.ByteString
getWorkerIdBytes() {
java.lang.Object ref = workerId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
workerId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string worker_id = 2;
* @param value The workerId to set.
* @return This builder for chaining.
*/
public Builder setWorkerId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
workerId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* string worker_id = 2;
* @return This builder for chaining.
*/
public Builder clearWorkerId() {
workerId_ = getDefaultInstance().getWorkerId();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* string worker_id = 2;
* @param value The bytes for workerId to set.
* @return This builder for chaining.
*/
public Builder setWorkerIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
workerId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object domain_ = "";
/**
* string domain = 3;
* @return The domain.
*/
public java.lang.String getDomain() {
java.lang.Object ref = domain_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
domain_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string domain = 3;
* @return The bytes for domain.
*/
public com.google.protobuf.ByteString
getDomainBytes() {
java.lang.Object ref = domain_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
domain_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string domain = 3;
* @param value The domain to set.
* @return This builder for chaining.
*/
public Builder setDomain(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
domain_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* string domain = 3;
* @return This builder for chaining.
*/
public Builder clearDomain() {
domain_ = getDefaultInstance().getDomain();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* string domain = 3;
* @param value The bytes for domain to set.
* @return This builder for chaining.
*/
public Builder setDomainBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
domain_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
@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:conductor.grpc.tasks.PollRequest)
}
// @@protoc_insertion_point(class_scope:conductor.grpc.tasks.PollRequest)
private static final com.netflix.conductor.grpc.TaskServicePb.PollRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.netflix.conductor.grpc.TaskServicePb.PollRequest();
}
public static com.netflix.conductor.grpc.TaskServicePb.PollRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public PollRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.PollRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PollResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:conductor.grpc.tasks.PollResponse)
com.google.protobuf.MessageOrBuilder {
/**
* .conductor.proto.Task task = 1;
* @return Whether the task field is set.
*/
boolean hasTask();
/**
* .conductor.proto.Task task = 1;
* @return The task.
*/
com.netflix.conductor.proto.TaskPb.Task getTask();
/**
* .conductor.proto.Task task = 1;
*/
com.netflix.conductor.proto.TaskPb.TaskOrBuilder getTaskOrBuilder();
}
/**
* Protobuf type {@code conductor.grpc.tasks.PollResponse}
*/
public static final class PollResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:conductor.grpc.tasks.PollResponse)
PollResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use PollResponse.newBuilder() to construct.
private PollResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PollResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new PollResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_PollResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_PollResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.grpc.TaskServicePb.PollResponse.class, com.netflix.conductor.grpc.TaskServicePb.PollResponse.Builder.class);
}
public static final int TASK_FIELD_NUMBER = 1;
private com.netflix.conductor.proto.TaskPb.Task task_;
/**
* .conductor.proto.Task task = 1;
* @return Whether the task field is set.
*/
@java.lang.Override
public boolean hasTask() {
return task_ != null;
}
/**
* .conductor.proto.Task task = 1;
* @return The task.
*/
@java.lang.Override
public com.netflix.conductor.proto.TaskPb.Task getTask() {
return task_ == null ? com.netflix.conductor.proto.TaskPb.Task.getDefaultInstance() : task_;
}
/**
* .conductor.proto.Task task = 1;
*/
@java.lang.Override
public com.netflix.conductor.proto.TaskPb.TaskOrBuilder getTaskOrBuilder() {
return task_ == null ? com.netflix.conductor.proto.TaskPb.Task.getDefaultInstance() : task_;
}
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 (task_ != null) {
output.writeMessage(1, getTask());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (task_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getTask());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.netflix.conductor.grpc.TaskServicePb.PollResponse)) {
return super.equals(obj);
}
com.netflix.conductor.grpc.TaskServicePb.PollResponse other = (com.netflix.conductor.grpc.TaskServicePb.PollResponse) obj;
if (hasTask() != other.hasTask()) return false;
if (hasTask()) {
if (!getTask()
.equals(other.getTask())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasTask()) {
hash = (37 * hash) + TASK_FIELD_NUMBER;
hash = (53 * hash) + getTask().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.netflix.conductor.grpc.TaskServicePb.PollResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.PollResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.PollResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.PollResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.PollResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.PollResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.PollResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.PollResponse 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 com.netflix.conductor.grpc.TaskServicePb.PollResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.PollResponse 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 com.netflix.conductor.grpc.TaskServicePb.PollResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.PollResponse 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(com.netflix.conductor.grpc.TaskServicePb.PollResponse 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 conductor.grpc.tasks.PollResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:conductor.grpc.tasks.PollResponse)
com.netflix.conductor.grpc.TaskServicePb.PollResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_PollResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_PollResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.grpc.TaskServicePb.PollResponse.class, com.netflix.conductor.grpc.TaskServicePb.PollResponse.Builder.class);
}
// Construct using com.netflix.conductor.grpc.TaskServicePb.PollResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
task_ = null;
if (taskBuilder_ != null) {
taskBuilder_.dispose();
taskBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_PollResponse_descriptor;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.PollResponse getDefaultInstanceForType() {
return com.netflix.conductor.grpc.TaskServicePb.PollResponse.getDefaultInstance();
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.PollResponse build() {
com.netflix.conductor.grpc.TaskServicePb.PollResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.PollResponse buildPartial() {
com.netflix.conductor.grpc.TaskServicePb.PollResponse result = new com.netflix.conductor.grpc.TaskServicePb.PollResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.netflix.conductor.grpc.TaskServicePb.PollResponse result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.task_ = taskBuilder_ == null
? task_
: taskBuilder_.build();
}
}
@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 com.netflix.conductor.grpc.TaskServicePb.PollResponse) {
return mergeFrom((com.netflix.conductor.grpc.TaskServicePb.PollResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.netflix.conductor.grpc.TaskServicePb.PollResponse other) {
if (other == com.netflix.conductor.grpc.TaskServicePb.PollResponse.getDefaultInstance()) return this;
if (other.hasTask()) {
mergeTask(other.getTask());
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getTaskFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.netflix.conductor.proto.TaskPb.Task task_;
private com.google.protobuf.SingleFieldBuilderV3<
com.netflix.conductor.proto.TaskPb.Task, com.netflix.conductor.proto.TaskPb.Task.Builder, com.netflix.conductor.proto.TaskPb.TaskOrBuilder> taskBuilder_;
/**
* .conductor.proto.Task task = 1;
* @return Whether the task field is set.
*/
public boolean hasTask() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .conductor.proto.Task task = 1;
* @return The task.
*/
public com.netflix.conductor.proto.TaskPb.Task getTask() {
if (taskBuilder_ == null) {
return task_ == null ? com.netflix.conductor.proto.TaskPb.Task.getDefaultInstance() : task_;
} else {
return taskBuilder_.getMessage();
}
}
/**
* .conductor.proto.Task task = 1;
*/
public Builder setTask(com.netflix.conductor.proto.TaskPb.Task value) {
if (taskBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
task_ = value;
} else {
taskBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .conductor.proto.Task task = 1;
*/
public Builder setTask(
com.netflix.conductor.proto.TaskPb.Task.Builder builderForValue) {
if (taskBuilder_ == null) {
task_ = builderForValue.build();
} else {
taskBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .conductor.proto.Task task = 1;
*/
public Builder mergeTask(com.netflix.conductor.proto.TaskPb.Task value) {
if (taskBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
task_ != null &&
task_ != com.netflix.conductor.proto.TaskPb.Task.getDefaultInstance()) {
getTaskBuilder().mergeFrom(value);
} else {
task_ = value;
}
} else {
taskBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .conductor.proto.Task task = 1;
*/
public Builder clearTask() {
bitField0_ = (bitField0_ & ~0x00000001);
task_ = null;
if (taskBuilder_ != null) {
taskBuilder_.dispose();
taskBuilder_ = null;
}
onChanged();
return this;
}
/**
* .conductor.proto.Task task = 1;
*/
public com.netflix.conductor.proto.TaskPb.Task.Builder getTaskBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getTaskFieldBuilder().getBuilder();
}
/**
* .conductor.proto.Task task = 1;
*/
public com.netflix.conductor.proto.TaskPb.TaskOrBuilder getTaskOrBuilder() {
if (taskBuilder_ != null) {
return taskBuilder_.getMessageOrBuilder();
} else {
return task_ == null ?
com.netflix.conductor.proto.TaskPb.Task.getDefaultInstance() : task_;
}
}
/**
* .conductor.proto.Task task = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.netflix.conductor.proto.TaskPb.Task, com.netflix.conductor.proto.TaskPb.Task.Builder, com.netflix.conductor.proto.TaskPb.TaskOrBuilder>
getTaskFieldBuilder() {
if (taskBuilder_ == null) {
taskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.netflix.conductor.proto.TaskPb.Task, com.netflix.conductor.proto.TaskPb.Task.Builder, com.netflix.conductor.proto.TaskPb.TaskOrBuilder>(
getTask(),
getParentForChildren(),
isClean());
task_ = null;
}
return taskBuilder_;
}
@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:conductor.grpc.tasks.PollResponse)
}
// @@protoc_insertion_point(class_scope:conductor.grpc.tasks.PollResponse)
private static final com.netflix.conductor.grpc.TaskServicePb.PollResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.netflix.conductor.grpc.TaskServicePb.PollResponse();
}
public static com.netflix.conductor.grpc.TaskServicePb.PollResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public PollResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.PollResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface BatchPollRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:conductor.grpc.tasks.BatchPollRequest)
com.google.protobuf.MessageOrBuilder {
/**
* string task_type = 1;
* @return The taskType.
*/
java.lang.String getTaskType();
/**
* string task_type = 1;
* @return The bytes for taskType.
*/
com.google.protobuf.ByteString
getTaskTypeBytes();
/**
* string worker_id = 2;
* @return The workerId.
*/
java.lang.String getWorkerId();
/**
* string worker_id = 2;
* @return The bytes for workerId.
*/
com.google.protobuf.ByteString
getWorkerIdBytes();
/**
* string domain = 3;
* @return The domain.
*/
java.lang.String getDomain();
/**
* string domain = 3;
* @return The bytes for domain.
*/
com.google.protobuf.ByteString
getDomainBytes();
/**
* int32 count = 4;
* @return The count.
*/
int getCount();
/**
* int32 timeout = 5;
* @return The timeout.
*/
int getTimeout();
}
/**
* Protobuf type {@code conductor.grpc.tasks.BatchPollRequest}
*/
public static final class BatchPollRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:conductor.grpc.tasks.BatchPollRequest)
BatchPollRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use BatchPollRequest.newBuilder() to construct.
private BatchPollRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private BatchPollRequest() {
taskType_ = "";
workerId_ = "";
domain_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new BatchPollRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_BatchPollRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_BatchPollRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.grpc.TaskServicePb.BatchPollRequest.class, com.netflix.conductor.grpc.TaskServicePb.BatchPollRequest.Builder.class);
}
public static final int TASK_TYPE_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object taskType_ = "";
/**
* string task_type = 1;
* @return The taskType.
*/
@java.lang.Override
public java.lang.String getTaskType() {
java.lang.Object ref = taskType_;
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();
taskType_ = s;
return s;
}
}
/**
* string task_type = 1;
* @return The bytes for taskType.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTaskTypeBytes() {
java.lang.Object ref = taskType_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
taskType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int WORKER_ID_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object workerId_ = "";
/**
* string worker_id = 2;
* @return The workerId.
*/
@java.lang.Override
public java.lang.String getWorkerId() {
java.lang.Object ref = workerId_;
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();
workerId_ = s;
return s;
}
}
/**
* string worker_id = 2;
* @return The bytes for workerId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWorkerIdBytes() {
java.lang.Object ref = workerId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
workerId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DOMAIN_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object domain_ = "";
/**
* string domain = 3;
* @return The domain.
*/
@java.lang.Override
public java.lang.String getDomain() {
java.lang.Object ref = domain_;
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();
domain_ = s;
return s;
}
}
/**
* string domain = 3;
* @return The bytes for domain.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDomainBytes() {
java.lang.Object ref = domain_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
domain_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int COUNT_FIELD_NUMBER = 4;
private int count_ = 0;
/**
* int32 count = 4;
* @return The count.
*/
@java.lang.Override
public int getCount() {
return count_;
}
public static final int TIMEOUT_FIELD_NUMBER = 5;
private int timeout_ = 0;
/**
* int32 timeout = 5;
* @return The timeout.
*/
@java.lang.Override
public int getTimeout() {
return timeout_;
}
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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskType_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, taskType_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workerId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, workerId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domain_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, domain_);
}
if (count_ != 0) {
output.writeInt32(4, count_);
}
if (timeout_ != 0) {
output.writeInt32(5, timeout_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskType_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, taskType_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workerId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, workerId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domain_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, domain_);
}
if (count_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, count_);
}
if (timeout_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(5, timeout_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.netflix.conductor.grpc.TaskServicePb.BatchPollRequest)) {
return super.equals(obj);
}
com.netflix.conductor.grpc.TaskServicePb.BatchPollRequest other = (com.netflix.conductor.grpc.TaskServicePb.BatchPollRequest) obj;
if (!getTaskType()
.equals(other.getTaskType())) return false;
if (!getWorkerId()
.equals(other.getWorkerId())) return false;
if (!getDomain()
.equals(other.getDomain())) return false;
if (getCount()
!= other.getCount()) return false;
if (getTimeout()
!= other.getTimeout()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) 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) + TASK_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getTaskType().hashCode();
hash = (37 * hash) + WORKER_ID_FIELD_NUMBER;
hash = (53 * hash) + getWorkerId().hashCode();
hash = (37 * hash) + DOMAIN_FIELD_NUMBER;
hash = (53 * hash) + getDomain().hashCode();
hash = (37 * hash) + COUNT_FIELD_NUMBER;
hash = (53 * hash) + getCount();
hash = (37 * hash) + TIMEOUT_FIELD_NUMBER;
hash = (53 * hash) + getTimeout();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.netflix.conductor.grpc.TaskServicePb.BatchPollRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.BatchPollRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.BatchPollRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.BatchPollRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.BatchPollRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.BatchPollRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.BatchPollRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.BatchPollRequest 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 com.netflix.conductor.grpc.TaskServicePb.BatchPollRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.BatchPollRequest 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 com.netflix.conductor.grpc.TaskServicePb.BatchPollRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.BatchPollRequest 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(com.netflix.conductor.grpc.TaskServicePb.BatchPollRequest 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 conductor.grpc.tasks.BatchPollRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:conductor.grpc.tasks.BatchPollRequest)
com.netflix.conductor.grpc.TaskServicePb.BatchPollRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_BatchPollRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_BatchPollRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.grpc.TaskServicePb.BatchPollRequest.class, com.netflix.conductor.grpc.TaskServicePb.BatchPollRequest.Builder.class);
}
// Construct using com.netflix.conductor.grpc.TaskServicePb.BatchPollRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
taskType_ = "";
workerId_ = "";
domain_ = "";
count_ = 0;
timeout_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_BatchPollRequest_descriptor;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.BatchPollRequest getDefaultInstanceForType() {
return com.netflix.conductor.grpc.TaskServicePb.BatchPollRequest.getDefaultInstance();
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.BatchPollRequest build() {
com.netflix.conductor.grpc.TaskServicePb.BatchPollRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.BatchPollRequest buildPartial() {
com.netflix.conductor.grpc.TaskServicePb.BatchPollRequest result = new com.netflix.conductor.grpc.TaskServicePb.BatchPollRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.netflix.conductor.grpc.TaskServicePb.BatchPollRequest result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.taskType_ = taskType_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.workerId_ = workerId_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.domain_ = domain_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.count_ = count_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.timeout_ = timeout_;
}
}
@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 com.netflix.conductor.grpc.TaskServicePb.BatchPollRequest) {
return mergeFrom((com.netflix.conductor.grpc.TaskServicePb.BatchPollRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.netflix.conductor.grpc.TaskServicePb.BatchPollRequest other) {
if (other == com.netflix.conductor.grpc.TaskServicePb.BatchPollRequest.getDefaultInstance()) return this;
if (!other.getTaskType().isEmpty()) {
taskType_ = other.taskType_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getWorkerId().isEmpty()) {
workerId_ = other.workerId_;
bitField0_ |= 0x00000002;
onChanged();
}
if (!other.getDomain().isEmpty()) {
domain_ = other.domain_;
bitField0_ |= 0x00000004;
onChanged();
}
if (other.getCount() != 0) {
setCount(other.getCount());
}
if (other.getTimeout() != 0) {
setTimeout(other.getTimeout());
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
taskType_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
workerId_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
domain_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
break;
} // case 26
case 32: {
count_ = input.readInt32();
bitField0_ |= 0x00000008;
break;
} // case 32
case 40: {
timeout_ = input.readInt32();
bitField0_ |= 0x00000010;
break;
} // case 40
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object taskType_ = "";
/**
* string task_type = 1;
* @return The taskType.
*/
public java.lang.String getTaskType() {
java.lang.Object ref = taskType_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
taskType_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string task_type = 1;
* @return The bytes for taskType.
*/
public com.google.protobuf.ByteString
getTaskTypeBytes() {
java.lang.Object ref = taskType_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
taskType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string task_type = 1;
* @param value The taskType to set.
* @return This builder for chaining.
*/
public Builder setTaskType(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
taskType_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* string task_type = 1;
* @return This builder for chaining.
*/
public Builder clearTaskType() {
taskType_ = getDefaultInstance().getTaskType();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* string task_type = 1;
* @param value The bytes for taskType to set.
* @return This builder for chaining.
*/
public Builder setTaskTypeBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
taskType_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object workerId_ = "";
/**
* string worker_id = 2;
* @return The workerId.
*/
public java.lang.String getWorkerId() {
java.lang.Object ref = workerId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
workerId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string worker_id = 2;
* @return The bytes for workerId.
*/
public com.google.protobuf.ByteString
getWorkerIdBytes() {
java.lang.Object ref = workerId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
workerId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string worker_id = 2;
* @param value The workerId to set.
* @return This builder for chaining.
*/
public Builder setWorkerId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
workerId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* string worker_id = 2;
* @return This builder for chaining.
*/
public Builder clearWorkerId() {
workerId_ = getDefaultInstance().getWorkerId();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* string worker_id = 2;
* @param value The bytes for workerId to set.
* @return This builder for chaining.
*/
public Builder setWorkerIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
workerId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object domain_ = "";
/**
* string domain = 3;
* @return The domain.
*/
public java.lang.String getDomain() {
java.lang.Object ref = domain_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
domain_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string domain = 3;
* @return The bytes for domain.
*/
public com.google.protobuf.ByteString
getDomainBytes() {
java.lang.Object ref = domain_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
domain_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string domain = 3;
* @param value The domain to set.
* @return This builder for chaining.
*/
public Builder setDomain(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
domain_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* string domain = 3;
* @return This builder for chaining.
*/
public Builder clearDomain() {
domain_ = getDefaultInstance().getDomain();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* string domain = 3;
* @param value The bytes for domain to set.
* @return This builder for chaining.
*/
public Builder setDomainBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
domain_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private int count_ ;
/**
* int32 count = 4;
* @return The count.
*/
@java.lang.Override
public int getCount() {
return count_;
}
/**
* int32 count = 4;
* @param value The count to set.
* @return This builder for chaining.
*/
public Builder setCount(int value) {
count_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* int32 count = 4;
* @return This builder for chaining.
*/
public Builder clearCount() {
bitField0_ = (bitField0_ & ~0x00000008);
count_ = 0;
onChanged();
return this;
}
private int timeout_ ;
/**
* int32 timeout = 5;
* @return The timeout.
*/
@java.lang.Override
public int getTimeout() {
return timeout_;
}
/**
* int32 timeout = 5;
* @param value The timeout to set.
* @return This builder for chaining.
*/
public Builder setTimeout(int value) {
timeout_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* int32 timeout = 5;
* @return This builder for chaining.
*/
public Builder clearTimeout() {
bitField0_ = (bitField0_ & ~0x00000010);
timeout_ = 0;
onChanged();
return this;
}
@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:conductor.grpc.tasks.BatchPollRequest)
}
// @@protoc_insertion_point(class_scope:conductor.grpc.tasks.BatchPollRequest)
private static final com.netflix.conductor.grpc.TaskServicePb.BatchPollRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.netflix.conductor.grpc.TaskServicePb.BatchPollRequest();
}
public static com.netflix.conductor.grpc.TaskServicePb.BatchPollRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public BatchPollRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.BatchPollRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface UpdateTaskRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:conductor.grpc.tasks.UpdateTaskRequest)
com.google.protobuf.MessageOrBuilder {
/**
* .conductor.proto.TaskResult result = 1;
* @return Whether the result field is set.
*/
boolean hasResult();
/**
* .conductor.proto.TaskResult result = 1;
* @return The result.
*/
com.netflix.conductor.proto.TaskResultPb.TaskResult getResult();
/**
* .conductor.proto.TaskResult result = 1;
*/
com.netflix.conductor.proto.TaskResultPb.TaskResultOrBuilder getResultOrBuilder();
}
/**
* Protobuf type {@code conductor.grpc.tasks.UpdateTaskRequest}
*/
public static final class UpdateTaskRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:conductor.grpc.tasks.UpdateTaskRequest)
UpdateTaskRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use UpdateTaskRequest.newBuilder() to construct.
private UpdateTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private UpdateTaskRequest() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new UpdateTaskRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_UpdateTaskRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_UpdateTaskRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.grpc.TaskServicePb.UpdateTaskRequest.class, com.netflix.conductor.grpc.TaskServicePb.UpdateTaskRequest.Builder.class);
}
public static final int RESULT_FIELD_NUMBER = 1;
private com.netflix.conductor.proto.TaskResultPb.TaskResult result_;
/**
* .conductor.proto.TaskResult result = 1;
* @return Whether the result field is set.
*/
@java.lang.Override
public boolean hasResult() {
return result_ != null;
}
/**
* .conductor.proto.TaskResult result = 1;
* @return The result.
*/
@java.lang.Override
public com.netflix.conductor.proto.TaskResultPb.TaskResult getResult() {
return result_ == null ? com.netflix.conductor.proto.TaskResultPb.TaskResult.getDefaultInstance() : result_;
}
/**
* .conductor.proto.TaskResult result = 1;
*/
@java.lang.Override
public com.netflix.conductor.proto.TaskResultPb.TaskResultOrBuilder getResultOrBuilder() {
return result_ == null ? com.netflix.conductor.proto.TaskResultPb.TaskResult.getDefaultInstance() : result_;
}
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 (result_ != null) {
output.writeMessage(1, getResult());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (result_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getResult());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.netflix.conductor.grpc.TaskServicePb.UpdateTaskRequest)) {
return super.equals(obj);
}
com.netflix.conductor.grpc.TaskServicePb.UpdateTaskRequest other = (com.netflix.conductor.grpc.TaskServicePb.UpdateTaskRequest) obj;
if (hasResult() != other.hasResult()) return false;
if (hasResult()) {
if (!getResult()
.equals(other.getResult())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasResult()) {
hash = (37 * hash) + RESULT_FIELD_NUMBER;
hash = (53 * hash) + getResult().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.netflix.conductor.grpc.TaskServicePb.UpdateTaskRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.UpdateTaskRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.UpdateTaskRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.UpdateTaskRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.UpdateTaskRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.UpdateTaskRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.UpdateTaskRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.UpdateTaskRequest 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 com.netflix.conductor.grpc.TaskServicePb.UpdateTaskRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.UpdateTaskRequest 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 com.netflix.conductor.grpc.TaskServicePb.UpdateTaskRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.UpdateTaskRequest 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(com.netflix.conductor.grpc.TaskServicePb.UpdateTaskRequest 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 conductor.grpc.tasks.UpdateTaskRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:conductor.grpc.tasks.UpdateTaskRequest)
com.netflix.conductor.grpc.TaskServicePb.UpdateTaskRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_UpdateTaskRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_UpdateTaskRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.grpc.TaskServicePb.UpdateTaskRequest.class, com.netflix.conductor.grpc.TaskServicePb.UpdateTaskRequest.Builder.class);
}
// Construct using com.netflix.conductor.grpc.TaskServicePb.UpdateTaskRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
result_ = null;
if (resultBuilder_ != null) {
resultBuilder_.dispose();
resultBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_UpdateTaskRequest_descriptor;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.UpdateTaskRequest getDefaultInstanceForType() {
return com.netflix.conductor.grpc.TaskServicePb.UpdateTaskRequest.getDefaultInstance();
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.UpdateTaskRequest build() {
com.netflix.conductor.grpc.TaskServicePb.UpdateTaskRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.UpdateTaskRequest buildPartial() {
com.netflix.conductor.grpc.TaskServicePb.UpdateTaskRequest result = new com.netflix.conductor.grpc.TaskServicePb.UpdateTaskRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.netflix.conductor.grpc.TaskServicePb.UpdateTaskRequest result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.result_ = resultBuilder_ == null
? result_
: resultBuilder_.build();
}
}
@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 com.netflix.conductor.grpc.TaskServicePb.UpdateTaskRequest) {
return mergeFrom((com.netflix.conductor.grpc.TaskServicePb.UpdateTaskRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.netflix.conductor.grpc.TaskServicePb.UpdateTaskRequest other) {
if (other == com.netflix.conductor.grpc.TaskServicePb.UpdateTaskRequest.getDefaultInstance()) return this;
if (other.hasResult()) {
mergeResult(other.getResult());
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getResultFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.netflix.conductor.proto.TaskResultPb.TaskResult result_;
private com.google.protobuf.SingleFieldBuilderV3<
com.netflix.conductor.proto.TaskResultPb.TaskResult, com.netflix.conductor.proto.TaskResultPb.TaskResult.Builder, com.netflix.conductor.proto.TaskResultPb.TaskResultOrBuilder> resultBuilder_;
/**
* .conductor.proto.TaskResult result = 1;
* @return Whether the result field is set.
*/
public boolean hasResult() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .conductor.proto.TaskResult result = 1;
* @return The result.
*/
public com.netflix.conductor.proto.TaskResultPb.TaskResult getResult() {
if (resultBuilder_ == null) {
return result_ == null ? com.netflix.conductor.proto.TaskResultPb.TaskResult.getDefaultInstance() : result_;
} else {
return resultBuilder_.getMessage();
}
}
/**
* .conductor.proto.TaskResult result = 1;
*/
public Builder setResult(com.netflix.conductor.proto.TaskResultPb.TaskResult value) {
if (resultBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
result_ = value;
} else {
resultBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .conductor.proto.TaskResult result = 1;
*/
public Builder setResult(
com.netflix.conductor.proto.TaskResultPb.TaskResult.Builder builderForValue) {
if (resultBuilder_ == null) {
result_ = builderForValue.build();
} else {
resultBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .conductor.proto.TaskResult result = 1;
*/
public Builder mergeResult(com.netflix.conductor.proto.TaskResultPb.TaskResult value) {
if (resultBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
result_ != null &&
result_ != com.netflix.conductor.proto.TaskResultPb.TaskResult.getDefaultInstance()) {
getResultBuilder().mergeFrom(value);
} else {
result_ = value;
}
} else {
resultBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .conductor.proto.TaskResult result = 1;
*/
public Builder clearResult() {
bitField0_ = (bitField0_ & ~0x00000001);
result_ = null;
if (resultBuilder_ != null) {
resultBuilder_.dispose();
resultBuilder_ = null;
}
onChanged();
return this;
}
/**
* .conductor.proto.TaskResult result = 1;
*/
public com.netflix.conductor.proto.TaskResultPb.TaskResult.Builder getResultBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getResultFieldBuilder().getBuilder();
}
/**
* .conductor.proto.TaskResult result = 1;
*/
public com.netflix.conductor.proto.TaskResultPb.TaskResultOrBuilder getResultOrBuilder() {
if (resultBuilder_ != null) {
return resultBuilder_.getMessageOrBuilder();
} else {
return result_ == null ?
com.netflix.conductor.proto.TaskResultPb.TaskResult.getDefaultInstance() : result_;
}
}
/**
* .conductor.proto.TaskResult result = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.netflix.conductor.proto.TaskResultPb.TaskResult, com.netflix.conductor.proto.TaskResultPb.TaskResult.Builder, com.netflix.conductor.proto.TaskResultPb.TaskResultOrBuilder>
getResultFieldBuilder() {
if (resultBuilder_ == null) {
resultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.netflix.conductor.proto.TaskResultPb.TaskResult, com.netflix.conductor.proto.TaskResultPb.TaskResult.Builder, com.netflix.conductor.proto.TaskResultPb.TaskResultOrBuilder>(
getResult(),
getParentForChildren(),
isClean());
result_ = null;
}
return resultBuilder_;
}
@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:conductor.grpc.tasks.UpdateTaskRequest)
}
// @@protoc_insertion_point(class_scope:conductor.grpc.tasks.UpdateTaskRequest)
private static final com.netflix.conductor.grpc.TaskServicePb.UpdateTaskRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.netflix.conductor.grpc.TaskServicePb.UpdateTaskRequest();
}
public static com.netflix.conductor.grpc.TaskServicePb.UpdateTaskRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public UpdateTaskRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.UpdateTaskRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface UpdateTaskResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:conductor.grpc.tasks.UpdateTaskResponse)
com.google.protobuf.MessageOrBuilder {
/**
* string task_id = 1;
* @return The taskId.
*/
java.lang.String getTaskId();
/**
* string task_id = 1;
* @return The bytes for taskId.
*/
com.google.protobuf.ByteString
getTaskIdBytes();
}
/**
* Protobuf type {@code conductor.grpc.tasks.UpdateTaskResponse}
*/
public static final class UpdateTaskResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:conductor.grpc.tasks.UpdateTaskResponse)
UpdateTaskResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use UpdateTaskResponse.newBuilder() to construct.
private UpdateTaskResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private UpdateTaskResponse() {
taskId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new UpdateTaskResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_UpdateTaskResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_UpdateTaskResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.grpc.TaskServicePb.UpdateTaskResponse.class, com.netflix.conductor.grpc.TaskServicePb.UpdateTaskResponse.Builder.class);
}
public static final int TASK_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object taskId_ = "";
/**
* string task_id = 1;
* @return The taskId.
*/
@java.lang.Override
public java.lang.String getTaskId() {
java.lang.Object ref = taskId_;
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();
taskId_ = s;
return s;
}
}
/**
* string task_id = 1;
* @return The bytes for taskId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTaskIdBytes() {
java.lang.Object ref = taskId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
taskId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, taskId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, taskId_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.netflix.conductor.grpc.TaskServicePb.UpdateTaskResponse)) {
return super.equals(obj);
}
com.netflix.conductor.grpc.TaskServicePb.UpdateTaskResponse other = (com.netflix.conductor.grpc.TaskServicePb.UpdateTaskResponse) obj;
if (!getTaskId()
.equals(other.getTaskId())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) 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) + TASK_ID_FIELD_NUMBER;
hash = (53 * hash) + getTaskId().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.netflix.conductor.grpc.TaskServicePb.UpdateTaskResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.UpdateTaskResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.UpdateTaskResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.UpdateTaskResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.UpdateTaskResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.UpdateTaskResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.UpdateTaskResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.UpdateTaskResponse 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 com.netflix.conductor.grpc.TaskServicePb.UpdateTaskResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.UpdateTaskResponse 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 com.netflix.conductor.grpc.TaskServicePb.UpdateTaskResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.UpdateTaskResponse 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(com.netflix.conductor.grpc.TaskServicePb.UpdateTaskResponse 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 conductor.grpc.tasks.UpdateTaskResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:conductor.grpc.tasks.UpdateTaskResponse)
com.netflix.conductor.grpc.TaskServicePb.UpdateTaskResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_UpdateTaskResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_UpdateTaskResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.grpc.TaskServicePb.UpdateTaskResponse.class, com.netflix.conductor.grpc.TaskServicePb.UpdateTaskResponse.Builder.class);
}
// Construct using com.netflix.conductor.grpc.TaskServicePb.UpdateTaskResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
taskId_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_UpdateTaskResponse_descriptor;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.UpdateTaskResponse getDefaultInstanceForType() {
return com.netflix.conductor.grpc.TaskServicePb.UpdateTaskResponse.getDefaultInstance();
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.UpdateTaskResponse build() {
com.netflix.conductor.grpc.TaskServicePb.UpdateTaskResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.UpdateTaskResponse buildPartial() {
com.netflix.conductor.grpc.TaskServicePb.UpdateTaskResponse result = new com.netflix.conductor.grpc.TaskServicePb.UpdateTaskResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.netflix.conductor.grpc.TaskServicePb.UpdateTaskResponse result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.taskId_ = taskId_;
}
}
@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 com.netflix.conductor.grpc.TaskServicePb.UpdateTaskResponse) {
return mergeFrom((com.netflix.conductor.grpc.TaskServicePb.UpdateTaskResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.netflix.conductor.grpc.TaskServicePb.UpdateTaskResponse other) {
if (other == com.netflix.conductor.grpc.TaskServicePb.UpdateTaskResponse.getDefaultInstance()) return this;
if (!other.getTaskId().isEmpty()) {
taskId_ = other.taskId_;
bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
taskId_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object taskId_ = "";
/**
* string task_id = 1;
* @return The taskId.
*/
public java.lang.String getTaskId() {
java.lang.Object ref = taskId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
taskId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string task_id = 1;
* @return The bytes for taskId.
*/
public com.google.protobuf.ByteString
getTaskIdBytes() {
java.lang.Object ref = taskId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
taskId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string task_id = 1;
* @param value The taskId to set.
* @return This builder for chaining.
*/
public Builder setTaskId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
taskId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* string task_id = 1;
* @return This builder for chaining.
*/
public Builder clearTaskId() {
taskId_ = getDefaultInstance().getTaskId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* string task_id = 1;
* @param value The bytes for taskId to set.
* @return This builder for chaining.
*/
public Builder setTaskIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
taskId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
@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:conductor.grpc.tasks.UpdateTaskResponse)
}
// @@protoc_insertion_point(class_scope:conductor.grpc.tasks.UpdateTaskResponse)
private static final com.netflix.conductor.grpc.TaskServicePb.UpdateTaskResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.netflix.conductor.grpc.TaskServicePb.UpdateTaskResponse();
}
public static com.netflix.conductor.grpc.TaskServicePb.UpdateTaskResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public UpdateTaskResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.UpdateTaskResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AddLogRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:conductor.grpc.tasks.AddLogRequest)
com.google.protobuf.MessageOrBuilder {
/**
* string task_id = 1;
* @return The taskId.
*/
java.lang.String getTaskId();
/**
* string task_id = 1;
* @return The bytes for taskId.
*/
com.google.protobuf.ByteString
getTaskIdBytes();
/**
* string log = 2;
* @return The log.
*/
java.lang.String getLog();
/**
* string log = 2;
* @return The bytes for log.
*/
com.google.protobuf.ByteString
getLogBytes();
}
/**
* Protobuf type {@code conductor.grpc.tasks.AddLogRequest}
*/
public static final class AddLogRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:conductor.grpc.tasks.AddLogRequest)
AddLogRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use AddLogRequest.newBuilder() to construct.
private AddLogRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AddLogRequest() {
taskId_ = "";
log_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AddLogRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_AddLogRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_AddLogRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.grpc.TaskServicePb.AddLogRequest.class, com.netflix.conductor.grpc.TaskServicePb.AddLogRequest.Builder.class);
}
public static final int TASK_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object taskId_ = "";
/**
* string task_id = 1;
* @return The taskId.
*/
@java.lang.Override
public java.lang.String getTaskId() {
java.lang.Object ref = taskId_;
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();
taskId_ = s;
return s;
}
}
/**
* string task_id = 1;
* @return The bytes for taskId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTaskIdBytes() {
java.lang.Object ref = taskId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
taskId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LOG_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object log_ = "";
/**
* string log = 2;
* @return The log.
*/
@java.lang.Override
public java.lang.String getLog() {
java.lang.Object ref = log_;
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();
log_ = s;
return s;
}
}
/**
* string log = 2;
* @return The bytes for log.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLogBytes() {
java.lang.Object ref = log_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
log_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, taskId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(log_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, log_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, taskId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(log_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, log_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.netflix.conductor.grpc.TaskServicePb.AddLogRequest)) {
return super.equals(obj);
}
com.netflix.conductor.grpc.TaskServicePb.AddLogRequest other = (com.netflix.conductor.grpc.TaskServicePb.AddLogRequest) obj;
if (!getTaskId()
.equals(other.getTaskId())) return false;
if (!getLog()
.equals(other.getLog())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) 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) + TASK_ID_FIELD_NUMBER;
hash = (53 * hash) + getTaskId().hashCode();
hash = (37 * hash) + LOG_FIELD_NUMBER;
hash = (53 * hash) + getLog().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.netflix.conductor.grpc.TaskServicePb.AddLogRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.AddLogRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.AddLogRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.AddLogRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.AddLogRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.AddLogRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.AddLogRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.AddLogRequest 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 com.netflix.conductor.grpc.TaskServicePb.AddLogRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.AddLogRequest 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 com.netflix.conductor.grpc.TaskServicePb.AddLogRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.AddLogRequest 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(com.netflix.conductor.grpc.TaskServicePb.AddLogRequest 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 conductor.grpc.tasks.AddLogRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:conductor.grpc.tasks.AddLogRequest)
com.netflix.conductor.grpc.TaskServicePb.AddLogRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_AddLogRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_AddLogRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.grpc.TaskServicePb.AddLogRequest.class, com.netflix.conductor.grpc.TaskServicePb.AddLogRequest.Builder.class);
}
// Construct using com.netflix.conductor.grpc.TaskServicePb.AddLogRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
taskId_ = "";
log_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_AddLogRequest_descriptor;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.AddLogRequest getDefaultInstanceForType() {
return com.netflix.conductor.grpc.TaskServicePb.AddLogRequest.getDefaultInstance();
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.AddLogRequest build() {
com.netflix.conductor.grpc.TaskServicePb.AddLogRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.AddLogRequest buildPartial() {
com.netflix.conductor.grpc.TaskServicePb.AddLogRequest result = new com.netflix.conductor.grpc.TaskServicePb.AddLogRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.netflix.conductor.grpc.TaskServicePb.AddLogRequest result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.taskId_ = taskId_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.log_ = log_;
}
}
@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 com.netflix.conductor.grpc.TaskServicePb.AddLogRequest) {
return mergeFrom((com.netflix.conductor.grpc.TaskServicePb.AddLogRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.netflix.conductor.grpc.TaskServicePb.AddLogRequest other) {
if (other == com.netflix.conductor.grpc.TaskServicePb.AddLogRequest.getDefaultInstance()) return this;
if (!other.getTaskId().isEmpty()) {
taskId_ = other.taskId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getLog().isEmpty()) {
log_ = other.log_;
bitField0_ |= 0x00000002;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
taskId_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
log_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object taskId_ = "";
/**
* string task_id = 1;
* @return The taskId.
*/
public java.lang.String getTaskId() {
java.lang.Object ref = taskId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
taskId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string task_id = 1;
* @return The bytes for taskId.
*/
public com.google.protobuf.ByteString
getTaskIdBytes() {
java.lang.Object ref = taskId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
taskId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string task_id = 1;
* @param value The taskId to set.
* @return This builder for chaining.
*/
public Builder setTaskId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
taskId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* string task_id = 1;
* @return This builder for chaining.
*/
public Builder clearTaskId() {
taskId_ = getDefaultInstance().getTaskId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* string task_id = 1;
* @param value The bytes for taskId to set.
* @return This builder for chaining.
*/
public Builder setTaskIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
taskId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object log_ = "";
/**
* string log = 2;
* @return The log.
*/
public java.lang.String getLog() {
java.lang.Object ref = log_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
log_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string log = 2;
* @return The bytes for log.
*/
public com.google.protobuf.ByteString
getLogBytes() {
java.lang.Object ref = log_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
log_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string log = 2;
* @param value The log to set.
* @return This builder for chaining.
*/
public Builder setLog(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
log_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* string log = 2;
* @return This builder for chaining.
*/
public Builder clearLog() {
log_ = getDefaultInstance().getLog();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* string log = 2;
* @param value The bytes for log to set.
* @return This builder for chaining.
*/
public Builder setLogBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
log_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
@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:conductor.grpc.tasks.AddLogRequest)
}
// @@protoc_insertion_point(class_scope:conductor.grpc.tasks.AddLogRequest)
private static final com.netflix.conductor.grpc.TaskServicePb.AddLogRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.netflix.conductor.grpc.TaskServicePb.AddLogRequest();
}
public static com.netflix.conductor.grpc.TaskServicePb.AddLogRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public AddLogRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.AddLogRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AddLogResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:conductor.grpc.tasks.AddLogResponse)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code conductor.grpc.tasks.AddLogResponse}
*/
public static final class AddLogResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:conductor.grpc.tasks.AddLogResponse)
AddLogResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use AddLogResponse.newBuilder() to construct.
private AddLogResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AddLogResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AddLogResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_AddLogResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_AddLogResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.grpc.TaskServicePb.AddLogResponse.class, com.netflix.conductor.grpc.TaskServicePb.AddLogResponse.Builder.class);
}
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 {
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.netflix.conductor.grpc.TaskServicePb.AddLogResponse)) {
return super.equals(obj);
}
com.netflix.conductor.grpc.TaskServicePb.AddLogResponse other = (com.netflix.conductor.grpc.TaskServicePb.AddLogResponse) obj;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.netflix.conductor.grpc.TaskServicePb.AddLogResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.AddLogResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.AddLogResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.AddLogResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.AddLogResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.AddLogResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.AddLogResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.AddLogResponse 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 com.netflix.conductor.grpc.TaskServicePb.AddLogResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.AddLogResponse 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 com.netflix.conductor.grpc.TaskServicePb.AddLogResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.AddLogResponse 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(com.netflix.conductor.grpc.TaskServicePb.AddLogResponse 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 conductor.grpc.tasks.AddLogResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:conductor.grpc.tasks.AddLogResponse)
com.netflix.conductor.grpc.TaskServicePb.AddLogResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_AddLogResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_AddLogResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.grpc.TaskServicePb.AddLogResponse.class, com.netflix.conductor.grpc.TaskServicePb.AddLogResponse.Builder.class);
}
// Construct using com.netflix.conductor.grpc.TaskServicePb.AddLogResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_AddLogResponse_descriptor;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.AddLogResponse getDefaultInstanceForType() {
return com.netflix.conductor.grpc.TaskServicePb.AddLogResponse.getDefaultInstance();
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.AddLogResponse build() {
com.netflix.conductor.grpc.TaskServicePb.AddLogResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.AddLogResponse buildPartial() {
com.netflix.conductor.grpc.TaskServicePb.AddLogResponse result = new com.netflix.conductor.grpc.TaskServicePb.AddLogResponse(this);
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 com.netflix.conductor.grpc.TaskServicePb.AddLogResponse) {
return mergeFrom((com.netflix.conductor.grpc.TaskServicePb.AddLogResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.netflix.conductor.grpc.TaskServicePb.AddLogResponse other) {
if (other == com.netflix.conductor.grpc.TaskServicePb.AddLogResponse.getDefaultInstance()) return this;
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
@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:conductor.grpc.tasks.AddLogResponse)
}
// @@protoc_insertion_point(class_scope:conductor.grpc.tasks.AddLogResponse)
private static final com.netflix.conductor.grpc.TaskServicePb.AddLogResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.netflix.conductor.grpc.TaskServicePb.AddLogResponse();
}
public static com.netflix.conductor.grpc.TaskServicePb.AddLogResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public AddLogResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.AddLogResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetTaskLogsRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:conductor.grpc.tasks.GetTaskLogsRequest)
com.google.protobuf.MessageOrBuilder {
/**
* string task_id = 1;
* @return The taskId.
*/
java.lang.String getTaskId();
/**
* string task_id = 1;
* @return The bytes for taskId.
*/
com.google.protobuf.ByteString
getTaskIdBytes();
}
/**
* Protobuf type {@code conductor.grpc.tasks.GetTaskLogsRequest}
*/
public static final class GetTaskLogsRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:conductor.grpc.tasks.GetTaskLogsRequest)
GetTaskLogsRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetTaskLogsRequest.newBuilder() to construct.
private GetTaskLogsRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetTaskLogsRequest() {
taskId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetTaskLogsRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_GetTaskLogsRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_GetTaskLogsRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsRequest.class, com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsRequest.Builder.class);
}
public static final int TASK_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object taskId_ = "";
/**
* string task_id = 1;
* @return The taskId.
*/
@java.lang.Override
public java.lang.String getTaskId() {
java.lang.Object ref = taskId_;
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();
taskId_ = s;
return s;
}
}
/**
* string task_id = 1;
* @return The bytes for taskId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTaskIdBytes() {
java.lang.Object ref = taskId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
taskId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, taskId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, taskId_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsRequest)) {
return super.equals(obj);
}
com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsRequest other = (com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsRequest) obj;
if (!getTaskId()
.equals(other.getTaskId())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) 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) + TASK_ID_FIELD_NUMBER;
hash = (53 * hash) + getTaskId().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsRequest 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 com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsRequest 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 com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsRequest 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(com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsRequest 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 conductor.grpc.tasks.GetTaskLogsRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:conductor.grpc.tasks.GetTaskLogsRequest)
com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_GetTaskLogsRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_GetTaskLogsRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsRequest.class, com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsRequest.Builder.class);
}
// Construct using com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
taskId_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_GetTaskLogsRequest_descriptor;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsRequest getDefaultInstanceForType() {
return com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsRequest.getDefaultInstance();
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsRequest build() {
com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsRequest buildPartial() {
com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsRequest result = new com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsRequest result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.taskId_ = taskId_;
}
}
@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 com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsRequest) {
return mergeFrom((com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsRequest other) {
if (other == com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsRequest.getDefaultInstance()) return this;
if (!other.getTaskId().isEmpty()) {
taskId_ = other.taskId_;
bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
taskId_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object taskId_ = "";
/**
* string task_id = 1;
* @return The taskId.
*/
public java.lang.String getTaskId() {
java.lang.Object ref = taskId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
taskId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string task_id = 1;
* @return The bytes for taskId.
*/
public com.google.protobuf.ByteString
getTaskIdBytes() {
java.lang.Object ref = taskId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
taskId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string task_id = 1;
* @param value The taskId to set.
* @return This builder for chaining.
*/
public Builder setTaskId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
taskId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* string task_id = 1;
* @return This builder for chaining.
*/
public Builder clearTaskId() {
taskId_ = getDefaultInstance().getTaskId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* string task_id = 1;
* @param value The bytes for taskId to set.
* @return This builder for chaining.
*/
public Builder setTaskIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
taskId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
@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:conductor.grpc.tasks.GetTaskLogsRequest)
}
// @@protoc_insertion_point(class_scope:conductor.grpc.tasks.GetTaskLogsRequest)
private static final com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsRequest();
}
public static com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetTaskLogsRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetTaskLogsResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:conductor.grpc.tasks.GetTaskLogsResponse)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .conductor.proto.TaskExecLog logs = 1;
*/
java.util.List
getLogsList();
/**
* repeated .conductor.proto.TaskExecLog logs = 1;
*/
com.netflix.conductor.proto.TaskExecLogPb.TaskExecLog getLogs(int index);
/**
* repeated .conductor.proto.TaskExecLog logs = 1;
*/
int getLogsCount();
/**
* repeated .conductor.proto.TaskExecLog logs = 1;
*/
java.util.List extends com.netflix.conductor.proto.TaskExecLogPb.TaskExecLogOrBuilder>
getLogsOrBuilderList();
/**
* repeated .conductor.proto.TaskExecLog logs = 1;
*/
com.netflix.conductor.proto.TaskExecLogPb.TaskExecLogOrBuilder getLogsOrBuilder(
int index);
}
/**
* Protobuf type {@code conductor.grpc.tasks.GetTaskLogsResponse}
*/
public static final class GetTaskLogsResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:conductor.grpc.tasks.GetTaskLogsResponse)
GetTaskLogsResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetTaskLogsResponse.newBuilder() to construct.
private GetTaskLogsResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetTaskLogsResponse() {
logs_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetTaskLogsResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_GetTaskLogsResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_GetTaskLogsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsResponse.class, com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsResponse.Builder.class);
}
public static final int LOGS_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private java.util.List logs_;
/**
* repeated .conductor.proto.TaskExecLog logs = 1;
*/
@java.lang.Override
public java.util.List getLogsList() {
return logs_;
}
/**
* repeated .conductor.proto.TaskExecLog logs = 1;
*/
@java.lang.Override
public java.util.List extends com.netflix.conductor.proto.TaskExecLogPb.TaskExecLogOrBuilder>
getLogsOrBuilderList() {
return logs_;
}
/**
* repeated .conductor.proto.TaskExecLog logs = 1;
*/
@java.lang.Override
public int getLogsCount() {
return logs_.size();
}
/**
* repeated .conductor.proto.TaskExecLog logs = 1;
*/
@java.lang.Override
public com.netflix.conductor.proto.TaskExecLogPb.TaskExecLog getLogs(int index) {
return logs_.get(index);
}
/**
* repeated .conductor.proto.TaskExecLog logs = 1;
*/
@java.lang.Override
public com.netflix.conductor.proto.TaskExecLogPb.TaskExecLogOrBuilder getLogsOrBuilder(
int index) {
return logs_.get(index);
}
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 {
for (int i = 0; i < logs_.size(); i++) {
output.writeMessage(1, logs_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < logs_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, logs_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsResponse)) {
return super.equals(obj);
}
com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsResponse other = (com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsResponse) obj;
if (!getLogsList()
.equals(other.getLogsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getLogsCount() > 0) {
hash = (37 * hash) + LOGS_FIELD_NUMBER;
hash = (53 * hash) + getLogsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsResponse 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 com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsResponse 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 com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsResponse 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(com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsResponse 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 conductor.grpc.tasks.GetTaskLogsResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:conductor.grpc.tasks.GetTaskLogsResponse)
com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_GetTaskLogsResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_GetTaskLogsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsResponse.class, com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsResponse.Builder.class);
}
// Construct using com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
if (logsBuilder_ == null) {
logs_ = java.util.Collections.emptyList();
} else {
logs_ = null;
logsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_GetTaskLogsResponse_descriptor;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsResponse getDefaultInstanceForType() {
return com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsResponse.getDefaultInstance();
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsResponse build() {
com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsResponse buildPartial() {
com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsResponse result = new com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsResponse(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsResponse result) {
if (logsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
logs_ = java.util.Collections.unmodifiableList(logs_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.logs_ = logs_;
} else {
result.logs_ = logsBuilder_.build();
}
}
private void buildPartial0(com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsResponse result) {
int from_bitField0_ = bitField0_;
}
@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 com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsResponse) {
return mergeFrom((com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsResponse other) {
if (other == com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsResponse.getDefaultInstance()) return this;
if (logsBuilder_ == null) {
if (!other.logs_.isEmpty()) {
if (logs_.isEmpty()) {
logs_ = other.logs_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureLogsIsMutable();
logs_.addAll(other.logs_);
}
onChanged();
}
} else {
if (!other.logs_.isEmpty()) {
if (logsBuilder_.isEmpty()) {
logsBuilder_.dispose();
logsBuilder_ = null;
logs_ = other.logs_;
bitField0_ = (bitField0_ & ~0x00000001);
logsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getLogsFieldBuilder() : null;
} else {
logsBuilder_.addAllMessages(other.logs_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.netflix.conductor.proto.TaskExecLogPb.TaskExecLog m =
input.readMessage(
com.netflix.conductor.proto.TaskExecLogPb.TaskExecLog.parser(),
extensionRegistry);
if (logsBuilder_ == null) {
ensureLogsIsMutable();
logs_.add(m);
} else {
logsBuilder_.addMessage(m);
}
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.util.List logs_ =
java.util.Collections.emptyList();
private void ensureLogsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
logs_ = new java.util.ArrayList(logs_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.netflix.conductor.proto.TaskExecLogPb.TaskExecLog, com.netflix.conductor.proto.TaskExecLogPb.TaskExecLog.Builder, com.netflix.conductor.proto.TaskExecLogPb.TaskExecLogOrBuilder> logsBuilder_;
/**
* repeated .conductor.proto.TaskExecLog logs = 1;
*/
public java.util.List getLogsList() {
if (logsBuilder_ == null) {
return java.util.Collections.unmodifiableList(logs_);
} else {
return logsBuilder_.getMessageList();
}
}
/**
* repeated .conductor.proto.TaskExecLog logs = 1;
*/
public int getLogsCount() {
if (logsBuilder_ == null) {
return logs_.size();
} else {
return logsBuilder_.getCount();
}
}
/**
* repeated .conductor.proto.TaskExecLog logs = 1;
*/
public com.netflix.conductor.proto.TaskExecLogPb.TaskExecLog getLogs(int index) {
if (logsBuilder_ == null) {
return logs_.get(index);
} else {
return logsBuilder_.getMessage(index);
}
}
/**
* repeated .conductor.proto.TaskExecLog logs = 1;
*/
public Builder setLogs(
int index, com.netflix.conductor.proto.TaskExecLogPb.TaskExecLog value) {
if (logsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLogsIsMutable();
logs_.set(index, value);
onChanged();
} else {
logsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .conductor.proto.TaskExecLog logs = 1;
*/
public Builder setLogs(
int index, com.netflix.conductor.proto.TaskExecLogPb.TaskExecLog.Builder builderForValue) {
if (logsBuilder_ == null) {
ensureLogsIsMutable();
logs_.set(index, builderForValue.build());
onChanged();
} else {
logsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .conductor.proto.TaskExecLog logs = 1;
*/
public Builder addLogs(com.netflix.conductor.proto.TaskExecLogPb.TaskExecLog value) {
if (logsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLogsIsMutable();
logs_.add(value);
onChanged();
} else {
logsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .conductor.proto.TaskExecLog logs = 1;
*/
public Builder addLogs(
int index, com.netflix.conductor.proto.TaskExecLogPb.TaskExecLog value) {
if (logsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLogsIsMutable();
logs_.add(index, value);
onChanged();
} else {
logsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .conductor.proto.TaskExecLog logs = 1;
*/
public Builder addLogs(
com.netflix.conductor.proto.TaskExecLogPb.TaskExecLog.Builder builderForValue) {
if (logsBuilder_ == null) {
ensureLogsIsMutable();
logs_.add(builderForValue.build());
onChanged();
} else {
logsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .conductor.proto.TaskExecLog logs = 1;
*/
public Builder addLogs(
int index, com.netflix.conductor.proto.TaskExecLogPb.TaskExecLog.Builder builderForValue) {
if (logsBuilder_ == null) {
ensureLogsIsMutable();
logs_.add(index, builderForValue.build());
onChanged();
} else {
logsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .conductor.proto.TaskExecLog logs = 1;
*/
public Builder addAllLogs(
java.lang.Iterable extends com.netflix.conductor.proto.TaskExecLogPb.TaskExecLog> values) {
if (logsBuilder_ == null) {
ensureLogsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, logs_);
onChanged();
} else {
logsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .conductor.proto.TaskExecLog logs = 1;
*/
public Builder clearLogs() {
if (logsBuilder_ == null) {
logs_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
logsBuilder_.clear();
}
return this;
}
/**
* repeated .conductor.proto.TaskExecLog logs = 1;
*/
public Builder removeLogs(int index) {
if (logsBuilder_ == null) {
ensureLogsIsMutable();
logs_.remove(index);
onChanged();
} else {
logsBuilder_.remove(index);
}
return this;
}
/**
* repeated .conductor.proto.TaskExecLog logs = 1;
*/
public com.netflix.conductor.proto.TaskExecLogPb.TaskExecLog.Builder getLogsBuilder(
int index) {
return getLogsFieldBuilder().getBuilder(index);
}
/**
* repeated .conductor.proto.TaskExecLog logs = 1;
*/
public com.netflix.conductor.proto.TaskExecLogPb.TaskExecLogOrBuilder getLogsOrBuilder(
int index) {
if (logsBuilder_ == null) {
return logs_.get(index); } else {
return logsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .conductor.proto.TaskExecLog logs = 1;
*/
public java.util.List extends com.netflix.conductor.proto.TaskExecLogPb.TaskExecLogOrBuilder>
getLogsOrBuilderList() {
if (logsBuilder_ != null) {
return logsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(logs_);
}
}
/**
* repeated .conductor.proto.TaskExecLog logs = 1;
*/
public com.netflix.conductor.proto.TaskExecLogPb.TaskExecLog.Builder addLogsBuilder() {
return getLogsFieldBuilder().addBuilder(
com.netflix.conductor.proto.TaskExecLogPb.TaskExecLog.getDefaultInstance());
}
/**
* repeated .conductor.proto.TaskExecLog logs = 1;
*/
public com.netflix.conductor.proto.TaskExecLogPb.TaskExecLog.Builder addLogsBuilder(
int index) {
return getLogsFieldBuilder().addBuilder(
index, com.netflix.conductor.proto.TaskExecLogPb.TaskExecLog.getDefaultInstance());
}
/**
* repeated .conductor.proto.TaskExecLog logs = 1;
*/
public java.util.List
getLogsBuilderList() {
return getLogsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.netflix.conductor.proto.TaskExecLogPb.TaskExecLog, com.netflix.conductor.proto.TaskExecLogPb.TaskExecLog.Builder, com.netflix.conductor.proto.TaskExecLogPb.TaskExecLogOrBuilder>
getLogsFieldBuilder() {
if (logsBuilder_ == null) {
logsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.netflix.conductor.proto.TaskExecLogPb.TaskExecLog, com.netflix.conductor.proto.TaskExecLogPb.TaskExecLog.Builder, com.netflix.conductor.proto.TaskExecLogPb.TaskExecLogOrBuilder>(
logs_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
logs_ = null;
}
return logsBuilder_;
}
@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:conductor.grpc.tasks.GetTaskLogsResponse)
}
// @@protoc_insertion_point(class_scope:conductor.grpc.tasks.GetTaskLogsResponse)
private static final com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsResponse();
}
public static com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetTaskLogsResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.GetTaskLogsResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetTaskRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:conductor.grpc.tasks.GetTaskRequest)
com.google.protobuf.MessageOrBuilder {
/**
* string task_id = 1;
* @return The taskId.
*/
java.lang.String getTaskId();
/**
* string task_id = 1;
* @return The bytes for taskId.
*/
com.google.protobuf.ByteString
getTaskIdBytes();
}
/**
* Protobuf type {@code conductor.grpc.tasks.GetTaskRequest}
*/
public static final class GetTaskRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:conductor.grpc.tasks.GetTaskRequest)
GetTaskRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetTaskRequest.newBuilder() to construct.
private GetTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetTaskRequest() {
taskId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetTaskRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_GetTaskRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_GetTaskRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.grpc.TaskServicePb.GetTaskRequest.class, com.netflix.conductor.grpc.TaskServicePb.GetTaskRequest.Builder.class);
}
public static final int TASK_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object taskId_ = "";
/**
* string task_id = 1;
* @return The taskId.
*/
@java.lang.Override
public java.lang.String getTaskId() {
java.lang.Object ref = taskId_;
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();
taskId_ = s;
return s;
}
}
/**
* string task_id = 1;
* @return The bytes for taskId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTaskIdBytes() {
java.lang.Object ref = taskId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
taskId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, taskId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, taskId_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.netflix.conductor.grpc.TaskServicePb.GetTaskRequest)) {
return super.equals(obj);
}
com.netflix.conductor.grpc.TaskServicePb.GetTaskRequest other = (com.netflix.conductor.grpc.TaskServicePb.GetTaskRequest) obj;
if (!getTaskId()
.equals(other.getTaskId())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) 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) + TASK_ID_FIELD_NUMBER;
hash = (53 * hash) + getTaskId().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.netflix.conductor.grpc.TaskServicePb.GetTaskRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.GetTaskRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.GetTaskRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.GetTaskRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.GetTaskRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.GetTaskRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.GetTaskRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.GetTaskRequest 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 com.netflix.conductor.grpc.TaskServicePb.GetTaskRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.GetTaskRequest 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 com.netflix.conductor.grpc.TaskServicePb.GetTaskRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.GetTaskRequest 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(com.netflix.conductor.grpc.TaskServicePb.GetTaskRequest 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 conductor.grpc.tasks.GetTaskRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:conductor.grpc.tasks.GetTaskRequest)
com.netflix.conductor.grpc.TaskServicePb.GetTaskRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_GetTaskRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_GetTaskRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.grpc.TaskServicePb.GetTaskRequest.class, com.netflix.conductor.grpc.TaskServicePb.GetTaskRequest.Builder.class);
}
// Construct using com.netflix.conductor.grpc.TaskServicePb.GetTaskRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
taskId_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_GetTaskRequest_descriptor;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.GetTaskRequest getDefaultInstanceForType() {
return com.netflix.conductor.grpc.TaskServicePb.GetTaskRequest.getDefaultInstance();
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.GetTaskRequest build() {
com.netflix.conductor.grpc.TaskServicePb.GetTaskRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.GetTaskRequest buildPartial() {
com.netflix.conductor.grpc.TaskServicePb.GetTaskRequest result = new com.netflix.conductor.grpc.TaskServicePb.GetTaskRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.netflix.conductor.grpc.TaskServicePb.GetTaskRequest result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.taskId_ = taskId_;
}
}
@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 com.netflix.conductor.grpc.TaskServicePb.GetTaskRequest) {
return mergeFrom((com.netflix.conductor.grpc.TaskServicePb.GetTaskRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.netflix.conductor.grpc.TaskServicePb.GetTaskRequest other) {
if (other == com.netflix.conductor.grpc.TaskServicePb.GetTaskRequest.getDefaultInstance()) return this;
if (!other.getTaskId().isEmpty()) {
taskId_ = other.taskId_;
bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
taskId_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object taskId_ = "";
/**
* string task_id = 1;
* @return The taskId.
*/
public java.lang.String getTaskId() {
java.lang.Object ref = taskId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
taskId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string task_id = 1;
* @return The bytes for taskId.
*/
public com.google.protobuf.ByteString
getTaskIdBytes() {
java.lang.Object ref = taskId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
taskId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string task_id = 1;
* @param value The taskId to set.
* @return This builder for chaining.
*/
public Builder setTaskId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
taskId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* string task_id = 1;
* @return This builder for chaining.
*/
public Builder clearTaskId() {
taskId_ = getDefaultInstance().getTaskId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* string task_id = 1;
* @param value The bytes for taskId to set.
* @return This builder for chaining.
*/
public Builder setTaskIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
taskId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
@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:conductor.grpc.tasks.GetTaskRequest)
}
// @@protoc_insertion_point(class_scope:conductor.grpc.tasks.GetTaskRequest)
private static final com.netflix.conductor.grpc.TaskServicePb.GetTaskRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.netflix.conductor.grpc.TaskServicePb.GetTaskRequest();
}
public static com.netflix.conductor.grpc.TaskServicePb.GetTaskRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetTaskRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.GetTaskRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetTaskResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:conductor.grpc.tasks.GetTaskResponse)
com.google.protobuf.MessageOrBuilder {
/**
* .conductor.proto.Task task = 1;
* @return Whether the task field is set.
*/
boolean hasTask();
/**
* .conductor.proto.Task task = 1;
* @return The task.
*/
com.netflix.conductor.proto.TaskPb.Task getTask();
/**
* .conductor.proto.Task task = 1;
*/
com.netflix.conductor.proto.TaskPb.TaskOrBuilder getTaskOrBuilder();
}
/**
* Protobuf type {@code conductor.grpc.tasks.GetTaskResponse}
*/
public static final class GetTaskResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:conductor.grpc.tasks.GetTaskResponse)
GetTaskResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetTaskResponse.newBuilder() to construct.
private GetTaskResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetTaskResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetTaskResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_GetTaskResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_GetTaskResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.grpc.TaskServicePb.GetTaskResponse.class, com.netflix.conductor.grpc.TaskServicePb.GetTaskResponse.Builder.class);
}
public static final int TASK_FIELD_NUMBER = 1;
private com.netflix.conductor.proto.TaskPb.Task task_;
/**
* .conductor.proto.Task task = 1;
* @return Whether the task field is set.
*/
@java.lang.Override
public boolean hasTask() {
return task_ != null;
}
/**
* .conductor.proto.Task task = 1;
* @return The task.
*/
@java.lang.Override
public com.netflix.conductor.proto.TaskPb.Task getTask() {
return task_ == null ? com.netflix.conductor.proto.TaskPb.Task.getDefaultInstance() : task_;
}
/**
* .conductor.proto.Task task = 1;
*/
@java.lang.Override
public com.netflix.conductor.proto.TaskPb.TaskOrBuilder getTaskOrBuilder() {
return task_ == null ? com.netflix.conductor.proto.TaskPb.Task.getDefaultInstance() : task_;
}
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 (task_ != null) {
output.writeMessage(1, getTask());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (task_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getTask());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.netflix.conductor.grpc.TaskServicePb.GetTaskResponse)) {
return super.equals(obj);
}
com.netflix.conductor.grpc.TaskServicePb.GetTaskResponse other = (com.netflix.conductor.grpc.TaskServicePb.GetTaskResponse) obj;
if (hasTask() != other.hasTask()) return false;
if (hasTask()) {
if (!getTask()
.equals(other.getTask())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasTask()) {
hash = (37 * hash) + TASK_FIELD_NUMBER;
hash = (53 * hash) + getTask().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.netflix.conductor.grpc.TaskServicePb.GetTaskResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.GetTaskResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.GetTaskResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.GetTaskResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.GetTaskResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.GetTaskResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.GetTaskResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.GetTaskResponse 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 com.netflix.conductor.grpc.TaskServicePb.GetTaskResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.GetTaskResponse 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 com.netflix.conductor.grpc.TaskServicePb.GetTaskResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.GetTaskResponse 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(com.netflix.conductor.grpc.TaskServicePb.GetTaskResponse 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 conductor.grpc.tasks.GetTaskResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:conductor.grpc.tasks.GetTaskResponse)
com.netflix.conductor.grpc.TaskServicePb.GetTaskResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_GetTaskResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_GetTaskResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.grpc.TaskServicePb.GetTaskResponse.class, com.netflix.conductor.grpc.TaskServicePb.GetTaskResponse.Builder.class);
}
// Construct using com.netflix.conductor.grpc.TaskServicePb.GetTaskResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
task_ = null;
if (taskBuilder_ != null) {
taskBuilder_.dispose();
taskBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_GetTaskResponse_descriptor;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.GetTaskResponse getDefaultInstanceForType() {
return com.netflix.conductor.grpc.TaskServicePb.GetTaskResponse.getDefaultInstance();
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.GetTaskResponse build() {
com.netflix.conductor.grpc.TaskServicePb.GetTaskResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.GetTaskResponse buildPartial() {
com.netflix.conductor.grpc.TaskServicePb.GetTaskResponse result = new com.netflix.conductor.grpc.TaskServicePb.GetTaskResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.netflix.conductor.grpc.TaskServicePb.GetTaskResponse result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.task_ = taskBuilder_ == null
? task_
: taskBuilder_.build();
}
}
@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 com.netflix.conductor.grpc.TaskServicePb.GetTaskResponse) {
return mergeFrom((com.netflix.conductor.grpc.TaskServicePb.GetTaskResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.netflix.conductor.grpc.TaskServicePb.GetTaskResponse other) {
if (other == com.netflix.conductor.grpc.TaskServicePb.GetTaskResponse.getDefaultInstance()) return this;
if (other.hasTask()) {
mergeTask(other.getTask());
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getTaskFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.netflix.conductor.proto.TaskPb.Task task_;
private com.google.protobuf.SingleFieldBuilderV3<
com.netflix.conductor.proto.TaskPb.Task, com.netflix.conductor.proto.TaskPb.Task.Builder, com.netflix.conductor.proto.TaskPb.TaskOrBuilder> taskBuilder_;
/**
* .conductor.proto.Task task = 1;
* @return Whether the task field is set.
*/
public boolean hasTask() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .conductor.proto.Task task = 1;
* @return The task.
*/
public com.netflix.conductor.proto.TaskPb.Task getTask() {
if (taskBuilder_ == null) {
return task_ == null ? com.netflix.conductor.proto.TaskPb.Task.getDefaultInstance() : task_;
} else {
return taskBuilder_.getMessage();
}
}
/**
* .conductor.proto.Task task = 1;
*/
public Builder setTask(com.netflix.conductor.proto.TaskPb.Task value) {
if (taskBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
task_ = value;
} else {
taskBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .conductor.proto.Task task = 1;
*/
public Builder setTask(
com.netflix.conductor.proto.TaskPb.Task.Builder builderForValue) {
if (taskBuilder_ == null) {
task_ = builderForValue.build();
} else {
taskBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .conductor.proto.Task task = 1;
*/
public Builder mergeTask(com.netflix.conductor.proto.TaskPb.Task value) {
if (taskBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
task_ != null &&
task_ != com.netflix.conductor.proto.TaskPb.Task.getDefaultInstance()) {
getTaskBuilder().mergeFrom(value);
} else {
task_ = value;
}
} else {
taskBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .conductor.proto.Task task = 1;
*/
public Builder clearTask() {
bitField0_ = (bitField0_ & ~0x00000001);
task_ = null;
if (taskBuilder_ != null) {
taskBuilder_.dispose();
taskBuilder_ = null;
}
onChanged();
return this;
}
/**
* .conductor.proto.Task task = 1;
*/
public com.netflix.conductor.proto.TaskPb.Task.Builder getTaskBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getTaskFieldBuilder().getBuilder();
}
/**
* .conductor.proto.Task task = 1;
*/
public com.netflix.conductor.proto.TaskPb.TaskOrBuilder getTaskOrBuilder() {
if (taskBuilder_ != null) {
return taskBuilder_.getMessageOrBuilder();
} else {
return task_ == null ?
com.netflix.conductor.proto.TaskPb.Task.getDefaultInstance() : task_;
}
}
/**
* .conductor.proto.Task task = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.netflix.conductor.proto.TaskPb.Task, com.netflix.conductor.proto.TaskPb.Task.Builder, com.netflix.conductor.proto.TaskPb.TaskOrBuilder>
getTaskFieldBuilder() {
if (taskBuilder_ == null) {
taskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.netflix.conductor.proto.TaskPb.Task, com.netflix.conductor.proto.TaskPb.Task.Builder, com.netflix.conductor.proto.TaskPb.TaskOrBuilder>(
getTask(),
getParentForChildren(),
isClean());
task_ = null;
}
return taskBuilder_;
}
@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:conductor.grpc.tasks.GetTaskResponse)
}
// @@protoc_insertion_point(class_scope:conductor.grpc.tasks.GetTaskResponse)
private static final com.netflix.conductor.grpc.TaskServicePb.GetTaskResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.netflix.conductor.grpc.TaskServicePb.GetTaskResponse();
}
public static com.netflix.conductor.grpc.TaskServicePb.GetTaskResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetTaskResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.GetTaskResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QueueSizesRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:conductor.grpc.tasks.QueueSizesRequest)
com.google.protobuf.MessageOrBuilder {
/**
* repeated string task_types = 1;
* @return A list containing the taskTypes.
*/
java.util.List
getTaskTypesList();
/**
* repeated string task_types = 1;
* @return The count of taskTypes.
*/
int getTaskTypesCount();
/**
* repeated string task_types = 1;
* @param index The index of the element to return.
* @return The taskTypes at the given index.
*/
java.lang.String getTaskTypes(int index);
/**
* repeated string task_types = 1;
* @param index The index of the value to return.
* @return The bytes of the taskTypes at the given index.
*/
com.google.protobuf.ByteString
getTaskTypesBytes(int index);
}
/**
* Protobuf type {@code conductor.grpc.tasks.QueueSizesRequest}
*/
public static final class QueueSizesRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:conductor.grpc.tasks.QueueSizesRequest)
QueueSizesRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use QueueSizesRequest.newBuilder() to construct.
private QueueSizesRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QueueSizesRequest() {
taskTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new QueueSizesRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_QueueSizesRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_QueueSizesRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.grpc.TaskServicePb.QueueSizesRequest.class, com.netflix.conductor.grpc.TaskServicePb.QueueSizesRequest.Builder.class);
}
public static final int TASK_TYPES_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringList taskTypes_;
/**
* repeated string task_types = 1;
* @return A list containing the taskTypes.
*/
public com.google.protobuf.ProtocolStringList
getTaskTypesList() {
return taskTypes_;
}
/**
* repeated string task_types = 1;
* @return The count of taskTypes.
*/
public int getTaskTypesCount() {
return taskTypes_.size();
}
/**
* repeated string task_types = 1;
* @param index The index of the element to return.
* @return The taskTypes at the given index.
*/
public java.lang.String getTaskTypes(int index) {
return taskTypes_.get(index);
}
/**
* repeated string task_types = 1;
* @param index The index of the value to return.
* @return The bytes of the taskTypes at the given index.
*/
public com.google.protobuf.ByteString
getTaskTypesBytes(int index) {
return taskTypes_.getByteString(index);
}
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 {
for (int i = 0; i < taskTypes_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, taskTypes_.getRaw(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < taskTypes_.size(); i++) {
dataSize += computeStringSizeNoTag(taskTypes_.getRaw(i));
}
size += dataSize;
size += 1 * getTaskTypesList().size();
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.netflix.conductor.grpc.TaskServicePb.QueueSizesRequest)) {
return super.equals(obj);
}
com.netflix.conductor.grpc.TaskServicePb.QueueSizesRequest other = (com.netflix.conductor.grpc.TaskServicePb.QueueSizesRequest) obj;
if (!getTaskTypesList()
.equals(other.getTaskTypesList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getTaskTypesCount() > 0) {
hash = (37 * hash) + TASK_TYPES_FIELD_NUMBER;
hash = (53 * hash) + getTaskTypesList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueSizesRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueSizesRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueSizesRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueSizesRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueSizesRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueSizesRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueSizesRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueSizesRequest 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 com.netflix.conductor.grpc.TaskServicePb.QueueSizesRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueSizesRequest 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 com.netflix.conductor.grpc.TaskServicePb.QueueSizesRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueSizesRequest 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(com.netflix.conductor.grpc.TaskServicePb.QueueSizesRequest 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 conductor.grpc.tasks.QueueSizesRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:conductor.grpc.tasks.QueueSizesRequest)
com.netflix.conductor.grpc.TaskServicePb.QueueSizesRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_QueueSizesRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_QueueSizesRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.grpc.TaskServicePb.QueueSizesRequest.class, com.netflix.conductor.grpc.TaskServicePb.QueueSizesRequest.Builder.class);
}
// Construct using com.netflix.conductor.grpc.TaskServicePb.QueueSizesRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
taskTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_QueueSizesRequest_descriptor;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.QueueSizesRequest getDefaultInstanceForType() {
return com.netflix.conductor.grpc.TaskServicePb.QueueSizesRequest.getDefaultInstance();
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.QueueSizesRequest build() {
com.netflix.conductor.grpc.TaskServicePb.QueueSizesRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.QueueSizesRequest buildPartial() {
com.netflix.conductor.grpc.TaskServicePb.QueueSizesRequest result = new com.netflix.conductor.grpc.TaskServicePb.QueueSizesRequest(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(com.netflix.conductor.grpc.TaskServicePb.QueueSizesRequest result) {
if (((bitField0_ & 0x00000001) != 0)) {
taskTypes_ = taskTypes_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.taskTypes_ = taskTypes_;
}
private void buildPartial0(com.netflix.conductor.grpc.TaskServicePb.QueueSizesRequest result) {
int from_bitField0_ = bitField0_;
}
@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 com.netflix.conductor.grpc.TaskServicePb.QueueSizesRequest) {
return mergeFrom((com.netflix.conductor.grpc.TaskServicePb.QueueSizesRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.netflix.conductor.grpc.TaskServicePb.QueueSizesRequest other) {
if (other == com.netflix.conductor.grpc.TaskServicePb.QueueSizesRequest.getDefaultInstance()) return this;
if (!other.taskTypes_.isEmpty()) {
if (taskTypes_.isEmpty()) {
taskTypes_ = other.taskTypes_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureTaskTypesIsMutable();
taskTypes_.addAll(other.taskTypes_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
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();
ensureTaskTypesIsMutable();
taskTypes_.add(s);
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.google.protobuf.LazyStringList taskTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureTaskTypesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
taskTypes_ = new com.google.protobuf.LazyStringArrayList(taskTypes_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated string task_types = 1;
* @return A list containing the taskTypes.
*/
public com.google.protobuf.ProtocolStringList
getTaskTypesList() {
return taskTypes_.getUnmodifiableView();
}
/**
* repeated string task_types = 1;
* @return The count of taskTypes.
*/
public int getTaskTypesCount() {
return taskTypes_.size();
}
/**
* repeated string task_types = 1;
* @param index The index of the element to return.
* @return The taskTypes at the given index.
*/
public java.lang.String getTaskTypes(int index) {
return taskTypes_.get(index);
}
/**
* repeated string task_types = 1;
* @param index The index of the value to return.
* @return The bytes of the taskTypes at the given index.
*/
public com.google.protobuf.ByteString
getTaskTypesBytes(int index) {
return taskTypes_.getByteString(index);
}
/**
* repeated string task_types = 1;
* @param index The index to set the value at.
* @param value The taskTypes to set.
* @return This builder for chaining.
*/
public Builder setTaskTypes(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureTaskTypesIsMutable();
taskTypes_.set(index, value);
onChanged();
return this;
}
/**
* repeated string task_types = 1;
* @param value The taskTypes to add.
* @return This builder for chaining.
*/
public Builder addTaskTypes(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureTaskTypesIsMutable();
taskTypes_.add(value);
onChanged();
return this;
}
/**
* repeated string task_types = 1;
* @param values The taskTypes to add.
* @return This builder for chaining.
*/
public Builder addAllTaskTypes(
java.lang.Iterable values) {
ensureTaskTypesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, taskTypes_);
onChanged();
return this;
}
/**
* repeated string task_types = 1;
* @return This builder for chaining.
*/
public Builder clearTaskTypes() {
taskTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* repeated string task_types = 1;
* @param value The bytes of the taskTypes to add.
* @return This builder for chaining.
*/
public Builder addTaskTypesBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
ensureTaskTypesIsMutable();
taskTypes_.add(value);
onChanged();
return this;
}
@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:conductor.grpc.tasks.QueueSizesRequest)
}
// @@protoc_insertion_point(class_scope:conductor.grpc.tasks.QueueSizesRequest)
private static final com.netflix.conductor.grpc.TaskServicePb.QueueSizesRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.netflix.conductor.grpc.TaskServicePb.QueueSizesRequest();
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueSizesRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public QueueSizesRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.QueueSizesRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QueueSizesResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:conductor.grpc.tasks.QueueSizesResponse)
com.google.protobuf.MessageOrBuilder {
/**
* map<string, int32> queue_for_task = 1;
*/
int getQueueForTaskCount();
/**
* map<string, int32> queue_for_task = 1;
*/
boolean containsQueueForTask(
java.lang.String key);
/**
* Use {@link #getQueueForTaskMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getQueueForTask();
/**
* map<string, int32> queue_for_task = 1;
*/
java.util.Map
getQueueForTaskMap();
/**
* map<string, int32> queue_for_task = 1;
*/
int getQueueForTaskOrDefault(
java.lang.String key,
int defaultValue);
/**
* map<string, int32> queue_for_task = 1;
*/
int getQueueForTaskOrThrow(
java.lang.String key);
}
/**
* Protobuf type {@code conductor.grpc.tasks.QueueSizesResponse}
*/
public static final class QueueSizesResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:conductor.grpc.tasks.QueueSizesResponse)
QueueSizesResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use QueueSizesResponse.newBuilder() to construct.
private QueueSizesResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QueueSizesResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new QueueSizesResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_QueueSizesResponse_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 1:
return internalGetQueueForTask();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_QueueSizesResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.grpc.TaskServicePb.QueueSizesResponse.class, com.netflix.conductor.grpc.TaskServicePb.QueueSizesResponse.Builder.class);
}
public static final int QUEUE_FOR_TASK_FIELD_NUMBER = 1;
private static final class QueueForTaskDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.String, java.lang.Integer> defaultEntry =
com.google.protobuf.MapEntry
.newDefaultInstance(
com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_QueueSizesResponse_QueueForTaskEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.INT32,
0);
}
@SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.String, java.lang.Integer> queueForTask_;
private com.google.protobuf.MapField
internalGetQueueForTask() {
if (queueForTask_ == null) {
return com.google.protobuf.MapField.emptyMapField(
QueueForTaskDefaultEntryHolder.defaultEntry);
}
return queueForTask_;
}
public int getQueueForTaskCount() {
return internalGetQueueForTask().getMap().size();
}
/**
* map<string, int32> queue_for_task = 1;
*/
@java.lang.Override
public boolean containsQueueForTask(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetQueueForTask().getMap().containsKey(key);
}
/**
* Use {@link #getQueueForTaskMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getQueueForTask() {
return getQueueForTaskMap();
}
/**
* map<string, int32> queue_for_task = 1;
*/
@java.lang.Override
public java.util.Map getQueueForTaskMap() {
return internalGetQueueForTask().getMap();
}
/**
* map<string, int32> queue_for_task = 1;
*/
@java.lang.Override
public int getQueueForTaskOrDefault(
java.lang.String key,
int defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetQueueForTask().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<string, int32> queue_for_task = 1;
*/
@java.lang.Override
public int getQueueForTaskOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetQueueForTask().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
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 {
com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetQueueForTask(),
QueueForTaskDefaultEntryHolder.defaultEntry,
1);
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (java.util.Map.Entry entry
: internalGetQueueForTask().getMap().entrySet()) {
com.google.protobuf.MapEntry
queueForTask__ = QueueForTaskDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, queueForTask__);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.netflix.conductor.grpc.TaskServicePb.QueueSizesResponse)) {
return super.equals(obj);
}
com.netflix.conductor.grpc.TaskServicePb.QueueSizesResponse other = (com.netflix.conductor.grpc.TaskServicePb.QueueSizesResponse) obj;
if (!internalGetQueueForTask().equals(
other.internalGetQueueForTask())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (!internalGetQueueForTask().getMap().isEmpty()) {
hash = (37 * hash) + QUEUE_FOR_TASK_FIELD_NUMBER;
hash = (53 * hash) + internalGetQueueForTask().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueSizesResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueSizesResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueSizesResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueSizesResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueSizesResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueSizesResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueSizesResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueSizesResponse 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 com.netflix.conductor.grpc.TaskServicePb.QueueSizesResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueSizesResponse 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 com.netflix.conductor.grpc.TaskServicePb.QueueSizesResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueSizesResponse 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(com.netflix.conductor.grpc.TaskServicePb.QueueSizesResponse 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 conductor.grpc.tasks.QueueSizesResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:conductor.grpc.tasks.QueueSizesResponse)
com.netflix.conductor.grpc.TaskServicePb.QueueSizesResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_QueueSizesResponse_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 1:
return internalGetQueueForTask();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMutableMapField(
int number) {
switch (number) {
case 1:
return internalGetMutableQueueForTask();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_QueueSizesResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.grpc.TaskServicePb.QueueSizesResponse.class, com.netflix.conductor.grpc.TaskServicePb.QueueSizesResponse.Builder.class);
}
// Construct using com.netflix.conductor.grpc.TaskServicePb.QueueSizesResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
internalGetMutableQueueForTask().clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_QueueSizesResponse_descriptor;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.QueueSizesResponse getDefaultInstanceForType() {
return com.netflix.conductor.grpc.TaskServicePb.QueueSizesResponse.getDefaultInstance();
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.QueueSizesResponse build() {
com.netflix.conductor.grpc.TaskServicePb.QueueSizesResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.QueueSizesResponse buildPartial() {
com.netflix.conductor.grpc.TaskServicePb.QueueSizesResponse result = new com.netflix.conductor.grpc.TaskServicePb.QueueSizesResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.netflix.conductor.grpc.TaskServicePb.QueueSizesResponse result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.queueForTask_ = internalGetQueueForTask();
result.queueForTask_.makeImmutable();
}
}
@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 com.netflix.conductor.grpc.TaskServicePb.QueueSizesResponse) {
return mergeFrom((com.netflix.conductor.grpc.TaskServicePb.QueueSizesResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.netflix.conductor.grpc.TaskServicePb.QueueSizesResponse other) {
if (other == com.netflix.conductor.grpc.TaskServicePb.QueueSizesResponse.getDefaultInstance()) return this;
internalGetMutableQueueForTask().mergeFrom(
other.internalGetQueueForTask());
bitField0_ |= 0x00000001;
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.google.protobuf.MapEntry
queueForTask__ = input.readMessage(
QueueForTaskDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutableQueueForTask().getMutableMap().put(
queueForTask__.getKey(), queueForTask__.getValue());
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.google.protobuf.MapField<
java.lang.String, java.lang.Integer> queueForTask_;
private com.google.protobuf.MapField
internalGetQueueForTask() {
if (queueForTask_ == null) {
return com.google.protobuf.MapField.emptyMapField(
QueueForTaskDefaultEntryHolder.defaultEntry);
}
return queueForTask_;
}
private com.google.protobuf.MapField
internalGetMutableQueueForTask() {
if (queueForTask_ == null) {
queueForTask_ = com.google.protobuf.MapField.newMapField(
QueueForTaskDefaultEntryHolder.defaultEntry);
}
if (!queueForTask_.isMutable()) {
queueForTask_ = queueForTask_.copy();
}
bitField0_ |= 0x00000001;
onChanged();
return queueForTask_;
}
public int getQueueForTaskCount() {
return internalGetQueueForTask().getMap().size();
}
/**
* map<string, int32> queue_for_task = 1;
*/
@java.lang.Override
public boolean containsQueueForTask(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetQueueForTask().getMap().containsKey(key);
}
/**
* Use {@link #getQueueForTaskMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getQueueForTask() {
return getQueueForTaskMap();
}
/**
* map<string, int32> queue_for_task = 1;
*/
@java.lang.Override
public java.util.Map getQueueForTaskMap() {
return internalGetQueueForTask().getMap();
}
/**
* map<string, int32> queue_for_task = 1;
*/
@java.lang.Override
public int getQueueForTaskOrDefault(
java.lang.String key,
int defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetQueueForTask().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<string, int32> queue_for_task = 1;
*/
@java.lang.Override
public int getQueueForTaskOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetQueueForTask().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearQueueForTask() {
bitField0_ = (bitField0_ & ~0x00000001);
internalGetMutableQueueForTask().getMutableMap()
.clear();
return this;
}
/**
* map<string, int32> queue_for_task = 1;
*/
public Builder removeQueueForTask(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableQueueForTask().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map
getMutableQueueForTask() {
bitField0_ |= 0x00000001;
return internalGetMutableQueueForTask().getMutableMap();
}
/**
* map<string, int32> queue_for_task = 1;
*/
public Builder putQueueForTask(
java.lang.String key,
int value) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableQueueForTask().getMutableMap()
.put(key, value);
bitField0_ |= 0x00000001;
return this;
}
/**
* map<string, int32> queue_for_task = 1;
*/
public Builder putAllQueueForTask(
java.util.Map values) {
internalGetMutableQueueForTask().getMutableMap()
.putAll(values);
bitField0_ |= 0x00000001;
return this;
}
@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:conductor.grpc.tasks.QueueSizesResponse)
}
// @@protoc_insertion_point(class_scope:conductor.grpc.tasks.QueueSizesResponse)
private static final com.netflix.conductor.grpc.TaskServicePb.QueueSizesResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.netflix.conductor.grpc.TaskServicePb.QueueSizesResponse();
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueSizesResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public QueueSizesResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.QueueSizesResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QueueInfoRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:conductor.grpc.tasks.QueueInfoRequest)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code conductor.grpc.tasks.QueueInfoRequest}
*/
public static final class QueueInfoRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:conductor.grpc.tasks.QueueInfoRequest)
QueueInfoRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use QueueInfoRequest.newBuilder() to construct.
private QueueInfoRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QueueInfoRequest() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new QueueInfoRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_QueueInfoRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_QueueInfoRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.grpc.TaskServicePb.QueueInfoRequest.class, com.netflix.conductor.grpc.TaskServicePb.QueueInfoRequest.Builder.class);
}
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 {
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.netflix.conductor.grpc.TaskServicePb.QueueInfoRequest)) {
return super.equals(obj);
}
com.netflix.conductor.grpc.TaskServicePb.QueueInfoRequest other = (com.netflix.conductor.grpc.TaskServicePb.QueueInfoRequest) obj;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueInfoRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueInfoRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueInfoRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueInfoRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueInfoRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueInfoRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueInfoRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueInfoRequest 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 com.netflix.conductor.grpc.TaskServicePb.QueueInfoRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueInfoRequest 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 com.netflix.conductor.grpc.TaskServicePb.QueueInfoRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueInfoRequest 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(com.netflix.conductor.grpc.TaskServicePb.QueueInfoRequest 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 conductor.grpc.tasks.QueueInfoRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:conductor.grpc.tasks.QueueInfoRequest)
com.netflix.conductor.grpc.TaskServicePb.QueueInfoRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_QueueInfoRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_QueueInfoRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.grpc.TaskServicePb.QueueInfoRequest.class, com.netflix.conductor.grpc.TaskServicePb.QueueInfoRequest.Builder.class);
}
// Construct using com.netflix.conductor.grpc.TaskServicePb.QueueInfoRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_QueueInfoRequest_descriptor;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.QueueInfoRequest getDefaultInstanceForType() {
return com.netflix.conductor.grpc.TaskServicePb.QueueInfoRequest.getDefaultInstance();
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.QueueInfoRequest build() {
com.netflix.conductor.grpc.TaskServicePb.QueueInfoRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.QueueInfoRequest buildPartial() {
com.netflix.conductor.grpc.TaskServicePb.QueueInfoRequest result = new com.netflix.conductor.grpc.TaskServicePb.QueueInfoRequest(this);
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 com.netflix.conductor.grpc.TaskServicePb.QueueInfoRequest) {
return mergeFrom((com.netflix.conductor.grpc.TaskServicePb.QueueInfoRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.netflix.conductor.grpc.TaskServicePb.QueueInfoRequest other) {
if (other == com.netflix.conductor.grpc.TaskServicePb.QueueInfoRequest.getDefaultInstance()) return this;
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
@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:conductor.grpc.tasks.QueueInfoRequest)
}
// @@protoc_insertion_point(class_scope:conductor.grpc.tasks.QueueInfoRequest)
private static final com.netflix.conductor.grpc.TaskServicePb.QueueInfoRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.netflix.conductor.grpc.TaskServicePb.QueueInfoRequest();
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueInfoRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public QueueInfoRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.QueueInfoRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QueueInfoResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:conductor.grpc.tasks.QueueInfoResponse)
com.google.protobuf.MessageOrBuilder {
/**
* map<string, int64> queues = 1;
*/
int getQueuesCount();
/**
* map<string, int64> queues = 1;
*/
boolean containsQueues(
java.lang.String key);
/**
* Use {@link #getQueuesMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getQueues();
/**
* map<string, int64> queues = 1;
*/
java.util.Map
getQueuesMap();
/**
* map<string, int64> queues = 1;
*/
long getQueuesOrDefault(
java.lang.String key,
long defaultValue);
/**
* map<string, int64> queues = 1;
*/
long getQueuesOrThrow(
java.lang.String key);
}
/**
* Protobuf type {@code conductor.grpc.tasks.QueueInfoResponse}
*/
public static final class QueueInfoResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:conductor.grpc.tasks.QueueInfoResponse)
QueueInfoResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use QueueInfoResponse.newBuilder() to construct.
private QueueInfoResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QueueInfoResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new QueueInfoResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_QueueInfoResponse_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 1:
return internalGetQueues();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_QueueInfoResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.grpc.TaskServicePb.QueueInfoResponse.class, com.netflix.conductor.grpc.TaskServicePb.QueueInfoResponse.Builder.class);
}
public static final int QUEUES_FIELD_NUMBER = 1;
private static final class QueuesDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.String, java.lang.Long> defaultEntry =
com.google.protobuf.MapEntry
.newDefaultInstance(
com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_QueueInfoResponse_QueuesEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.INT64,
0L);
}
@SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.String, java.lang.Long> queues_;
private com.google.protobuf.MapField
internalGetQueues() {
if (queues_ == null) {
return com.google.protobuf.MapField.emptyMapField(
QueuesDefaultEntryHolder.defaultEntry);
}
return queues_;
}
public int getQueuesCount() {
return internalGetQueues().getMap().size();
}
/**
* map<string, int64> queues = 1;
*/
@java.lang.Override
public boolean containsQueues(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetQueues().getMap().containsKey(key);
}
/**
* Use {@link #getQueuesMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getQueues() {
return getQueuesMap();
}
/**
* map<string, int64> queues = 1;
*/
@java.lang.Override
public java.util.Map getQueuesMap() {
return internalGetQueues().getMap();
}
/**
* map<string, int64> queues = 1;
*/
@java.lang.Override
public long getQueuesOrDefault(
java.lang.String key,
long defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetQueues().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<string, int64> queues = 1;
*/
@java.lang.Override
public long getQueuesOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetQueues().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
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 {
com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetQueues(),
QueuesDefaultEntryHolder.defaultEntry,
1);
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (java.util.Map.Entry entry
: internalGetQueues().getMap().entrySet()) {
com.google.protobuf.MapEntry
queues__ = QueuesDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, queues__);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.netflix.conductor.grpc.TaskServicePb.QueueInfoResponse)) {
return super.equals(obj);
}
com.netflix.conductor.grpc.TaskServicePb.QueueInfoResponse other = (com.netflix.conductor.grpc.TaskServicePb.QueueInfoResponse) obj;
if (!internalGetQueues().equals(
other.internalGetQueues())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (!internalGetQueues().getMap().isEmpty()) {
hash = (37 * hash) + QUEUES_FIELD_NUMBER;
hash = (53 * hash) + internalGetQueues().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueInfoResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueInfoResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueInfoResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueInfoResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueInfoResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueInfoResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueInfoResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueInfoResponse 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 com.netflix.conductor.grpc.TaskServicePb.QueueInfoResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueInfoResponse 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 com.netflix.conductor.grpc.TaskServicePb.QueueInfoResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueInfoResponse 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(com.netflix.conductor.grpc.TaskServicePb.QueueInfoResponse 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 conductor.grpc.tasks.QueueInfoResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:conductor.grpc.tasks.QueueInfoResponse)
com.netflix.conductor.grpc.TaskServicePb.QueueInfoResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_QueueInfoResponse_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 1:
return internalGetQueues();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMutableMapField(
int number) {
switch (number) {
case 1:
return internalGetMutableQueues();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_QueueInfoResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.grpc.TaskServicePb.QueueInfoResponse.class, com.netflix.conductor.grpc.TaskServicePb.QueueInfoResponse.Builder.class);
}
// Construct using com.netflix.conductor.grpc.TaskServicePb.QueueInfoResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
internalGetMutableQueues().clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_QueueInfoResponse_descriptor;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.QueueInfoResponse getDefaultInstanceForType() {
return com.netflix.conductor.grpc.TaskServicePb.QueueInfoResponse.getDefaultInstance();
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.QueueInfoResponse build() {
com.netflix.conductor.grpc.TaskServicePb.QueueInfoResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.QueueInfoResponse buildPartial() {
com.netflix.conductor.grpc.TaskServicePb.QueueInfoResponse result = new com.netflix.conductor.grpc.TaskServicePb.QueueInfoResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.netflix.conductor.grpc.TaskServicePb.QueueInfoResponse result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.queues_ = internalGetQueues();
result.queues_.makeImmutable();
}
}
@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 com.netflix.conductor.grpc.TaskServicePb.QueueInfoResponse) {
return mergeFrom((com.netflix.conductor.grpc.TaskServicePb.QueueInfoResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.netflix.conductor.grpc.TaskServicePb.QueueInfoResponse other) {
if (other == com.netflix.conductor.grpc.TaskServicePb.QueueInfoResponse.getDefaultInstance()) return this;
internalGetMutableQueues().mergeFrom(
other.internalGetQueues());
bitField0_ |= 0x00000001;
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.google.protobuf.MapEntry
queues__ = input.readMessage(
QueuesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutableQueues().getMutableMap().put(
queues__.getKey(), queues__.getValue());
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.google.protobuf.MapField<
java.lang.String, java.lang.Long> queues_;
private com.google.protobuf.MapField
internalGetQueues() {
if (queues_ == null) {
return com.google.protobuf.MapField.emptyMapField(
QueuesDefaultEntryHolder.defaultEntry);
}
return queues_;
}
private com.google.protobuf.MapField
internalGetMutableQueues() {
if (queues_ == null) {
queues_ = com.google.protobuf.MapField.newMapField(
QueuesDefaultEntryHolder.defaultEntry);
}
if (!queues_.isMutable()) {
queues_ = queues_.copy();
}
bitField0_ |= 0x00000001;
onChanged();
return queues_;
}
public int getQueuesCount() {
return internalGetQueues().getMap().size();
}
/**
* map<string, int64> queues = 1;
*/
@java.lang.Override
public boolean containsQueues(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetQueues().getMap().containsKey(key);
}
/**
* Use {@link #getQueuesMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getQueues() {
return getQueuesMap();
}
/**
* map<string, int64> queues = 1;
*/
@java.lang.Override
public java.util.Map getQueuesMap() {
return internalGetQueues().getMap();
}
/**
* map<string, int64> queues = 1;
*/
@java.lang.Override
public long getQueuesOrDefault(
java.lang.String key,
long defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetQueues().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<string, int64> queues = 1;
*/
@java.lang.Override
public long getQueuesOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetQueues().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearQueues() {
bitField0_ = (bitField0_ & ~0x00000001);
internalGetMutableQueues().getMutableMap()
.clear();
return this;
}
/**
* map<string, int64> queues = 1;
*/
public Builder removeQueues(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableQueues().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map
getMutableQueues() {
bitField0_ |= 0x00000001;
return internalGetMutableQueues().getMutableMap();
}
/**
* map<string, int64> queues = 1;
*/
public Builder putQueues(
java.lang.String key,
long value) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableQueues().getMutableMap()
.put(key, value);
bitField0_ |= 0x00000001;
return this;
}
/**
* map<string, int64> queues = 1;
*/
public Builder putAllQueues(
java.util.Map values) {
internalGetMutableQueues().getMutableMap()
.putAll(values);
bitField0_ |= 0x00000001;
return this;
}
@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:conductor.grpc.tasks.QueueInfoResponse)
}
// @@protoc_insertion_point(class_scope:conductor.grpc.tasks.QueueInfoResponse)
private static final com.netflix.conductor.grpc.TaskServicePb.QueueInfoResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.netflix.conductor.grpc.TaskServicePb.QueueInfoResponse();
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueInfoResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public QueueInfoResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.QueueInfoResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QueueAllInfoRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:conductor.grpc.tasks.QueueAllInfoRequest)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code conductor.grpc.tasks.QueueAllInfoRequest}
*/
public static final class QueueAllInfoRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:conductor.grpc.tasks.QueueAllInfoRequest)
QueueAllInfoRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use QueueAllInfoRequest.newBuilder() to construct.
private QueueAllInfoRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QueueAllInfoRequest() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new QueueAllInfoRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_QueueAllInfoRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_QueueAllInfoRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoRequest.class, com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoRequest.Builder.class);
}
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 {
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoRequest)) {
return super.equals(obj);
}
com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoRequest other = (com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoRequest) obj;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoRequest 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 com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoRequest 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 com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoRequest 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(com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoRequest 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 conductor.grpc.tasks.QueueAllInfoRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:conductor.grpc.tasks.QueueAllInfoRequest)
com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_QueueAllInfoRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_QueueAllInfoRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoRequest.class, com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoRequest.Builder.class);
}
// Construct using com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_QueueAllInfoRequest_descriptor;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoRequest getDefaultInstanceForType() {
return com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoRequest.getDefaultInstance();
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoRequest build() {
com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoRequest buildPartial() {
com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoRequest result = new com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoRequest(this);
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 com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoRequest) {
return mergeFrom((com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoRequest other) {
if (other == com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoRequest.getDefaultInstance()) return this;
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
@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:conductor.grpc.tasks.QueueAllInfoRequest)
}
// @@protoc_insertion_point(class_scope:conductor.grpc.tasks.QueueAllInfoRequest)
private static final com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoRequest();
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public QueueAllInfoRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QueueAllInfoResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:conductor.grpc.tasks.QueueAllInfoResponse)
com.google.protobuf.MessageOrBuilder {
/**
* map<string, .conductor.grpc.tasks.QueueAllInfoResponse.QueueInfo> queues = 1;
*/
int getQueuesCount();
/**
* map<string, .conductor.grpc.tasks.QueueAllInfoResponse.QueueInfo> queues = 1;
*/
boolean containsQueues(
java.lang.String key);
/**
* Use {@link #getQueuesMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getQueues();
/**
* map<string, .conductor.grpc.tasks.QueueAllInfoResponse.QueueInfo> queues = 1;
*/
java.util.Map
getQueuesMap();
/**
* map<string, .conductor.grpc.tasks.QueueAllInfoResponse.QueueInfo> queues = 1;
*/
/* nullable */
com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo getQueuesOrDefault(
java.lang.String key,
/* nullable */
com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo defaultValue);
/**
* map<string, .conductor.grpc.tasks.QueueAllInfoResponse.QueueInfo> queues = 1;
*/
com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo getQueuesOrThrow(
java.lang.String key);
}
/**
* Protobuf type {@code conductor.grpc.tasks.QueueAllInfoResponse}
*/
public static final class QueueAllInfoResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:conductor.grpc.tasks.QueueAllInfoResponse)
QueueAllInfoResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use QueueAllInfoResponse.newBuilder() to construct.
private QueueAllInfoResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QueueAllInfoResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new QueueAllInfoResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_QueueAllInfoResponse_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 1:
return internalGetQueues();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_QueueAllInfoResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.class, com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.Builder.class);
}
public interface ShardInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:conductor.grpc.tasks.QueueAllInfoResponse.ShardInfo)
com.google.protobuf.MessageOrBuilder {
/**
* int64 size = 1;
* @return The size.
*/
long getSize();
/**
* int64 uacked = 2;
* @return The uacked.
*/
long getUacked();
}
/**
* Protobuf type {@code conductor.grpc.tasks.QueueAllInfoResponse.ShardInfo}
*/
public static final class ShardInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:conductor.grpc.tasks.QueueAllInfoResponse.ShardInfo)
ShardInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use ShardInfo.newBuilder() to construct.
private ShardInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ShardInfo() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ShardInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_QueueAllInfoResponse_ShardInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_QueueAllInfoResponse_ShardInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo.class, com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo.Builder.class);
}
public static final int SIZE_FIELD_NUMBER = 1;
private long size_ = 0L;
/**
* int64 size = 1;
* @return The size.
*/
@java.lang.Override
public long getSize() {
return size_;
}
public static final int UACKED_FIELD_NUMBER = 2;
private long uacked_ = 0L;
/**
* int64 uacked = 2;
* @return The uacked.
*/
@java.lang.Override
public long getUacked() {
return uacked_;
}
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 (size_ != 0L) {
output.writeInt64(1, size_);
}
if (uacked_ != 0L) {
output.writeInt64(2, uacked_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (size_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, size_);
}
if (uacked_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, uacked_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo)) {
return super.equals(obj);
}
com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo other = (com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo) obj;
if (getSize()
!= other.getSize()) return false;
if (getUacked()
!= other.getUacked()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) 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) + SIZE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSize());
hash = (37 * hash) + UACKED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getUacked());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo 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 com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo 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 com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo 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(com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo 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 conductor.grpc.tasks.QueueAllInfoResponse.ShardInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:conductor.grpc.tasks.QueueAllInfoResponse.ShardInfo)
com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_QueueAllInfoResponse_ShardInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_QueueAllInfoResponse_ShardInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo.class, com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo.Builder.class);
}
// Construct using com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
size_ = 0L;
uacked_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_QueueAllInfoResponse_ShardInfo_descriptor;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo getDefaultInstanceForType() {
return com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo.getDefaultInstance();
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo build() {
com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo buildPartial() {
com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo result = new com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.size_ = size_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.uacked_ = uacked_;
}
}
@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 com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo) {
return mergeFrom((com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo other) {
if (other == com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo.getDefaultInstance()) return this;
if (other.getSize() != 0L) {
setSize(other.getSize());
}
if (other.getUacked() != 0L) {
setUacked(other.getUacked());
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
size_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
uacked_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long size_ ;
/**
* int64 size = 1;
* @return The size.
*/
@java.lang.Override
public long getSize() {
return size_;
}
/**
* int64 size = 1;
* @param value The size to set.
* @return This builder for chaining.
*/
public Builder setSize(long value) {
size_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* int64 size = 1;
* @return This builder for chaining.
*/
public Builder clearSize() {
bitField0_ = (bitField0_ & ~0x00000001);
size_ = 0L;
onChanged();
return this;
}
private long uacked_ ;
/**
* int64 uacked = 2;
* @return The uacked.
*/
@java.lang.Override
public long getUacked() {
return uacked_;
}
/**
* int64 uacked = 2;
* @param value The uacked to set.
* @return This builder for chaining.
*/
public Builder setUacked(long value) {
uacked_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* int64 uacked = 2;
* @return This builder for chaining.
*/
public Builder clearUacked() {
bitField0_ = (bitField0_ & ~0x00000002);
uacked_ = 0L;
onChanged();
return this;
}
@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:conductor.grpc.tasks.QueueAllInfoResponse.ShardInfo)
}
// @@protoc_insertion_point(class_scope:conductor.grpc.tasks.QueueAllInfoResponse.ShardInfo)
private static final com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo();
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ShardInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QueueInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:conductor.grpc.tasks.QueueAllInfoResponse.QueueInfo)
com.google.protobuf.MessageOrBuilder {
/**
* map<string, .conductor.grpc.tasks.QueueAllInfoResponse.ShardInfo> shards = 1;
*/
int getShardsCount();
/**
* map<string, .conductor.grpc.tasks.QueueAllInfoResponse.ShardInfo> shards = 1;
*/
boolean containsShards(
java.lang.String key);
/**
* Use {@link #getShardsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getShards();
/**
* map<string, .conductor.grpc.tasks.QueueAllInfoResponse.ShardInfo> shards = 1;
*/
java.util.Map
getShardsMap();
/**
* map<string, .conductor.grpc.tasks.QueueAllInfoResponse.ShardInfo> shards = 1;
*/
/* nullable */
com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo getShardsOrDefault(
java.lang.String key,
/* nullable */
com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo defaultValue);
/**
* map<string, .conductor.grpc.tasks.QueueAllInfoResponse.ShardInfo> shards = 1;
*/
com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo getShardsOrThrow(
java.lang.String key);
}
/**
* Protobuf type {@code conductor.grpc.tasks.QueueAllInfoResponse.QueueInfo}
*/
public static final class QueueInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:conductor.grpc.tasks.QueueAllInfoResponse.QueueInfo)
QueueInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use QueueInfo.newBuilder() to construct.
private QueueInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QueueInfo() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new QueueInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_QueueAllInfoResponse_QueueInfo_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 1:
return internalGetShards();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_QueueAllInfoResponse_QueueInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo.class, com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo.Builder.class);
}
public static final int SHARDS_FIELD_NUMBER = 1;
private static final class ShardsDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.String, com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo> defaultEntry =
com.google.protobuf.MapEntry
.newDefaultInstance(
com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_QueueAllInfoResponse_QueueInfo_ShardsEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.MESSAGE,
com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo.getDefaultInstance());
}
@SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.String, com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo> shards_;
private com.google.protobuf.MapField
internalGetShards() {
if (shards_ == null) {
return com.google.protobuf.MapField.emptyMapField(
ShardsDefaultEntryHolder.defaultEntry);
}
return shards_;
}
public int getShardsCount() {
return internalGetShards().getMap().size();
}
/**
* map<string, .conductor.grpc.tasks.QueueAllInfoResponse.ShardInfo> shards = 1;
*/
@java.lang.Override
public boolean containsShards(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetShards().getMap().containsKey(key);
}
/**
* Use {@link #getShardsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getShards() {
return getShardsMap();
}
/**
* map<string, .conductor.grpc.tasks.QueueAllInfoResponse.ShardInfo> shards = 1;
*/
@java.lang.Override
public java.util.Map getShardsMap() {
return internalGetShards().getMap();
}
/**
* map<string, .conductor.grpc.tasks.QueueAllInfoResponse.ShardInfo> shards = 1;
*/
@java.lang.Override
public /* nullable */
com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo getShardsOrDefault(
java.lang.String key,
/* nullable */
com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetShards().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<string, .conductor.grpc.tasks.QueueAllInfoResponse.ShardInfo> shards = 1;
*/
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo getShardsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetShards().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
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 {
com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetShards(),
ShardsDefaultEntryHolder.defaultEntry,
1);
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (java.util.Map.Entry entry
: internalGetShards().getMap().entrySet()) {
com.google.protobuf.MapEntry
shards__ = ShardsDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, shards__);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo)) {
return super.equals(obj);
}
com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo other = (com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo) obj;
if (!internalGetShards().equals(
other.internalGetShards())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (!internalGetShards().getMap().isEmpty()) {
hash = (37 * hash) + SHARDS_FIELD_NUMBER;
hash = (53 * hash) + internalGetShards().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo 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 com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo 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 com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo 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(com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo 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 conductor.grpc.tasks.QueueAllInfoResponse.QueueInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:conductor.grpc.tasks.QueueAllInfoResponse.QueueInfo)
com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_QueueAllInfoResponse_QueueInfo_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 1:
return internalGetShards();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMutableMapField(
int number) {
switch (number) {
case 1:
return internalGetMutableShards();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_QueueAllInfoResponse_QueueInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo.class, com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo.Builder.class);
}
// Construct using com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
internalGetMutableShards().clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_QueueAllInfoResponse_QueueInfo_descriptor;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo getDefaultInstanceForType() {
return com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo.getDefaultInstance();
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo build() {
com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo buildPartial() {
com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo result = new com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.shards_ = internalGetShards();
result.shards_.makeImmutable();
}
}
@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 com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo) {
return mergeFrom((com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo other) {
if (other == com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo.getDefaultInstance()) return this;
internalGetMutableShards().mergeFrom(
other.internalGetShards());
bitField0_ |= 0x00000001;
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.google.protobuf.MapEntry
shards__ = input.readMessage(
ShardsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutableShards().getMutableMap().put(
shards__.getKey(), shards__.getValue());
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.google.protobuf.MapField<
java.lang.String, com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo> shards_;
private com.google.protobuf.MapField
internalGetShards() {
if (shards_ == null) {
return com.google.protobuf.MapField.emptyMapField(
ShardsDefaultEntryHolder.defaultEntry);
}
return shards_;
}
private com.google.protobuf.MapField
internalGetMutableShards() {
if (shards_ == null) {
shards_ = com.google.protobuf.MapField.newMapField(
ShardsDefaultEntryHolder.defaultEntry);
}
if (!shards_.isMutable()) {
shards_ = shards_.copy();
}
bitField0_ |= 0x00000001;
onChanged();
return shards_;
}
public int getShardsCount() {
return internalGetShards().getMap().size();
}
/**
* map<string, .conductor.grpc.tasks.QueueAllInfoResponse.ShardInfo> shards = 1;
*/
@java.lang.Override
public boolean containsShards(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetShards().getMap().containsKey(key);
}
/**
* Use {@link #getShardsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getShards() {
return getShardsMap();
}
/**
* map<string, .conductor.grpc.tasks.QueueAllInfoResponse.ShardInfo> shards = 1;
*/
@java.lang.Override
public java.util.Map getShardsMap() {
return internalGetShards().getMap();
}
/**
* map<string, .conductor.grpc.tasks.QueueAllInfoResponse.ShardInfo> shards = 1;
*/
@java.lang.Override
public /* nullable */
com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo getShardsOrDefault(
java.lang.String key,
/* nullable */
com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetShards().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<string, .conductor.grpc.tasks.QueueAllInfoResponse.ShardInfo> shards = 1;
*/
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo getShardsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetShards().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearShards() {
bitField0_ = (bitField0_ & ~0x00000001);
internalGetMutableShards().getMutableMap()
.clear();
return this;
}
/**
* map<string, .conductor.grpc.tasks.QueueAllInfoResponse.ShardInfo> shards = 1;
*/
public Builder removeShards(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableShards().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map
getMutableShards() {
bitField0_ |= 0x00000001;
return internalGetMutableShards().getMutableMap();
}
/**
* map<string, .conductor.grpc.tasks.QueueAllInfoResponse.ShardInfo> shards = 1;
*/
public Builder putShards(
java.lang.String key,
com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.ShardInfo value) {
if (key == null) { throw new NullPointerException("map key"); }
if (value == null) { throw new NullPointerException("map value"); }
internalGetMutableShards().getMutableMap()
.put(key, value);
bitField0_ |= 0x00000001;
return this;
}
/**
* map<string, .conductor.grpc.tasks.QueueAllInfoResponse.ShardInfo> shards = 1;
*/
public Builder putAllShards(
java.util.Map values) {
internalGetMutableShards().getMutableMap()
.putAll(values);
bitField0_ |= 0x00000001;
return this;
}
@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:conductor.grpc.tasks.QueueAllInfoResponse.QueueInfo)
}
// @@protoc_insertion_point(class_scope:conductor.grpc.tasks.QueueAllInfoResponse.QueueInfo)
private static final com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo();
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public QueueInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public static final int QUEUES_FIELD_NUMBER = 1;
private static final class QueuesDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.String, com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo> defaultEntry =
com.google.protobuf.MapEntry
.newDefaultInstance(
com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_QueueAllInfoResponse_QueuesEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.MESSAGE,
com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo.getDefaultInstance());
}
@SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.String, com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo> queues_;
private com.google.protobuf.MapField
internalGetQueues() {
if (queues_ == null) {
return com.google.protobuf.MapField.emptyMapField(
QueuesDefaultEntryHolder.defaultEntry);
}
return queues_;
}
public int getQueuesCount() {
return internalGetQueues().getMap().size();
}
/**
* map<string, .conductor.grpc.tasks.QueueAllInfoResponse.QueueInfo> queues = 1;
*/
@java.lang.Override
public boolean containsQueues(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetQueues().getMap().containsKey(key);
}
/**
* Use {@link #getQueuesMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getQueues() {
return getQueuesMap();
}
/**
* map<string, .conductor.grpc.tasks.QueueAllInfoResponse.QueueInfo> queues = 1;
*/
@java.lang.Override
public java.util.Map getQueuesMap() {
return internalGetQueues().getMap();
}
/**
* map<string, .conductor.grpc.tasks.QueueAllInfoResponse.QueueInfo> queues = 1;
*/
@java.lang.Override
public /* nullable */
com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo getQueuesOrDefault(
java.lang.String key,
/* nullable */
com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetQueues().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<string, .conductor.grpc.tasks.QueueAllInfoResponse.QueueInfo> queues = 1;
*/
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo getQueuesOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetQueues().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
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 {
com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetQueues(),
QueuesDefaultEntryHolder.defaultEntry,
1);
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (java.util.Map.Entry entry
: internalGetQueues().getMap().entrySet()) {
com.google.protobuf.MapEntry
queues__ = QueuesDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, queues__);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse)) {
return super.equals(obj);
}
com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse other = (com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse) obj;
if (!internalGetQueues().equals(
other.internalGetQueues())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (!internalGetQueues().getMap().isEmpty()) {
hash = (37 * hash) + QUEUES_FIELD_NUMBER;
hash = (53 * hash) + internalGetQueues().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse 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 com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse 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 com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse 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(com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse 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 conductor.grpc.tasks.QueueAllInfoResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:conductor.grpc.tasks.QueueAllInfoResponse)
com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_QueueAllInfoResponse_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 1:
return internalGetQueues();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMutableMapField(
int number) {
switch (number) {
case 1:
return internalGetMutableQueues();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_QueueAllInfoResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.class, com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.Builder.class);
}
// Construct using com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
internalGetMutableQueues().clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_QueueAllInfoResponse_descriptor;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse getDefaultInstanceForType() {
return com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.getDefaultInstance();
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse build() {
com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse buildPartial() {
com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse result = new com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.queues_ = internalGetQueues();
result.queues_.makeImmutable();
}
}
@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 com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse) {
return mergeFrom((com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse other) {
if (other == com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.getDefaultInstance()) return this;
internalGetMutableQueues().mergeFrom(
other.internalGetQueues());
bitField0_ |= 0x00000001;
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.google.protobuf.MapEntry
queues__ = input.readMessage(
QueuesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutableQueues().getMutableMap().put(
queues__.getKey(), queues__.getValue());
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.google.protobuf.MapField<
java.lang.String, com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo> queues_;
private com.google.protobuf.MapField
internalGetQueues() {
if (queues_ == null) {
return com.google.protobuf.MapField.emptyMapField(
QueuesDefaultEntryHolder.defaultEntry);
}
return queues_;
}
private com.google.protobuf.MapField
internalGetMutableQueues() {
if (queues_ == null) {
queues_ = com.google.protobuf.MapField.newMapField(
QueuesDefaultEntryHolder.defaultEntry);
}
if (!queues_.isMutable()) {
queues_ = queues_.copy();
}
bitField0_ |= 0x00000001;
onChanged();
return queues_;
}
public int getQueuesCount() {
return internalGetQueues().getMap().size();
}
/**
* map<string, .conductor.grpc.tasks.QueueAllInfoResponse.QueueInfo> queues = 1;
*/
@java.lang.Override
public boolean containsQueues(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetQueues().getMap().containsKey(key);
}
/**
* Use {@link #getQueuesMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getQueues() {
return getQueuesMap();
}
/**
* map<string, .conductor.grpc.tasks.QueueAllInfoResponse.QueueInfo> queues = 1;
*/
@java.lang.Override
public java.util.Map getQueuesMap() {
return internalGetQueues().getMap();
}
/**
* map<string, .conductor.grpc.tasks.QueueAllInfoResponse.QueueInfo> queues = 1;
*/
@java.lang.Override
public /* nullable */
com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo getQueuesOrDefault(
java.lang.String key,
/* nullable */
com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetQueues().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<string, .conductor.grpc.tasks.QueueAllInfoResponse.QueueInfo> queues = 1;
*/
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo getQueuesOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetQueues().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearQueues() {
bitField0_ = (bitField0_ & ~0x00000001);
internalGetMutableQueues().getMutableMap()
.clear();
return this;
}
/**
* map<string, .conductor.grpc.tasks.QueueAllInfoResponse.QueueInfo> queues = 1;
*/
public Builder removeQueues(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableQueues().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map
getMutableQueues() {
bitField0_ |= 0x00000001;
return internalGetMutableQueues().getMutableMap();
}
/**
* map<string, .conductor.grpc.tasks.QueueAllInfoResponse.QueueInfo> queues = 1;
*/
public Builder putQueues(
java.lang.String key,
com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse.QueueInfo value) {
if (key == null) { throw new NullPointerException("map key"); }
if (value == null) { throw new NullPointerException("map value"); }
internalGetMutableQueues().getMutableMap()
.put(key, value);
bitField0_ |= 0x00000001;
return this;
}
/**
* map<string, .conductor.grpc.tasks.QueueAllInfoResponse.QueueInfo> queues = 1;
*/
public Builder putAllQueues(
java.util.Map values) {
internalGetMutableQueues().getMutableMap()
.putAll(values);
bitField0_ |= 0x00000001;
return this;
}
@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:conductor.grpc.tasks.QueueAllInfoResponse)
}
// @@protoc_insertion_point(class_scope:conductor.grpc.tasks.QueueAllInfoResponse)
private static final com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse();
}
public static com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public QueueAllInfoResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.QueueAllInfoResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TaskSummarySearchResultOrBuilder extends
// @@protoc_insertion_point(interface_extends:conductor.grpc.tasks.TaskSummarySearchResult)
com.google.protobuf.MessageOrBuilder {
/**
* int64 total_hits = 1;
* @return The totalHits.
*/
long getTotalHits();
/**
* repeated .conductor.proto.TaskSummary results = 2;
*/
java.util.List
getResultsList();
/**
* repeated .conductor.proto.TaskSummary results = 2;
*/
com.netflix.conductor.proto.TaskSummaryPb.TaskSummary getResults(int index);
/**
* repeated .conductor.proto.TaskSummary results = 2;
*/
int getResultsCount();
/**
* repeated .conductor.proto.TaskSummary results = 2;
*/
java.util.List extends com.netflix.conductor.proto.TaskSummaryPb.TaskSummaryOrBuilder>
getResultsOrBuilderList();
/**
* repeated .conductor.proto.TaskSummary results = 2;
*/
com.netflix.conductor.proto.TaskSummaryPb.TaskSummaryOrBuilder getResultsOrBuilder(
int index);
}
/**
* Protobuf type {@code conductor.grpc.tasks.TaskSummarySearchResult}
*/
public static final class TaskSummarySearchResult extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:conductor.grpc.tasks.TaskSummarySearchResult)
TaskSummarySearchResultOrBuilder {
private static final long serialVersionUID = 0L;
// Use TaskSummarySearchResult.newBuilder() to construct.
private TaskSummarySearchResult(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private TaskSummarySearchResult() {
results_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TaskSummarySearchResult();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_TaskSummarySearchResult_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_TaskSummarySearchResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.grpc.TaskServicePb.TaskSummarySearchResult.class, com.netflix.conductor.grpc.TaskServicePb.TaskSummarySearchResult.Builder.class);
}
public static final int TOTAL_HITS_FIELD_NUMBER = 1;
private long totalHits_ = 0L;
/**
* int64 total_hits = 1;
* @return The totalHits.
*/
@java.lang.Override
public long getTotalHits() {
return totalHits_;
}
public static final int RESULTS_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private java.util.List results_;
/**
* repeated .conductor.proto.TaskSummary results = 2;
*/
@java.lang.Override
public java.util.List getResultsList() {
return results_;
}
/**
* repeated .conductor.proto.TaskSummary results = 2;
*/
@java.lang.Override
public java.util.List extends com.netflix.conductor.proto.TaskSummaryPb.TaskSummaryOrBuilder>
getResultsOrBuilderList() {
return results_;
}
/**
* repeated .conductor.proto.TaskSummary results = 2;
*/
@java.lang.Override
public int getResultsCount() {
return results_.size();
}
/**
* repeated .conductor.proto.TaskSummary results = 2;
*/
@java.lang.Override
public com.netflix.conductor.proto.TaskSummaryPb.TaskSummary getResults(int index) {
return results_.get(index);
}
/**
* repeated .conductor.proto.TaskSummary results = 2;
*/
@java.lang.Override
public com.netflix.conductor.proto.TaskSummaryPb.TaskSummaryOrBuilder getResultsOrBuilder(
int index) {
return results_.get(index);
}
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 (totalHits_ != 0L) {
output.writeInt64(1, totalHits_);
}
for (int i = 0; i < results_.size(); i++) {
output.writeMessage(2, results_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (totalHits_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, totalHits_);
}
for (int i = 0; i < results_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, results_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.netflix.conductor.grpc.TaskServicePb.TaskSummarySearchResult)) {
return super.equals(obj);
}
com.netflix.conductor.grpc.TaskServicePb.TaskSummarySearchResult other = (com.netflix.conductor.grpc.TaskServicePb.TaskSummarySearchResult) obj;
if (getTotalHits()
!= other.getTotalHits()) return false;
if (!getResultsList()
.equals(other.getResultsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) 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) + TOTAL_HITS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTotalHits());
if (getResultsCount() > 0) {
hash = (37 * hash) + RESULTS_FIELD_NUMBER;
hash = (53 * hash) + getResultsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.netflix.conductor.grpc.TaskServicePb.TaskSummarySearchResult parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.TaskSummarySearchResult parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.TaskSummarySearchResult parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.TaskSummarySearchResult parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.TaskSummarySearchResult parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.TaskSummarySearchResult parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.TaskSummarySearchResult parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.TaskSummarySearchResult 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 com.netflix.conductor.grpc.TaskServicePb.TaskSummarySearchResult parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.TaskSummarySearchResult 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 com.netflix.conductor.grpc.TaskServicePb.TaskSummarySearchResult parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.TaskSummarySearchResult 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(com.netflix.conductor.grpc.TaskServicePb.TaskSummarySearchResult 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 conductor.grpc.tasks.TaskSummarySearchResult}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:conductor.grpc.tasks.TaskSummarySearchResult)
com.netflix.conductor.grpc.TaskServicePb.TaskSummarySearchResultOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_TaskSummarySearchResult_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_TaskSummarySearchResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.grpc.TaskServicePb.TaskSummarySearchResult.class, com.netflix.conductor.grpc.TaskServicePb.TaskSummarySearchResult.Builder.class);
}
// Construct using com.netflix.conductor.grpc.TaskServicePb.TaskSummarySearchResult.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
totalHits_ = 0L;
if (resultsBuilder_ == null) {
results_ = java.util.Collections.emptyList();
} else {
results_ = null;
resultsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_TaskSummarySearchResult_descriptor;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.TaskSummarySearchResult getDefaultInstanceForType() {
return com.netflix.conductor.grpc.TaskServicePb.TaskSummarySearchResult.getDefaultInstance();
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.TaskSummarySearchResult build() {
com.netflix.conductor.grpc.TaskServicePb.TaskSummarySearchResult result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.TaskSummarySearchResult buildPartial() {
com.netflix.conductor.grpc.TaskServicePb.TaskSummarySearchResult result = new com.netflix.conductor.grpc.TaskServicePb.TaskSummarySearchResult(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(com.netflix.conductor.grpc.TaskServicePb.TaskSummarySearchResult result) {
if (resultsBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
results_ = java.util.Collections.unmodifiableList(results_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.results_ = results_;
} else {
result.results_ = resultsBuilder_.build();
}
}
private void buildPartial0(com.netflix.conductor.grpc.TaskServicePb.TaskSummarySearchResult result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.totalHits_ = totalHits_;
}
}
@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 com.netflix.conductor.grpc.TaskServicePb.TaskSummarySearchResult) {
return mergeFrom((com.netflix.conductor.grpc.TaskServicePb.TaskSummarySearchResult)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.netflix.conductor.grpc.TaskServicePb.TaskSummarySearchResult other) {
if (other == com.netflix.conductor.grpc.TaskServicePb.TaskSummarySearchResult.getDefaultInstance()) return this;
if (other.getTotalHits() != 0L) {
setTotalHits(other.getTotalHits());
}
if (resultsBuilder_ == null) {
if (!other.results_.isEmpty()) {
if (results_.isEmpty()) {
results_ = other.results_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureResultsIsMutable();
results_.addAll(other.results_);
}
onChanged();
}
} else {
if (!other.results_.isEmpty()) {
if (resultsBuilder_.isEmpty()) {
resultsBuilder_.dispose();
resultsBuilder_ = null;
results_ = other.results_;
bitField0_ = (bitField0_ & ~0x00000002);
resultsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getResultsFieldBuilder() : null;
} else {
resultsBuilder_.addAllMessages(other.results_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
totalHits_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 18: {
com.netflix.conductor.proto.TaskSummaryPb.TaskSummary m =
input.readMessage(
com.netflix.conductor.proto.TaskSummaryPb.TaskSummary.parser(),
extensionRegistry);
if (resultsBuilder_ == null) {
ensureResultsIsMutable();
results_.add(m);
} else {
resultsBuilder_.addMessage(m);
}
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long totalHits_ ;
/**
* int64 total_hits = 1;
* @return The totalHits.
*/
@java.lang.Override
public long getTotalHits() {
return totalHits_;
}
/**
* int64 total_hits = 1;
* @param value The totalHits to set.
* @return This builder for chaining.
*/
public Builder setTotalHits(long value) {
totalHits_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* int64 total_hits = 1;
* @return This builder for chaining.
*/
public Builder clearTotalHits() {
bitField0_ = (bitField0_ & ~0x00000001);
totalHits_ = 0L;
onChanged();
return this;
}
private java.util.List results_ =
java.util.Collections.emptyList();
private void ensureResultsIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
results_ = new java.util.ArrayList(results_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.netflix.conductor.proto.TaskSummaryPb.TaskSummary, com.netflix.conductor.proto.TaskSummaryPb.TaskSummary.Builder, com.netflix.conductor.proto.TaskSummaryPb.TaskSummaryOrBuilder> resultsBuilder_;
/**
* repeated .conductor.proto.TaskSummary results = 2;
*/
public java.util.List getResultsList() {
if (resultsBuilder_ == null) {
return java.util.Collections.unmodifiableList(results_);
} else {
return resultsBuilder_.getMessageList();
}
}
/**
* repeated .conductor.proto.TaskSummary results = 2;
*/
public int getResultsCount() {
if (resultsBuilder_ == null) {
return results_.size();
} else {
return resultsBuilder_.getCount();
}
}
/**
* repeated .conductor.proto.TaskSummary results = 2;
*/
public com.netflix.conductor.proto.TaskSummaryPb.TaskSummary getResults(int index) {
if (resultsBuilder_ == null) {
return results_.get(index);
} else {
return resultsBuilder_.getMessage(index);
}
}
/**
* repeated .conductor.proto.TaskSummary results = 2;
*/
public Builder setResults(
int index, com.netflix.conductor.proto.TaskSummaryPb.TaskSummary value) {
if (resultsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureResultsIsMutable();
results_.set(index, value);
onChanged();
} else {
resultsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .conductor.proto.TaskSummary results = 2;
*/
public Builder setResults(
int index, com.netflix.conductor.proto.TaskSummaryPb.TaskSummary.Builder builderForValue) {
if (resultsBuilder_ == null) {
ensureResultsIsMutable();
results_.set(index, builderForValue.build());
onChanged();
} else {
resultsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .conductor.proto.TaskSummary results = 2;
*/
public Builder addResults(com.netflix.conductor.proto.TaskSummaryPb.TaskSummary value) {
if (resultsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureResultsIsMutable();
results_.add(value);
onChanged();
} else {
resultsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .conductor.proto.TaskSummary results = 2;
*/
public Builder addResults(
int index, com.netflix.conductor.proto.TaskSummaryPb.TaskSummary value) {
if (resultsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureResultsIsMutable();
results_.add(index, value);
onChanged();
} else {
resultsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .conductor.proto.TaskSummary results = 2;
*/
public Builder addResults(
com.netflix.conductor.proto.TaskSummaryPb.TaskSummary.Builder builderForValue) {
if (resultsBuilder_ == null) {
ensureResultsIsMutable();
results_.add(builderForValue.build());
onChanged();
} else {
resultsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .conductor.proto.TaskSummary results = 2;
*/
public Builder addResults(
int index, com.netflix.conductor.proto.TaskSummaryPb.TaskSummary.Builder builderForValue) {
if (resultsBuilder_ == null) {
ensureResultsIsMutable();
results_.add(index, builderForValue.build());
onChanged();
} else {
resultsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .conductor.proto.TaskSummary results = 2;
*/
public Builder addAllResults(
java.lang.Iterable extends com.netflix.conductor.proto.TaskSummaryPb.TaskSummary> values) {
if (resultsBuilder_ == null) {
ensureResultsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, results_);
onChanged();
} else {
resultsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .conductor.proto.TaskSummary results = 2;
*/
public Builder clearResults() {
if (resultsBuilder_ == null) {
results_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
resultsBuilder_.clear();
}
return this;
}
/**
* repeated .conductor.proto.TaskSummary results = 2;
*/
public Builder removeResults(int index) {
if (resultsBuilder_ == null) {
ensureResultsIsMutable();
results_.remove(index);
onChanged();
} else {
resultsBuilder_.remove(index);
}
return this;
}
/**
* repeated .conductor.proto.TaskSummary results = 2;
*/
public com.netflix.conductor.proto.TaskSummaryPb.TaskSummary.Builder getResultsBuilder(
int index) {
return getResultsFieldBuilder().getBuilder(index);
}
/**
* repeated .conductor.proto.TaskSummary results = 2;
*/
public com.netflix.conductor.proto.TaskSummaryPb.TaskSummaryOrBuilder getResultsOrBuilder(
int index) {
if (resultsBuilder_ == null) {
return results_.get(index); } else {
return resultsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .conductor.proto.TaskSummary results = 2;
*/
public java.util.List extends com.netflix.conductor.proto.TaskSummaryPb.TaskSummaryOrBuilder>
getResultsOrBuilderList() {
if (resultsBuilder_ != null) {
return resultsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(results_);
}
}
/**
* repeated .conductor.proto.TaskSummary results = 2;
*/
public com.netflix.conductor.proto.TaskSummaryPb.TaskSummary.Builder addResultsBuilder() {
return getResultsFieldBuilder().addBuilder(
com.netflix.conductor.proto.TaskSummaryPb.TaskSummary.getDefaultInstance());
}
/**
* repeated .conductor.proto.TaskSummary results = 2;
*/
public com.netflix.conductor.proto.TaskSummaryPb.TaskSummary.Builder addResultsBuilder(
int index) {
return getResultsFieldBuilder().addBuilder(
index, com.netflix.conductor.proto.TaskSummaryPb.TaskSummary.getDefaultInstance());
}
/**
* repeated .conductor.proto.TaskSummary results = 2;
*/
public java.util.List
getResultsBuilderList() {
return getResultsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.netflix.conductor.proto.TaskSummaryPb.TaskSummary, com.netflix.conductor.proto.TaskSummaryPb.TaskSummary.Builder, com.netflix.conductor.proto.TaskSummaryPb.TaskSummaryOrBuilder>
getResultsFieldBuilder() {
if (resultsBuilder_ == null) {
resultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.netflix.conductor.proto.TaskSummaryPb.TaskSummary, com.netflix.conductor.proto.TaskSummaryPb.TaskSummary.Builder, com.netflix.conductor.proto.TaskSummaryPb.TaskSummaryOrBuilder>(
results_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
results_ = null;
}
return resultsBuilder_;
}
@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:conductor.grpc.tasks.TaskSummarySearchResult)
}
// @@protoc_insertion_point(class_scope:conductor.grpc.tasks.TaskSummarySearchResult)
private static final com.netflix.conductor.grpc.TaskServicePb.TaskSummarySearchResult DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.netflix.conductor.grpc.TaskServicePb.TaskSummarySearchResult();
}
public static com.netflix.conductor.grpc.TaskServicePb.TaskSummarySearchResult getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public TaskSummarySearchResult parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.TaskSummarySearchResult getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TaskSearchResultOrBuilder extends
// @@protoc_insertion_point(interface_extends:conductor.grpc.tasks.TaskSearchResult)
com.google.protobuf.MessageOrBuilder {
/**
* int64 total_hits = 1;
* @return The totalHits.
*/
long getTotalHits();
/**
* repeated .conductor.proto.Task results = 2;
*/
java.util.List
getResultsList();
/**
* repeated .conductor.proto.Task results = 2;
*/
com.netflix.conductor.proto.TaskPb.Task getResults(int index);
/**
* repeated .conductor.proto.Task results = 2;
*/
int getResultsCount();
/**
* repeated .conductor.proto.Task results = 2;
*/
java.util.List extends com.netflix.conductor.proto.TaskPb.TaskOrBuilder>
getResultsOrBuilderList();
/**
* repeated .conductor.proto.Task results = 2;
*/
com.netflix.conductor.proto.TaskPb.TaskOrBuilder getResultsOrBuilder(
int index);
}
/**
* Protobuf type {@code conductor.grpc.tasks.TaskSearchResult}
*/
public static final class TaskSearchResult extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:conductor.grpc.tasks.TaskSearchResult)
TaskSearchResultOrBuilder {
private static final long serialVersionUID = 0L;
// Use TaskSearchResult.newBuilder() to construct.
private TaskSearchResult(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private TaskSearchResult() {
results_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TaskSearchResult();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_TaskSearchResult_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_TaskSearchResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.grpc.TaskServicePb.TaskSearchResult.class, com.netflix.conductor.grpc.TaskServicePb.TaskSearchResult.Builder.class);
}
public static final int TOTAL_HITS_FIELD_NUMBER = 1;
private long totalHits_ = 0L;
/**
* int64 total_hits = 1;
* @return The totalHits.
*/
@java.lang.Override
public long getTotalHits() {
return totalHits_;
}
public static final int RESULTS_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private java.util.List results_;
/**
* repeated .conductor.proto.Task results = 2;
*/
@java.lang.Override
public java.util.List getResultsList() {
return results_;
}
/**
* repeated .conductor.proto.Task results = 2;
*/
@java.lang.Override
public java.util.List extends com.netflix.conductor.proto.TaskPb.TaskOrBuilder>
getResultsOrBuilderList() {
return results_;
}
/**
* repeated .conductor.proto.Task results = 2;
*/
@java.lang.Override
public int getResultsCount() {
return results_.size();
}
/**
* repeated .conductor.proto.Task results = 2;
*/
@java.lang.Override
public com.netflix.conductor.proto.TaskPb.Task getResults(int index) {
return results_.get(index);
}
/**
* repeated .conductor.proto.Task results = 2;
*/
@java.lang.Override
public com.netflix.conductor.proto.TaskPb.TaskOrBuilder getResultsOrBuilder(
int index) {
return results_.get(index);
}
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 (totalHits_ != 0L) {
output.writeInt64(1, totalHits_);
}
for (int i = 0; i < results_.size(); i++) {
output.writeMessage(2, results_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (totalHits_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, totalHits_);
}
for (int i = 0; i < results_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, results_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.netflix.conductor.grpc.TaskServicePb.TaskSearchResult)) {
return super.equals(obj);
}
com.netflix.conductor.grpc.TaskServicePb.TaskSearchResult other = (com.netflix.conductor.grpc.TaskServicePb.TaskSearchResult) obj;
if (getTotalHits()
!= other.getTotalHits()) return false;
if (!getResultsList()
.equals(other.getResultsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) 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) + TOTAL_HITS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTotalHits());
if (getResultsCount() > 0) {
hash = (37 * hash) + RESULTS_FIELD_NUMBER;
hash = (53 * hash) + getResultsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.netflix.conductor.grpc.TaskServicePb.TaskSearchResult parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.TaskSearchResult parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.TaskSearchResult parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.TaskSearchResult parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.TaskSearchResult parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.grpc.TaskServicePb.TaskSearchResult parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.grpc.TaskServicePb.TaskSearchResult parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.TaskSearchResult 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 com.netflix.conductor.grpc.TaskServicePb.TaskSearchResult parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.TaskSearchResult 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 com.netflix.conductor.grpc.TaskServicePb.TaskSearchResult parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.grpc.TaskServicePb.TaskSearchResult 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(com.netflix.conductor.grpc.TaskServicePb.TaskSearchResult 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 conductor.grpc.tasks.TaskSearchResult}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:conductor.grpc.tasks.TaskSearchResult)
com.netflix.conductor.grpc.TaskServicePb.TaskSearchResultOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_TaskSearchResult_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_TaskSearchResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.grpc.TaskServicePb.TaskSearchResult.class, com.netflix.conductor.grpc.TaskServicePb.TaskSearchResult.Builder.class);
}
// Construct using com.netflix.conductor.grpc.TaskServicePb.TaskSearchResult.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
totalHits_ = 0L;
if (resultsBuilder_ == null) {
results_ = java.util.Collections.emptyList();
} else {
results_ = null;
resultsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.netflix.conductor.grpc.TaskServicePb.internal_static_conductor_grpc_tasks_TaskSearchResult_descriptor;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.TaskSearchResult getDefaultInstanceForType() {
return com.netflix.conductor.grpc.TaskServicePb.TaskSearchResult.getDefaultInstance();
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.TaskSearchResult build() {
com.netflix.conductor.grpc.TaskServicePb.TaskSearchResult result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.TaskSearchResult buildPartial() {
com.netflix.conductor.grpc.TaskServicePb.TaskSearchResult result = new com.netflix.conductor.grpc.TaskServicePb.TaskSearchResult(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(com.netflix.conductor.grpc.TaskServicePb.TaskSearchResult result) {
if (resultsBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
results_ = java.util.Collections.unmodifiableList(results_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.results_ = results_;
} else {
result.results_ = resultsBuilder_.build();
}
}
private void buildPartial0(com.netflix.conductor.grpc.TaskServicePb.TaskSearchResult result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.totalHits_ = totalHits_;
}
}
@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 com.netflix.conductor.grpc.TaskServicePb.TaskSearchResult) {
return mergeFrom((com.netflix.conductor.grpc.TaskServicePb.TaskSearchResult)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.netflix.conductor.grpc.TaskServicePb.TaskSearchResult other) {
if (other == com.netflix.conductor.grpc.TaskServicePb.TaskSearchResult.getDefaultInstance()) return this;
if (other.getTotalHits() != 0L) {
setTotalHits(other.getTotalHits());
}
if (resultsBuilder_ == null) {
if (!other.results_.isEmpty()) {
if (results_.isEmpty()) {
results_ = other.results_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureResultsIsMutable();
results_.addAll(other.results_);
}
onChanged();
}
} else {
if (!other.results_.isEmpty()) {
if (resultsBuilder_.isEmpty()) {
resultsBuilder_.dispose();
resultsBuilder_ = null;
results_ = other.results_;
bitField0_ = (bitField0_ & ~0x00000002);
resultsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getResultsFieldBuilder() : null;
} else {
resultsBuilder_.addAllMessages(other.results_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
totalHits_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 18: {
com.netflix.conductor.proto.TaskPb.Task m =
input.readMessage(
com.netflix.conductor.proto.TaskPb.Task.parser(),
extensionRegistry);
if (resultsBuilder_ == null) {
ensureResultsIsMutable();
results_.add(m);
} else {
resultsBuilder_.addMessage(m);
}
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long totalHits_ ;
/**
* int64 total_hits = 1;
* @return The totalHits.
*/
@java.lang.Override
public long getTotalHits() {
return totalHits_;
}
/**
* int64 total_hits = 1;
* @param value The totalHits to set.
* @return This builder for chaining.
*/
public Builder setTotalHits(long value) {
totalHits_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* int64 total_hits = 1;
* @return This builder for chaining.
*/
public Builder clearTotalHits() {
bitField0_ = (bitField0_ & ~0x00000001);
totalHits_ = 0L;
onChanged();
return this;
}
private java.util.List results_ =
java.util.Collections.emptyList();
private void ensureResultsIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
results_ = new java.util.ArrayList(results_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.netflix.conductor.proto.TaskPb.Task, com.netflix.conductor.proto.TaskPb.Task.Builder, com.netflix.conductor.proto.TaskPb.TaskOrBuilder> resultsBuilder_;
/**
* repeated .conductor.proto.Task results = 2;
*/
public java.util.List getResultsList() {
if (resultsBuilder_ == null) {
return java.util.Collections.unmodifiableList(results_);
} else {
return resultsBuilder_.getMessageList();
}
}
/**
* repeated .conductor.proto.Task results = 2;
*/
public int getResultsCount() {
if (resultsBuilder_ == null) {
return results_.size();
} else {
return resultsBuilder_.getCount();
}
}
/**
* repeated .conductor.proto.Task results = 2;
*/
public com.netflix.conductor.proto.TaskPb.Task getResults(int index) {
if (resultsBuilder_ == null) {
return results_.get(index);
} else {
return resultsBuilder_.getMessage(index);
}
}
/**
* repeated .conductor.proto.Task results = 2;
*/
public Builder setResults(
int index, com.netflix.conductor.proto.TaskPb.Task value) {
if (resultsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureResultsIsMutable();
results_.set(index, value);
onChanged();
} else {
resultsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .conductor.proto.Task results = 2;
*/
public Builder setResults(
int index, com.netflix.conductor.proto.TaskPb.Task.Builder builderForValue) {
if (resultsBuilder_ == null) {
ensureResultsIsMutable();
results_.set(index, builderForValue.build());
onChanged();
} else {
resultsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .conductor.proto.Task results = 2;
*/
public Builder addResults(com.netflix.conductor.proto.TaskPb.Task value) {
if (resultsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureResultsIsMutable();
results_.add(value);
onChanged();
} else {
resultsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .conductor.proto.Task results = 2;
*/
public Builder addResults(
int index, com.netflix.conductor.proto.TaskPb.Task value) {
if (resultsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureResultsIsMutable();
results_.add(index, value);
onChanged();
} else {
resultsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .conductor.proto.Task results = 2;
*/
public Builder addResults(
com.netflix.conductor.proto.TaskPb.Task.Builder builderForValue) {
if (resultsBuilder_ == null) {
ensureResultsIsMutable();
results_.add(builderForValue.build());
onChanged();
} else {
resultsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .conductor.proto.Task results = 2;
*/
public Builder addResults(
int index, com.netflix.conductor.proto.TaskPb.Task.Builder builderForValue) {
if (resultsBuilder_ == null) {
ensureResultsIsMutable();
results_.add(index, builderForValue.build());
onChanged();
} else {
resultsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .conductor.proto.Task results = 2;
*/
public Builder addAllResults(
java.lang.Iterable extends com.netflix.conductor.proto.TaskPb.Task> values) {
if (resultsBuilder_ == null) {
ensureResultsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, results_);
onChanged();
} else {
resultsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .conductor.proto.Task results = 2;
*/
public Builder clearResults() {
if (resultsBuilder_ == null) {
results_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
resultsBuilder_.clear();
}
return this;
}
/**
* repeated .conductor.proto.Task results = 2;
*/
public Builder removeResults(int index) {
if (resultsBuilder_ == null) {
ensureResultsIsMutable();
results_.remove(index);
onChanged();
} else {
resultsBuilder_.remove(index);
}
return this;
}
/**
* repeated .conductor.proto.Task results = 2;
*/
public com.netflix.conductor.proto.TaskPb.Task.Builder getResultsBuilder(
int index) {
return getResultsFieldBuilder().getBuilder(index);
}
/**
* repeated .conductor.proto.Task results = 2;
*/
public com.netflix.conductor.proto.TaskPb.TaskOrBuilder getResultsOrBuilder(
int index) {
if (resultsBuilder_ == null) {
return results_.get(index); } else {
return resultsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .conductor.proto.Task results = 2;
*/
public java.util.List extends com.netflix.conductor.proto.TaskPb.TaskOrBuilder>
getResultsOrBuilderList() {
if (resultsBuilder_ != null) {
return resultsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(results_);
}
}
/**
* repeated .conductor.proto.Task results = 2;
*/
public com.netflix.conductor.proto.TaskPb.Task.Builder addResultsBuilder() {
return getResultsFieldBuilder().addBuilder(
com.netflix.conductor.proto.TaskPb.Task.getDefaultInstance());
}
/**
* repeated .conductor.proto.Task results = 2;
*/
public com.netflix.conductor.proto.TaskPb.Task.Builder addResultsBuilder(
int index) {
return getResultsFieldBuilder().addBuilder(
index, com.netflix.conductor.proto.TaskPb.Task.getDefaultInstance());
}
/**
* repeated .conductor.proto.Task results = 2;
*/
public java.util.List
getResultsBuilderList() {
return getResultsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.netflix.conductor.proto.TaskPb.Task, com.netflix.conductor.proto.TaskPb.Task.Builder, com.netflix.conductor.proto.TaskPb.TaskOrBuilder>
getResultsFieldBuilder() {
if (resultsBuilder_ == null) {
resultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.netflix.conductor.proto.TaskPb.Task, com.netflix.conductor.proto.TaskPb.Task.Builder, com.netflix.conductor.proto.TaskPb.TaskOrBuilder>(
results_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
results_ = null;
}
return resultsBuilder_;
}
@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:conductor.grpc.tasks.TaskSearchResult)
}
// @@protoc_insertion_point(class_scope:conductor.grpc.tasks.TaskSearchResult)
private static final com.netflix.conductor.grpc.TaskServicePb.TaskSearchResult DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.netflix.conductor.grpc.TaskServicePb.TaskSearchResult();
}
public static com.netflix.conductor.grpc.TaskServicePb.TaskSearchResult getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public TaskSearchResult parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.netflix.conductor.grpc.TaskServicePb.TaskSearchResult getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_conductor_grpc_tasks_PollRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_conductor_grpc_tasks_PollRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_conductor_grpc_tasks_PollResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_conductor_grpc_tasks_PollResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_conductor_grpc_tasks_BatchPollRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_conductor_grpc_tasks_BatchPollRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_conductor_grpc_tasks_UpdateTaskRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_conductor_grpc_tasks_UpdateTaskRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_conductor_grpc_tasks_UpdateTaskResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_conductor_grpc_tasks_UpdateTaskResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_conductor_grpc_tasks_AddLogRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_conductor_grpc_tasks_AddLogRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_conductor_grpc_tasks_AddLogResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_conductor_grpc_tasks_AddLogResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_conductor_grpc_tasks_GetTaskLogsRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_conductor_grpc_tasks_GetTaskLogsRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_conductor_grpc_tasks_GetTaskLogsResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_conductor_grpc_tasks_GetTaskLogsResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_conductor_grpc_tasks_GetTaskRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_conductor_grpc_tasks_GetTaskRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_conductor_grpc_tasks_GetTaskResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_conductor_grpc_tasks_GetTaskResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_conductor_grpc_tasks_QueueSizesRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_conductor_grpc_tasks_QueueSizesRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_conductor_grpc_tasks_QueueSizesResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_conductor_grpc_tasks_QueueSizesResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_conductor_grpc_tasks_QueueSizesResponse_QueueForTaskEntry_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_conductor_grpc_tasks_QueueSizesResponse_QueueForTaskEntry_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_conductor_grpc_tasks_QueueInfoRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_conductor_grpc_tasks_QueueInfoRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_conductor_grpc_tasks_QueueInfoResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_conductor_grpc_tasks_QueueInfoResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_conductor_grpc_tasks_QueueInfoResponse_QueuesEntry_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_conductor_grpc_tasks_QueueInfoResponse_QueuesEntry_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_conductor_grpc_tasks_QueueAllInfoRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_conductor_grpc_tasks_QueueAllInfoRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_conductor_grpc_tasks_QueueAllInfoResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_conductor_grpc_tasks_QueueAllInfoResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_conductor_grpc_tasks_QueueAllInfoResponse_ShardInfo_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_conductor_grpc_tasks_QueueAllInfoResponse_ShardInfo_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_conductor_grpc_tasks_QueueAllInfoResponse_QueueInfo_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_conductor_grpc_tasks_QueueAllInfoResponse_QueueInfo_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_conductor_grpc_tasks_QueueAllInfoResponse_QueueInfo_ShardsEntry_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_conductor_grpc_tasks_QueueAllInfoResponse_QueueInfo_ShardsEntry_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_conductor_grpc_tasks_QueueAllInfoResponse_QueuesEntry_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_conductor_grpc_tasks_QueueAllInfoResponse_QueuesEntry_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_conductor_grpc_tasks_TaskSummarySearchResult_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_conductor_grpc_tasks_TaskSummarySearchResult_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_conductor_grpc_tasks_TaskSearchResult_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_conductor_grpc_tasks_TaskSearchResult_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\027grpc/task_service.proto\022\024conductor.grp" +
"c.tasks\032\027model/taskexeclog.proto\032\026model/" +
"taskresult.proto\032\027model/tasksummary.prot" +
"o\032\020model/task.proto\032\021grpc/search.proto\"C" +
"\n\013PollRequest\022\021\n\ttask_type\030\001 \001(\t\022\021\n\twork" +
"er_id\030\002 \001(\t\022\016\n\006domain\030\003 \001(\t\"3\n\014PollRespo" +
"nse\022#\n\004task\030\001 \001(\0132\025.conductor.proto.Task" +
"\"h\n\020BatchPollRequest\022\021\n\ttask_type\030\001 \001(\t\022" +
"\021\n\tworker_id\030\002 \001(\t\022\016\n\006domain\030\003 \001(\t\022\r\n\005co" +
"unt\030\004 \001(\005\022\017\n\007timeout\030\005 \001(\005\"@\n\021UpdateTask" +
"Request\022+\n\006result\030\001 \001(\0132\033.conductor.prot" +
"o.TaskResult\"%\n\022UpdateTaskResponse\022\017\n\007ta" +
"sk_id\030\001 \001(\t\"-\n\rAddLogRequest\022\017\n\007task_id\030" +
"\001 \001(\t\022\013\n\003log\030\002 \001(\t\"\020\n\016AddLogResponse\"%\n\022" +
"GetTaskLogsRequest\022\017\n\007task_id\030\001 \001(\t\"A\n\023G" +
"etTaskLogsResponse\022*\n\004logs\030\001 \003(\0132\034.condu" +
"ctor.proto.TaskExecLog\"!\n\016GetTaskRequest" +
"\022\017\n\007task_id\030\001 \001(\t\"6\n\017GetTaskResponse\022#\n\004" +
"task\030\001 \001(\0132\025.conductor.proto.Task\"\'\n\021Que" +
"ueSizesRequest\022\022\n\ntask_types\030\001 \003(\t\"\235\001\n\022Q" +
"ueueSizesResponse\022R\n\016queue_for_task\030\001 \003(" +
"\0132:.conductor.grpc.tasks.QueueSizesRespo" +
"nse.QueueForTaskEntry\0323\n\021QueueForTaskEnt" +
"ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\005:\0028\001\"\022\n\020Qu" +
"eueInfoRequest\"\207\001\n\021QueueInfoResponse\022C\n\006" +
"queues\030\001 \003(\01323.conductor.grpc.tasks.Queu" +
"eInfoResponse.QueuesEntry\032-\n\013QueuesEntry" +
"\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\003:\0028\001\"\025\n\023Queu" +
"eAllInfoRequest\"\263\003\n\024QueueAllInfoResponse" +
"\022F\n\006queues\030\001 \003(\01326.conductor.grpc.tasks." +
"QueueAllInfoResponse.QueuesEntry\032)\n\tShar" +
"dInfo\022\014\n\004size\030\001 \001(\003\022\016\n\006uacked\030\002 \001(\003\032\302\001\n\t" +
"QueueInfo\022P\n\006shards\030\001 \003(\[email protected]" +
"pc.tasks.QueueAllInfoResponse.QueueInfo." +
"ShardsEntry\032c\n\013ShardsEntry\022\013\n\003key\030\001 \001(\t\022" +
"C\n\005value\030\002 \001(\01324.conductor.grpc.tasks.Qu" +
"eueAllInfoResponse.ShardInfo:\0028\001\032c\n\013Queu" +
"esEntry\022\013\n\003key\030\001 \001(\t\022C\n\005value\030\002 \001(\01324.co" +
"nductor.grpc.tasks.QueueAllInfoResponse." +
"QueueInfo:\0028\001\"\\\n\027TaskSummarySearchResult" +
"\022\022\n\ntotal_hits\030\001 \001(\003\022-\n\007results\030\002 \003(\0132\034." +
"conductor.proto.TaskSummary\"N\n\020TaskSearc" +
"hResult\022\022\n\ntotal_hits\030\001 \001(\003\022&\n\007results\030\002" +
" \003(\0132\025.conductor.proto.Task2\200\010\n\013TaskServ" +
"ice\022M\n\004Poll\022!.conductor.grpc.tasks.PollR" +
"equest\032\".conductor.grpc.tasks.PollRespon" +
"se\022L\n\tBatchPoll\022&.conductor.grpc.tasks.B" +
"atchPollRequest\032\025.conductor.proto.Task0\001" +
"\022_\n\nUpdateTask\022\'.conductor.grpc.tasks.Up" +
"dateTaskRequest\032(.conductor.grpc.tasks.U" +
"pdateTaskResponse\022S\n\006AddLog\022#.conductor." +
"grpc.tasks.AddLogRequest\032$.conductor.grp" +
"c.tasks.AddLogResponse\022b\n\013GetTaskLogs\022(." +
"conductor.grpc.tasks.GetTaskLogsRequest\032" +
").conductor.grpc.tasks.GetTaskLogsRespon" +
"se\022V\n\007GetTask\022$.conductor.grpc.tasks.Get" +
"TaskRequest\032%.conductor.grpc.tasks.GetTa" +
"skResponse\022j\n\025GetQueueSizesForTasks\022\'.co" +
"nductor.grpc.tasks.QueueSizesRequest\032(.c" +
"onductor.grpc.tasks.QueueSizesResponse\022_" +
"\n\014GetQueueInfo\022&.conductor.grpc.tasks.Qu" +
"eueInfoRequest\032\'.conductor.grpc.tasks.Qu" +
"eueInfoResponse\022h\n\017GetQueueAllInfo\022).con" +
"ductor.grpc.tasks.QueueAllInfoRequest\032*." +
"conductor.grpc.tasks.QueueAllInfoRespons" +
"e\022W\n\006Search\022\036.conductor.grpc.search.Requ" +
"est\032-.conductor.grpc.tasks.TaskSummarySe" +
"archResult\022R\n\010SearchV2\022\036.conductor.grpc." +
"search.Request\032&.conductor.grpc.tasks.Ta" +
"skSearchResultBl\n\032com.netflix.conductor." +
"grpcB\rTaskServicePbZ?github.com/netflix/" +
"conductor/client/gogrpc/conductor/grpc/t" +
"asksb\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.netflix.conductor.proto.TaskExecLogPb.getDescriptor(),
com.netflix.conductor.proto.TaskResultPb.getDescriptor(),
com.netflix.conductor.proto.TaskSummaryPb.getDescriptor(),
com.netflix.conductor.proto.TaskPb.getDescriptor(),
com.netflix.conductor.grpc.SearchPb.getDescriptor(),
});
internal_static_conductor_grpc_tasks_PollRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_conductor_grpc_tasks_PollRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_conductor_grpc_tasks_PollRequest_descriptor,
new java.lang.String[] { "TaskType", "WorkerId", "Domain", });
internal_static_conductor_grpc_tasks_PollResponse_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_conductor_grpc_tasks_PollResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_conductor_grpc_tasks_PollResponse_descriptor,
new java.lang.String[] { "Task", });
internal_static_conductor_grpc_tasks_BatchPollRequest_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_conductor_grpc_tasks_BatchPollRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_conductor_grpc_tasks_BatchPollRequest_descriptor,
new java.lang.String[] { "TaskType", "WorkerId", "Domain", "Count", "Timeout", });
internal_static_conductor_grpc_tasks_UpdateTaskRequest_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_conductor_grpc_tasks_UpdateTaskRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_conductor_grpc_tasks_UpdateTaskRequest_descriptor,
new java.lang.String[] { "Result", });
internal_static_conductor_grpc_tasks_UpdateTaskResponse_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_conductor_grpc_tasks_UpdateTaskResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_conductor_grpc_tasks_UpdateTaskResponse_descriptor,
new java.lang.String[] { "TaskId", });
internal_static_conductor_grpc_tasks_AddLogRequest_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_conductor_grpc_tasks_AddLogRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_conductor_grpc_tasks_AddLogRequest_descriptor,
new java.lang.String[] { "TaskId", "Log", });
internal_static_conductor_grpc_tasks_AddLogResponse_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_conductor_grpc_tasks_AddLogResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_conductor_grpc_tasks_AddLogResponse_descriptor,
new java.lang.String[] { });
internal_static_conductor_grpc_tasks_GetTaskLogsRequest_descriptor =
getDescriptor().getMessageTypes().get(7);
internal_static_conductor_grpc_tasks_GetTaskLogsRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_conductor_grpc_tasks_GetTaskLogsRequest_descriptor,
new java.lang.String[] { "TaskId", });
internal_static_conductor_grpc_tasks_GetTaskLogsResponse_descriptor =
getDescriptor().getMessageTypes().get(8);
internal_static_conductor_grpc_tasks_GetTaskLogsResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_conductor_grpc_tasks_GetTaskLogsResponse_descriptor,
new java.lang.String[] { "Logs", });
internal_static_conductor_grpc_tasks_GetTaskRequest_descriptor =
getDescriptor().getMessageTypes().get(9);
internal_static_conductor_grpc_tasks_GetTaskRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_conductor_grpc_tasks_GetTaskRequest_descriptor,
new java.lang.String[] { "TaskId", });
internal_static_conductor_grpc_tasks_GetTaskResponse_descriptor =
getDescriptor().getMessageTypes().get(10);
internal_static_conductor_grpc_tasks_GetTaskResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_conductor_grpc_tasks_GetTaskResponse_descriptor,
new java.lang.String[] { "Task", });
internal_static_conductor_grpc_tasks_QueueSizesRequest_descriptor =
getDescriptor().getMessageTypes().get(11);
internal_static_conductor_grpc_tasks_QueueSizesRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_conductor_grpc_tasks_QueueSizesRequest_descriptor,
new java.lang.String[] { "TaskTypes", });
internal_static_conductor_grpc_tasks_QueueSizesResponse_descriptor =
getDescriptor().getMessageTypes().get(12);
internal_static_conductor_grpc_tasks_QueueSizesResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_conductor_grpc_tasks_QueueSizesResponse_descriptor,
new java.lang.String[] { "QueueForTask", });
internal_static_conductor_grpc_tasks_QueueSizesResponse_QueueForTaskEntry_descriptor =
internal_static_conductor_grpc_tasks_QueueSizesResponse_descriptor.getNestedTypes().get(0);
internal_static_conductor_grpc_tasks_QueueSizesResponse_QueueForTaskEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_conductor_grpc_tasks_QueueSizesResponse_QueueForTaskEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_conductor_grpc_tasks_QueueInfoRequest_descriptor =
getDescriptor().getMessageTypes().get(13);
internal_static_conductor_grpc_tasks_QueueInfoRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_conductor_grpc_tasks_QueueInfoRequest_descriptor,
new java.lang.String[] { });
internal_static_conductor_grpc_tasks_QueueInfoResponse_descriptor =
getDescriptor().getMessageTypes().get(14);
internal_static_conductor_grpc_tasks_QueueInfoResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_conductor_grpc_tasks_QueueInfoResponse_descriptor,
new java.lang.String[] { "Queues", });
internal_static_conductor_grpc_tasks_QueueInfoResponse_QueuesEntry_descriptor =
internal_static_conductor_grpc_tasks_QueueInfoResponse_descriptor.getNestedTypes().get(0);
internal_static_conductor_grpc_tasks_QueueInfoResponse_QueuesEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_conductor_grpc_tasks_QueueInfoResponse_QueuesEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_conductor_grpc_tasks_QueueAllInfoRequest_descriptor =
getDescriptor().getMessageTypes().get(15);
internal_static_conductor_grpc_tasks_QueueAllInfoRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_conductor_grpc_tasks_QueueAllInfoRequest_descriptor,
new java.lang.String[] { });
internal_static_conductor_grpc_tasks_QueueAllInfoResponse_descriptor =
getDescriptor().getMessageTypes().get(16);
internal_static_conductor_grpc_tasks_QueueAllInfoResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_conductor_grpc_tasks_QueueAllInfoResponse_descriptor,
new java.lang.String[] { "Queues", });
internal_static_conductor_grpc_tasks_QueueAllInfoResponse_ShardInfo_descriptor =
internal_static_conductor_grpc_tasks_QueueAllInfoResponse_descriptor.getNestedTypes().get(0);
internal_static_conductor_grpc_tasks_QueueAllInfoResponse_ShardInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_conductor_grpc_tasks_QueueAllInfoResponse_ShardInfo_descriptor,
new java.lang.String[] { "Size", "Uacked", });
internal_static_conductor_grpc_tasks_QueueAllInfoResponse_QueueInfo_descriptor =
internal_static_conductor_grpc_tasks_QueueAllInfoResponse_descriptor.getNestedTypes().get(1);
internal_static_conductor_grpc_tasks_QueueAllInfoResponse_QueueInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_conductor_grpc_tasks_QueueAllInfoResponse_QueueInfo_descriptor,
new java.lang.String[] { "Shards", });
internal_static_conductor_grpc_tasks_QueueAllInfoResponse_QueueInfo_ShardsEntry_descriptor =
internal_static_conductor_grpc_tasks_QueueAllInfoResponse_QueueInfo_descriptor.getNestedTypes().get(0);
internal_static_conductor_grpc_tasks_QueueAllInfoResponse_QueueInfo_ShardsEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_conductor_grpc_tasks_QueueAllInfoResponse_QueueInfo_ShardsEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_conductor_grpc_tasks_QueueAllInfoResponse_QueuesEntry_descriptor =
internal_static_conductor_grpc_tasks_QueueAllInfoResponse_descriptor.getNestedTypes().get(2);
internal_static_conductor_grpc_tasks_QueueAllInfoResponse_QueuesEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_conductor_grpc_tasks_QueueAllInfoResponse_QueuesEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_conductor_grpc_tasks_TaskSummarySearchResult_descriptor =
getDescriptor().getMessageTypes().get(17);
internal_static_conductor_grpc_tasks_TaskSummarySearchResult_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_conductor_grpc_tasks_TaskSummarySearchResult_descriptor,
new java.lang.String[] { "TotalHits", "Results", });
internal_static_conductor_grpc_tasks_TaskSearchResult_descriptor =
getDescriptor().getMessageTypes().get(18);
internal_static_conductor_grpc_tasks_TaskSearchResult_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_conductor_grpc_tasks_TaskSearchResult_descriptor,
new java.lang.String[] { "TotalHits", "Results", });
com.netflix.conductor.proto.TaskExecLogPb.getDescriptor();
com.netflix.conductor.proto.TaskResultPb.getDescriptor();
com.netflix.conductor.proto.TaskSummaryPb.getDescriptor();
com.netflix.conductor.proto.TaskPb.getDescriptor();
com.netflix.conductor.grpc.SearchPb.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy