cz.proto.WorkerId Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of clickzetta-java Show documentation
Show all versions of clickzetta-java Show documentation
The java SDK for clickzetta's Lakehouse
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: job.proto
package cz.proto;
/**
* Protobuf type {@code cz.proto.WorkerId}
*/
public final class WorkerId extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.WorkerId)
WorkerIdOrBuilder {
private static final long serialVersionUID = 0L;
// Use WorkerId.newBuilder() to construct.
private WorkerId(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WorkerId() {
jobId_ = "";
stageId_ = "";
dagId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new WorkerId();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WorkerId(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
jobId_ = s;
break;
}
case 16: {
subJobId_ = input.readUInt64();
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
stageId_ = s;
break;
}
case 32: {
id_ = input.readUInt64();
break;
}
case 40: {
backupId_ = input.readUInt64();
break;
}
case 48: {
retryId_ = input.readUInt64();
break;
}
case 56: {
taId_ = input.readUInt64();
break;
}
case 66: {
java.lang.String s = input.readStringRequireUtf8();
dagId_ = s;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.JobProto.internal_static_cz_proto_WorkerId_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.JobProto.internal_static_cz_proto_WorkerId_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.WorkerId.class, cz.proto.WorkerId.Builder.class);
}
public static final int JOB_ID_FIELD_NUMBER = 1;
private volatile java.lang.Object jobId_;
/**
* string job_id = 1;
* @return The jobId.
*/
@java.lang.Override
public java.lang.String getJobId() {
java.lang.Object ref = jobId_;
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();
jobId_ = s;
return s;
}
}
/**
* string job_id = 1;
* @return The bytes for jobId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getJobIdBytes() {
java.lang.Object ref = jobId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
jobId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SUB_JOB_ID_FIELD_NUMBER = 2;
private long subJobId_;
/**
* uint64 sub_job_id = 2;
* @return The subJobId.
*/
@java.lang.Override
public long getSubJobId() {
return subJobId_;
}
public static final int STAGE_ID_FIELD_NUMBER = 3;
private volatile java.lang.Object stageId_;
/**
* string stage_id = 3;
* @return The stageId.
*/
@java.lang.Override
public java.lang.String getStageId() {
java.lang.Object ref = stageId_;
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();
stageId_ = s;
return s;
}
}
/**
* string stage_id = 3;
* @return The bytes for stageId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStageIdBytes() {
java.lang.Object ref = stageId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
stageId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ID_FIELD_NUMBER = 4;
private long id_;
/**
* uint64 id = 4;
* @return The id.
*/
@java.lang.Override
public long getId() {
return id_;
}
public static final int BACKUP_ID_FIELD_NUMBER = 5;
private long backupId_;
/**
* uint64 backup_id = 5;
* @return The backupId.
*/
@java.lang.Override
public long getBackupId() {
return backupId_;
}
public static final int RETRY_ID_FIELD_NUMBER = 6;
private long retryId_;
/**
* uint64 retry_id = 6;
* @return The retryId.
*/
@java.lang.Override
public long getRetryId() {
return retryId_;
}
public static final int TA_ID_FIELD_NUMBER = 7;
private long taId_;
/**
* uint64 ta_id = 7;
* @return The taId.
*/
@java.lang.Override
public long getTaId() {
return taId_;
}
public static final int DAG_ID_FIELD_NUMBER = 8;
private volatile java.lang.Object dagId_;
/**
* string dag_id = 8;
* @return The dagId.
*/
@java.lang.Override
public java.lang.String getDagId() {
java.lang.Object ref = dagId_;
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();
dagId_ = s;
return s;
}
}
/**
* string dag_id = 8;
* @return The bytes for dagId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDagIdBytes() {
java.lang.Object ref = dagId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
dagId_ = 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(jobId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, jobId_);
}
if (subJobId_ != 0L) {
output.writeUInt64(2, subJobId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stageId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, stageId_);
}
if (id_ != 0L) {
output.writeUInt64(4, id_);
}
if (backupId_ != 0L) {
output.writeUInt64(5, backupId_);
}
if (retryId_ != 0L) {
output.writeUInt64(6, retryId_);
}
if (taId_ != 0L) {
output.writeUInt64(7, taId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dagId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, dagId_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, jobId_);
}
if (subJobId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(2, subJobId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stageId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, stageId_);
}
if (id_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(4, id_);
}
if (backupId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(5, backupId_);
}
if (retryId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(6, retryId_);
}
if (taId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(7, taId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dagId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, dagId_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cz.proto.WorkerId)) {
return super.equals(obj);
}
cz.proto.WorkerId other = (cz.proto.WorkerId) obj;
if (!getJobId()
.equals(other.getJobId())) return false;
if (getSubJobId()
!= other.getSubJobId()) return false;
if (!getStageId()
.equals(other.getStageId())) return false;
if (getId()
!= other.getId()) return false;
if (getBackupId()
!= other.getBackupId()) return false;
if (getRetryId()
!= other.getRetryId()) return false;
if (getTaId()
!= other.getTaId()) return false;
if (!getDagId()
.equals(other.getDagId())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + JOB_ID_FIELD_NUMBER;
hash = (53 * hash) + getJobId().hashCode();
hash = (37 * hash) + SUB_JOB_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSubJobId());
hash = (37 * hash) + STAGE_ID_FIELD_NUMBER;
hash = (53 * hash) + getStageId().hashCode();
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getId());
hash = (37 * hash) + BACKUP_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getBackupId());
hash = (37 * hash) + RETRY_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getRetryId());
hash = (37 * hash) + TA_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTaId());
hash = (37 * hash) + DAG_ID_FIELD_NUMBER;
hash = (53 * hash) + getDagId().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.WorkerId parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.WorkerId parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.WorkerId parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.WorkerId parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.WorkerId parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.WorkerId parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.WorkerId parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.WorkerId 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 cz.proto.WorkerId parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.WorkerId 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 cz.proto.WorkerId parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.WorkerId 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(cz.proto.WorkerId 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 cz.proto.WorkerId}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.WorkerId)
cz.proto.WorkerIdOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.JobProto.internal_static_cz_proto_WorkerId_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.JobProto.internal_static_cz_proto_WorkerId_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.WorkerId.class, cz.proto.WorkerId.Builder.class);
}
// Construct using cz.proto.WorkerId.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
jobId_ = "";
subJobId_ = 0L;
stageId_ = "";
id_ = 0L;
backupId_ = 0L;
retryId_ = 0L;
taId_ = 0L;
dagId_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.JobProto.internal_static_cz_proto_WorkerId_descriptor;
}
@java.lang.Override
public cz.proto.WorkerId getDefaultInstanceForType() {
return cz.proto.WorkerId.getDefaultInstance();
}
@java.lang.Override
public cz.proto.WorkerId build() {
cz.proto.WorkerId result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.WorkerId buildPartial() {
cz.proto.WorkerId result = new cz.proto.WorkerId(this);
result.jobId_ = jobId_;
result.subJobId_ = subJobId_;
result.stageId_ = stageId_;
result.id_ = id_;
result.backupId_ = backupId_;
result.retryId_ = retryId_;
result.taId_ = taId_;
result.dagId_ = dagId_;
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 cz.proto.WorkerId) {
return mergeFrom((cz.proto.WorkerId)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.WorkerId other) {
if (other == cz.proto.WorkerId.getDefaultInstance()) return this;
if (!other.getJobId().isEmpty()) {
jobId_ = other.jobId_;
onChanged();
}
if (other.getSubJobId() != 0L) {
setSubJobId(other.getSubJobId());
}
if (!other.getStageId().isEmpty()) {
stageId_ = other.stageId_;
onChanged();
}
if (other.getId() != 0L) {
setId(other.getId());
}
if (other.getBackupId() != 0L) {
setBackupId(other.getBackupId());
}
if (other.getRetryId() != 0L) {
setRetryId(other.getRetryId());
}
if (other.getTaId() != 0L) {
setTaId(other.getTaId());
}
if (!other.getDagId().isEmpty()) {
dagId_ = other.dagId_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cz.proto.WorkerId parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.WorkerId) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object jobId_ = "";
/**
* string job_id = 1;
* @return The jobId.
*/
public java.lang.String getJobId() {
java.lang.Object ref = jobId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
jobId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string job_id = 1;
* @return The bytes for jobId.
*/
public com.google.protobuf.ByteString
getJobIdBytes() {
java.lang.Object ref = jobId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
jobId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string job_id = 1;
* @param value The jobId to set.
* @return This builder for chaining.
*/
public Builder setJobId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
jobId_ = value;
onChanged();
return this;
}
/**
* string job_id = 1;
* @return This builder for chaining.
*/
public Builder clearJobId() {
jobId_ = getDefaultInstance().getJobId();
onChanged();
return this;
}
/**
* string job_id = 1;
* @param value The bytes for jobId to set.
* @return This builder for chaining.
*/
public Builder setJobIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
jobId_ = value;
onChanged();
return this;
}
private long subJobId_ ;
/**
* uint64 sub_job_id = 2;
* @return The subJobId.
*/
@java.lang.Override
public long getSubJobId() {
return subJobId_;
}
/**
* uint64 sub_job_id = 2;
* @param value The subJobId to set.
* @return This builder for chaining.
*/
public Builder setSubJobId(long value) {
subJobId_ = value;
onChanged();
return this;
}
/**
* uint64 sub_job_id = 2;
* @return This builder for chaining.
*/
public Builder clearSubJobId() {
subJobId_ = 0L;
onChanged();
return this;
}
private java.lang.Object stageId_ = "";
/**
* string stage_id = 3;
* @return The stageId.
*/
public java.lang.String getStageId() {
java.lang.Object ref = stageId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
stageId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string stage_id = 3;
* @return The bytes for stageId.
*/
public com.google.protobuf.ByteString
getStageIdBytes() {
java.lang.Object ref = stageId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
stageId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string stage_id = 3;
* @param value The stageId to set.
* @return This builder for chaining.
*/
public Builder setStageId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
stageId_ = value;
onChanged();
return this;
}
/**
* string stage_id = 3;
* @return This builder for chaining.
*/
public Builder clearStageId() {
stageId_ = getDefaultInstance().getStageId();
onChanged();
return this;
}
/**
* string stage_id = 3;
* @param value The bytes for stageId to set.
* @return This builder for chaining.
*/
public Builder setStageIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
stageId_ = value;
onChanged();
return this;
}
private long id_ ;
/**
* uint64 id = 4;
* @return The id.
*/
@java.lang.Override
public long getId() {
return id_;
}
/**
* uint64 id = 4;
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(long value) {
id_ = value;
onChanged();
return this;
}
/**
* uint64 id = 4;
* @return This builder for chaining.
*/
public Builder clearId() {
id_ = 0L;
onChanged();
return this;
}
private long backupId_ ;
/**
* uint64 backup_id = 5;
* @return The backupId.
*/
@java.lang.Override
public long getBackupId() {
return backupId_;
}
/**
* uint64 backup_id = 5;
* @param value The backupId to set.
* @return This builder for chaining.
*/
public Builder setBackupId(long value) {
backupId_ = value;
onChanged();
return this;
}
/**
* uint64 backup_id = 5;
* @return This builder for chaining.
*/
public Builder clearBackupId() {
backupId_ = 0L;
onChanged();
return this;
}
private long retryId_ ;
/**
* uint64 retry_id = 6;
* @return The retryId.
*/
@java.lang.Override
public long getRetryId() {
return retryId_;
}
/**
* uint64 retry_id = 6;
* @param value The retryId to set.
* @return This builder for chaining.
*/
public Builder setRetryId(long value) {
retryId_ = value;
onChanged();
return this;
}
/**
* uint64 retry_id = 6;
* @return This builder for chaining.
*/
public Builder clearRetryId() {
retryId_ = 0L;
onChanged();
return this;
}
private long taId_ ;
/**
* uint64 ta_id = 7;
* @return The taId.
*/
@java.lang.Override
public long getTaId() {
return taId_;
}
/**
* uint64 ta_id = 7;
* @param value The taId to set.
* @return This builder for chaining.
*/
public Builder setTaId(long value) {
taId_ = value;
onChanged();
return this;
}
/**
* uint64 ta_id = 7;
* @return This builder for chaining.
*/
public Builder clearTaId() {
taId_ = 0L;
onChanged();
return this;
}
private java.lang.Object dagId_ = "";
/**
* string dag_id = 8;
* @return The dagId.
*/
public java.lang.String getDagId() {
java.lang.Object ref = dagId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
dagId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string dag_id = 8;
* @return The bytes for dagId.
*/
public com.google.protobuf.ByteString
getDagIdBytes() {
java.lang.Object ref = dagId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
dagId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string dag_id = 8;
* @param value The dagId to set.
* @return This builder for chaining.
*/
public Builder setDagId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
dagId_ = value;
onChanged();
return this;
}
/**
* string dag_id = 8;
* @return This builder for chaining.
*/
public Builder clearDagId() {
dagId_ = getDefaultInstance().getDagId();
onChanged();
return this;
}
/**
* string dag_id = 8;
* @param value The bytes for dagId to set.
* @return This builder for chaining.
*/
public Builder setDagIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
dagId_ = 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:cz.proto.WorkerId)
}
// @@protoc_insertion_point(class_scope:cz.proto.WorkerId)
private static final cz.proto.WorkerId DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.WorkerId();
}
public static cz.proto.WorkerId getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WorkerId parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WorkerId(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cz.proto.WorkerId getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy