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

alluxio.grpc.ActionInfo 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/policy_master.proto

package alluxio.grpc;

/**
 * 
 * next available id: 7
 * 
* * Protobuf type {@code alluxio.grpc.policy.ActionInfo} */ public final class ActionInfo extends alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:alluxio.grpc.policy.ActionInfo) ActionInfoOrBuilder { private static final long serialVersionUID = 0L; // Use ActionInfo.newBuilder() to construct. private ActionInfo(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ActionInfo() { actionId_ = ""; actionType_ = ""; actionStatus_ = ""; filePath_ = ""; errorType_ = ""; errorMessage_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ActionInfo(); } @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.PolicyMasterProto.internal_static_alluxio_grpc_policy_ActionInfo_descriptor; } @java.lang.Override protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return alluxio.grpc.PolicyMasterProto.internal_static_alluxio_grpc_policy_ActionInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( alluxio.grpc.ActionInfo.class, alluxio.grpc.ActionInfo.Builder.class); } private int bitField0_; public static final int ACTIONID_FIELD_NUMBER = 1; private volatile java.lang.Object actionId_; /** * optional string actionId = 1; * @return Whether the actionId field is set. */ @java.lang.Override public boolean hasActionId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string actionId = 1; * @return The actionId. */ @java.lang.Override public java.lang.String getActionId() { java.lang.Object ref = actionId_; 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()) { actionId_ = s; } return s; } } /** * optional string actionId = 1; * @return The bytes for actionId. */ @java.lang.Override public alluxio.shaded.client.com.google.protobuf.ByteString getActionIdBytes() { java.lang.Object ref = actionId_; 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); actionId_ = b; return b; } else { return (alluxio.shaded.client.com.google.protobuf.ByteString) ref; } } public static final int ACTIONTYPE_FIELD_NUMBER = 2; private volatile java.lang.Object actionType_; /** * optional string actionType = 2; * @return Whether the actionType field is set. */ @java.lang.Override public boolean hasActionType() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string actionType = 2; * @return The actionType. */ @java.lang.Override public java.lang.String getActionType() { java.lang.Object ref = actionType_; 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()) { actionType_ = s; } return s; } } /** * optional string actionType = 2; * @return The bytes for actionType. */ @java.lang.Override public alluxio.shaded.client.com.google.protobuf.ByteString getActionTypeBytes() { java.lang.Object ref = actionType_; 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); actionType_ = b; return b; } else { return (alluxio.shaded.client.com.google.protobuf.ByteString) ref; } } public static final int ACTIONSTATUS_FIELD_NUMBER = 3; private volatile java.lang.Object actionStatus_; /** * optional string actionStatus = 3; * @return Whether the actionStatus field is set. */ @java.lang.Override public boolean hasActionStatus() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string actionStatus = 3; * @return The actionStatus. */ @java.lang.Override public java.lang.String getActionStatus() { java.lang.Object ref = actionStatus_; 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()) { actionStatus_ = s; } return s; } } /** * optional string actionStatus = 3; * @return The bytes for actionStatus. */ @java.lang.Override public alluxio.shaded.client.com.google.protobuf.ByteString getActionStatusBytes() { java.lang.Object ref = actionStatus_; 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); actionStatus_ = b; return b; } else { return (alluxio.shaded.client.com.google.protobuf.ByteString) ref; } } public static final int FILEPATH_FIELD_NUMBER = 4; private volatile java.lang.Object filePath_; /** * optional string filePath = 4; * @return Whether the filePath field is set. */ @java.lang.Override public boolean hasFilePath() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string filePath = 4; * @return The filePath. */ @java.lang.Override public java.lang.String getFilePath() { java.lang.Object ref = filePath_; 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()) { filePath_ = s; } return s; } } /** * optional string filePath = 4; * @return The bytes for filePath. */ @java.lang.Override public alluxio.shaded.client.com.google.protobuf.ByteString getFilePathBytes() { java.lang.Object ref = filePath_; 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); filePath_ = b; return b; } else { return (alluxio.shaded.client.com.google.protobuf.ByteString) ref; } } public static final int LASTUPDATEDTIME_FIELD_NUMBER = 5; private long lastUpdatedTime_; /** * optional int64 lastUpdatedTime = 5; * @return Whether the lastUpdatedTime field is set. */ @java.lang.Override public boolean hasLastUpdatedTime() { return ((bitField0_ & 0x00000010) != 0); } /** * optional int64 lastUpdatedTime = 5; * @return The lastUpdatedTime. */ @java.lang.Override public long getLastUpdatedTime() { return lastUpdatedTime_; } public static final int ERRORTYPE_FIELD_NUMBER = 6; private volatile java.lang.Object errorType_; /** * optional string errorType = 6; * @return Whether the errorType field is set. */ @java.lang.Override public boolean hasErrorType() { return ((bitField0_ & 0x00000020) != 0); } /** * optional string errorType = 6; * @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 = 6; * @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 ERRORMESSAGE_FIELD_NUMBER = 7; private volatile java.lang.Object errorMessage_; /** * optional string errorMessage = 7; * @return Whether the errorMessage field is set. */ @java.lang.Override public boolean hasErrorMessage() { return ((bitField0_ & 0x00000040) != 0); } /** * optional string errorMessage = 7; * @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 = 7; * @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; } } 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)) { alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, actionId_); } if (((bitField0_ & 0x00000002) != 0)) { alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 2, actionType_); } if (((bitField0_ & 0x00000004) != 0)) { alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 3, actionStatus_); } if (((bitField0_ & 0x00000008) != 0)) { alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 4, filePath_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeInt64(5, lastUpdatedTime_); } if (((bitField0_ & 0x00000020) != 0)) { alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 6, errorType_); } if (((bitField0_ & 0x00000040) != 0)) { alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 7, errorMessage_); } 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.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(1, actionId_); } if (((bitField0_ & 0x00000002) != 0)) { size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(2, actionType_); } if (((bitField0_ & 0x00000004) != 0)) { size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(3, actionStatus_); } if (((bitField0_ & 0x00000008) != 0)) { size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(4, filePath_); } if (((bitField0_ & 0x00000010) != 0)) { size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream .alluxio.shaded.client.com.uteInt64Size(5, lastUpdatedTime_); } if (((bitField0_ & 0x00000020) != 0)) { size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(6, errorType_); } if (((bitField0_ & 0x00000040) != 0)) { size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(7, errorMessage_); } 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.ActionInfo)) { return super.equals(obj); } alluxio.grpc.ActionInfo other = (alluxio.grpc.ActionInfo) obj; if (hasActionId() != other.hasActionId()) return false; if (hasActionId()) { if (!getActionId() .equals(other.getActionId())) return false; } if (hasActionType() != other.hasActionType()) return false; if (hasActionType()) { if (!getActionType() .equals(other.getActionType())) return false; } if (hasActionStatus() != other.hasActionStatus()) return false; if (hasActionStatus()) { if (!getActionStatus() .equals(other.getActionStatus())) return false; } if (hasFilePath() != other.hasFilePath()) return false; if (hasFilePath()) { if (!getFilePath() .equals(other.getFilePath())) return false; } if (hasLastUpdatedTime() != other.hasLastUpdatedTime()) return false; if (hasLastUpdatedTime()) { if (getLastUpdatedTime() != other.getLastUpdatedTime()) return false; } if (hasErrorType() != other.hasErrorType()) return false; if (hasErrorType()) { if (!getErrorType() .equals(other.getErrorType())) return false; } if (hasErrorMessage() != other.hasErrorMessage()) return false; if (hasErrorMessage()) { if (!getErrorMessage() .equals(other.getErrorMessage())) 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 (hasActionId()) { hash = (37 * hash) + ACTIONID_FIELD_NUMBER; hash = (53 * hash) + getActionId().hashCode(); } if (hasActionType()) { hash = (37 * hash) + ACTIONTYPE_FIELD_NUMBER; hash = (53 * hash) + getActionType().hashCode(); } if (hasActionStatus()) { hash = (37 * hash) + ACTIONSTATUS_FIELD_NUMBER; hash = (53 * hash) + getActionStatus().hashCode(); } if (hasFilePath()) { hash = (37 * hash) + FILEPATH_FIELD_NUMBER; hash = (53 * hash) + getFilePath().hashCode(); } if (hasLastUpdatedTime()) { hash = (37 * hash) + LASTUPDATEDTIME_FIELD_NUMBER; hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong( getLastUpdatedTime()); } if (hasErrorType()) { hash = (37 * hash) + ERRORTYPE_FIELD_NUMBER; hash = (53 * hash) + getErrorType().hashCode(); } if (hasErrorMessage()) { hash = (37 * hash) + ERRORMESSAGE_FIELD_NUMBER; hash = (53 * hash) + getErrorMessage().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static alluxio.grpc.ActionInfo parseFrom( java.nio.ByteBuffer data) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.grpc.ActionInfo 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.ActionInfo 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.ActionInfo 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.ActionInfo parseFrom(byte[] data) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.grpc.ActionInfo 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.ActionInfo 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.ActionInfo 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.ActionInfo 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.ActionInfo 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.ActionInfo 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.ActionInfo 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.ActionInfo 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: 7
   * 
* * Protobuf type {@code alluxio.grpc.policy.ActionInfo} */ public static final class Builder extends alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:alluxio.grpc.policy.ActionInfo) alluxio.grpc.ActionInfoOrBuilder { public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return alluxio.grpc.PolicyMasterProto.internal_static_alluxio_grpc_policy_ActionInfo_descriptor; } @java.lang.Override protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return alluxio.grpc.PolicyMasterProto.internal_static_alluxio_grpc_policy_ActionInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( alluxio.grpc.ActionInfo.class, alluxio.grpc.ActionInfo.Builder.class); } // Construct using alluxio.grpc.ActionInfo.newBuilder() private Builder() { } private Builder( alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); actionId_ = ""; bitField0_ = (bitField0_ & ~0x00000001); actionType_ = ""; bitField0_ = (bitField0_ & ~0x00000002); actionStatus_ = ""; bitField0_ = (bitField0_ & ~0x00000004); filePath_ = ""; bitField0_ = (bitField0_ & ~0x00000008); lastUpdatedTime_ = 0L; bitField0_ = (bitField0_ & ~0x00000010); errorType_ = ""; bitField0_ = (bitField0_ & ~0x00000020); errorMessage_ = ""; bitField0_ = (bitField0_ & ~0x00000040); return this; } @java.lang.Override public alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return alluxio.grpc.PolicyMasterProto.internal_static_alluxio_grpc_policy_ActionInfo_descriptor; } @java.lang.Override public alluxio.grpc.ActionInfo getDefaultInstanceForType() { return alluxio.grpc.ActionInfo.getDefaultInstance(); } @java.lang.Override public alluxio.grpc.ActionInfo build() { alluxio.grpc.ActionInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public alluxio.grpc.ActionInfo buildPartial() { alluxio.grpc.ActionInfo result = new alluxio.grpc.ActionInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.actionId_ = actionId_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.actionType_ = actionType_; if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.actionStatus_ = actionStatus_; if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.filePath_ = filePath_; if (((from_bitField0_ & 0x00000010) != 0)) { result.lastUpdatedTime_ = lastUpdatedTime_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { to_bitField0_ |= 0x00000020; } result.errorType_ = errorType_; if (((from_bitField0_ & 0x00000040) != 0)) { to_bitField0_ |= 0x00000040; } result.errorMessage_ = errorMessage_; 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.ActionInfo) { return mergeFrom((alluxio.grpc.ActionInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(alluxio.grpc.ActionInfo other) { if (other == alluxio.grpc.ActionInfo.getDefaultInstance()) return this; if (other.hasActionId()) { bitField0_ |= 0x00000001; actionId_ = other.actionId_; onChanged(); } if (other.hasActionType()) { bitField0_ |= 0x00000002; actionType_ = other.actionType_; onChanged(); } if (other.hasActionStatus()) { bitField0_ |= 0x00000004; actionStatus_ = other.actionStatus_; onChanged(); } if (other.hasFilePath()) { bitField0_ |= 0x00000008; filePath_ = other.filePath_; onChanged(); } if (other.hasLastUpdatedTime()) { setLastUpdatedTime(other.getLastUpdatedTime()); } if (other.hasErrorType()) { bitField0_ |= 0x00000020; errorType_ = other.errorType_; onChanged(); } if (other.hasErrorMessage()) { bitField0_ |= 0x00000040; errorMessage_ = other.errorMessage_; 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 10: { actionId_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { actionType_ = input.readBytes(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { actionStatus_ = input.readBytes(); bitField0_ |= 0x00000004; break; } // case 26 case 34: { filePath_ = input.readBytes(); bitField0_ |= 0x00000008; break; } // case 34 case 40: { lastUpdatedTime_ = input.readInt64(); bitField0_ |= 0x00000010; break; } // case 40 case 50: { errorType_ = input.readBytes(); bitField0_ |= 0x00000020; break; } // case 50 case 58: { errorMessage_ = input.readBytes(); bitField0_ |= 0x00000040; break; } // case 58 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 java.lang.Object actionId_ = ""; /** * optional string actionId = 1; * @return Whether the actionId field is set. */ public boolean hasActionId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string actionId = 1; * @return The actionId. */ public java.lang.String getActionId() { java.lang.Object ref = actionId_; 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()) { actionId_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string actionId = 1; * @return The bytes for actionId. */ public alluxio.shaded.client.com.google.protobuf.ByteString getActionIdBytes() { java.lang.Object ref = actionId_; if (ref instanceof String) { alluxio.shaded.client.com.google.protobuf.ByteString b = alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); actionId_ = b; return b; } else { return (alluxio.shaded.client.com.google.protobuf.ByteString) ref; } } /** * optional string actionId = 1; * @param value The actionId to set. * @return This builder for chaining. */ public Builder setActionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; actionId_ = value; onChanged(); return this; } /** * optional string actionId = 1; * @return This builder for chaining. */ public Builder clearActionId() { bitField0_ = (bitField0_ & ~0x00000001); actionId_ = getDefaultInstance().getActionId(); onChanged(); return this; } /** * optional string actionId = 1; * @param value The bytes for actionId to set. * @return This builder for chaining. */ public Builder setActionIdBytes( alluxio.shaded.client.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; actionId_ = value; onChanged(); return this; } private java.lang.Object actionType_ = ""; /** * optional string actionType = 2; * @return Whether the actionType field is set. */ public boolean hasActionType() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string actionType = 2; * @return The actionType. */ public java.lang.String getActionType() { java.lang.Object ref = actionType_; 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()) { actionType_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string actionType = 2; * @return The bytes for actionType. */ public alluxio.shaded.client.com.google.protobuf.ByteString getActionTypeBytes() { java.lang.Object ref = actionType_; if (ref instanceof String) { alluxio.shaded.client.com.google.protobuf.ByteString b = alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); actionType_ = b; return b; } else { return (alluxio.shaded.client.com.google.protobuf.ByteString) ref; } } /** * optional string actionType = 2; * @param value The actionType to set. * @return This builder for chaining. */ public Builder setActionType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; actionType_ = value; onChanged(); return this; } /** * optional string actionType = 2; * @return This builder for chaining. */ public Builder clearActionType() { bitField0_ = (bitField0_ & ~0x00000002); actionType_ = getDefaultInstance().getActionType(); onChanged(); return this; } /** * optional string actionType = 2; * @param value The bytes for actionType to set. * @return This builder for chaining. */ public Builder setActionTypeBytes( alluxio.shaded.client.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; actionType_ = value; onChanged(); return this; } private java.lang.Object actionStatus_ = ""; /** * optional string actionStatus = 3; * @return Whether the actionStatus field is set. */ public boolean hasActionStatus() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string actionStatus = 3; * @return The actionStatus. */ public java.lang.String getActionStatus() { java.lang.Object ref = actionStatus_; 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()) { actionStatus_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string actionStatus = 3; * @return The bytes for actionStatus. */ public alluxio.shaded.client.com.google.protobuf.ByteString getActionStatusBytes() { java.lang.Object ref = actionStatus_; if (ref instanceof String) { alluxio.shaded.client.com.google.protobuf.ByteString b = alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); actionStatus_ = b; return b; } else { return (alluxio.shaded.client.com.google.protobuf.ByteString) ref; } } /** * optional string actionStatus = 3; * @param value The actionStatus to set. * @return This builder for chaining. */ public Builder setActionStatus( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; actionStatus_ = value; onChanged(); return this; } /** * optional string actionStatus = 3; * @return This builder for chaining. */ public Builder clearActionStatus() { bitField0_ = (bitField0_ & ~0x00000004); actionStatus_ = getDefaultInstance().getActionStatus(); onChanged(); return this; } /** * optional string actionStatus = 3; * @param value The bytes for actionStatus to set. * @return This builder for chaining. */ public Builder setActionStatusBytes( alluxio.shaded.client.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; actionStatus_ = value; onChanged(); return this; } private java.lang.Object filePath_ = ""; /** * optional string filePath = 4; * @return Whether the filePath field is set. */ public boolean hasFilePath() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string filePath = 4; * @return The filePath. */ public java.lang.String getFilePath() { java.lang.Object ref = filePath_; 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()) { filePath_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string filePath = 4; * @return The bytes for filePath. */ public alluxio.shaded.client.com.google.protobuf.ByteString getFilePathBytes() { java.lang.Object ref = filePath_; if (ref instanceof String) { alluxio.shaded.client.com.google.protobuf.ByteString b = alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); filePath_ = b; return b; } else { return (alluxio.shaded.client.com.google.protobuf.ByteString) ref; } } /** * optional string filePath = 4; * @param value The filePath to set. * @return This builder for chaining. */ public Builder setFilePath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; filePath_ = value; onChanged(); return this; } /** * optional string filePath = 4; * @return This builder for chaining. */ public Builder clearFilePath() { bitField0_ = (bitField0_ & ~0x00000008); filePath_ = getDefaultInstance().getFilePath(); onChanged(); return this; } /** * optional string filePath = 4; * @param value The bytes for filePath to set. * @return This builder for chaining. */ public Builder setFilePathBytes( alluxio.shaded.client.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; filePath_ = value; onChanged(); return this; } private long lastUpdatedTime_ ; /** * optional int64 lastUpdatedTime = 5; * @return Whether the lastUpdatedTime field is set. */ @java.lang.Override public boolean hasLastUpdatedTime() { return ((bitField0_ & 0x00000010) != 0); } /** * optional int64 lastUpdatedTime = 5; * @return The lastUpdatedTime. */ @java.lang.Override public long getLastUpdatedTime() { return lastUpdatedTime_; } /** * optional int64 lastUpdatedTime = 5; * @param value The lastUpdatedTime to set. * @return This builder for chaining. */ public Builder setLastUpdatedTime(long value) { bitField0_ |= 0x00000010; lastUpdatedTime_ = value; onChanged(); return this; } /** * optional int64 lastUpdatedTime = 5; * @return This builder for chaining. */ public Builder clearLastUpdatedTime() { bitField0_ = (bitField0_ & ~0x00000010); lastUpdatedTime_ = 0L; onChanged(); return this; } private java.lang.Object errorType_ = ""; /** * optional string errorType = 6; * @return Whether the errorType field is set. */ public boolean hasErrorType() { return ((bitField0_ & 0x00000020) != 0); } /** * optional string errorType = 6; * @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 = 6; * @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 = 6; * @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_ |= 0x00000020; errorType_ = value; onChanged(); return this; } /** * optional string errorType = 6; * @return This builder for chaining. */ public Builder clearErrorType() { bitField0_ = (bitField0_ & ~0x00000020); errorType_ = getDefaultInstance().getErrorType(); onChanged(); return this; } /** * optional string errorType = 6; * @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_ |= 0x00000020; errorType_ = value; onChanged(); return this; } private java.lang.Object errorMessage_ = ""; /** * optional string errorMessage = 7; * @return Whether the errorMessage field is set. */ public boolean hasErrorMessage() { return ((bitField0_ & 0x00000040) != 0); } /** * optional string errorMessage = 7; * @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 = 7; * @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 = 7; * @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_ |= 0x00000040; errorMessage_ = value; onChanged(); return this; } /** * optional string errorMessage = 7; * @return This builder for chaining. */ public Builder clearErrorMessage() { bitField0_ = (bitField0_ & ~0x00000040); errorMessage_ = getDefaultInstance().getErrorMessage(); onChanged(); return this; } /** * optional string errorMessage = 7; * @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_ |= 0x00000040; errorMessage_ = 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.policy.ActionInfo) } // @@protoc_insertion_point(class_scope:alluxio.grpc.policy.ActionInfo) private static final alluxio.grpc.ActionInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new alluxio.grpc.ActionInfo(); } public static alluxio.grpc.ActionInfo 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 ActionInfo 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.ActionInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy