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

alluxio.grpc.JobInfo Maven / Gradle / Ivy

There is a newer version: 313
Show newest version
// Generated by the protocol buffer alluxio.shaded.client.com.iler.  DO NOT EDIT!
// source: grpc/job_master.proto

package alluxio.grpc;

/**
 * 
 * next available id: 14
 * 
* * Protobuf type {@code alluxio.grpc.job.JobInfo} */ public final class JobInfo extends alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:alluxio.grpc.job.JobInfo) JobInfoOrBuilder { private static final long serialVersionUID = 0L; // Use JobInfo.newBuilder() to construct. private JobInfo(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private JobInfo() { errorMessage_ = ""; status_ = 0; type_ = 1; result_ = alluxio.shaded.client.com.google.protobuf.ByteString.EMPTY; errorType_ = ""; name_ = ""; children_ = java.util.Collections.emptyList(); workerHost_ = ""; description_ = ""; affectedPaths_ = alluxio.shaded.client.com.google.protobuf.LazyStringArrayList.EMPTY; unused0_ = java.util.Collections.emptyList(); unused1_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new JobInfo(); } @java.lang.Override public final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return alluxio.grpc.JobMasterProto.internal_static_alluxio_grpc_job_JobInfo_descriptor; } @java.lang.Override protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return alluxio.grpc.JobMasterProto.internal_static_alluxio_grpc_job_JobInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( alluxio.grpc.JobInfo.class, alluxio.grpc.JobInfo.Builder.class); } private int bitField0_; public static final int ID_FIELD_NUMBER = 1; private long id_; /** * optional int64 id = 1; * @return Whether the id field is set. */ @java.lang.Override public boolean hasId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 id = 1; * @return The id. */ @java.lang.Override public long getId() { return id_; } public static final int ERRORMESSAGE_FIELD_NUMBER = 2; private volatile java.lang.Object errorMessage_; /** * optional string errorMessage = 2; * @return Whether the errorMessage field is set. */ @java.lang.Override public boolean hasErrorMessage() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string errorMessage = 2; * @return The errorMessage. */ @java.lang.Override public java.lang.String getErrorMessage() { java.lang.Object ref = errorMessage_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { alluxio.shaded.client.com.google.protobuf.ByteString bs = (alluxio.shaded.client.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { errorMessage_ = s; } return s; } } /** * optional string errorMessage = 2; * @return The bytes for errorMessage. */ @java.lang.Override public alluxio.shaded.client.com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof java.lang.String) { alluxio.shaded.client.com.google.protobuf.ByteString b = alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); errorMessage_ = b; return b; } else { return (alluxio.shaded.client.com.google.protobuf.ByteString) ref; } } public static final int STATUS_FIELD_NUMBER = 4; private int status_; /** * optional .alluxio.grpc.job.Status status = 4; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return ((bitField0_ & 0x00000004) != 0); } /** * optional .alluxio.grpc.job.Status status = 4; * @return The status. */ @java.lang.Override public alluxio.grpc.Status getStatus() { @SuppressWarnings("deprecation") alluxio.grpc.Status result = alluxio.grpc.Status.valueOf(status_); return result == null ? alluxio.grpc.Status.UNKNOWN : result; } public static final int LASTUPDATED_FIELD_NUMBER = 6; private long lastUpdated_; /** * optional int64 lastUpdated = 6; * @return Whether the lastUpdated field is set. */ @java.lang.Override public boolean hasLastUpdated() { return ((bitField0_ & 0x00000008) != 0); } /** * optional int64 lastUpdated = 6; * @return The lastUpdated. */ @java.lang.Override public long getLastUpdated() { return lastUpdated_; } public static final int TYPE_FIELD_NUMBER = 8; private int type_; /** * optional .alluxio.grpc.job.JobType type = 8; * @return Whether the type field is set. */ @java.lang.Override public boolean hasType() { return ((bitField0_ & 0x00000010) != 0); } /** * optional .alluxio.grpc.job.JobType type = 8; * @return The type. */ @java.lang.Override public alluxio.grpc.JobType getType() { @SuppressWarnings("deprecation") alluxio.grpc.JobType result = alluxio.grpc.JobType.valueOf(type_); return result == null ? alluxio.grpc.JobType.PLAN : result; } public static final int RESULT_FIELD_NUMBER = 9; private alluxio.shaded.client.com.google.protobuf.ByteString result_; /** * optional bytes result = 9; * @return Whether the result field is set. */ @java.lang.Override public boolean hasResult() { return ((bitField0_ & 0x00000020) != 0); } /** * optional bytes result = 9; * @return The result. */ @java.lang.Override public alluxio.shaded.client.com.google.protobuf.ByteString getResult() { return result_; } public static final int ERRORTYPE_FIELD_NUMBER = 15; private volatile java.lang.Object errorType_; /** * optional string errorType = 15; * @return Whether the errorType field is set. */ @java.lang.Override public boolean hasErrorType() { return ((bitField0_ & 0x00000040) != 0); } /** * optional string errorType = 15; * @return The errorType. */ @java.lang.Override public java.lang.String getErrorType() { java.lang.Object ref = errorType_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { alluxio.shaded.client.com.google.protobuf.ByteString bs = (alluxio.shaded.client.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { errorType_ = s; } return s; } } /** * optional string errorType = 15; * @return The bytes for errorType. */ @java.lang.Override public alluxio.shaded.client.com.google.protobuf.ByteString getErrorTypeBytes() { java.lang.Object ref = errorType_; if (ref instanceof java.lang.String) { alluxio.shaded.client.com.google.protobuf.ByteString b = alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); errorType_ = b; return b; } else { return (alluxio.shaded.client.com.google.protobuf.ByteString) ref; } } public static final int NAME_FIELD_NUMBER = 7; private volatile java.lang.Object name_; /** *
   * Some jobs don't have these
   * 
* * optional string name = 7; * @return Whether the name field is set. */ @java.lang.Override public boolean hasName() { return ((bitField0_ & 0x00000080) != 0); } /** *
   * Some jobs don't have these
   * 
* * optional string name = 7; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { alluxio.shaded.client.com.google.protobuf.ByteString bs = (alluxio.shaded.client.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** *
   * Some jobs don't have these
   * 
* * optional string name = 7; * @return The bytes for name. */ @java.lang.Override public alluxio.shaded.client.com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { alluxio.shaded.client.com.google.protobuf.ByteString b = alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (alluxio.shaded.client.com.google.protobuf.ByteString) ref; } } public static final int PARENTID_FIELD_NUMBER = 10; private long parentId_; /** * optional int64 parentId = 10; * @return Whether the parentId field is set. */ @java.lang.Override public boolean hasParentId() { return ((bitField0_ & 0x00000100) != 0); } /** * optional int64 parentId = 10; * @return The parentId. */ @java.lang.Override public long getParentId() { return parentId_; } public static final int CHILDREN_FIELD_NUMBER = 11; private java.util.List children_; /** * repeated .alluxio.grpc.job.JobInfo children = 11; */ @java.lang.Override public java.util.List getChildrenList() { return children_; } /** * repeated .alluxio.grpc.job.JobInfo children = 11; */ @java.lang.Override public java.util.List getChildrenOrBuilderList() { return children_; } /** * repeated .alluxio.grpc.job.JobInfo children = 11; */ @java.lang.Override public int getChildrenCount() { return children_.size(); } /** * repeated .alluxio.grpc.job.JobInfo children = 11; */ @java.lang.Override public alluxio.grpc.JobInfo getChildren(int index) { return children_.get(index); } /** * repeated .alluxio.grpc.job.JobInfo children = 11; */ @java.lang.Override public alluxio.grpc.JobInfoOrBuilder getChildrenOrBuilder( int index) { return children_.get(index); } public static final int WORKERHOST_FIELD_NUMBER = 12; private volatile java.lang.Object workerHost_; /** * optional string workerHost = 12; * @return Whether the workerHost field is set. */ @java.lang.Override public boolean hasWorkerHost() { return ((bitField0_ & 0x00000200) != 0); } /** * optional string workerHost = 12; * @return The workerHost. */ @java.lang.Override public java.lang.String getWorkerHost() { java.lang.Object ref = workerHost_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { alluxio.shaded.client.com.google.protobuf.ByteString bs = (alluxio.shaded.client.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { workerHost_ = s; } return s; } } /** * optional string workerHost = 12; * @return The bytes for workerHost. */ @java.lang.Override public alluxio.shaded.client.com.google.protobuf.ByteString getWorkerHostBytes() { java.lang.Object ref = workerHost_; if (ref instanceof java.lang.String) { alluxio.shaded.client.com.google.protobuf.ByteString b = alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); workerHost_ = b; return b; } else { return (alluxio.shaded.client.com.google.protobuf.ByteString) ref; } } public static final int DESCRIPTION_FIELD_NUMBER = 13; private volatile java.lang.Object description_; /** * optional string description = 13; * @return Whether the description field is set. */ @java.lang.Override public boolean hasDescription() { return ((bitField0_ & 0x00000400) != 0); } /** * optional string description = 13; * @return The description. */ @java.lang.Override public java.lang.String getDescription() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { alluxio.shaded.client.com.google.protobuf.ByteString bs = (alluxio.shaded.client.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { description_ = s; } return s; } } /** * optional string description = 13; * @return The bytes for description. */ @java.lang.Override public alluxio.shaded.client.com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { alluxio.shaded.client.com.google.protobuf.ByteString b = alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); description_ = b; return b; } else { return (alluxio.shaded.client.com.google.protobuf.ByteString) ref; } } public static final int AFFECTEDPATHS_FIELD_NUMBER = 14; private alluxio.shaded.client.com.google.protobuf.LazyStringList affectedPaths_; /** * repeated string affectedPaths = 14; * @return A list containing the affectedPaths. */ public alluxio.shaded.client.com.google.protobuf.ProtocolStringList getAffectedPathsList() { return affectedPaths_; } /** * repeated string affectedPaths = 14; * @return The count of affectedPaths. */ public int getAffectedPathsCount() { return affectedPaths_.size(); } /** * repeated string affectedPaths = 14; * @param index The index of the element to return. * @return The affectedPaths at the given index. */ public java.lang.String getAffectedPaths(int index) { return affectedPaths_.get(index); } /** * repeated string affectedPaths = 14; * @param index The index of the value to return. * @return The bytes of the affectedPaths at the given index. */ public alluxio.shaded.client.com.google.protobuf.ByteString getAffectedPathsBytes(int index) { return affectedPaths_.getByteString(index); } public static final int UNUSED0_FIELD_NUMBER = 3; private java.util.List unused0_; /** *
   * Around for backwards alluxio.shaded.client.com.atibility
   * 
* * repeated .alluxio.grpc.job.JobUnused unused0 = 3; */ @java.lang.Override public java.util.List getUnused0List() { return unused0_; } /** *
   * Around for backwards alluxio.shaded.client.com.atibility
   * 
* * repeated .alluxio.grpc.job.JobUnused unused0 = 3; */ @java.lang.Override public java.util.List getUnused0OrBuilderList() { return unused0_; } /** *
   * Around for backwards alluxio.shaded.client.com.atibility
   * 
* * repeated .alluxio.grpc.job.JobUnused unused0 = 3; */ @java.lang.Override public int getUnused0Count() { return unused0_.size(); } /** *
   * Around for backwards alluxio.shaded.client.com.atibility
   * 
* * repeated .alluxio.grpc.job.JobUnused unused0 = 3; */ @java.lang.Override public alluxio.grpc.JobUnused getUnused0(int index) { return unused0_.get(index); } /** *
   * Around for backwards alluxio.shaded.client.com.atibility
   * 
* * repeated .alluxio.grpc.job.JobUnused unused0 = 3; */ @java.lang.Override public alluxio.grpc.JobUnusedOrBuilder getUnused0OrBuilder( int index) { return unused0_.get(index); } public static final int UNUSED1_FIELD_NUMBER = 5; private volatile java.lang.Object unused1_; /** *
   * formerly result
   * 
* * optional string unused1 = 5; * @return Whether the unused1 field is set. */ @java.lang.Override public boolean hasUnused1() { return ((bitField0_ & 0x00000800) != 0); } /** *
   * formerly result
   * 
* * optional string unused1 = 5; * @return The unused1. */ @java.lang.Override public java.lang.String getUnused1() { java.lang.Object ref = unused1_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { alluxio.shaded.client.com.google.protobuf.ByteString bs = (alluxio.shaded.client.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { unused1_ = s; } return s; } } /** *
   * formerly result
   * 
* * optional string unused1 = 5; * @return The bytes for unused1. */ @java.lang.Override public alluxio.shaded.client.com.google.protobuf.ByteString getUnused1Bytes() { java.lang.Object ref = unused1_; if (ref instanceof java.lang.String) { alluxio.shaded.client.com.google.protobuf.ByteString b = alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); unused1_ = b; return b; } else { return (alluxio.shaded.client.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(alluxio.shaded.client.com.google.protobuf.CodedOutputStream output) throws java.alluxio.shaded.client.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeInt64(1, id_); } if (((bitField0_ & 0x00000002) != 0)) { alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 2, errorMessage_); } for (int i = 0; i < unused0_.size(); i++) { output.writeMessage(3, unused0_.get(i)); } if (((bitField0_ & 0x00000004) != 0)) { output.writeEnum(4, status_); } if (((bitField0_ & 0x00000800) != 0)) { alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 5, unused1_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeInt64(6, lastUpdated_); } if (((bitField0_ & 0x00000080) != 0)) { alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 7, name_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeEnum(8, type_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeBytes(9, result_); } if (((bitField0_ & 0x00000100) != 0)) { output.writeInt64(10, parentId_); } for (int i = 0; i < children_.size(); i++) { output.writeMessage(11, children_.get(i)); } if (((bitField0_ & 0x00000200) != 0)) { alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 12, workerHost_); } if (((bitField0_ & 0x00000400) != 0)) { alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 13, description_); } for (int i = 0; i < affectedPaths_.size(); i++) { alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 14, affectedPaths_.getRaw(i)); } if (((bitField0_ & 0x00000040) != 0)) { alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 15, errorType_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream .alluxio.shaded.client.com.uteInt64Size(1, id_); } if (((bitField0_ & 0x00000002) != 0)) { size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(2, errorMessage_); } for (int i = 0; i < unused0_.size(); i++) { size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream .alluxio.shaded.client.com.uteMessageSize(3, unused0_.get(i)); } if (((bitField0_ & 0x00000004) != 0)) { size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream .alluxio.shaded.client.com.uteEnumSize(4, status_); } if (((bitField0_ & 0x00000800) != 0)) { size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(5, unused1_); } if (((bitField0_ & 0x00000008) != 0)) { size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream .alluxio.shaded.client.com.uteInt64Size(6, lastUpdated_); } if (((bitField0_ & 0x00000080) != 0)) { size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(7, name_); } if (((bitField0_ & 0x00000010) != 0)) { size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream .alluxio.shaded.client.com.uteEnumSize(8, type_); } if (((bitField0_ & 0x00000020) != 0)) { size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream .alluxio.shaded.client.com.uteBytesSize(9, result_); } if (((bitField0_ & 0x00000100) != 0)) { size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream .alluxio.shaded.client.com.uteInt64Size(10, parentId_); } for (int i = 0; i < children_.size(); i++) { size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream .alluxio.shaded.client.com.uteMessageSize(11, children_.get(i)); } if (((bitField0_ & 0x00000200) != 0)) { size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(12, workerHost_); } if (((bitField0_ & 0x00000400) != 0)) { size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(13, description_); } { int dataSize = 0; for (int i = 0; i < affectedPaths_.size(); i++) { dataSize += alluxio.shaded.client.com.uteStringSizeNoTag(affectedPaths_.getRaw(i)); } size += dataSize; size += 1 * getAffectedPathsList().size(); } if (((bitField0_ & 0x00000040) != 0)) { size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(15, errorType_); } 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 alluxio.grpc.JobInfo)) { return super.equals(obj); } alluxio.grpc.JobInfo other = (alluxio.grpc.JobInfo) obj; if (hasId() != other.hasId()) return false; if (hasId()) { if (getId() != other.getId()) return false; } if (hasErrorMessage() != other.hasErrorMessage()) return false; if (hasErrorMessage()) { if (!getErrorMessage() .equals(other.getErrorMessage())) return false; } if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { if (status_ != other.status_) return false; } if (hasLastUpdated() != other.hasLastUpdated()) return false; if (hasLastUpdated()) { if (getLastUpdated() != other.getLastUpdated()) return false; } if (hasType() != other.hasType()) return false; if (hasType()) { if (type_ != other.type_) return false; } if (hasResult() != other.hasResult()) return false; if (hasResult()) { if (!getResult() .equals(other.getResult())) return false; } if (hasErrorType() != other.hasErrorType()) return false; if (hasErrorType()) { if (!getErrorType() .equals(other.getErrorType())) return false; } if (hasName() != other.hasName()) return false; if (hasName()) { if (!getName() .equals(other.getName())) return false; } if (hasParentId() != other.hasParentId()) return false; if (hasParentId()) { if (getParentId() != other.getParentId()) return false; } if (!getChildrenList() .equals(other.getChildrenList())) return false; if (hasWorkerHost() != other.hasWorkerHost()) return false; if (hasWorkerHost()) { if (!getWorkerHost() .equals(other.getWorkerHost())) return false; } if (hasDescription() != other.hasDescription()) return false; if (hasDescription()) { if (!getDescription() .equals(other.getDescription())) return false; } if (!getAffectedPathsList() .equals(other.getAffectedPathsList())) return false; if (!getUnused0List() .equals(other.getUnused0List())) return false; if (hasUnused1() != other.hasUnused1()) return false; if (hasUnused1()) { if (!getUnused1() .equals(other.getUnused1())) 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 (hasId()) { hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong( getId()); } if (hasErrorMessage()) { hash = (37 * hash) + ERRORMESSAGE_FIELD_NUMBER; hash = (53 * hash) + getErrorMessage().hashCode(); } if (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + status_; } if (hasLastUpdated()) { hash = (37 * hash) + LASTUPDATED_FIELD_NUMBER; hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong( getLastUpdated()); } if (hasType()) { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + type_; } if (hasResult()) { hash = (37 * hash) + RESULT_FIELD_NUMBER; hash = (53 * hash) + getResult().hashCode(); } if (hasErrorType()) { hash = (37 * hash) + ERRORTYPE_FIELD_NUMBER; hash = (53 * hash) + getErrorType().hashCode(); } if (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } if (hasParentId()) { hash = (37 * hash) + PARENTID_FIELD_NUMBER; hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong( getParentId()); } if (getChildrenCount() > 0) { hash = (37 * hash) + CHILDREN_FIELD_NUMBER; hash = (53 * hash) + getChildrenList().hashCode(); } if (hasWorkerHost()) { hash = (37 * hash) + WORKERHOST_FIELD_NUMBER; hash = (53 * hash) + getWorkerHost().hashCode(); } if (hasDescription()) { hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().hashCode(); } if (getAffectedPathsCount() > 0) { hash = (37 * hash) + AFFECTEDPATHS_FIELD_NUMBER; hash = (53 * hash) + getAffectedPathsList().hashCode(); } if (getUnused0Count() > 0) { hash = (37 * hash) + UNUSED0_FIELD_NUMBER; hash = (53 * hash) + getUnused0List().hashCode(); } if (hasUnused1()) { hash = (37 * hash) + UNUSED1_FIELD_NUMBER; hash = (53 * hash) + getUnused1().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static alluxio.grpc.JobInfo parseFrom( java.nio.ByteBuffer data) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.grpc.JobInfo parseFrom( java.nio.ByteBuffer data, alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static alluxio.grpc.JobInfo parseFrom( alluxio.shaded.client.com.google.protobuf.ByteString data) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.grpc.JobInfo parseFrom( alluxio.shaded.client.com.google.protobuf.ByteString data, alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static alluxio.grpc.JobInfo parseFrom(byte[] data) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.grpc.JobInfo parseFrom( byte[] data, alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static alluxio.grpc.JobInfo parseFrom(java.alluxio.shaded.client.io.InputStream input) throws java.alluxio.shaded.client.io.IOException { return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static alluxio.grpc.JobInfo parseFrom( java.alluxio.shaded.client.io.InputStream input, alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.alluxio.shaded.client.io.IOException { return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static alluxio.grpc.JobInfo parseDelimitedFrom(java.alluxio.shaded.client.io.InputStream input) throws java.alluxio.shaded.client.io.IOException { return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static alluxio.grpc.JobInfo parseDelimitedFrom( java.alluxio.shaded.client.io.InputStream input, alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.alluxio.shaded.client.io.IOException { return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static alluxio.grpc.JobInfo parseFrom( alluxio.shaded.client.com.google.protobuf.CodedInputStream input) throws java.alluxio.shaded.client.io.IOException { return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static alluxio.grpc.JobInfo parseFrom( alluxio.shaded.client.com.google.protobuf.CodedInputStream input, alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.alluxio.shaded.client.io.IOException { return alluxio.shaded.client.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(alluxio.grpc.JobInfo 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( alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   * next available id: 14
   * 
* * Protobuf type {@code alluxio.grpc.job.JobInfo} */ public static final class Builder extends alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:alluxio.grpc.job.JobInfo) alluxio.grpc.JobInfoOrBuilder { public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return alluxio.grpc.JobMasterProto.internal_static_alluxio_grpc_job_JobInfo_descriptor; } @java.lang.Override protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return alluxio.grpc.JobMasterProto.internal_static_alluxio_grpc_job_JobInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( alluxio.grpc.JobInfo.class, alluxio.grpc.JobInfo.Builder.class); } // Construct using alluxio.grpc.JobInfo.newBuilder() private Builder() { } private Builder( alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); id_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); errorMessage_ = ""; bitField0_ = (bitField0_ & ~0x00000002); status_ = 0; bitField0_ = (bitField0_ & ~0x00000004); lastUpdated_ = 0L; bitField0_ = (bitField0_ & ~0x00000008); type_ = 1; bitField0_ = (bitField0_ & ~0x00000010); result_ = alluxio.shaded.client.com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000020); errorType_ = ""; bitField0_ = (bitField0_ & ~0x00000040); name_ = ""; bitField0_ = (bitField0_ & ~0x00000080); parentId_ = 0L; bitField0_ = (bitField0_ & ~0x00000100); if (childrenBuilder_ == null) { children_ = java.util.Collections.emptyList(); } else { children_ = null; childrenBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000200); workerHost_ = ""; bitField0_ = (bitField0_ & ~0x00000400); description_ = ""; bitField0_ = (bitField0_ & ~0x00000800); affectedPaths_ = alluxio.shaded.client.com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00001000); if (unused0Builder_ == null) { unused0_ = java.util.Collections.emptyList(); } else { unused0_ = null; unused0Builder_.clear(); } bitField0_ = (bitField0_ & ~0x00002000); unused1_ = ""; bitField0_ = (bitField0_ & ~0x00004000); return this; } @java.lang.Override public alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return alluxio.grpc.JobMasterProto.internal_static_alluxio_grpc_job_JobInfo_descriptor; } @java.lang.Override public alluxio.grpc.JobInfo getDefaultInstanceForType() { return alluxio.grpc.JobInfo.getDefaultInstance(); } @java.lang.Override public alluxio.grpc.JobInfo build() { alluxio.grpc.JobInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public alluxio.grpc.JobInfo buildPartial() { alluxio.grpc.JobInfo result = new alluxio.grpc.JobInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.id_ = id_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.errorMessage_ = errorMessage_; if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.status_ = status_; if (((from_bitField0_ & 0x00000008) != 0)) { result.lastUpdated_ = lastUpdated_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { to_bitField0_ |= 0x00000010; } result.type_ = type_; if (((from_bitField0_ & 0x00000020) != 0)) { to_bitField0_ |= 0x00000020; } result.result_ = result_; if (((from_bitField0_ & 0x00000040) != 0)) { to_bitField0_ |= 0x00000040; } result.errorType_ = errorType_; if (((from_bitField0_ & 0x00000080) != 0)) { to_bitField0_ |= 0x00000080; } result.name_ = name_; if (((from_bitField0_ & 0x00000100) != 0)) { result.parentId_ = parentId_; to_bitField0_ |= 0x00000100; } if (childrenBuilder_ == null) { if (((bitField0_ & 0x00000200) != 0)) { children_ = java.util.Collections.unmodifiableList(children_); bitField0_ = (bitField0_ & ~0x00000200); } result.children_ = children_; } else { result.children_ = childrenBuilder_.build(); } if (((from_bitField0_ & 0x00000400) != 0)) { to_bitField0_ |= 0x00000200; } result.workerHost_ = workerHost_; if (((from_bitField0_ & 0x00000800) != 0)) { to_bitField0_ |= 0x00000400; } result.description_ = description_; if (((bitField0_ & 0x00001000) != 0)) { affectedPaths_ = affectedPaths_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00001000); } result.affectedPaths_ = affectedPaths_; if (unused0Builder_ == null) { if (((bitField0_ & 0x00002000) != 0)) { unused0_ = java.util.Collections.unmodifiableList(unused0_); bitField0_ = (bitField0_ & ~0x00002000); } result.unused0_ = unused0_; } else { result.unused0_ = unused0Builder_.build(); } if (((from_bitField0_ & 0x00004000) != 0)) { to_bitField0_ |= 0x00000800; } result.unused1_ = unused1_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( alluxio.shaded.client.com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(alluxio.shaded.client.com.google.protobuf.Message other) { if (other instanceof alluxio.grpc.JobInfo) { return mergeFrom((alluxio.grpc.JobInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(alluxio.grpc.JobInfo other) { if (other == alluxio.grpc.JobInfo.getDefaultInstance()) return this; if (other.hasId()) { setId(other.getId()); } if (other.hasErrorMessage()) { bitField0_ |= 0x00000002; errorMessage_ = other.errorMessage_; onChanged(); } if (other.hasStatus()) { setStatus(other.getStatus()); } if (other.hasLastUpdated()) { setLastUpdated(other.getLastUpdated()); } if (other.hasType()) { setType(other.getType()); } if (other.hasResult()) { setResult(other.getResult()); } if (other.hasErrorType()) { bitField0_ |= 0x00000040; errorType_ = other.errorType_; onChanged(); } if (other.hasName()) { bitField0_ |= 0x00000080; name_ = other.name_; onChanged(); } if (other.hasParentId()) { setParentId(other.getParentId()); } if (childrenBuilder_ == null) { if (!other.children_.isEmpty()) { if (children_.isEmpty()) { children_ = other.children_; bitField0_ = (bitField0_ & ~0x00000200); } else { ensureChildrenIsMutable(); children_.addAll(other.children_); } onChanged(); } } else { if (!other.children_.isEmpty()) { if (childrenBuilder_.isEmpty()) { childrenBuilder_.dispose(); childrenBuilder_ = null; children_ = other.children_; bitField0_ = (bitField0_ & ~0x00000200); childrenBuilder_ = alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getChildrenFieldBuilder() : null; } else { childrenBuilder_.addAllMessages(other.children_); } } } if (other.hasWorkerHost()) { bitField0_ |= 0x00000400; workerHost_ = other.workerHost_; onChanged(); } if (other.hasDescription()) { bitField0_ |= 0x00000800; description_ = other.description_; onChanged(); } if (!other.affectedPaths_.isEmpty()) { if (affectedPaths_.isEmpty()) { affectedPaths_ = other.affectedPaths_; bitField0_ = (bitField0_ & ~0x00001000); } else { ensureAffectedPathsIsMutable(); affectedPaths_.addAll(other.affectedPaths_); } onChanged(); } if (unused0Builder_ == null) { if (!other.unused0_.isEmpty()) { if (unused0_.isEmpty()) { unused0_ = other.unused0_; bitField0_ = (bitField0_ & ~0x00002000); } else { ensureUnused0IsMutable(); unused0_.addAll(other.unused0_); } onChanged(); } } else { if (!other.unused0_.isEmpty()) { if (unused0Builder_.isEmpty()) { unused0Builder_.dispose(); unused0Builder_ = null; unused0_ = other.unused0_; bitField0_ = (bitField0_ & ~0x00002000); unused0Builder_ = alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getUnused0FieldBuilder() : null; } else { unused0Builder_.addAllMessages(other.unused0_); } } } if (other.hasUnused1()) { bitField0_ |= 0x00004000; unused1_ = other.unused1_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( alluxio.shaded.client.com.google.protobuf.CodedInputStream input, alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.alluxio.shaded.client.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: { id_ = input.readInt64(); bitField0_ |= 0x00000001; break; } // case 8 case 18: { errorMessage_ = input.readBytes(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { alluxio.grpc.JobUnused m = input.readMessage( alluxio.grpc.JobUnused.PARSER, extensionRegistry); if (unused0Builder_ == null) { ensureUnused0IsMutable(); unused0_.add(m); } else { unused0Builder_.addMessage(m); } break; } // case 26 case 32: { int tmpRaw = input.readEnum(); alluxio.grpc.Status tmpValue = alluxio.grpc.Status.forNumber(tmpRaw); if (tmpValue == null) { mergeUnknownVarintField(4, tmpRaw); } else { status_ = tmpRaw; bitField0_ |= 0x00000004; } break; } // case 32 case 42: { unused1_ = input.readBytes(); bitField0_ |= 0x00004000; break; } // case 42 case 48: { lastUpdated_ = input.readInt64(); bitField0_ |= 0x00000008; break; } // case 48 case 58: { name_ = input.readBytes(); bitField0_ |= 0x00000080; break; } // case 58 case 64: { int tmpRaw = input.readEnum(); alluxio.grpc.JobType tmpValue = alluxio.grpc.JobType.forNumber(tmpRaw); if (tmpValue == null) { mergeUnknownVarintField(8, tmpRaw); } else { type_ = tmpRaw; bitField0_ |= 0x00000010; } break; } // case 64 case 74: { result_ = input.readBytes(); bitField0_ |= 0x00000020; break; } // case 74 case 80: { parentId_ = input.readInt64(); bitField0_ |= 0x00000100; break; } // case 80 case 90: { alluxio.grpc.JobInfo m = input.readMessage( alluxio.grpc.JobInfo.PARSER, extensionRegistry); if (childrenBuilder_ == null) { ensureChildrenIsMutable(); children_.add(m); } else { childrenBuilder_.addMessage(m); } break; } // case 90 case 98: { workerHost_ = input.readBytes(); bitField0_ |= 0x00000400; break; } // case 98 case 106: { description_ = input.readBytes(); bitField0_ |= 0x00000800; break; } // case 106 case 114: { alluxio.shaded.client.com.google.protobuf.ByteString bs = input.readBytes(); ensureAffectedPathsIsMutable(); affectedPaths_.add(bs); break; } // case 114 case 122: { errorType_ = input.readBytes(); bitField0_ |= 0x00000040; break; } // case 122 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private long id_ ; /** * optional int64 id = 1; * @return Whether the id field is set. */ @java.lang.Override public boolean hasId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 id = 1; * @return The id. */ @java.lang.Override public long getId() { return id_; } /** * optional int64 id = 1; * @param value The id to set. * @return This builder for chaining. */ public Builder setId(long value) { bitField0_ |= 0x00000001; id_ = value; onChanged(); return this; } /** * optional int64 id = 1; * @return This builder for chaining. */ public Builder clearId() { bitField0_ = (bitField0_ & ~0x00000001); id_ = 0L; onChanged(); return this; } private java.lang.Object errorMessage_ = ""; /** * optional string errorMessage = 2; * @return Whether the errorMessage field is set. */ public boolean hasErrorMessage() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string errorMessage = 2; * @return The errorMessage. */ public java.lang.String getErrorMessage() { java.lang.Object ref = errorMessage_; if (!(ref instanceof java.lang.String)) { alluxio.shaded.client.com.google.protobuf.ByteString bs = (alluxio.shaded.client.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { errorMessage_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string errorMessage = 2; * @return The bytes for errorMessage. */ public alluxio.shaded.client.com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof String) { alluxio.shaded.client.com.google.protobuf.ByteString b = alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); errorMessage_ = b; return b; } else { return (alluxio.shaded.client.com.google.protobuf.ByteString) ref; } } /** * optional string errorMessage = 2; * @param value The errorMessage to set. * @return This builder for chaining. */ public Builder setErrorMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; errorMessage_ = value; onChanged(); return this; } /** * optional string errorMessage = 2; * @return This builder for chaining. */ public Builder clearErrorMessage() { bitField0_ = (bitField0_ & ~0x00000002); errorMessage_ = getDefaultInstance().getErrorMessage(); onChanged(); return this; } /** * optional string errorMessage = 2; * @param value The bytes for errorMessage to set. * @return This builder for chaining. */ public Builder setErrorMessageBytes( alluxio.shaded.client.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; errorMessage_ = value; onChanged(); return this; } private int status_ = 0; /** * optional .alluxio.grpc.job.Status status = 4; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return ((bitField0_ & 0x00000004) != 0); } /** * optional .alluxio.grpc.job.Status status = 4; * @return The status. */ @java.lang.Override public alluxio.grpc.Status getStatus() { @SuppressWarnings("deprecation") alluxio.grpc.Status result = alluxio.grpc.Status.valueOf(status_); return result == null ? alluxio.grpc.Status.UNKNOWN : result; } /** * optional .alluxio.grpc.job.Status status = 4; * @param value The status to set. * @return This builder for chaining. */ public Builder setStatus(alluxio.grpc.Status value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; status_ = value.getNumber(); onChanged(); return this; } /** * optional .alluxio.grpc.job.Status status = 4; * @return This builder for chaining. */ public Builder clearStatus() { bitField0_ = (bitField0_ & ~0x00000004); status_ = 0; onChanged(); return this; } private long lastUpdated_ ; /** * optional int64 lastUpdated = 6; * @return Whether the lastUpdated field is set. */ @java.lang.Override public boolean hasLastUpdated() { return ((bitField0_ & 0x00000008) != 0); } /** * optional int64 lastUpdated = 6; * @return The lastUpdated. */ @java.lang.Override public long getLastUpdated() { return lastUpdated_; } /** * optional int64 lastUpdated = 6; * @param value The lastUpdated to set. * @return This builder for chaining. */ public Builder setLastUpdated(long value) { bitField0_ |= 0x00000008; lastUpdated_ = value; onChanged(); return this; } /** * optional int64 lastUpdated = 6; * @return This builder for chaining. */ public Builder clearLastUpdated() { bitField0_ = (bitField0_ & ~0x00000008); lastUpdated_ = 0L; onChanged(); return this; } private int type_ = 1; /** * optional .alluxio.grpc.job.JobType type = 8; * @return Whether the type field is set. */ @java.lang.Override public boolean hasType() { return ((bitField0_ & 0x00000010) != 0); } /** * optional .alluxio.grpc.job.JobType type = 8; * @return The type. */ @java.lang.Override public alluxio.grpc.JobType getType() { @SuppressWarnings("deprecation") alluxio.grpc.JobType result = alluxio.grpc.JobType.valueOf(type_); return result == null ? alluxio.grpc.JobType.PLAN : result; } /** * optional .alluxio.grpc.job.JobType type = 8; * @param value The type to set. * @return This builder for chaining. */ public Builder setType(alluxio.grpc.JobType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; type_ = value.getNumber(); onChanged(); return this; } /** * optional .alluxio.grpc.job.JobType type = 8; * @return This builder for chaining. */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000010); type_ = 1; onChanged(); return this; } private alluxio.shaded.client.com.google.protobuf.ByteString result_ = alluxio.shaded.client.com.google.protobuf.ByteString.EMPTY; /** * optional bytes result = 9; * @return Whether the result field is set. */ @java.lang.Override public boolean hasResult() { return ((bitField0_ & 0x00000020) != 0); } /** * optional bytes result = 9; * @return The result. */ @java.lang.Override public alluxio.shaded.client.com.google.protobuf.ByteString getResult() { return result_; } /** * optional bytes result = 9; * @param value The result to set. * @return This builder for chaining. */ public Builder setResult(alluxio.shaded.client.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; result_ = value; onChanged(); return this; } /** * optional bytes result = 9; * @return This builder for chaining. */ public Builder clearResult() { bitField0_ = (bitField0_ & ~0x00000020); result_ = getDefaultInstance().getResult(); onChanged(); return this; } private java.lang.Object errorType_ = ""; /** * optional string errorType = 15; * @return Whether the errorType field is set. */ public boolean hasErrorType() { return ((bitField0_ & 0x00000040) != 0); } /** * optional string errorType = 15; * @return The errorType. */ public java.lang.String getErrorType() { java.lang.Object ref = errorType_; if (!(ref instanceof java.lang.String)) { alluxio.shaded.client.com.google.protobuf.ByteString bs = (alluxio.shaded.client.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { errorType_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string errorType = 15; * @return The bytes for errorType. */ public alluxio.shaded.client.com.google.protobuf.ByteString getErrorTypeBytes() { java.lang.Object ref = errorType_; if (ref instanceof String) { alluxio.shaded.client.com.google.protobuf.ByteString b = alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); errorType_ = b; return b; } else { return (alluxio.shaded.client.com.google.protobuf.ByteString) ref; } } /** * optional string errorType = 15; * @param value The errorType to set. * @return This builder for chaining. */ public Builder setErrorType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; errorType_ = value; onChanged(); return this; } /** * optional string errorType = 15; * @return This builder for chaining. */ public Builder clearErrorType() { bitField0_ = (bitField0_ & ~0x00000040); errorType_ = getDefaultInstance().getErrorType(); onChanged(); return this; } /** * optional string errorType = 15; * @param value The bytes for errorType to set. * @return This builder for chaining. */ public Builder setErrorTypeBytes( alluxio.shaded.client.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; errorType_ = value; onChanged(); return this; } private java.lang.Object name_ = ""; /** *
     * Some jobs don't have these
     * 
* * optional string name = 7; * @return Whether the name field is set. */ public boolean hasName() { return ((bitField0_ & 0x00000080) != 0); } /** *
     * Some jobs don't have these
     * 
* * optional string name = 7; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { alluxio.shaded.client.com.google.protobuf.ByteString bs = (alluxio.shaded.client.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
     * Some jobs don't have these
     * 
* * optional string name = 7; * @return The bytes for name. */ public alluxio.shaded.client.com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { alluxio.shaded.client.com.google.protobuf.ByteString b = alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (alluxio.shaded.client.com.google.protobuf.ByteString) ref; } } /** *
     * Some jobs don't have these
     * 
* * optional string name = 7; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; name_ = value; onChanged(); return this; } /** *
     * Some jobs don't have these
     * 
* * optional string name = 7; * @return This builder for chaining. */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000080); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
     * Some jobs don't have these
     * 
* * optional string name = 7; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( alluxio.shaded.client.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; name_ = value; onChanged(); return this; } private long parentId_ ; /** * optional int64 parentId = 10; * @return Whether the parentId field is set. */ @java.lang.Override public boolean hasParentId() { return ((bitField0_ & 0x00000100) != 0); } /** * optional int64 parentId = 10; * @return The parentId. */ @java.lang.Override public long getParentId() { return parentId_; } /** * optional int64 parentId = 10; * @param value The parentId to set. * @return This builder for chaining. */ public Builder setParentId(long value) { bitField0_ |= 0x00000100; parentId_ = value; onChanged(); return this; } /** * optional int64 parentId = 10; * @return This builder for chaining. */ public Builder clearParentId() { bitField0_ = (bitField0_ & ~0x00000100); parentId_ = 0L; onChanged(); return this; } private java.util.List children_ = java.util.Collections.emptyList(); private void ensureChildrenIsMutable() { if (!((bitField0_ & 0x00000200) != 0)) { children_ = new java.util.ArrayList(children_); bitField0_ |= 0x00000200; } } private alluxio.shaded.client.com.google.protobuf.RepeatedFieldBuilderV3< alluxio.grpc.JobInfo, alluxio.grpc.JobInfo.Builder, alluxio.grpc.JobInfoOrBuilder> childrenBuilder_; /** * repeated .alluxio.grpc.job.JobInfo children = 11; */ public java.util.List getChildrenList() { if (childrenBuilder_ == null) { return java.util.Collections.unmodifiableList(children_); } else { return childrenBuilder_.getMessageList(); } } /** * repeated .alluxio.grpc.job.JobInfo children = 11; */ public int getChildrenCount() { if (childrenBuilder_ == null) { return children_.size(); } else { return childrenBuilder_.getCount(); } } /** * repeated .alluxio.grpc.job.JobInfo children = 11; */ public alluxio.grpc.JobInfo getChildren(int index) { if (childrenBuilder_ == null) { return children_.get(index); } else { return childrenBuilder_.getMessage(index); } } /** * repeated .alluxio.grpc.job.JobInfo children = 11; */ public Builder setChildren( int index, alluxio.grpc.JobInfo value) { if (childrenBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureChildrenIsMutable(); children_.set(index, value); onChanged(); } else { childrenBuilder_.setMessage(index, value); } return this; } /** * repeated .alluxio.grpc.job.JobInfo children = 11; */ public Builder setChildren( int index, alluxio.grpc.JobInfo.Builder builderForValue) { if (childrenBuilder_ == null) { ensureChildrenIsMutable(); children_.set(index, builderForValue.build()); onChanged(); } else { childrenBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .alluxio.grpc.job.JobInfo children = 11; */ public Builder addChildren(alluxio.grpc.JobInfo value) { if (childrenBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureChildrenIsMutable(); children_.add(value); onChanged(); } else { childrenBuilder_.addMessage(value); } return this; } /** * repeated .alluxio.grpc.job.JobInfo children = 11; */ public Builder addChildren( int index, alluxio.grpc.JobInfo value) { if (childrenBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureChildrenIsMutable(); children_.add(index, value); onChanged(); } else { childrenBuilder_.addMessage(index, value); } return this; } /** * repeated .alluxio.grpc.job.JobInfo children = 11; */ public Builder addChildren( alluxio.grpc.JobInfo.Builder builderForValue) { if (childrenBuilder_ == null) { ensureChildrenIsMutable(); children_.add(builderForValue.build()); onChanged(); } else { childrenBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .alluxio.grpc.job.JobInfo children = 11; */ public Builder addChildren( int index, alluxio.grpc.JobInfo.Builder builderForValue) { if (childrenBuilder_ == null) { ensureChildrenIsMutable(); children_.add(index, builderForValue.build()); onChanged(); } else { childrenBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .alluxio.grpc.job.JobInfo children = 11; */ public Builder addAllChildren( java.lang.Iterable values) { if (childrenBuilder_ == null) { ensureChildrenIsMutable(); alluxio.shaded.client.com.google.protobuf.AbstractMessageLite.Builder.addAll( values, children_); onChanged(); } else { childrenBuilder_.addAllMessages(values); } return this; } /** * repeated .alluxio.grpc.job.JobInfo children = 11; */ public Builder clearChildren() { if (childrenBuilder_ == null) { children_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000200); onChanged(); } else { childrenBuilder_.clear(); } return this; } /** * repeated .alluxio.grpc.job.JobInfo children = 11; */ public Builder removeChildren(int index) { if (childrenBuilder_ == null) { ensureChildrenIsMutable(); children_.remove(index); onChanged(); } else { childrenBuilder_.remove(index); } return this; } /** * repeated .alluxio.grpc.job.JobInfo children = 11; */ public alluxio.grpc.JobInfo.Builder getChildrenBuilder( int index) { return getChildrenFieldBuilder().getBuilder(index); } /** * repeated .alluxio.grpc.job.JobInfo children = 11; */ public alluxio.grpc.JobInfoOrBuilder getChildrenOrBuilder( int index) { if (childrenBuilder_ == null) { return children_.get(index); } else { return childrenBuilder_.getMessageOrBuilder(index); } } /** * repeated .alluxio.grpc.job.JobInfo children = 11; */ public java.util.List getChildrenOrBuilderList() { if (childrenBuilder_ != null) { return childrenBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(children_); } } /** * repeated .alluxio.grpc.job.JobInfo children = 11; */ public alluxio.grpc.JobInfo.Builder addChildrenBuilder() { return getChildrenFieldBuilder().addBuilder( alluxio.grpc.JobInfo.getDefaultInstance()); } /** * repeated .alluxio.grpc.job.JobInfo children = 11; */ public alluxio.grpc.JobInfo.Builder addChildrenBuilder( int index) { return getChildrenFieldBuilder().addBuilder( index, alluxio.grpc.JobInfo.getDefaultInstance()); } /** * repeated .alluxio.grpc.job.JobInfo children = 11; */ public java.util.List getChildrenBuilderList() { return getChildrenFieldBuilder().getBuilderList(); } private alluxio.shaded.client.com.google.protobuf.RepeatedFieldBuilderV3< alluxio.grpc.JobInfo, alluxio.grpc.JobInfo.Builder, alluxio.grpc.JobInfoOrBuilder> getChildrenFieldBuilder() { if (childrenBuilder_ == null) { childrenBuilder_ = new alluxio.shaded.client.com.google.protobuf.RepeatedFieldBuilderV3< alluxio.grpc.JobInfo, alluxio.grpc.JobInfo.Builder, alluxio.grpc.JobInfoOrBuilder>( children_, ((bitField0_ & 0x00000200) != 0), getParentForChildren(), isClean()); children_ = null; } return childrenBuilder_; } private java.lang.Object workerHost_ = ""; /** * optional string workerHost = 12; * @return Whether the workerHost field is set. */ public boolean hasWorkerHost() { return ((bitField0_ & 0x00000400) != 0); } /** * optional string workerHost = 12; * @return The workerHost. */ public java.lang.String getWorkerHost() { java.lang.Object ref = workerHost_; if (!(ref instanceof java.lang.String)) { alluxio.shaded.client.com.google.protobuf.ByteString bs = (alluxio.shaded.client.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { workerHost_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string workerHost = 12; * @return The bytes for workerHost. */ public alluxio.shaded.client.com.google.protobuf.ByteString getWorkerHostBytes() { java.lang.Object ref = workerHost_; if (ref instanceof String) { alluxio.shaded.client.com.google.protobuf.ByteString b = alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); workerHost_ = b; return b; } else { return (alluxio.shaded.client.com.google.protobuf.ByteString) ref; } } /** * optional string workerHost = 12; * @param value The workerHost to set. * @return This builder for chaining. */ public Builder setWorkerHost( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000400; workerHost_ = value; onChanged(); return this; } /** * optional string workerHost = 12; * @return This builder for chaining. */ public Builder clearWorkerHost() { bitField0_ = (bitField0_ & ~0x00000400); workerHost_ = getDefaultInstance().getWorkerHost(); onChanged(); return this; } /** * optional string workerHost = 12; * @param value The bytes for workerHost to set. * @return This builder for chaining. */ public Builder setWorkerHostBytes( alluxio.shaded.client.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000400; workerHost_ = value; onChanged(); return this; } private java.lang.Object description_ = ""; /** * optional string description = 13; * @return Whether the description field is set. */ public boolean hasDescription() { return ((bitField0_ & 0x00000800) != 0); } /** * optional string description = 13; * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { alluxio.shaded.client.com.google.protobuf.ByteString bs = (alluxio.shaded.client.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { description_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string description = 13; * @return The bytes for description. */ public alluxio.shaded.client.com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { alluxio.shaded.client.com.google.protobuf.ByteString b = alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); description_ = b; return b; } else { return (alluxio.shaded.client.com.google.protobuf.ByteString) ref; } } /** * optional string description = 13; * @param value The description to set. * @return This builder for chaining. */ public Builder setDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000800; description_ = value; onChanged(); return this; } /** * optional string description = 13; * @return This builder for chaining. */ public Builder clearDescription() { bitField0_ = (bitField0_ & ~0x00000800); description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** * optional string description = 13; * @param value The bytes for description to set. * @return This builder for chaining. */ public Builder setDescriptionBytes( alluxio.shaded.client.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000800; description_ = value; onChanged(); return this; } private alluxio.shaded.client.com.google.protobuf.LazyStringList affectedPaths_ = alluxio.shaded.client.com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureAffectedPathsIsMutable() { if (!((bitField0_ & 0x00001000) != 0)) { affectedPaths_ = new alluxio.shaded.client.com.google.protobuf.LazyStringArrayList(affectedPaths_); bitField0_ |= 0x00001000; } } /** * repeated string affectedPaths = 14; * @return A list containing the affectedPaths. */ public alluxio.shaded.client.com.google.protobuf.ProtocolStringList getAffectedPathsList() { return affectedPaths_.getUnmodifiableView(); } /** * repeated string affectedPaths = 14; * @return The count of affectedPaths. */ public int getAffectedPathsCount() { return affectedPaths_.size(); } /** * repeated string affectedPaths = 14; * @param index The index of the element to return. * @return The affectedPaths at the given index. */ public java.lang.String getAffectedPaths(int index) { return affectedPaths_.get(index); } /** * repeated string affectedPaths = 14; * @param index The index of the value to return. * @return The bytes of the affectedPaths at the given index. */ public alluxio.shaded.client.com.google.protobuf.ByteString getAffectedPathsBytes(int index) { return affectedPaths_.getByteString(index); } /** * repeated string affectedPaths = 14; * @param index The index to set the value at. * @param value The affectedPaths to set. * @return This builder for chaining. */ public Builder setAffectedPaths( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureAffectedPathsIsMutable(); affectedPaths_.set(index, value); onChanged(); return this; } /** * repeated string affectedPaths = 14; * @param value The affectedPaths to add. * @return This builder for chaining. */ public Builder addAffectedPaths( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureAffectedPathsIsMutable(); affectedPaths_.add(value); onChanged(); return this; } /** * repeated string affectedPaths = 14; * @param values The affectedPaths to add. * @return This builder for chaining. */ public Builder addAllAffectedPaths( java.lang.Iterable values) { ensureAffectedPathsIsMutable(); alluxio.shaded.client.com.google.protobuf.AbstractMessageLite.Builder.addAll( values, affectedPaths_); onChanged(); return this; } /** * repeated string affectedPaths = 14; * @return This builder for chaining. */ public Builder clearAffectedPaths() { affectedPaths_ = alluxio.shaded.client.com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00001000); onChanged(); return this; } /** * repeated string affectedPaths = 14; * @param value The bytes of the affectedPaths to add. * @return This builder for chaining. */ public Builder addAffectedPathsBytes( alluxio.shaded.client.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureAffectedPathsIsMutable(); affectedPaths_.add(value); onChanged(); return this; } private java.util.List unused0_ = java.util.Collections.emptyList(); private void ensureUnused0IsMutable() { if (!((bitField0_ & 0x00002000) != 0)) { unused0_ = new java.util.ArrayList(unused0_); bitField0_ |= 0x00002000; } } private alluxio.shaded.client.com.google.protobuf.RepeatedFieldBuilderV3< alluxio.grpc.JobUnused, alluxio.grpc.JobUnused.Builder, alluxio.grpc.JobUnusedOrBuilder> unused0Builder_; /** *
     * Around for backwards alluxio.shaded.client.com.atibility
     * 
* * repeated .alluxio.grpc.job.JobUnused unused0 = 3; */ public java.util.List getUnused0List() { if (unused0Builder_ == null) { return java.util.Collections.unmodifiableList(unused0_); } else { return unused0Builder_.getMessageList(); } } /** *
     * Around for backwards alluxio.shaded.client.com.atibility
     * 
* * repeated .alluxio.grpc.job.JobUnused unused0 = 3; */ public int getUnused0Count() { if (unused0Builder_ == null) { return unused0_.size(); } else { return unused0Builder_.getCount(); } } /** *
     * Around for backwards alluxio.shaded.client.com.atibility
     * 
* * repeated .alluxio.grpc.job.JobUnused unused0 = 3; */ public alluxio.grpc.JobUnused getUnused0(int index) { if (unused0Builder_ == null) { return unused0_.get(index); } else { return unused0Builder_.getMessage(index); } } /** *
     * Around for backwards alluxio.shaded.client.com.atibility
     * 
* * repeated .alluxio.grpc.job.JobUnused unused0 = 3; */ public Builder setUnused0( int index, alluxio.grpc.JobUnused value) { if (unused0Builder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUnused0IsMutable(); unused0_.set(index, value); onChanged(); } else { unused0Builder_.setMessage(index, value); } return this; } /** *
     * Around for backwards alluxio.shaded.client.com.atibility
     * 
* * repeated .alluxio.grpc.job.JobUnused unused0 = 3; */ public Builder setUnused0( int index, alluxio.grpc.JobUnused.Builder builderForValue) { if (unused0Builder_ == null) { ensureUnused0IsMutable(); unused0_.set(index, builderForValue.build()); onChanged(); } else { unused0Builder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * Around for backwards alluxio.shaded.client.com.atibility
     * 
* * repeated .alluxio.grpc.job.JobUnused unused0 = 3; */ public Builder addUnused0(alluxio.grpc.JobUnused value) { if (unused0Builder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUnused0IsMutable(); unused0_.add(value); onChanged(); } else { unused0Builder_.addMessage(value); } return this; } /** *
     * Around for backwards alluxio.shaded.client.com.atibility
     * 
* * repeated .alluxio.grpc.job.JobUnused unused0 = 3; */ public Builder addUnused0( int index, alluxio.grpc.JobUnused value) { if (unused0Builder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUnused0IsMutable(); unused0_.add(index, value); onChanged(); } else { unused0Builder_.addMessage(index, value); } return this; } /** *
     * Around for backwards alluxio.shaded.client.com.atibility
     * 
* * repeated .alluxio.grpc.job.JobUnused unused0 = 3; */ public Builder addUnused0( alluxio.grpc.JobUnused.Builder builderForValue) { if (unused0Builder_ == null) { ensureUnused0IsMutable(); unused0_.add(builderForValue.build()); onChanged(); } else { unused0Builder_.addMessage(builderForValue.build()); } return this; } /** *
     * Around for backwards alluxio.shaded.client.com.atibility
     * 
* * repeated .alluxio.grpc.job.JobUnused unused0 = 3; */ public Builder addUnused0( int index, alluxio.grpc.JobUnused.Builder builderForValue) { if (unused0Builder_ == null) { ensureUnused0IsMutable(); unused0_.add(index, builderForValue.build()); onChanged(); } else { unused0Builder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * Around for backwards alluxio.shaded.client.com.atibility
     * 
* * repeated .alluxio.grpc.job.JobUnused unused0 = 3; */ public Builder addAllUnused0( java.lang.Iterable values) { if (unused0Builder_ == null) { ensureUnused0IsMutable(); alluxio.shaded.client.com.google.protobuf.AbstractMessageLite.Builder.addAll( values, unused0_); onChanged(); } else { unused0Builder_.addAllMessages(values); } return this; } /** *
     * Around for backwards alluxio.shaded.client.com.atibility
     * 
* * repeated .alluxio.grpc.job.JobUnused unused0 = 3; */ public Builder clearUnused0() { if (unused0Builder_ == null) { unused0_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00002000); onChanged(); } else { unused0Builder_.clear(); } return this; } /** *
     * Around for backwards alluxio.shaded.client.com.atibility
     * 
* * repeated .alluxio.grpc.job.JobUnused unused0 = 3; */ public Builder removeUnused0(int index) { if (unused0Builder_ == null) { ensureUnused0IsMutable(); unused0_.remove(index); onChanged(); } else { unused0Builder_.remove(index); } return this; } /** *
     * Around for backwards alluxio.shaded.client.com.atibility
     * 
* * repeated .alluxio.grpc.job.JobUnused unused0 = 3; */ public alluxio.grpc.JobUnused.Builder getUnused0Builder( int index) { return getUnused0FieldBuilder().getBuilder(index); } /** *
     * Around for backwards alluxio.shaded.client.com.atibility
     * 
* * repeated .alluxio.grpc.job.JobUnused unused0 = 3; */ public alluxio.grpc.JobUnusedOrBuilder getUnused0OrBuilder( int index) { if (unused0Builder_ == null) { return unused0_.get(index); } else { return unused0Builder_.getMessageOrBuilder(index); } } /** *
     * Around for backwards alluxio.shaded.client.com.atibility
     * 
* * repeated .alluxio.grpc.job.JobUnused unused0 = 3; */ public java.util.List getUnused0OrBuilderList() { if (unused0Builder_ != null) { return unused0Builder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(unused0_); } } /** *
     * Around for backwards alluxio.shaded.client.com.atibility
     * 
* * repeated .alluxio.grpc.job.JobUnused unused0 = 3; */ public alluxio.grpc.JobUnused.Builder addUnused0Builder() { return getUnused0FieldBuilder().addBuilder( alluxio.grpc.JobUnused.getDefaultInstance()); } /** *
     * Around for backwards alluxio.shaded.client.com.atibility
     * 
* * repeated .alluxio.grpc.job.JobUnused unused0 = 3; */ public alluxio.grpc.JobUnused.Builder addUnused0Builder( int index) { return getUnused0FieldBuilder().addBuilder( index, alluxio.grpc.JobUnused.getDefaultInstance()); } /** *
     * Around for backwards alluxio.shaded.client.com.atibility
     * 
* * repeated .alluxio.grpc.job.JobUnused unused0 = 3; */ public java.util.List getUnused0BuilderList() { return getUnused0FieldBuilder().getBuilderList(); } private alluxio.shaded.client.com.google.protobuf.RepeatedFieldBuilderV3< alluxio.grpc.JobUnused, alluxio.grpc.JobUnused.Builder, alluxio.grpc.JobUnusedOrBuilder> getUnused0FieldBuilder() { if (unused0Builder_ == null) { unused0Builder_ = new alluxio.shaded.client.com.google.protobuf.RepeatedFieldBuilderV3< alluxio.grpc.JobUnused, alluxio.grpc.JobUnused.Builder, alluxio.grpc.JobUnusedOrBuilder>( unused0_, ((bitField0_ & 0x00002000) != 0), getParentForChildren(), isClean()); unused0_ = null; } return unused0Builder_; } private java.lang.Object unused1_ = ""; /** *
     * formerly result
     * 
* * optional string unused1 = 5; * @return Whether the unused1 field is set. */ public boolean hasUnused1() { return ((bitField0_ & 0x00004000) != 0); } /** *
     * formerly result
     * 
* * optional string unused1 = 5; * @return The unused1. */ public java.lang.String getUnused1() { java.lang.Object ref = unused1_; if (!(ref instanceof java.lang.String)) { alluxio.shaded.client.com.google.protobuf.ByteString bs = (alluxio.shaded.client.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { unused1_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
     * formerly result
     * 
* * optional string unused1 = 5; * @return The bytes for unused1. */ public alluxio.shaded.client.com.google.protobuf.ByteString getUnused1Bytes() { java.lang.Object ref = unused1_; if (ref instanceof String) { alluxio.shaded.client.com.google.protobuf.ByteString b = alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); unused1_ = b; return b; } else { return (alluxio.shaded.client.com.google.protobuf.ByteString) ref; } } /** *
     * formerly result
     * 
* * optional string unused1 = 5; * @param value The unused1 to set. * @return This builder for chaining. */ public Builder setUnused1( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00004000; unused1_ = value; onChanged(); return this; } /** *
     * formerly result
     * 
* * optional string unused1 = 5; * @return This builder for chaining. */ public Builder clearUnused1() { bitField0_ = (bitField0_ & ~0x00004000); unused1_ = getDefaultInstance().getUnused1(); onChanged(); return this; } /** *
     * formerly result
     * 
* * optional string unused1 = 5; * @param value The bytes for unused1 to set. * @return This builder for chaining. */ public Builder setUnused1Bytes( alluxio.shaded.client.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00004000; unused1_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:alluxio.grpc.job.JobInfo) } // @@protoc_insertion_point(class_scope:alluxio.grpc.job.JobInfo) private static final alluxio.grpc.JobInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new alluxio.grpc.JobInfo(); } public static alluxio.grpc.JobInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final alluxio.shaded.client.com.google.protobuf.Parser PARSER = new alluxio.shaded.client.com.google.protobuf.AbstractParser() { @java.lang.Override public JobInfo parsePartialFrom( alluxio.shaded.client.com.google.protobuf.CodedInputStream input, alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (alluxio.shaded.client.com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.alluxio.shaded.client.io.IOException e) { throw new alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static alluxio.shaded.client.com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public alluxio.shaded.client.com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public alluxio.grpc.JobInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy