com.clickzetta.jobcache.proto.JobResultCacheMeta Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of clickzetta-java Show documentation
Show all versions of clickzetta-java Show documentation
The java SDK for clickzetta's Lakehouse
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: job_result_cache_meta.proto
package com.clickzetta.jobcache.proto;
/**
* Protobuf type {@code com.clickzetta.jobcache.JobResultCacheMeta}
*/
public final class JobResultCacheMeta extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.clickzetta.jobcache.JobResultCacheMeta)
JobResultCacheMetaOrBuilder {
private static final long serialVersionUID = 0L;
// Use JobResultCacheMeta.newBuilder() to construct.
private JobResultCacheMeta(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private JobResultCacheMeta() {
jobSignature_ = "";
preprocessedPlan_ = "";
resultFiles_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new JobResultCacheMeta();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private JobResultCacheMeta(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
bitField0_ |= 0x00000001;
instanceId_ = input.readUInt64();
break;
}
case 16: {
bitField0_ |= 0x00000002;
workspaceId_ = input.readUInt64();
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
jobSignature_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
bitField0_ |= 0x00000008;
preprocessedPlan_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
bitField0_ |= 0x00000010;
resultFiles_ = s;
break;
}
case 48: {
bitField0_ |= 0x00000020;
startTimeMs_ = input.readUInt64();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.clickzetta.jobcache.proto.JobCacheProtos.internal_static_com_clickzetta_jobcache_JobResultCacheMeta_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.clickzetta.jobcache.proto.JobCacheProtos.internal_static_com_clickzetta_jobcache_JobResultCacheMeta_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.clickzetta.jobcache.proto.JobResultCacheMeta.class, com.clickzetta.jobcache.proto.JobResultCacheMeta.Builder.class);
}
private int bitField0_;
public static final int INSTANCE_ID_FIELD_NUMBER = 1;
private long instanceId_;
/**
* optional uint64 instance_id = 1;
* @return Whether the instanceId field is set.
*/
@java.lang.Override
public boolean hasInstanceId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint64 instance_id = 1;
* @return The instanceId.
*/
@java.lang.Override
public long getInstanceId() {
return instanceId_;
}
public static final int WORKSPACE_ID_FIELD_NUMBER = 2;
private long workspaceId_;
/**
* optional uint64 workspace_id = 2;
* @return Whether the workspaceId field is set.
*/
@java.lang.Override
public boolean hasWorkspaceId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint64 workspace_id = 2;
* @return The workspaceId.
*/
@java.lang.Override
public long getWorkspaceId() {
return workspaceId_;
}
public static final int JOB_SIGNATURE_FIELD_NUMBER = 3;
private volatile java.lang.Object jobSignature_;
/**
* optional string job_signature = 3;
* @return Whether the jobSignature field is set.
*/
@java.lang.Override
public boolean hasJobSignature() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string job_signature = 3;
* @return The jobSignature.
*/
@java.lang.Override
public java.lang.String getJobSignature() {
java.lang.Object ref = jobSignature_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
jobSignature_ = s;
return s;
}
}
/**
* optional string job_signature = 3;
* @return The bytes for jobSignature.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getJobSignatureBytes() {
java.lang.Object ref = jobSignature_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
jobSignature_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PREPROCESSED_PLAN_FIELD_NUMBER = 4;
private volatile java.lang.Object preprocessedPlan_;
/**
* optional string preprocessed_plan = 4;
* @return Whether the preprocessedPlan field is set.
*/
@java.lang.Override
public boolean hasPreprocessedPlan() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional string preprocessed_plan = 4;
* @return The preprocessedPlan.
*/
@java.lang.Override
public java.lang.String getPreprocessedPlan() {
java.lang.Object ref = preprocessedPlan_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
preprocessedPlan_ = s;
return s;
}
}
/**
* optional string preprocessed_plan = 4;
* @return The bytes for preprocessedPlan.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPreprocessedPlanBytes() {
java.lang.Object ref = preprocessedPlan_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
preprocessedPlan_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int RESULT_FILES_FIELD_NUMBER = 5;
private volatile java.lang.Object resultFiles_;
/**
* optional string result_files = 5;
* @return Whether the resultFiles field is set.
*/
@java.lang.Override
public boolean hasResultFiles() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional string result_files = 5;
* @return The resultFiles.
*/
@java.lang.Override
public java.lang.String getResultFiles() {
java.lang.Object ref = resultFiles_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
resultFiles_ = s;
return s;
}
}
/**
* optional string result_files = 5;
* @return The bytes for resultFiles.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getResultFilesBytes() {
java.lang.Object ref = resultFiles_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
resultFiles_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int START_TIME_MS_FIELD_NUMBER = 6;
private long startTimeMs_;
/**
* optional uint64 start_time_ms = 6;
* @return Whether the startTimeMs field is set.
*/
@java.lang.Override
public boolean hasStartTimeMs() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional uint64 start_time_ms = 6;
* @return The startTimeMs.
*/
@java.lang.Override
public long getStartTimeMs() {
return startTimeMs_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeUInt64(1, instanceId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeUInt64(2, workspaceId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, jobSignature_);
}
if (((bitField0_ & 0x00000008) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, preprocessedPlan_);
}
if (((bitField0_ & 0x00000010) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, resultFiles_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeUInt64(6, startTimeMs_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(1, instanceId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(2, workspaceId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, jobSignature_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, preprocessedPlan_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, resultFiles_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(6, startTimeMs_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.clickzetta.jobcache.proto.JobResultCacheMeta)) {
return super.equals(obj);
}
com.clickzetta.jobcache.proto.JobResultCacheMeta other = (com.clickzetta.jobcache.proto.JobResultCacheMeta) obj;
if (hasInstanceId() != other.hasInstanceId()) return false;
if (hasInstanceId()) {
if (getInstanceId()
!= other.getInstanceId()) return false;
}
if (hasWorkspaceId() != other.hasWorkspaceId()) return false;
if (hasWorkspaceId()) {
if (getWorkspaceId()
!= other.getWorkspaceId()) return false;
}
if (hasJobSignature() != other.hasJobSignature()) return false;
if (hasJobSignature()) {
if (!getJobSignature()
.equals(other.getJobSignature())) return false;
}
if (hasPreprocessedPlan() != other.hasPreprocessedPlan()) return false;
if (hasPreprocessedPlan()) {
if (!getPreprocessedPlan()
.equals(other.getPreprocessedPlan())) return false;
}
if (hasResultFiles() != other.hasResultFiles()) return false;
if (hasResultFiles()) {
if (!getResultFiles()
.equals(other.getResultFiles())) return false;
}
if (hasStartTimeMs() != other.hasStartTimeMs()) return false;
if (hasStartTimeMs()) {
if (getStartTimeMs()
!= other.getStartTimeMs()) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasInstanceId()) {
hash = (37 * hash) + INSTANCE_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getInstanceId());
}
if (hasWorkspaceId()) {
hash = (37 * hash) + WORKSPACE_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getWorkspaceId());
}
if (hasJobSignature()) {
hash = (37 * hash) + JOB_SIGNATURE_FIELD_NUMBER;
hash = (53 * hash) + getJobSignature().hashCode();
}
if (hasPreprocessedPlan()) {
hash = (37 * hash) + PREPROCESSED_PLAN_FIELD_NUMBER;
hash = (53 * hash) + getPreprocessedPlan().hashCode();
}
if (hasResultFiles()) {
hash = (37 * hash) + RESULT_FILES_FIELD_NUMBER;
hash = (53 * hash) + getResultFiles().hashCode();
}
if (hasStartTimeMs()) {
hash = (37 * hash) + START_TIME_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getStartTimeMs());
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.clickzetta.jobcache.proto.JobResultCacheMeta parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.clickzetta.jobcache.proto.JobResultCacheMeta parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.clickzetta.jobcache.proto.JobResultCacheMeta parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.clickzetta.jobcache.proto.JobResultCacheMeta parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.clickzetta.jobcache.proto.JobResultCacheMeta parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.clickzetta.jobcache.proto.JobResultCacheMeta parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.clickzetta.jobcache.proto.JobResultCacheMeta parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.clickzetta.jobcache.proto.JobResultCacheMeta parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.clickzetta.jobcache.proto.JobResultCacheMeta parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.clickzetta.jobcache.proto.JobResultCacheMeta parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.clickzetta.jobcache.proto.JobResultCacheMeta parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.clickzetta.jobcache.proto.JobResultCacheMeta parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.clickzetta.jobcache.proto.JobResultCacheMeta prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code com.clickzetta.jobcache.JobResultCacheMeta}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.clickzetta.jobcache.JobResultCacheMeta)
com.clickzetta.jobcache.proto.JobResultCacheMetaOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.clickzetta.jobcache.proto.JobCacheProtos.internal_static_com_clickzetta_jobcache_JobResultCacheMeta_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.clickzetta.jobcache.proto.JobCacheProtos.internal_static_com_clickzetta_jobcache_JobResultCacheMeta_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.clickzetta.jobcache.proto.JobResultCacheMeta.class, com.clickzetta.jobcache.proto.JobResultCacheMeta.Builder.class);
}
// Construct using com.clickzetta.jobcache.proto.JobResultCacheMeta.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
instanceId_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
workspaceId_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
jobSignature_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
preprocessedPlan_ = "";
bitField0_ = (bitField0_ & ~0x00000008);
resultFiles_ = "";
bitField0_ = (bitField0_ & ~0x00000010);
startTimeMs_ = 0L;
bitField0_ = (bitField0_ & ~0x00000020);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.clickzetta.jobcache.proto.JobCacheProtos.internal_static_com_clickzetta_jobcache_JobResultCacheMeta_descriptor;
}
@java.lang.Override
public com.clickzetta.jobcache.proto.JobResultCacheMeta getDefaultInstanceForType() {
return com.clickzetta.jobcache.proto.JobResultCacheMeta.getDefaultInstance();
}
@java.lang.Override
public com.clickzetta.jobcache.proto.JobResultCacheMeta build() {
com.clickzetta.jobcache.proto.JobResultCacheMeta result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.clickzetta.jobcache.proto.JobResultCacheMeta buildPartial() {
com.clickzetta.jobcache.proto.JobResultCacheMeta result = new com.clickzetta.jobcache.proto.JobResultCacheMeta(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.instanceId_ = instanceId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.workspaceId_ = workspaceId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
to_bitField0_ |= 0x00000004;
}
result.jobSignature_ = jobSignature_;
if (((from_bitField0_ & 0x00000008) != 0)) {
to_bitField0_ |= 0x00000008;
}
result.preprocessedPlan_ = preprocessedPlan_;
if (((from_bitField0_ & 0x00000010) != 0)) {
to_bitField0_ |= 0x00000010;
}
result.resultFiles_ = resultFiles_;
if (((from_bitField0_ & 0x00000020) != 0)) {
result.startTimeMs_ = startTimeMs_;
to_bitField0_ |= 0x00000020;
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.clickzetta.jobcache.proto.JobResultCacheMeta) {
return mergeFrom((com.clickzetta.jobcache.proto.JobResultCacheMeta)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.clickzetta.jobcache.proto.JobResultCacheMeta other) {
if (other == com.clickzetta.jobcache.proto.JobResultCacheMeta.getDefaultInstance()) return this;
if (other.hasInstanceId()) {
setInstanceId(other.getInstanceId());
}
if (other.hasWorkspaceId()) {
setWorkspaceId(other.getWorkspaceId());
}
if (other.hasJobSignature()) {
bitField0_ |= 0x00000004;
jobSignature_ = other.jobSignature_;
onChanged();
}
if (other.hasPreprocessedPlan()) {
bitField0_ |= 0x00000008;
preprocessedPlan_ = other.preprocessedPlan_;
onChanged();
}
if (other.hasResultFiles()) {
bitField0_ |= 0x00000010;
resultFiles_ = other.resultFiles_;
onChanged();
}
if (other.hasStartTimeMs()) {
setStartTimeMs(other.getStartTimeMs());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.clickzetta.jobcache.proto.JobResultCacheMeta parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.clickzetta.jobcache.proto.JobResultCacheMeta) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private long instanceId_ ;
/**
* optional uint64 instance_id = 1;
* @return Whether the instanceId field is set.
*/
@java.lang.Override
public boolean hasInstanceId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint64 instance_id = 1;
* @return The instanceId.
*/
@java.lang.Override
public long getInstanceId() {
return instanceId_;
}
/**
* optional uint64 instance_id = 1;
* @param value The instanceId to set.
* @return This builder for chaining.
*/
public Builder setInstanceId(long value) {
bitField0_ |= 0x00000001;
instanceId_ = value;
onChanged();
return this;
}
/**
* optional uint64 instance_id = 1;
* @return This builder for chaining.
*/
public Builder clearInstanceId() {
bitField0_ = (bitField0_ & ~0x00000001);
instanceId_ = 0L;
onChanged();
return this;
}
private long workspaceId_ ;
/**
* optional uint64 workspace_id = 2;
* @return Whether the workspaceId field is set.
*/
@java.lang.Override
public boolean hasWorkspaceId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint64 workspace_id = 2;
* @return The workspaceId.
*/
@java.lang.Override
public long getWorkspaceId() {
return workspaceId_;
}
/**
* optional uint64 workspace_id = 2;
* @param value The workspaceId to set.
* @return This builder for chaining.
*/
public Builder setWorkspaceId(long value) {
bitField0_ |= 0x00000002;
workspaceId_ = value;
onChanged();
return this;
}
/**
* optional uint64 workspace_id = 2;
* @return This builder for chaining.
*/
public Builder clearWorkspaceId() {
bitField0_ = (bitField0_ & ~0x00000002);
workspaceId_ = 0L;
onChanged();
return this;
}
private java.lang.Object jobSignature_ = "";
/**
* optional string job_signature = 3;
* @return Whether the jobSignature field is set.
*/
public boolean hasJobSignature() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string job_signature = 3;
* @return The jobSignature.
*/
public java.lang.String getJobSignature() {
java.lang.Object ref = jobSignature_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
jobSignature_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string job_signature = 3;
* @return The bytes for jobSignature.
*/
public com.google.protobuf.ByteString
getJobSignatureBytes() {
java.lang.Object ref = jobSignature_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
jobSignature_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string job_signature = 3;
* @param value The jobSignature to set.
* @return This builder for chaining.
*/
public Builder setJobSignature(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
jobSignature_ = value;
onChanged();
return this;
}
/**
* optional string job_signature = 3;
* @return This builder for chaining.
*/
public Builder clearJobSignature() {
bitField0_ = (bitField0_ & ~0x00000004);
jobSignature_ = getDefaultInstance().getJobSignature();
onChanged();
return this;
}
/**
* optional string job_signature = 3;
* @param value The bytes for jobSignature to set.
* @return This builder for chaining.
*/
public Builder setJobSignatureBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
bitField0_ |= 0x00000004;
jobSignature_ = value;
onChanged();
return this;
}
private java.lang.Object preprocessedPlan_ = "";
/**
* optional string preprocessed_plan = 4;
* @return Whether the preprocessedPlan field is set.
*/
public boolean hasPreprocessedPlan() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional string preprocessed_plan = 4;
* @return The preprocessedPlan.
*/
public java.lang.String getPreprocessedPlan() {
java.lang.Object ref = preprocessedPlan_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
preprocessedPlan_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string preprocessed_plan = 4;
* @return The bytes for preprocessedPlan.
*/
public com.google.protobuf.ByteString
getPreprocessedPlanBytes() {
java.lang.Object ref = preprocessedPlan_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
preprocessedPlan_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string preprocessed_plan = 4;
* @param value The preprocessedPlan to set.
* @return This builder for chaining.
*/
public Builder setPreprocessedPlan(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
preprocessedPlan_ = value;
onChanged();
return this;
}
/**
* optional string preprocessed_plan = 4;
* @return This builder for chaining.
*/
public Builder clearPreprocessedPlan() {
bitField0_ = (bitField0_ & ~0x00000008);
preprocessedPlan_ = getDefaultInstance().getPreprocessedPlan();
onChanged();
return this;
}
/**
* optional string preprocessed_plan = 4;
* @param value The bytes for preprocessedPlan to set.
* @return This builder for chaining.
*/
public Builder setPreprocessedPlanBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
bitField0_ |= 0x00000008;
preprocessedPlan_ = value;
onChanged();
return this;
}
private java.lang.Object resultFiles_ = "";
/**
* optional string result_files = 5;
* @return Whether the resultFiles field is set.
*/
public boolean hasResultFiles() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional string result_files = 5;
* @return The resultFiles.
*/
public java.lang.String getResultFiles() {
java.lang.Object ref = resultFiles_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
resultFiles_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string result_files = 5;
* @return The bytes for resultFiles.
*/
public com.google.protobuf.ByteString
getResultFilesBytes() {
java.lang.Object ref = resultFiles_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
resultFiles_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string result_files = 5;
* @param value The resultFiles to set.
* @return This builder for chaining.
*/
public Builder setResultFiles(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
resultFiles_ = value;
onChanged();
return this;
}
/**
* optional string result_files = 5;
* @return This builder for chaining.
*/
public Builder clearResultFiles() {
bitField0_ = (bitField0_ & ~0x00000010);
resultFiles_ = getDefaultInstance().getResultFiles();
onChanged();
return this;
}
/**
* optional string result_files = 5;
* @param value The bytes for resultFiles to set.
* @return This builder for chaining.
*/
public Builder setResultFilesBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
bitField0_ |= 0x00000010;
resultFiles_ = value;
onChanged();
return this;
}
private long startTimeMs_ ;
/**
* optional uint64 start_time_ms = 6;
* @return Whether the startTimeMs field is set.
*/
@java.lang.Override
public boolean hasStartTimeMs() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional uint64 start_time_ms = 6;
* @return The startTimeMs.
*/
@java.lang.Override
public long getStartTimeMs() {
return startTimeMs_;
}
/**
* optional uint64 start_time_ms = 6;
* @param value The startTimeMs to set.
* @return This builder for chaining.
*/
public Builder setStartTimeMs(long value) {
bitField0_ |= 0x00000020;
startTimeMs_ = value;
onChanged();
return this;
}
/**
* optional uint64 start_time_ms = 6;
* @return This builder for chaining.
*/
public Builder clearStartTimeMs() {
bitField0_ = (bitField0_ & ~0x00000020);
startTimeMs_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.clickzetta.jobcache.JobResultCacheMeta)
}
// @@protoc_insertion_point(class_scope:com.clickzetta.jobcache.JobResultCacheMeta)
private static final com.clickzetta.jobcache.proto.JobResultCacheMeta DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.clickzetta.jobcache.proto.JobResultCacheMeta();
}
public static com.clickzetta.jobcache.proto.JobResultCacheMeta getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public JobResultCacheMeta parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new JobResultCacheMeta(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.clickzetta.jobcache.proto.JobResultCacheMeta getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy