cz.proto.JobMeta 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_meta.proto
package cz.proto;
/**
* Protobuf type {@code cz.proto.JobMeta}
*/
public final class JobMeta extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.JobMeta)
JobMetaOrBuilder {
private static final long serialVersionUID = 0L;
// Use JobMeta.newBuilder() to construct.
private JobMeta(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private JobMeta() {
jobName_ = "";
status_ = 0;
type_ = 0;
signature_ = "";
result_ = "";
errorCode_ = "";
errorMessage_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new JobMeta();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private JobMeta(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 18: {
java.lang.String s = input.readStringRequireUtf8();
jobName_ = s;
break;
}
case 24: {
virtualCluster_ = input.readInt64();
break;
}
case 32: {
int rawValue = input.readEnum();
status_ = rawValue;
break;
}
case 40: {
int rawValue = input.readEnum();
type_ = rawValue;
break;
}
case 48: {
startTime_ = input.readUInt64();
break;
}
case 56: {
endTime_ = input.readUInt64();
break;
}
case 72: {
priority_ = input.readUInt32();
break;
}
case 82: {
java.lang.String s = input.readStringRequireUtf8();
signature_ = s;
break;
}
case 90: {
cz.proto.JobCost.Builder subBuilder = null;
if (cost_ != null) {
subBuilder = cost_.toBuilder();
}
cost_ = input.readMessage(cz.proto.JobCost.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(cost_);
cost_ = subBuilder.buildPartial();
}
break;
}
case 98: {
cz.proto.JobMeta.HistoryList.Builder subBuilder = null;
if (histories_ != null) {
subBuilder = histories_.toBuilder();
}
histories_ = input.readMessage(cz.proto.JobMeta.HistoryList.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(histories_);
histories_ = subBuilder.buildPartial();
}
break;
}
case 106: {
java.lang.String s = input.readStringRequireUtf8();
result_ = s;
break;
}
case 114: {
cz.proto.JobSummaryLocation.Builder subBuilder = null;
if (jobSummary_ != null) {
subBuilder = jobSummary_.toBuilder();
}
jobSummary_ = input.readMessage(cz.proto.JobSummaryLocation.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(jobSummary_);
jobSummary_ = subBuilder.buildPartial();
}
break;
}
case 122: {
cz.proto.JobMeta.TableList.Builder subBuilder = null;
if (inputTables_ != null) {
subBuilder = inputTables_.toBuilder();
}
inputTables_ = input.readMessage(cz.proto.JobMeta.TableList.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(inputTables_);
inputTables_ = subBuilder.buildPartial();
}
break;
}
case 130: {
cz.proto.JobMeta.TableList.Builder subBuilder = null;
if (outputTables_ != null) {
subBuilder = outputTables_.toBuilder();
}
outputTables_ = input.readMessage(cz.proto.JobMeta.TableList.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(outputTables_);
outputTables_ = subBuilder.buildPartial();
}
break;
}
case 138: {
cz.proto.JobMeta.Content.Builder subBuilder = null;
if (content_ != null) {
subBuilder = content_.toBuilder();
}
content_ = input.readMessage(cz.proto.JobMeta.Content.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(content_);
content_ = subBuilder.buildPartial();
}
break;
}
case 146: {
java.lang.String s = input.readStringRequireUtf8();
errorCode_ = s;
break;
}
case 154: {
java.lang.String s = input.readStringRequireUtf8();
errorMessage_ = s;
break;
}
case 162: {
cz.proto.JobProfiling.Builder subBuilder = null;
if (profiling_ != null) {
subBuilder = profiling_.toBuilder();
}
profiling_ = input.readMessage(cz.proto.JobProfiling.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(profiling_);
profiling_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.JobMetaOuterClass.internal_static_cz_proto_JobMeta_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.JobMetaOuterClass.internal_static_cz_proto_JobMeta_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.JobMeta.class, cz.proto.JobMeta.Builder.class);
}
public interface HistoryListOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.JobMeta.HistoryList)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .cz.proto.JobHistory history = 1;
*/
java.util.List
getHistoryList();
/**
* repeated .cz.proto.JobHistory history = 1;
*/
cz.proto.JobHistory getHistory(int index);
/**
* repeated .cz.proto.JobHistory history = 1;
*/
int getHistoryCount();
/**
* repeated .cz.proto.JobHistory history = 1;
*/
java.util.List extends cz.proto.JobHistoryOrBuilder>
getHistoryOrBuilderList();
/**
* repeated .cz.proto.JobHistory history = 1;
*/
cz.proto.JobHistoryOrBuilder getHistoryOrBuilder(
int index);
}
/**
* Protobuf type {@code cz.proto.JobMeta.HistoryList}
*/
public static final class HistoryList extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.JobMeta.HistoryList)
HistoryListOrBuilder {
private static final long serialVersionUID = 0L;
// Use HistoryList.newBuilder() to construct.
private HistoryList(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private HistoryList() {
history_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new HistoryList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private HistoryList(
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 10: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
history_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
history_.add(
input.readMessage(cz.proto.JobHistory.parser(), extensionRegistry));
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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
history_ = java.util.Collections.unmodifiableList(history_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.JobMetaOuterClass.internal_static_cz_proto_JobMeta_HistoryList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.JobMetaOuterClass.internal_static_cz_proto_JobMeta_HistoryList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.JobMeta.HistoryList.class, cz.proto.JobMeta.HistoryList.Builder.class);
}
public static final int HISTORY_FIELD_NUMBER = 1;
private java.util.List history_;
/**
* repeated .cz.proto.JobHistory history = 1;
*/
@java.lang.Override
public java.util.List getHistoryList() {
return history_;
}
/**
* repeated .cz.proto.JobHistory history = 1;
*/
@java.lang.Override
public java.util.List extends cz.proto.JobHistoryOrBuilder>
getHistoryOrBuilderList() {
return history_;
}
/**
* repeated .cz.proto.JobHistory history = 1;
*/
@java.lang.Override
public int getHistoryCount() {
return history_.size();
}
/**
* repeated .cz.proto.JobHistory history = 1;
*/
@java.lang.Override
public cz.proto.JobHistory getHistory(int index) {
return history_.get(index);
}
/**
* repeated .cz.proto.JobHistory history = 1;
*/
@java.lang.Override
public cz.proto.JobHistoryOrBuilder getHistoryOrBuilder(
int index) {
return history_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < history_.size(); i++) {
output.writeMessage(1, history_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < history_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, history_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cz.proto.JobMeta.HistoryList)) {
return super.equals(obj);
}
cz.proto.JobMeta.HistoryList other = (cz.proto.JobMeta.HistoryList) obj;
if (!getHistoryList()
.equals(other.getHistoryList())) 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 (getHistoryCount() > 0) {
hash = (37 * hash) + HISTORY_FIELD_NUMBER;
hash = (53 * hash) + getHistoryList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.JobMeta.HistoryList parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.JobMeta.HistoryList parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.JobMeta.HistoryList parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.JobMeta.HistoryList parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.JobMeta.HistoryList parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.JobMeta.HistoryList parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.JobMeta.HistoryList parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.JobMeta.HistoryList parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static cz.proto.JobMeta.HistoryList parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.JobMeta.HistoryList parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static cz.proto.JobMeta.HistoryList parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.JobMeta.HistoryList parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cz.proto.JobMeta.HistoryList prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code cz.proto.JobMeta.HistoryList}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.JobMeta.HistoryList)
cz.proto.JobMeta.HistoryListOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.JobMetaOuterClass.internal_static_cz_proto_JobMeta_HistoryList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.JobMetaOuterClass.internal_static_cz_proto_JobMeta_HistoryList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.JobMeta.HistoryList.class, cz.proto.JobMeta.HistoryList.Builder.class);
}
// Construct using cz.proto.JobMeta.HistoryList.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getHistoryFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (historyBuilder_ == null) {
history_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
historyBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.JobMetaOuterClass.internal_static_cz_proto_JobMeta_HistoryList_descriptor;
}
@java.lang.Override
public cz.proto.JobMeta.HistoryList getDefaultInstanceForType() {
return cz.proto.JobMeta.HistoryList.getDefaultInstance();
}
@java.lang.Override
public cz.proto.JobMeta.HistoryList build() {
cz.proto.JobMeta.HistoryList result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.JobMeta.HistoryList buildPartial() {
cz.proto.JobMeta.HistoryList result = new cz.proto.JobMeta.HistoryList(this);
int from_bitField0_ = bitField0_;
if (historyBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
history_ = java.util.Collections.unmodifiableList(history_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.history_ = history_;
} else {
result.history_ = historyBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cz.proto.JobMeta.HistoryList) {
return mergeFrom((cz.proto.JobMeta.HistoryList)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.JobMeta.HistoryList other) {
if (other == cz.proto.JobMeta.HistoryList.getDefaultInstance()) return this;
if (historyBuilder_ == null) {
if (!other.history_.isEmpty()) {
if (history_.isEmpty()) {
history_ = other.history_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureHistoryIsMutable();
history_.addAll(other.history_);
}
onChanged();
}
} else {
if (!other.history_.isEmpty()) {
if (historyBuilder_.isEmpty()) {
historyBuilder_.dispose();
historyBuilder_ = null;
history_ = other.history_;
bitField0_ = (bitField0_ & ~0x00000001);
historyBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getHistoryFieldBuilder() : null;
} else {
historyBuilder_.addAllMessages(other.history_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cz.proto.JobMeta.HistoryList parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.JobMeta.HistoryList) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List history_ =
java.util.Collections.emptyList();
private void ensureHistoryIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
history_ = new java.util.ArrayList(history_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.JobHistory, cz.proto.JobHistory.Builder, cz.proto.JobHistoryOrBuilder> historyBuilder_;
/**
* repeated .cz.proto.JobHistory history = 1;
*/
public java.util.List getHistoryList() {
if (historyBuilder_ == null) {
return java.util.Collections.unmodifiableList(history_);
} else {
return historyBuilder_.getMessageList();
}
}
/**
* repeated .cz.proto.JobHistory history = 1;
*/
public int getHistoryCount() {
if (historyBuilder_ == null) {
return history_.size();
} else {
return historyBuilder_.getCount();
}
}
/**
* repeated .cz.proto.JobHistory history = 1;
*/
public cz.proto.JobHistory getHistory(int index) {
if (historyBuilder_ == null) {
return history_.get(index);
} else {
return historyBuilder_.getMessage(index);
}
}
/**
* repeated .cz.proto.JobHistory history = 1;
*/
public Builder setHistory(
int index, cz.proto.JobHistory value) {
if (historyBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureHistoryIsMutable();
history_.set(index, value);
onChanged();
} else {
historyBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.JobHistory history = 1;
*/
public Builder setHistory(
int index, cz.proto.JobHistory.Builder builderForValue) {
if (historyBuilder_ == null) {
ensureHistoryIsMutable();
history_.set(index, builderForValue.build());
onChanged();
} else {
historyBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.JobHistory history = 1;
*/
public Builder addHistory(cz.proto.JobHistory value) {
if (historyBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureHistoryIsMutable();
history_.add(value);
onChanged();
} else {
historyBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .cz.proto.JobHistory history = 1;
*/
public Builder addHistory(
int index, cz.proto.JobHistory value) {
if (historyBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureHistoryIsMutable();
history_.add(index, value);
onChanged();
} else {
historyBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.JobHistory history = 1;
*/
public Builder addHistory(
cz.proto.JobHistory.Builder builderForValue) {
if (historyBuilder_ == null) {
ensureHistoryIsMutable();
history_.add(builderForValue.build());
onChanged();
} else {
historyBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.JobHistory history = 1;
*/
public Builder addHistory(
int index, cz.proto.JobHistory.Builder builderForValue) {
if (historyBuilder_ == null) {
ensureHistoryIsMutable();
history_.add(index, builderForValue.build());
onChanged();
} else {
historyBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.JobHistory history = 1;
*/
public Builder addAllHistory(
java.lang.Iterable extends cz.proto.JobHistory> values) {
if (historyBuilder_ == null) {
ensureHistoryIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, history_);
onChanged();
} else {
historyBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .cz.proto.JobHistory history = 1;
*/
public Builder clearHistory() {
if (historyBuilder_ == null) {
history_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
historyBuilder_.clear();
}
return this;
}
/**
* repeated .cz.proto.JobHistory history = 1;
*/
public Builder removeHistory(int index) {
if (historyBuilder_ == null) {
ensureHistoryIsMutable();
history_.remove(index);
onChanged();
} else {
historyBuilder_.remove(index);
}
return this;
}
/**
* repeated .cz.proto.JobHistory history = 1;
*/
public cz.proto.JobHistory.Builder getHistoryBuilder(
int index) {
return getHistoryFieldBuilder().getBuilder(index);
}
/**
* repeated .cz.proto.JobHistory history = 1;
*/
public cz.proto.JobHistoryOrBuilder getHistoryOrBuilder(
int index) {
if (historyBuilder_ == null) {
return history_.get(index); } else {
return historyBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .cz.proto.JobHistory history = 1;
*/
public java.util.List extends cz.proto.JobHistoryOrBuilder>
getHistoryOrBuilderList() {
if (historyBuilder_ != null) {
return historyBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(history_);
}
}
/**
* repeated .cz.proto.JobHistory history = 1;
*/
public cz.proto.JobHistory.Builder addHistoryBuilder() {
return getHistoryFieldBuilder().addBuilder(
cz.proto.JobHistory.getDefaultInstance());
}
/**
* repeated .cz.proto.JobHistory history = 1;
*/
public cz.proto.JobHistory.Builder addHistoryBuilder(
int index) {
return getHistoryFieldBuilder().addBuilder(
index, cz.proto.JobHistory.getDefaultInstance());
}
/**
* repeated .cz.proto.JobHistory history = 1;
*/
public java.util.List
getHistoryBuilderList() {
return getHistoryFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.JobHistory, cz.proto.JobHistory.Builder, cz.proto.JobHistoryOrBuilder>
getHistoryFieldBuilder() {
if (historyBuilder_ == null) {
historyBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.JobHistory, cz.proto.JobHistory.Builder, cz.proto.JobHistoryOrBuilder>(
history_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
history_ = null;
}
return historyBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:cz.proto.JobMeta.HistoryList)
}
// @@protoc_insertion_point(class_scope:cz.proto.JobMeta.HistoryList)
private static final cz.proto.JobMeta.HistoryList DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.JobMeta.HistoryList();
}
public static cz.proto.JobMeta.HistoryList getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public HistoryList parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new HistoryList(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cz.proto.JobMeta.HistoryList getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PartitionOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.JobMeta.Partition)
com.google.protobuf.MessageOrBuilder {
/**
* repeated uint32 field_id = 1;
* @return A list containing the fieldId.
*/
java.util.List getFieldIdList();
/**
* repeated uint32 field_id = 1;
* @return The count of fieldId.
*/
int getFieldIdCount();
/**
* repeated uint32 field_id = 1;
* @param index The index of the element to return.
* @return The fieldId at the given index.
*/
int getFieldId(int index);
/**
* repeated string value = 2;
* @return A list containing the value.
*/
java.util.List
getValueList();
/**
* repeated string value = 2;
* @return The count of value.
*/
int getValueCount();
/**
* repeated string value = 2;
* @param index The index of the element to return.
* @return The value at the given index.
*/
java.lang.String getValue(int index);
/**
* repeated string value = 2;
* @param index The index of the value to return.
* @return The bytes of the value at the given index.
*/
com.google.protobuf.ByteString
getValueBytes(int index);
}
/**
* Protobuf type {@code cz.proto.JobMeta.Partition}
*/
public static final class Partition extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.JobMeta.Partition)
PartitionOrBuilder {
private static final long serialVersionUID = 0L;
// Use Partition.newBuilder() to construct.
private Partition(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Partition() {
fieldId_ = emptyIntList();
value_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Partition();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Partition(
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: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
fieldId_ = newIntList();
mutable_bitField0_ |= 0x00000001;
}
fieldId_.addInt(input.readUInt32());
break;
}
case 10: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
fieldId_ = newIntList();
mutable_bitField0_ |= 0x00000001;
}
while (input.getBytesUntilLimit() > 0) {
fieldId_.addInt(input.readUInt32());
}
input.popLimit(limit);
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
value_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000002;
}
value_.add(s);
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
fieldId_.makeImmutable(); // C
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
value_ = value_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.JobMetaOuterClass.internal_static_cz_proto_JobMeta_Partition_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.JobMetaOuterClass.internal_static_cz_proto_JobMeta_Partition_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.JobMeta.Partition.class, cz.proto.JobMeta.Partition.Builder.class);
}
public static final int FIELD_ID_FIELD_NUMBER = 1;
private com.google.protobuf.Internal.IntList fieldId_;
/**
* repeated uint32 field_id = 1;
* @return A list containing the fieldId.
*/
@java.lang.Override
public java.util.List
getFieldIdList() {
return fieldId_;
}
/**
* repeated uint32 field_id = 1;
* @return The count of fieldId.
*/
public int getFieldIdCount() {
return fieldId_.size();
}
/**
* repeated uint32 field_id = 1;
* @param index The index of the element to return.
* @return The fieldId at the given index.
*/
public int getFieldId(int index) {
return fieldId_.getInt(index);
}
private int fieldIdMemoizedSerializedSize = -1;
public static final int VALUE_FIELD_NUMBER = 2;
private com.google.protobuf.LazyStringList value_;
/**
* repeated string value = 2;
* @return A list containing the value.
*/
public com.google.protobuf.ProtocolStringList
getValueList() {
return value_;
}
/**
* repeated string value = 2;
* @return The count of value.
*/
public int getValueCount() {
return value_.size();
}
/**
* repeated string value = 2;
* @param index The index of the element to return.
* @return The value at the given index.
*/
public java.lang.String getValue(int index) {
return value_.get(index);
}
/**
* repeated string value = 2;
* @param index The index of the value to return.
* @return The bytes of the value at the given index.
*/
public com.google.protobuf.ByteString
getValueBytes(int index) {
return value_.getByteString(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (getFieldIdList().size() > 0) {
output.writeUInt32NoTag(10);
output.writeUInt32NoTag(fieldIdMemoizedSerializedSize);
}
for (int i = 0; i < fieldId_.size(); i++) {
output.writeUInt32NoTag(fieldId_.getInt(i));
}
for (int i = 0; i < value_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, value_.getRaw(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < fieldId_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(fieldId_.getInt(i));
}
size += dataSize;
if (!getFieldIdList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
fieldIdMemoizedSerializedSize = dataSize;
}
{
int dataSize = 0;
for (int i = 0; i < value_.size(); i++) {
dataSize += computeStringSizeNoTag(value_.getRaw(i));
}
size += dataSize;
size += 1 * getValueList().size();
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cz.proto.JobMeta.Partition)) {
return super.equals(obj);
}
cz.proto.JobMeta.Partition other = (cz.proto.JobMeta.Partition) obj;
if (!getFieldIdList()
.equals(other.getFieldIdList())) return false;
if (!getValueList()
.equals(other.getValueList())) 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 (getFieldIdCount() > 0) {
hash = (37 * hash) + FIELD_ID_FIELD_NUMBER;
hash = (53 * hash) + getFieldIdList().hashCode();
}
if (getValueCount() > 0) {
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + getValueList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.JobMeta.Partition parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.JobMeta.Partition parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.JobMeta.Partition parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.JobMeta.Partition parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.JobMeta.Partition parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.JobMeta.Partition parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.JobMeta.Partition parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.JobMeta.Partition parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static cz.proto.JobMeta.Partition parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.JobMeta.Partition parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static cz.proto.JobMeta.Partition parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.JobMeta.Partition parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cz.proto.JobMeta.Partition prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code cz.proto.JobMeta.Partition}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.JobMeta.Partition)
cz.proto.JobMeta.PartitionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.JobMetaOuterClass.internal_static_cz_proto_JobMeta_Partition_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.JobMetaOuterClass.internal_static_cz_proto_JobMeta_Partition_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.JobMeta.Partition.class, cz.proto.JobMeta.Partition.Builder.class);
}
// Construct using cz.proto.JobMeta.Partition.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();
fieldId_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
value_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.JobMetaOuterClass.internal_static_cz_proto_JobMeta_Partition_descriptor;
}
@java.lang.Override
public cz.proto.JobMeta.Partition getDefaultInstanceForType() {
return cz.proto.JobMeta.Partition.getDefaultInstance();
}
@java.lang.Override
public cz.proto.JobMeta.Partition build() {
cz.proto.JobMeta.Partition result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.JobMeta.Partition buildPartial() {
cz.proto.JobMeta.Partition result = new cz.proto.JobMeta.Partition(this);
int from_bitField0_ = bitField0_;
if (((bitField0_ & 0x00000001) != 0)) {
fieldId_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.fieldId_ = fieldId_;
if (((bitField0_ & 0x00000002) != 0)) {
value_ = value_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000002);
}
result.value_ = value_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cz.proto.JobMeta.Partition) {
return mergeFrom((cz.proto.JobMeta.Partition)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.JobMeta.Partition other) {
if (other == cz.proto.JobMeta.Partition.getDefaultInstance()) return this;
if (!other.fieldId_.isEmpty()) {
if (fieldId_.isEmpty()) {
fieldId_ = other.fieldId_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureFieldIdIsMutable();
fieldId_.addAll(other.fieldId_);
}
onChanged();
}
if (!other.value_.isEmpty()) {
if (value_.isEmpty()) {
value_ = other.value_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureValueIsMutable();
value_.addAll(other.value_);
}
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cz.proto.JobMeta.Partition parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.JobMeta.Partition) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.google.protobuf.Internal.IntList fieldId_ = emptyIntList();
private void ensureFieldIdIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
fieldId_ = mutableCopy(fieldId_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated uint32 field_id = 1;
* @return A list containing the fieldId.
*/
public java.util.List
getFieldIdList() {
return ((bitField0_ & 0x00000001) != 0) ?
java.util.Collections.unmodifiableList(fieldId_) : fieldId_;
}
/**
* repeated uint32 field_id = 1;
* @return The count of fieldId.
*/
public int getFieldIdCount() {
return fieldId_.size();
}
/**
* repeated uint32 field_id = 1;
* @param index The index of the element to return.
* @return The fieldId at the given index.
*/
public int getFieldId(int index) {
return fieldId_.getInt(index);
}
/**
* repeated uint32 field_id = 1;
* @param index The index to set the value at.
* @param value The fieldId to set.
* @return This builder for chaining.
*/
public Builder setFieldId(
int index, int value) {
ensureFieldIdIsMutable();
fieldId_.setInt(index, value);
onChanged();
return this;
}
/**
* repeated uint32 field_id = 1;
* @param value The fieldId to add.
* @return This builder for chaining.
*/
public Builder addFieldId(int value) {
ensureFieldIdIsMutable();
fieldId_.addInt(value);
onChanged();
return this;
}
/**
* repeated uint32 field_id = 1;
* @param values The fieldId to add.
* @return This builder for chaining.
*/
public Builder addAllFieldId(
java.lang.Iterable extends java.lang.Integer> values) {
ensureFieldIdIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, fieldId_);
onChanged();
return this;
}
/**
* repeated uint32 field_id = 1;
* @return This builder for chaining.
*/
public Builder clearFieldId() {
fieldId_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
private com.google.protobuf.LazyStringList value_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureValueIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
value_ = new com.google.protobuf.LazyStringArrayList(value_);
bitField0_ |= 0x00000002;
}
}
/**
* repeated string value = 2;
* @return A list containing the value.
*/
public com.google.protobuf.ProtocolStringList
getValueList() {
return value_.getUnmodifiableView();
}
/**
* repeated string value = 2;
* @return The count of value.
*/
public int getValueCount() {
return value_.size();
}
/**
* repeated string value = 2;
* @param index The index of the element to return.
* @return The value at the given index.
*/
public java.lang.String getValue(int index) {
return value_.get(index);
}
/**
* repeated string value = 2;
* @param index The index of the value to return.
* @return The bytes of the value at the given index.
*/
public com.google.protobuf.ByteString
getValueBytes(int index) {
return value_.getByteString(index);
}
/**
* repeated string value = 2;
* @param index The index to set the value at.
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValue(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureValueIsMutable();
value_.set(index, value);
onChanged();
return this;
}
/**
* repeated string value = 2;
* @param value The value to add.
* @return This builder for chaining.
*/
public Builder addValue(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureValueIsMutable();
value_.add(value);
onChanged();
return this;
}
/**
* repeated string value = 2;
* @param values The value to add.
* @return This builder for chaining.
*/
public Builder addAllValue(
java.lang.Iterable values) {
ensureValueIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, value_);
onChanged();
return this;
}
/**
* repeated string value = 2;
* @return This builder for chaining.
*/
public Builder clearValue() {
value_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* repeated string value = 2;
* @param value The bytes of the value to add.
* @return This builder for chaining.
*/
public Builder addValueBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureValueIsMutable();
value_.add(value);
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:cz.proto.JobMeta.Partition)
}
// @@protoc_insertion_point(class_scope:cz.proto.JobMeta.Partition)
private static final cz.proto.JobMeta.Partition DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.JobMeta.Partition();
}
public static cz.proto.JobMeta.Partition getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Partition parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Partition(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cz.proto.JobMeta.Partition getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TableOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.JobMeta.Table)
com.google.protobuf.MessageOrBuilder {
/**
* repeated string namespace = 1;
* @return A list containing the namespace.
*/
java.util.List
getNamespaceList();
/**
* repeated string namespace = 1;
* @return The count of namespace.
*/
int getNamespaceCount();
/**
* repeated string namespace = 1;
* @param index The index of the element to return.
* @return The namespace at the given index.
*/
java.lang.String getNamespace(int index);
/**
* repeated string namespace = 1;
* @param index The index of the value to return.
* @return The bytes of the namespace at the given index.
*/
com.google.protobuf.ByteString
getNamespaceBytes(int index);
/**
* string tableName = 2;
* @return The tableName.
*/
java.lang.String getTableName();
/**
* string tableName = 2;
* @return The bytes for tableName.
*/
com.google.protobuf.ByteString
getTableNameBytes();
/**
* uint64 size = 3;
* @return The size.
*/
long getSize();
/**
* uint64 record = 4;
* @return The record.
*/
long getRecord();
/**
* uint64 cache_size = 5;
* @return The cacheSize.
*/
long getCacheSize();
/**
* repeated .cz.proto.JobMeta.Partition partitions = 6;
*/
java.util.List
getPartitionsList();
/**
* repeated .cz.proto.JobMeta.Partition partitions = 6;
*/
cz.proto.JobMeta.Partition getPartitions(int index);
/**
* repeated .cz.proto.JobMeta.Partition partitions = 6;
*/
int getPartitionsCount();
/**
* repeated .cz.proto.JobMeta.Partition partitions = 6;
*/
java.util.List extends cz.proto.JobMeta.PartitionOrBuilder>
getPartitionsOrBuilderList();
/**
* repeated .cz.proto.JobMeta.Partition partitions = 6;
*/
cz.proto.JobMeta.PartitionOrBuilder getPartitionsOrBuilder(
int index);
/**
* int64 instance_id = 7;
* @return The instanceId.
*/
long getInstanceId();
}
/**
* Protobuf type {@code cz.proto.JobMeta.Table}
*/
public static final class Table extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.JobMeta.Table)
TableOrBuilder {
private static final long serialVersionUID = 0L;
// Use Table.newBuilder() to construct.
private Table(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Table() {
namespace_ = com.google.protobuf.LazyStringArrayList.EMPTY;
tableName_ = "";
partitions_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Table();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Table(
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 10: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
namespace_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000001;
}
namespace_.add(s);
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
tableName_ = s;
break;
}
case 24: {
size_ = input.readUInt64();
break;
}
case 32: {
record_ = input.readUInt64();
break;
}
case 40: {
cacheSize_ = input.readUInt64();
break;
}
case 50: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
partitions_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
partitions_.add(
input.readMessage(cz.proto.JobMeta.Partition.parser(), extensionRegistry));
break;
}
case 56: {
instanceId_ = input.readInt64();
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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
namespace_ = namespace_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
partitions_ = java.util.Collections.unmodifiableList(partitions_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.JobMetaOuterClass.internal_static_cz_proto_JobMeta_Table_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.JobMetaOuterClass.internal_static_cz_proto_JobMeta_Table_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.JobMeta.Table.class, cz.proto.JobMeta.Table.Builder.class);
}
public static final int NAMESPACE_FIELD_NUMBER = 1;
private com.google.protobuf.LazyStringList namespace_;
/**
* repeated string namespace = 1;
* @return A list containing the namespace.
*/
public com.google.protobuf.ProtocolStringList
getNamespaceList() {
return namespace_;
}
/**
* repeated string namespace = 1;
* @return The count of namespace.
*/
public int getNamespaceCount() {
return namespace_.size();
}
/**
* repeated string namespace = 1;
* @param index The index of the element to return.
* @return The namespace at the given index.
*/
public java.lang.String getNamespace(int index) {
return namespace_.get(index);
}
/**
* repeated string namespace = 1;
* @param index The index of the value to return.
* @return The bytes of the namespace at the given index.
*/
public com.google.protobuf.ByteString
getNamespaceBytes(int index) {
return namespace_.getByteString(index);
}
public static final int TABLENAME_FIELD_NUMBER = 2;
private volatile java.lang.Object tableName_;
/**
* string tableName = 2;
* @return The tableName.
*/
@java.lang.Override
public java.lang.String getTableName() {
java.lang.Object ref = tableName_;
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();
tableName_ = s;
return s;
}
}
/**
* string tableName = 2;
* @return The bytes for tableName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTableNameBytes() {
java.lang.Object ref = tableName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
tableName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SIZE_FIELD_NUMBER = 3;
private long size_;
/**
* uint64 size = 3;
* @return The size.
*/
@java.lang.Override
public long getSize() {
return size_;
}
public static final int RECORD_FIELD_NUMBER = 4;
private long record_;
/**
* uint64 record = 4;
* @return The record.
*/
@java.lang.Override
public long getRecord() {
return record_;
}
public static final int CACHE_SIZE_FIELD_NUMBER = 5;
private long cacheSize_;
/**
* uint64 cache_size = 5;
* @return The cacheSize.
*/
@java.lang.Override
public long getCacheSize() {
return cacheSize_;
}
public static final int PARTITIONS_FIELD_NUMBER = 6;
private java.util.List partitions_;
/**
* repeated .cz.proto.JobMeta.Partition partitions = 6;
*/
@java.lang.Override
public java.util.List getPartitionsList() {
return partitions_;
}
/**
* repeated .cz.proto.JobMeta.Partition partitions = 6;
*/
@java.lang.Override
public java.util.List extends cz.proto.JobMeta.PartitionOrBuilder>
getPartitionsOrBuilderList() {
return partitions_;
}
/**
* repeated .cz.proto.JobMeta.Partition partitions = 6;
*/
@java.lang.Override
public int getPartitionsCount() {
return partitions_.size();
}
/**
* repeated .cz.proto.JobMeta.Partition partitions = 6;
*/
@java.lang.Override
public cz.proto.JobMeta.Partition getPartitions(int index) {
return partitions_.get(index);
}
/**
* repeated .cz.proto.JobMeta.Partition partitions = 6;
*/
@java.lang.Override
public cz.proto.JobMeta.PartitionOrBuilder getPartitionsOrBuilder(
int index) {
return partitions_.get(index);
}
public static final int INSTANCE_ID_FIELD_NUMBER = 7;
private long instanceId_;
/**
* int64 instance_id = 7;
* @return The instanceId.
*/
@java.lang.Override
public long getInstanceId() {
return instanceId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < namespace_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, namespace_.getRaw(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, tableName_);
}
if (size_ != 0L) {
output.writeUInt64(3, size_);
}
if (record_ != 0L) {
output.writeUInt64(4, record_);
}
if (cacheSize_ != 0L) {
output.writeUInt64(5, cacheSize_);
}
for (int i = 0; i < partitions_.size(); i++) {
output.writeMessage(6, partitions_.get(i));
}
if (instanceId_ != 0L) {
output.writeInt64(7, instanceId_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < namespace_.size(); i++) {
dataSize += computeStringSizeNoTag(namespace_.getRaw(i));
}
size += dataSize;
size += 1 * getNamespaceList().size();
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tableName_);
}
if (size_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(3, size_);
}
if (record_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(4, record_);
}
if (cacheSize_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(5, cacheSize_);
}
for (int i = 0; i < partitions_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, partitions_.get(i));
}
if (instanceId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(7, instanceId_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cz.proto.JobMeta.Table)) {
return super.equals(obj);
}
cz.proto.JobMeta.Table other = (cz.proto.JobMeta.Table) obj;
if (!getNamespaceList()
.equals(other.getNamespaceList())) return false;
if (!getTableName()
.equals(other.getTableName())) return false;
if (getSize()
!= other.getSize()) return false;
if (getRecord()
!= other.getRecord()) return false;
if (getCacheSize()
!= other.getCacheSize()) return false;
if (!getPartitionsList()
.equals(other.getPartitionsList())) return false;
if (getInstanceId()
!= other.getInstanceId()) 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 (getNamespaceCount() > 0) {
hash = (37 * hash) + NAMESPACE_FIELD_NUMBER;
hash = (53 * hash) + getNamespaceList().hashCode();
}
hash = (37 * hash) + TABLENAME_FIELD_NUMBER;
hash = (53 * hash) + getTableName().hashCode();
hash = (37 * hash) + SIZE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSize());
hash = (37 * hash) + RECORD_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getRecord());
hash = (37 * hash) + CACHE_SIZE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCacheSize());
if (getPartitionsCount() > 0) {
hash = (37 * hash) + PARTITIONS_FIELD_NUMBER;
hash = (53 * hash) + getPartitionsList().hashCode();
}
hash = (37 * hash) + INSTANCE_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getInstanceId());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.JobMeta.Table parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.JobMeta.Table parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.JobMeta.Table parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.JobMeta.Table parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.JobMeta.Table parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.JobMeta.Table parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.JobMeta.Table parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.JobMeta.Table parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static cz.proto.JobMeta.Table parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.JobMeta.Table parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static cz.proto.JobMeta.Table parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.JobMeta.Table parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cz.proto.JobMeta.Table prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code cz.proto.JobMeta.Table}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.JobMeta.Table)
cz.proto.JobMeta.TableOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.JobMetaOuterClass.internal_static_cz_proto_JobMeta_Table_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.JobMetaOuterClass.internal_static_cz_proto_JobMeta_Table_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.JobMeta.Table.class, cz.proto.JobMeta.Table.Builder.class);
}
// Construct using cz.proto.JobMeta.Table.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getPartitionsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
namespace_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
tableName_ = "";
size_ = 0L;
record_ = 0L;
cacheSize_ = 0L;
if (partitionsBuilder_ == null) {
partitions_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
partitionsBuilder_.clear();
}
instanceId_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.JobMetaOuterClass.internal_static_cz_proto_JobMeta_Table_descriptor;
}
@java.lang.Override
public cz.proto.JobMeta.Table getDefaultInstanceForType() {
return cz.proto.JobMeta.Table.getDefaultInstance();
}
@java.lang.Override
public cz.proto.JobMeta.Table build() {
cz.proto.JobMeta.Table result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.JobMeta.Table buildPartial() {
cz.proto.JobMeta.Table result = new cz.proto.JobMeta.Table(this);
int from_bitField0_ = bitField0_;
if (((bitField0_ & 0x00000001) != 0)) {
namespace_ = namespace_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.namespace_ = namespace_;
result.tableName_ = tableName_;
result.size_ = size_;
result.record_ = record_;
result.cacheSize_ = cacheSize_;
if (partitionsBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
partitions_ = java.util.Collections.unmodifiableList(partitions_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.partitions_ = partitions_;
} else {
result.partitions_ = partitionsBuilder_.build();
}
result.instanceId_ = instanceId_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cz.proto.JobMeta.Table) {
return mergeFrom((cz.proto.JobMeta.Table)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.JobMeta.Table other) {
if (other == cz.proto.JobMeta.Table.getDefaultInstance()) return this;
if (!other.namespace_.isEmpty()) {
if (namespace_.isEmpty()) {
namespace_ = other.namespace_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureNamespaceIsMutable();
namespace_.addAll(other.namespace_);
}
onChanged();
}
if (!other.getTableName().isEmpty()) {
tableName_ = other.tableName_;
onChanged();
}
if (other.getSize() != 0L) {
setSize(other.getSize());
}
if (other.getRecord() != 0L) {
setRecord(other.getRecord());
}
if (other.getCacheSize() != 0L) {
setCacheSize(other.getCacheSize());
}
if (partitionsBuilder_ == null) {
if (!other.partitions_.isEmpty()) {
if (partitions_.isEmpty()) {
partitions_ = other.partitions_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensurePartitionsIsMutable();
partitions_.addAll(other.partitions_);
}
onChanged();
}
} else {
if (!other.partitions_.isEmpty()) {
if (partitionsBuilder_.isEmpty()) {
partitionsBuilder_.dispose();
partitionsBuilder_ = null;
partitions_ = other.partitions_;
bitField0_ = (bitField0_ & ~0x00000002);
partitionsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getPartitionsFieldBuilder() : null;
} else {
partitionsBuilder_.addAllMessages(other.partitions_);
}
}
}
if (other.getInstanceId() != 0L) {
setInstanceId(other.getInstanceId());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cz.proto.JobMeta.Table parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.JobMeta.Table) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.google.protobuf.LazyStringList namespace_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureNamespaceIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
namespace_ = new com.google.protobuf.LazyStringArrayList(namespace_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated string namespace = 1;
* @return A list containing the namespace.
*/
public com.google.protobuf.ProtocolStringList
getNamespaceList() {
return namespace_.getUnmodifiableView();
}
/**
* repeated string namespace = 1;
* @return The count of namespace.
*/
public int getNamespaceCount() {
return namespace_.size();
}
/**
* repeated string namespace = 1;
* @param index The index of the element to return.
* @return The namespace at the given index.
*/
public java.lang.String getNamespace(int index) {
return namespace_.get(index);
}
/**
* repeated string namespace = 1;
* @param index The index of the value to return.
* @return The bytes of the namespace at the given index.
*/
public com.google.protobuf.ByteString
getNamespaceBytes(int index) {
return namespace_.getByteString(index);
}
/**
* repeated string namespace = 1;
* @param index The index to set the value at.
* @param value The namespace to set.
* @return This builder for chaining.
*/
public Builder setNamespace(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureNamespaceIsMutable();
namespace_.set(index, value);
onChanged();
return this;
}
/**
* repeated string namespace = 1;
* @param value The namespace to add.
* @return This builder for chaining.
*/
public Builder addNamespace(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureNamespaceIsMutable();
namespace_.add(value);
onChanged();
return this;
}
/**
* repeated string namespace = 1;
* @param values The namespace to add.
* @return This builder for chaining.
*/
public Builder addAllNamespace(
java.lang.Iterable values) {
ensureNamespaceIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, namespace_);
onChanged();
return this;
}
/**
* repeated string namespace = 1;
* @return This builder for chaining.
*/
public Builder clearNamespace() {
namespace_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* repeated string namespace = 1;
* @param value The bytes of the namespace to add.
* @return This builder for chaining.
*/
public Builder addNamespaceBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureNamespaceIsMutable();
namespace_.add(value);
onChanged();
return this;
}
private java.lang.Object tableName_ = "";
/**
* string tableName = 2;
* @return The tableName.
*/
public java.lang.String getTableName() {
java.lang.Object ref = tableName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
tableName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string tableName = 2;
* @return The bytes for tableName.
*/
public com.google.protobuf.ByteString
getTableNameBytes() {
java.lang.Object ref = tableName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
tableName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string tableName = 2;
* @param value The tableName to set.
* @return This builder for chaining.
*/
public Builder setTableName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
tableName_ = value;
onChanged();
return this;
}
/**
* string tableName = 2;
* @return This builder for chaining.
*/
public Builder clearTableName() {
tableName_ = getDefaultInstance().getTableName();
onChanged();
return this;
}
/**
* string tableName = 2;
* @param value The bytes for tableName to set.
* @return This builder for chaining.
*/
public Builder setTableNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
tableName_ = value;
onChanged();
return this;
}
private long size_ ;
/**
* uint64 size = 3;
* @return The size.
*/
@java.lang.Override
public long getSize() {
return size_;
}
/**
* uint64 size = 3;
* @param value The size to set.
* @return This builder for chaining.
*/
public Builder setSize(long value) {
size_ = value;
onChanged();
return this;
}
/**
* uint64 size = 3;
* @return This builder for chaining.
*/
public Builder clearSize() {
size_ = 0L;
onChanged();
return this;
}
private long record_ ;
/**
* uint64 record = 4;
* @return The record.
*/
@java.lang.Override
public long getRecord() {
return record_;
}
/**
* uint64 record = 4;
* @param value The record to set.
* @return This builder for chaining.
*/
public Builder setRecord(long value) {
record_ = value;
onChanged();
return this;
}
/**
* uint64 record = 4;
* @return This builder for chaining.
*/
public Builder clearRecord() {
record_ = 0L;
onChanged();
return this;
}
private long cacheSize_ ;
/**
* uint64 cache_size = 5;
* @return The cacheSize.
*/
@java.lang.Override
public long getCacheSize() {
return cacheSize_;
}
/**
* uint64 cache_size = 5;
* @param value The cacheSize to set.
* @return This builder for chaining.
*/
public Builder setCacheSize(long value) {
cacheSize_ = value;
onChanged();
return this;
}
/**
* uint64 cache_size = 5;
* @return This builder for chaining.
*/
public Builder clearCacheSize() {
cacheSize_ = 0L;
onChanged();
return this;
}
private java.util.List partitions_ =
java.util.Collections.emptyList();
private void ensurePartitionsIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
partitions_ = new java.util.ArrayList(partitions_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.JobMeta.Partition, cz.proto.JobMeta.Partition.Builder, cz.proto.JobMeta.PartitionOrBuilder> partitionsBuilder_;
/**
* repeated .cz.proto.JobMeta.Partition partitions = 6;
*/
public java.util.List getPartitionsList() {
if (partitionsBuilder_ == null) {
return java.util.Collections.unmodifiableList(partitions_);
} else {
return partitionsBuilder_.getMessageList();
}
}
/**
* repeated .cz.proto.JobMeta.Partition partitions = 6;
*/
public int getPartitionsCount() {
if (partitionsBuilder_ == null) {
return partitions_.size();
} else {
return partitionsBuilder_.getCount();
}
}
/**
* repeated .cz.proto.JobMeta.Partition partitions = 6;
*/
public cz.proto.JobMeta.Partition getPartitions(int index) {
if (partitionsBuilder_ == null) {
return partitions_.get(index);
} else {
return partitionsBuilder_.getMessage(index);
}
}
/**
* repeated .cz.proto.JobMeta.Partition partitions = 6;
*/
public Builder setPartitions(
int index, cz.proto.JobMeta.Partition value) {
if (partitionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePartitionsIsMutable();
partitions_.set(index, value);
onChanged();
} else {
partitionsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.JobMeta.Partition partitions = 6;
*/
public Builder setPartitions(
int index, cz.proto.JobMeta.Partition.Builder builderForValue) {
if (partitionsBuilder_ == null) {
ensurePartitionsIsMutable();
partitions_.set(index, builderForValue.build());
onChanged();
} else {
partitionsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.JobMeta.Partition partitions = 6;
*/
public Builder addPartitions(cz.proto.JobMeta.Partition value) {
if (partitionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePartitionsIsMutable();
partitions_.add(value);
onChanged();
} else {
partitionsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .cz.proto.JobMeta.Partition partitions = 6;
*/
public Builder addPartitions(
int index, cz.proto.JobMeta.Partition value) {
if (partitionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePartitionsIsMutable();
partitions_.add(index, value);
onChanged();
} else {
partitionsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.JobMeta.Partition partitions = 6;
*/
public Builder addPartitions(
cz.proto.JobMeta.Partition.Builder builderForValue) {
if (partitionsBuilder_ == null) {
ensurePartitionsIsMutable();
partitions_.add(builderForValue.build());
onChanged();
} else {
partitionsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.JobMeta.Partition partitions = 6;
*/
public Builder addPartitions(
int index, cz.proto.JobMeta.Partition.Builder builderForValue) {
if (partitionsBuilder_ == null) {
ensurePartitionsIsMutable();
partitions_.add(index, builderForValue.build());
onChanged();
} else {
partitionsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.JobMeta.Partition partitions = 6;
*/
public Builder addAllPartitions(
java.lang.Iterable extends cz.proto.JobMeta.Partition> values) {
if (partitionsBuilder_ == null) {
ensurePartitionsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, partitions_);
onChanged();
} else {
partitionsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .cz.proto.JobMeta.Partition partitions = 6;
*/
public Builder clearPartitions() {
if (partitionsBuilder_ == null) {
partitions_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
partitionsBuilder_.clear();
}
return this;
}
/**
* repeated .cz.proto.JobMeta.Partition partitions = 6;
*/
public Builder removePartitions(int index) {
if (partitionsBuilder_ == null) {
ensurePartitionsIsMutable();
partitions_.remove(index);
onChanged();
} else {
partitionsBuilder_.remove(index);
}
return this;
}
/**
* repeated .cz.proto.JobMeta.Partition partitions = 6;
*/
public cz.proto.JobMeta.Partition.Builder getPartitionsBuilder(
int index) {
return getPartitionsFieldBuilder().getBuilder(index);
}
/**
* repeated .cz.proto.JobMeta.Partition partitions = 6;
*/
public cz.proto.JobMeta.PartitionOrBuilder getPartitionsOrBuilder(
int index) {
if (partitionsBuilder_ == null) {
return partitions_.get(index); } else {
return partitionsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .cz.proto.JobMeta.Partition partitions = 6;
*/
public java.util.List extends cz.proto.JobMeta.PartitionOrBuilder>
getPartitionsOrBuilderList() {
if (partitionsBuilder_ != null) {
return partitionsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(partitions_);
}
}
/**
* repeated .cz.proto.JobMeta.Partition partitions = 6;
*/
public cz.proto.JobMeta.Partition.Builder addPartitionsBuilder() {
return getPartitionsFieldBuilder().addBuilder(
cz.proto.JobMeta.Partition.getDefaultInstance());
}
/**
* repeated .cz.proto.JobMeta.Partition partitions = 6;
*/
public cz.proto.JobMeta.Partition.Builder addPartitionsBuilder(
int index) {
return getPartitionsFieldBuilder().addBuilder(
index, cz.proto.JobMeta.Partition.getDefaultInstance());
}
/**
* repeated .cz.proto.JobMeta.Partition partitions = 6;
*/
public java.util.List
getPartitionsBuilderList() {
return getPartitionsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.JobMeta.Partition, cz.proto.JobMeta.Partition.Builder, cz.proto.JobMeta.PartitionOrBuilder>
getPartitionsFieldBuilder() {
if (partitionsBuilder_ == null) {
partitionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.JobMeta.Partition, cz.proto.JobMeta.Partition.Builder, cz.proto.JobMeta.PartitionOrBuilder>(
partitions_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
partitions_ = null;
}
return partitionsBuilder_;
}
private long instanceId_ ;
/**
* int64 instance_id = 7;
* @return The instanceId.
*/
@java.lang.Override
public long getInstanceId() {
return instanceId_;
}
/**
* int64 instance_id = 7;
* @param value The instanceId to set.
* @return This builder for chaining.
*/
public Builder setInstanceId(long value) {
instanceId_ = value;
onChanged();
return this;
}
/**
* int64 instance_id = 7;
* @return This builder for chaining.
*/
public Builder clearInstanceId() {
instanceId_ = 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:cz.proto.JobMeta.Table)
}
// @@protoc_insertion_point(class_scope:cz.proto.JobMeta.Table)
private static final cz.proto.JobMeta.Table DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.JobMeta.Table();
}
public static cz.proto.JobMeta.Table getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Table parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Table(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cz.proto.JobMeta.Table getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TableListOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.JobMeta.TableList)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .cz.proto.JobMeta.Table table = 1;
*/
java.util.List
getTableList();
/**
* repeated .cz.proto.JobMeta.Table table = 1;
*/
cz.proto.JobMeta.Table getTable(int index);
/**
* repeated .cz.proto.JobMeta.Table table = 1;
*/
int getTableCount();
/**
* repeated .cz.proto.JobMeta.Table table = 1;
*/
java.util.List extends cz.proto.JobMeta.TableOrBuilder>
getTableOrBuilderList();
/**
* repeated .cz.proto.JobMeta.Table table = 1;
*/
cz.proto.JobMeta.TableOrBuilder getTableOrBuilder(
int index);
}
/**
* Protobuf type {@code cz.proto.JobMeta.TableList}
*/
public static final class TableList extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.JobMeta.TableList)
TableListOrBuilder {
private static final long serialVersionUID = 0L;
// Use TableList.newBuilder() to construct.
private TableList(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private TableList() {
table_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TableList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TableList(
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 10: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
table_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
table_.add(
input.readMessage(cz.proto.JobMeta.Table.parser(), extensionRegistry));
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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
table_ = java.util.Collections.unmodifiableList(table_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.JobMetaOuterClass.internal_static_cz_proto_JobMeta_TableList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.JobMetaOuterClass.internal_static_cz_proto_JobMeta_TableList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.JobMeta.TableList.class, cz.proto.JobMeta.TableList.Builder.class);
}
public static final int TABLE_FIELD_NUMBER = 1;
private java.util.List table_;
/**
* repeated .cz.proto.JobMeta.Table table = 1;
*/
@java.lang.Override
public java.util.List getTableList() {
return table_;
}
/**
* repeated .cz.proto.JobMeta.Table table = 1;
*/
@java.lang.Override
public java.util.List extends cz.proto.JobMeta.TableOrBuilder>
getTableOrBuilderList() {
return table_;
}
/**
* repeated .cz.proto.JobMeta.Table table = 1;
*/
@java.lang.Override
public int getTableCount() {
return table_.size();
}
/**
* repeated .cz.proto.JobMeta.Table table = 1;
*/
@java.lang.Override
public cz.proto.JobMeta.Table getTable(int index) {
return table_.get(index);
}
/**
* repeated .cz.proto.JobMeta.Table table = 1;
*/
@java.lang.Override
public cz.proto.JobMeta.TableOrBuilder getTableOrBuilder(
int index) {
return table_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < table_.size(); i++) {
output.writeMessage(1, table_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < table_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, table_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cz.proto.JobMeta.TableList)) {
return super.equals(obj);
}
cz.proto.JobMeta.TableList other = (cz.proto.JobMeta.TableList) obj;
if (!getTableList()
.equals(other.getTableList())) 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 (getTableCount() > 0) {
hash = (37 * hash) + TABLE_FIELD_NUMBER;
hash = (53 * hash) + getTableList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.JobMeta.TableList parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.JobMeta.TableList parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.JobMeta.TableList parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.JobMeta.TableList parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.JobMeta.TableList parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.JobMeta.TableList parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.JobMeta.TableList parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.JobMeta.TableList parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static cz.proto.JobMeta.TableList parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.JobMeta.TableList parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static cz.proto.JobMeta.TableList parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.JobMeta.TableList parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cz.proto.JobMeta.TableList prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code cz.proto.JobMeta.TableList}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.JobMeta.TableList)
cz.proto.JobMeta.TableListOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.JobMetaOuterClass.internal_static_cz_proto_JobMeta_TableList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.JobMetaOuterClass.internal_static_cz_proto_JobMeta_TableList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.JobMeta.TableList.class, cz.proto.JobMeta.TableList.Builder.class);
}
// Construct using cz.proto.JobMeta.TableList.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getTableFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (tableBuilder_ == null) {
table_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
tableBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.JobMetaOuterClass.internal_static_cz_proto_JobMeta_TableList_descriptor;
}
@java.lang.Override
public cz.proto.JobMeta.TableList getDefaultInstanceForType() {
return cz.proto.JobMeta.TableList.getDefaultInstance();
}
@java.lang.Override
public cz.proto.JobMeta.TableList build() {
cz.proto.JobMeta.TableList result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.JobMeta.TableList buildPartial() {
cz.proto.JobMeta.TableList result = new cz.proto.JobMeta.TableList(this);
int from_bitField0_ = bitField0_;
if (tableBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
table_ = java.util.Collections.unmodifiableList(table_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.table_ = table_;
} else {
result.table_ = tableBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cz.proto.JobMeta.TableList) {
return mergeFrom((cz.proto.JobMeta.TableList)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.JobMeta.TableList other) {
if (other == cz.proto.JobMeta.TableList.getDefaultInstance()) return this;
if (tableBuilder_ == null) {
if (!other.table_.isEmpty()) {
if (table_.isEmpty()) {
table_ = other.table_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureTableIsMutable();
table_.addAll(other.table_);
}
onChanged();
}
} else {
if (!other.table_.isEmpty()) {
if (tableBuilder_.isEmpty()) {
tableBuilder_.dispose();
tableBuilder_ = null;
table_ = other.table_;
bitField0_ = (bitField0_ & ~0x00000001);
tableBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getTableFieldBuilder() : null;
} else {
tableBuilder_.addAllMessages(other.table_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cz.proto.JobMeta.TableList parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.JobMeta.TableList) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List table_ =
java.util.Collections.emptyList();
private void ensureTableIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
table_ = new java.util.ArrayList(table_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.JobMeta.Table, cz.proto.JobMeta.Table.Builder, cz.proto.JobMeta.TableOrBuilder> tableBuilder_;
/**
* repeated .cz.proto.JobMeta.Table table = 1;
*/
public java.util.List getTableList() {
if (tableBuilder_ == null) {
return java.util.Collections.unmodifiableList(table_);
} else {
return tableBuilder_.getMessageList();
}
}
/**
* repeated .cz.proto.JobMeta.Table table = 1;
*/
public int getTableCount() {
if (tableBuilder_ == null) {
return table_.size();
} else {
return tableBuilder_.getCount();
}
}
/**
* repeated .cz.proto.JobMeta.Table table = 1;
*/
public cz.proto.JobMeta.Table getTable(int index) {
if (tableBuilder_ == null) {
return table_.get(index);
} else {
return tableBuilder_.getMessage(index);
}
}
/**
* repeated .cz.proto.JobMeta.Table table = 1;
*/
public Builder setTable(
int index, cz.proto.JobMeta.Table value) {
if (tableBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTableIsMutable();
table_.set(index, value);
onChanged();
} else {
tableBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.JobMeta.Table table = 1;
*/
public Builder setTable(
int index, cz.proto.JobMeta.Table.Builder builderForValue) {
if (tableBuilder_ == null) {
ensureTableIsMutable();
table_.set(index, builderForValue.build());
onChanged();
} else {
tableBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.JobMeta.Table table = 1;
*/
public Builder addTable(cz.proto.JobMeta.Table value) {
if (tableBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTableIsMutable();
table_.add(value);
onChanged();
} else {
tableBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .cz.proto.JobMeta.Table table = 1;
*/
public Builder addTable(
int index, cz.proto.JobMeta.Table value) {
if (tableBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTableIsMutable();
table_.add(index, value);
onChanged();
} else {
tableBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.JobMeta.Table table = 1;
*/
public Builder addTable(
cz.proto.JobMeta.Table.Builder builderForValue) {
if (tableBuilder_ == null) {
ensureTableIsMutable();
table_.add(builderForValue.build());
onChanged();
} else {
tableBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.JobMeta.Table table = 1;
*/
public Builder addTable(
int index, cz.proto.JobMeta.Table.Builder builderForValue) {
if (tableBuilder_ == null) {
ensureTableIsMutable();
table_.add(index, builderForValue.build());
onChanged();
} else {
tableBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.JobMeta.Table table = 1;
*/
public Builder addAllTable(
java.lang.Iterable extends cz.proto.JobMeta.Table> values) {
if (tableBuilder_ == null) {
ensureTableIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, table_);
onChanged();
} else {
tableBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .cz.proto.JobMeta.Table table = 1;
*/
public Builder clearTable() {
if (tableBuilder_ == null) {
table_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
tableBuilder_.clear();
}
return this;
}
/**
* repeated .cz.proto.JobMeta.Table table = 1;
*/
public Builder removeTable(int index) {
if (tableBuilder_ == null) {
ensureTableIsMutable();
table_.remove(index);
onChanged();
} else {
tableBuilder_.remove(index);
}
return this;
}
/**
* repeated .cz.proto.JobMeta.Table table = 1;
*/
public cz.proto.JobMeta.Table.Builder getTableBuilder(
int index) {
return getTableFieldBuilder().getBuilder(index);
}
/**
* repeated .cz.proto.JobMeta.Table table = 1;
*/
public cz.proto.JobMeta.TableOrBuilder getTableOrBuilder(
int index) {
if (tableBuilder_ == null) {
return table_.get(index); } else {
return tableBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .cz.proto.JobMeta.Table table = 1;
*/
public java.util.List extends cz.proto.JobMeta.TableOrBuilder>
getTableOrBuilderList() {
if (tableBuilder_ != null) {
return tableBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(table_);
}
}
/**
* repeated .cz.proto.JobMeta.Table table = 1;
*/
public cz.proto.JobMeta.Table.Builder addTableBuilder() {
return getTableFieldBuilder().addBuilder(
cz.proto.JobMeta.Table.getDefaultInstance());
}
/**
* repeated .cz.proto.JobMeta.Table table = 1;
*/
public cz.proto.JobMeta.Table.Builder addTableBuilder(
int index) {
return getTableFieldBuilder().addBuilder(
index, cz.proto.JobMeta.Table.getDefaultInstance());
}
/**
* repeated .cz.proto.JobMeta.Table table = 1;
*/
public java.util.List
getTableBuilderList() {
return getTableFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.JobMeta.Table, cz.proto.JobMeta.Table.Builder, cz.proto.JobMeta.TableOrBuilder>
getTableFieldBuilder() {
if (tableBuilder_ == null) {
tableBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.JobMeta.Table, cz.proto.JobMeta.Table.Builder, cz.proto.JobMeta.TableOrBuilder>(
table_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
table_ = null;
}
return tableBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:cz.proto.JobMeta.TableList)
}
// @@protoc_insertion_point(class_scope:cz.proto.JobMeta.TableList)
private static final cz.proto.JobMeta.TableList DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.JobMeta.TableList();
}
public static cz.proto.JobMeta.TableList getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public TableList parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TableList(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cz.proto.JobMeta.TableList getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ContentOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.JobMeta.Content)
com.google.protobuf.MessageOrBuilder {
/**
* map<string, string> job_config = 1;
*/
int getJobConfigCount();
/**
* map<string, string> job_config = 1;
*/
boolean containsJobConfig(
java.lang.String key);
/**
* Use {@link #getJobConfigMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getJobConfig();
/**
* map<string, string> job_config = 1;
*/
java.util.Map
getJobConfigMap();
/**
* map<string, string> job_config = 1;
*/
java.lang.String getJobConfigOrDefault(
java.lang.String key,
java.lang.String defaultValue);
/**
* map<string, string> job_config = 1;
*/
java.lang.String getJobConfigOrThrow(
java.lang.String key);
/**
* .cz.proto.SQLJob sql_job = 2;
* @return Whether the sqlJob field is set.
*/
boolean hasSqlJob();
/**
* .cz.proto.SQLJob sql_job = 2;
* @return The sqlJob.
*/
cz.proto.SQLJob getSqlJob();
/**
* .cz.proto.SQLJob sql_job = 2;
*/
cz.proto.SQLJobOrBuilder getSqlJobOrBuilder();
/**
* string release_version = 3;
* @return The releaseVersion.
*/
java.lang.String getReleaseVersion();
/**
* string release_version = 3;
* @return The bytes for releaseVersion.
*/
com.google.protobuf.ByteString
getReleaseVersionBytes();
/**
* string virtual_cluster_name = 4;
* @return The virtualClusterName.
*/
java.lang.String getVirtualClusterName();
/**
* string virtual_cluster_name = 4;
* @return The bytes for virtualClusterName.
*/
com.google.protobuf.ByteString
getVirtualClusterNameBytes();
/**
* string job_client = 5;
* @return The jobClient.
*/
java.lang.String getJobClient();
/**
* string job_client = 5;
* @return The bytes for jobClient.
*/
com.google.protobuf.ByteString
getJobClientBytes();
/**
*
* when job desc size > 128KB, will spill job desc to oss and save location here
*
*
* string job_desc_location = 20;
* @return The jobDescLocation.
*/
java.lang.String getJobDescLocation();
/**
*
* when job desc size > 128KB, will spill job desc to oss and save location here
*
*
* string job_desc_location = 20;
* @return The bytes for jobDescLocation.
*/
com.google.protobuf.ByteString
getJobDescLocationBytes();
public cz.proto.JobMeta.Content.JobCase getJobCase();
}
/**
* Protobuf type {@code cz.proto.JobMeta.Content}
*/
public static final class Content extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.JobMeta.Content)
ContentOrBuilder {
private static final long serialVersionUID = 0L;
// Use Content.newBuilder() to construct.
private Content(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Content() {
releaseVersion_ = "";
virtualClusterName_ = "";
jobClient_ = "";
jobDescLocation_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Content();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Content(
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 10: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
jobConfig_ = com.google.protobuf.MapField.newMapField(
JobConfigDefaultEntryHolder.defaultEntry);
mutable_bitField0_ |= 0x00000001;
}
com.google.protobuf.MapEntry
jobConfig__ = input.readMessage(
JobConfigDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
jobConfig_.getMutableMap().put(
jobConfig__.getKey(), jobConfig__.getValue());
break;
}
case 18: {
cz.proto.SQLJob.Builder subBuilder = null;
if (jobCase_ == 2) {
subBuilder = ((cz.proto.SQLJob) job_).toBuilder();
}
job_ =
input.readMessage(cz.proto.SQLJob.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.SQLJob) job_);
job_ = subBuilder.buildPartial();
}
jobCase_ = 2;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
releaseVersion_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
virtualClusterName_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
jobClient_ = s;
break;
}
case 162: {
java.lang.String s = input.readStringRequireUtf8();
jobDescLocation_ = s;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.JobMetaOuterClass.internal_static_cz_proto_JobMeta_Content_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 1:
return internalGetJobConfig();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.JobMetaOuterClass.internal_static_cz_proto_JobMeta_Content_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.JobMeta.Content.class, cz.proto.JobMeta.Content.Builder.class);
}
private int jobCase_ = 0;
private java.lang.Object job_;
public enum JobCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
SQL_JOB(2),
JOB_NOT_SET(0);
private final int value;
private JobCase(int value) {
this.value = value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static JobCase valueOf(int value) {
return forNumber(value);
}
public static JobCase forNumber(int value) {
switch (value) {
case 2: return SQL_JOB;
case 0: return JOB_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public JobCase
getJobCase() {
return JobCase.forNumber(
jobCase_);
}
public static final int JOB_CONFIG_FIELD_NUMBER = 1;
private static final class JobConfigDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.String, java.lang.String> defaultEntry =
com.google.protobuf.MapEntry
.newDefaultInstance(
cz.proto.JobMetaOuterClass.internal_static_cz_proto_JobMeta_Content_JobConfigEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.STRING,
"");
}
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> jobConfig_;
private com.google.protobuf.MapField
internalGetJobConfig() {
if (jobConfig_ == null) {
return com.google.protobuf.MapField.emptyMapField(
JobConfigDefaultEntryHolder.defaultEntry);
}
return jobConfig_;
}
public int getJobConfigCount() {
return internalGetJobConfig().getMap().size();
}
/**
* map<string, string> job_config = 1;
*/
@java.lang.Override
public boolean containsJobConfig(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetJobConfig().getMap().containsKey(key);
}
/**
* Use {@link #getJobConfigMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getJobConfig() {
return getJobConfigMap();
}
/**
* map<string, string> job_config = 1;
*/
@java.lang.Override
public java.util.Map getJobConfigMap() {
return internalGetJobConfig().getMap();
}
/**
* map<string, string> job_config = 1;
*/
@java.lang.Override
public java.lang.String getJobConfigOrDefault(
java.lang.String key,
java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetJobConfig().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<string, string> job_config = 1;
*/
@java.lang.Override
public java.lang.String getJobConfigOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetJobConfig().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public static final int SQL_JOB_FIELD_NUMBER = 2;
/**
* .cz.proto.SQLJob sql_job = 2;
* @return Whether the sqlJob field is set.
*/
@java.lang.Override
public boolean hasSqlJob() {
return jobCase_ == 2;
}
/**
* .cz.proto.SQLJob sql_job = 2;
* @return The sqlJob.
*/
@java.lang.Override
public cz.proto.SQLJob getSqlJob() {
if (jobCase_ == 2) {
return (cz.proto.SQLJob) job_;
}
return cz.proto.SQLJob.getDefaultInstance();
}
/**
* .cz.proto.SQLJob sql_job = 2;
*/
@java.lang.Override
public cz.proto.SQLJobOrBuilder getSqlJobOrBuilder() {
if (jobCase_ == 2) {
return (cz.proto.SQLJob) job_;
}
return cz.proto.SQLJob.getDefaultInstance();
}
public static final int RELEASE_VERSION_FIELD_NUMBER = 3;
private volatile java.lang.Object releaseVersion_;
/**
* string release_version = 3;
* @return The releaseVersion.
*/
@java.lang.Override
public java.lang.String getReleaseVersion() {
java.lang.Object ref = releaseVersion_;
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();
releaseVersion_ = s;
return s;
}
}
/**
* string release_version = 3;
* @return The bytes for releaseVersion.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getReleaseVersionBytes() {
java.lang.Object ref = releaseVersion_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
releaseVersion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int VIRTUAL_CLUSTER_NAME_FIELD_NUMBER = 4;
private volatile java.lang.Object virtualClusterName_;
/**
* string virtual_cluster_name = 4;
* @return The virtualClusterName.
*/
@java.lang.Override
public java.lang.String getVirtualClusterName() {
java.lang.Object ref = virtualClusterName_;
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();
virtualClusterName_ = s;
return s;
}
}
/**
* string virtual_cluster_name = 4;
* @return The bytes for virtualClusterName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVirtualClusterNameBytes() {
java.lang.Object ref = virtualClusterName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
virtualClusterName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int JOB_CLIENT_FIELD_NUMBER = 5;
private volatile java.lang.Object jobClient_;
/**
* string job_client = 5;
* @return The jobClient.
*/
@java.lang.Override
public java.lang.String getJobClient() {
java.lang.Object ref = jobClient_;
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();
jobClient_ = s;
return s;
}
}
/**
* string job_client = 5;
* @return The bytes for jobClient.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getJobClientBytes() {
java.lang.Object ref = jobClient_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
jobClient_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int JOB_DESC_LOCATION_FIELD_NUMBER = 20;
private volatile java.lang.Object jobDescLocation_;
/**
*
* when job desc size > 128KB, will spill job desc to oss and save location here
*
*
* string job_desc_location = 20;
* @return The jobDescLocation.
*/
@java.lang.Override
public java.lang.String getJobDescLocation() {
java.lang.Object ref = jobDescLocation_;
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();
jobDescLocation_ = s;
return s;
}
}
/**
*
* when job desc size > 128KB, will spill job desc to oss and save location here
*
*
* string job_desc_location = 20;
* @return The bytes for jobDescLocation.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getJobDescLocationBytes() {
java.lang.Object ref = jobDescLocation_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
jobDescLocation_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetJobConfig(),
JobConfigDefaultEntryHolder.defaultEntry,
1);
if (jobCase_ == 2) {
output.writeMessage(2, (cz.proto.SQLJob) job_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(releaseVersion_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, releaseVersion_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(virtualClusterName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, virtualClusterName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobClient_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, jobClient_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobDescLocation_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 20, jobDescLocation_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (java.util.Map.Entry entry
: internalGetJobConfig().getMap().entrySet()) {
com.google.protobuf.MapEntry
jobConfig__ = JobConfigDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, jobConfig__);
}
if (jobCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, (cz.proto.SQLJob) job_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(releaseVersion_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, releaseVersion_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(virtualClusterName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, virtualClusterName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobClient_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, jobClient_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobDescLocation_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, jobDescLocation_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cz.proto.JobMeta.Content)) {
return super.equals(obj);
}
cz.proto.JobMeta.Content other = (cz.proto.JobMeta.Content) obj;
if (!internalGetJobConfig().equals(
other.internalGetJobConfig())) return false;
if (!getReleaseVersion()
.equals(other.getReleaseVersion())) return false;
if (!getVirtualClusterName()
.equals(other.getVirtualClusterName())) return false;
if (!getJobClient()
.equals(other.getJobClient())) return false;
if (!getJobDescLocation()
.equals(other.getJobDescLocation())) return false;
if (!getJobCase().equals(other.getJobCase())) return false;
switch (jobCase_) {
case 2:
if (!getSqlJob()
.equals(other.getSqlJob())) return false;
break;
case 0:
default:
}
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 (!internalGetJobConfig().getMap().isEmpty()) {
hash = (37 * hash) + JOB_CONFIG_FIELD_NUMBER;
hash = (53 * hash) + internalGetJobConfig().hashCode();
}
hash = (37 * hash) + RELEASE_VERSION_FIELD_NUMBER;
hash = (53 * hash) + getReleaseVersion().hashCode();
hash = (37 * hash) + VIRTUAL_CLUSTER_NAME_FIELD_NUMBER;
hash = (53 * hash) + getVirtualClusterName().hashCode();
hash = (37 * hash) + JOB_CLIENT_FIELD_NUMBER;
hash = (53 * hash) + getJobClient().hashCode();
hash = (37 * hash) + JOB_DESC_LOCATION_FIELD_NUMBER;
hash = (53 * hash) + getJobDescLocation().hashCode();
switch (jobCase_) {
case 2:
hash = (37 * hash) + SQL_JOB_FIELD_NUMBER;
hash = (53 * hash) + getSqlJob().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.JobMeta.Content parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.JobMeta.Content parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.JobMeta.Content parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.JobMeta.Content parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.JobMeta.Content parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.JobMeta.Content parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.JobMeta.Content parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.JobMeta.Content parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static cz.proto.JobMeta.Content parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.JobMeta.Content parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static cz.proto.JobMeta.Content parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.JobMeta.Content parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cz.proto.JobMeta.Content prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code cz.proto.JobMeta.Content}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.JobMeta.Content)
cz.proto.JobMeta.ContentOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.JobMetaOuterClass.internal_static_cz_proto_JobMeta_Content_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 1:
return internalGetJobConfig();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMutableMapField(
int number) {
switch (number) {
case 1:
return internalGetMutableJobConfig();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.JobMetaOuterClass.internal_static_cz_proto_JobMeta_Content_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.JobMeta.Content.class, cz.proto.JobMeta.Content.Builder.class);
}
// Construct using cz.proto.JobMeta.Content.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();
internalGetMutableJobConfig().clear();
releaseVersion_ = "";
virtualClusterName_ = "";
jobClient_ = "";
jobDescLocation_ = "";
jobCase_ = 0;
job_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.JobMetaOuterClass.internal_static_cz_proto_JobMeta_Content_descriptor;
}
@java.lang.Override
public cz.proto.JobMeta.Content getDefaultInstanceForType() {
return cz.proto.JobMeta.Content.getDefaultInstance();
}
@java.lang.Override
public cz.proto.JobMeta.Content build() {
cz.proto.JobMeta.Content result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.JobMeta.Content buildPartial() {
cz.proto.JobMeta.Content result = new cz.proto.JobMeta.Content(this);
int from_bitField0_ = bitField0_;
result.jobConfig_ = internalGetJobConfig();
result.jobConfig_.makeImmutable();
if (jobCase_ == 2) {
if (sqlJobBuilder_ == null) {
result.job_ = job_;
} else {
result.job_ = sqlJobBuilder_.build();
}
}
result.releaseVersion_ = releaseVersion_;
result.virtualClusterName_ = virtualClusterName_;
result.jobClient_ = jobClient_;
result.jobDescLocation_ = jobDescLocation_;
result.jobCase_ = jobCase_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cz.proto.JobMeta.Content) {
return mergeFrom((cz.proto.JobMeta.Content)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.JobMeta.Content other) {
if (other == cz.proto.JobMeta.Content.getDefaultInstance()) return this;
internalGetMutableJobConfig().mergeFrom(
other.internalGetJobConfig());
if (!other.getReleaseVersion().isEmpty()) {
releaseVersion_ = other.releaseVersion_;
onChanged();
}
if (!other.getVirtualClusterName().isEmpty()) {
virtualClusterName_ = other.virtualClusterName_;
onChanged();
}
if (!other.getJobClient().isEmpty()) {
jobClient_ = other.jobClient_;
onChanged();
}
if (!other.getJobDescLocation().isEmpty()) {
jobDescLocation_ = other.jobDescLocation_;
onChanged();
}
switch (other.getJobCase()) {
case SQL_JOB: {
mergeSqlJob(other.getSqlJob());
break;
}
case JOB_NOT_SET: {
break;
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cz.proto.JobMeta.Content parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.JobMeta.Content) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int jobCase_ = 0;
private java.lang.Object job_;
public JobCase
getJobCase() {
return JobCase.forNumber(
jobCase_);
}
public Builder clearJob() {
jobCase_ = 0;
job_ = null;
onChanged();
return this;
}
private int bitField0_;
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> jobConfig_;
private com.google.protobuf.MapField
internalGetJobConfig() {
if (jobConfig_ == null) {
return com.google.protobuf.MapField.emptyMapField(
JobConfigDefaultEntryHolder.defaultEntry);
}
return jobConfig_;
}
private com.google.protobuf.MapField
internalGetMutableJobConfig() {
onChanged();;
if (jobConfig_ == null) {
jobConfig_ = com.google.protobuf.MapField.newMapField(
JobConfigDefaultEntryHolder.defaultEntry);
}
if (!jobConfig_.isMutable()) {
jobConfig_ = jobConfig_.copy();
}
return jobConfig_;
}
public int getJobConfigCount() {
return internalGetJobConfig().getMap().size();
}
/**
* map<string, string> job_config = 1;
*/
@java.lang.Override
public boolean containsJobConfig(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetJobConfig().getMap().containsKey(key);
}
/**
* Use {@link #getJobConfigMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getJobConfig() {
return getJobConfigMap();
}
/**
* map<string, string> job_config = 1;
*/
@java.lang.Override
public java.util.Map getJobConfigMap() {
return internalGetJobConfig().getMap();
}
/**
* map<string, string> job_config = 1;
*/
@java.lang.Override
public java.lang.String getJobConfigOrDefault(
java.lang.String key,
java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetJobConfig().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<string, string> job_config = 1;
*/
@java.lang.Override
public java.lang.String getJobConfigOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetJobConfig().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearJobConfig() {
internalGetMutableJobConfig().getMutableMap()
.clear();
return this;
}
/**
* map<string, string> job_config = 1;
*/
public Builder removeJobConfig(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableJobConfig().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map
getMutableJobConfig() {
return internalGetMutableJobConfig().getMutableMap();
}
/**
* map<string, string> job_config = 1;
*/
public Builder putJobConfig(
java.lang.String key,
java.lang.String value) {
if (key == null) { throw new NullPointerException("map key"); }
if (value == null) {
throw new NullPointerException("map value");
}
internalGetMutableJobConfig().getMutableMap()
.put(key, value);
return this;
}
/**
* map<string, string> job_config = 1;
*/
public Builder putAllJobConfig(
java.util.Map values) {
internalGetMutableJobConfig().getMutableMap()
.putAll(values);
return this;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.SQLJob, cz.proto.SQLJob.Builder, cz.proto.SQLJobOrBuilder> sqlJobBuilder_;
/**
* .cz.proto.SQLJob sql_job = 2;
* @return Whether the sqlJob field is set.
*/
@java.lang.Override
public boolean hasSqlJob() {
return jobCase_ == 2;
}
/**
* .cz.proto.SQLJob sql_job = 2;
* @return The sqlJob.
*/
@java.lang.Override
public cz.proto.SQLJob getSqlJob() {
if (sqlJobBuilder_ == null) {
if (jobCase_ == 2) {
return (cz.proto.SQLJob) job_;
}
return cz.proto.SQLJob.getDefaultInstance();
} else {
if (jobCase_ == 2) {
return sqlJobBuilder_.getMessage();
}
return cz.proto.SQLJob.getDefaultInstance();
}
}
/**
* .cz.proto.SQLJob sql_job = 2;
*/
public Builder setSqlJob(cz.proto.SQLJob value) {
if (sqlJobBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
job_ = value;
onChanged();
} else {
sqlJobBuilder_.setMessage(value);
}
jobCase_ = 2;
return this;
}
/**
* .cz.proto.SQLJob sql_job = 2;
*/
public Builder setSqlJob(
cz.proto.SQLJob.Builder builderForValue) {
if (sqlJobBuilder_ == null) {
job_ = builderForValue.build();
onChanged();
} else {
sqlJobBuilder_.setMessage(builderForValue.build());
}
jobCase_ = 2;
return this;
}
/**
* .cz.proto.SQLJob sql_job = 2;
*/
public Builder mergeSqlJob(cz.proto.SQLJob value) {
if (sqlJobBuilder_ == null) {
if (jobCase_ == 2 &&
job_ != cz.proto.SQLJob.getDefaultInstance()) {
job_ = cz.proto.SQLJob.newBuilder((cz.proto.SQLJob) job_)
.mergeFrom(value).buildPartial();
} else {
job_ = value;
}
onChanged();
} else {
if (jobCase_ == 2) {
sqlJobBuilder_.mergeFrom(value);
}
sqlJobBuilder_.setMessage(value);
}
jobCase_ = 2;
return this;
}
/**
* .cz.proto.SQLJob sql_job = 2;
*/
public Builder clearSqlJob() {
if (sqlJobBuilder_ == null) {
if (jobCase_ == 2) {
jobCase_ = 0;
job_ = null;
onChanged();
}
} else {
if (jobCase_ == 2) {
jobCase_ = 0;
job_ = null;
}
sqlJobBuilder_.clear();
}
return this;
}
/**
* .cz.proto.SQLJob sql_job = 2;
*/
public cz.proto.SQLJob.Builder getSqlJobBuilder() {
return getSqlJobFieldBuilder().getBuilder();
}
/**
* .cz.proto.SQLJob sql_job = 2;
*/
@java.lang.Override
public cz.proto.SQLJobOrBuilder getSqlJobOrBuilder() {
if ((jobCase_ == 2) && (sqlJobBuilder_ != null)) {
return sqlJobBuilder_.getMessageOrBuilder();
} else {
if (jobCase_ == 2) {
return (cz.proto.SQLJob) job_;
}
return cz.proto.SQLJob.getDefaultInstance();
}
}
/**
* .cz.proto.SQLJob sql_job = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.SQLJob, cz.proto.SQLJob.Builder, cz.proto.SQLJobOrBuilder>
getSqlJobFieldBuilder() {
if (sqlJobBuilder_ == null) {
if (!(jobCase_ == 2)) {
job_ = cz.proto.SQLJob.getDefaultInstance();
}
sqlJobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.SQLJob, cz.proto.SQLJob.Builder, cz.proto.SQLJobOrBuilder>(
(cz.proto.SQLJob) job_,
getParentForChildren(),
isClean());
job_ = null;
}
jobCase_ = 2;
onChanged();;
return sqlJobBuilder_;
}
private java.lang.Object releaseVersion_ = "";
/**
* string release_version = 3;
* @return The releaseVersion.
*/
public java.lang.String getReleaseVersion() {
java.lang.Object ref = releaseVersion_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
releaseVersion_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string release_version = 3;
* @return The bytes for releaseVersion.
*/
public com.google.protobuf.ByteString
getReleaseVersionBytes() {
java.lang.Object ref = releaseVersion_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
releaseVersion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string release_version = 3;
* @param value The releaseVersion to set.
* @return This builder for chaining.
*/
public Builder setReleaseVersion(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
releaseVersion_ = value;
onChanged();
return this;
}
/**
* string release_version = 3;
* @return This builder for chaining.
*/
public Builder clearReleaseVersion() {
releaseVersion_ = getDefaultInstance().getReleaseVersion();
onChanged();
return this;
}
/**
* string release_version = 3;
* @param value The bytes for releaseVersion to set.
* @return This builder for chaining.
*/
public Builder setReleaseVersionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
releaseVersion_ = value;
onChanged();
return this;
}
private java.lang.Object virtualClusterName_ = "";
/**
* string virtual_cluster_name = 4;
* @return The virtualClusterName.
*/
public java.lang.String getVirtualClusterName() {
java.lang.Object ref = virtualClusterName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
virtualClusterName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string virtual_cluster_name = 4;
* @return The bytes for virtualClusterName.
*/
public com.google.protobuf.ByteString
getVirtualClusterNameBytes() {
java.lang.Object ref = virtualClusterName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
virtualClusterName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string virtual_cluster_name = 4;
* @param value The virtualClusterName to set.
* @return This builder for chaining.
*/
public Builder setVirtualClusterName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
virtualClusterName_ = value;
onChanged();
return this;
}
/**
* string virtual_cluster_name = 4;
* @return This builder for chaining.
*/
public Builder clearVirtualClusterName() {
virtualClusterName_ = getDefaultInstance().getVirtualClusterName();
onChanged();
return this;
}
/**
* string virtual_cluster_name = 4;
* @param value The bytes for virtualClusterName to set.
* @return This builder for chaining.
*/
public Builder setVirtualClusterNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
virtualClusterName_ = value;
onChanged();
return this;
}
private java.lang.Object jobClient_ = "";
/**
* string job_client = 5;
* @return The jobClient.
*/
public java.lang.String getJobClient() {
java.lang.Object ref = jobClient_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
jobClient_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string job_client = 5;
* @return The bytes for jobClient.
*/
public com.google.protobuf.ByteString
getJobClientBytes() {
java.lang.Object ref = jobClient_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
jobClient_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string job_client = 5;
* @param value The jobClient to set.
* @return This builder for chaining.
*/
public Builder setJobClient(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
jobClient_ = value;
onChanged();
return this;
}
/**
* string job_client = 5;
* @return This builder for chaining.
*/
public Builder clearJobClient() {
jobClient_ = getDefaultInstance().getJobClient();
onChanged();
return this;
}
/**
* string job_client = 5;
* @param value The bytes for jobClient to set.
* @return This builder for chaining.
*/
public Builder setJobClientBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
jobClient_ = value;
onChanged();
return this;
}
private java.lang.Object jobDescLocation_ = "";
/**
*
* when job desc size > 128KB, will spill job desc to oss and save location here
*
*
* string job_desc_location = 20;
* @return The jobDescLocation.
*/
public java.lang.String getJobDescLocation() {
java.lang.Object ref = jobDescLocation_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
jobDescLocation_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* when job desc size > 128KB, will spill job desc to oss and save location here
*
*
* string job_desc_location = 20;
* @return The bytes for jobDescLocation.
*/
public com.google.protobuf.ByteString
getJobDescLocationBytes() {
java.lang.Object ref = jobDescLocation_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
jobDescLocation_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* when job desc size > 128KB, will spill job desc to oss and save location here
*
*
* string job_desc_location = 20;
* @param value The jobDescLocation to set.
* @return This builder for chaining.
*/
public Builder setJobDescLocation(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
jobDescLocation_ = value;
onChanged();
return this;
}
/**
*
* when job desc size > 128KB, will spill job desc to oss and save location here
*
*
* string job_desc_location = 20;
* @return This builder for chaining.
*/
public Builder clearJobDescLocation() {
jobDescLocation_ = getDefaultInstance().getJobDescLocation();
onChanged();
return this;
}
/**
*
* when job desc size > 128KB, will spill job desc to oss and save location here
*
*
* string job_desc_location = 20;
* @param value The bytes for jobDescLocation to set.
* @return This builder for chaining.
*/
public Builder setJobDescLocationBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
jobDescLocation_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:cz.proto.JobMeta.Content)
}
// @@protoc_insertion_point(class_scope:cz.proto.JobMeta.Content)
private static final cz.proto.JobMeta.Content DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.JobMeta.Content();
}
public static cz.proto.JobMeta.Content getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Content parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Content(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cz.proto.JobMeta.Content getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public static final int JOB_NAME_FIELD_NUMBER = 2;
private volatile java.lang.Object jobName_;
/**
* string job_name = 2;
* @return The jobName.
*/
@java.lang.Override
public java.lang.String getJobName() {
java.lang.Object ref = jobName_;
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();
jobName_ = s;
return s;
}
}
/**
* string job_name = 2;
* @return The bytes for jobName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getJobNameBytes() {
java.lang.Object ref = jobName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
jobName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int VIRTUAL_CLUSTER_FIELD_NUMBER = 3;
private long virtualCluster_;
/**
* int64 virtual_cluster = 3;
* @return The virtualCluster.
*/
@java.lang.Override
public long getVirtualCluster() {
return virtualCluster_;
}
public static final int STATUS_FIELD_NUMBER = 4;
private int status_;
/**
* .cz.proto.JobStatus status = 4;
* @return The enum numeric value on the wire for status.
*/
@java.lang.Override public int getStatusValue() {
return status_;
}
/**
* .cz.proto.JobStatus status = 4;
* @return The status.
*/
@java.lang.Override public cz.proto.JobStatus getStatus() {
@SuppressWarnings("deprecation")
cz.proto.JobStatus result = cz.proto.JobStatus.valueOf(status_);
return result == null ? cz.proto.JobStatus.UNRECOGNIZED : result;
}
public static final int TYPE_FIELD_NUMBER = 5;
private int type_;
/**
* .cz.proto.JobType type = 5;
* @return The enum numeric value on the wire for type.
*/
@java.lang.Override public int getTypeValue() {
return type_;
}
/**
* .cz.proto.JobType type = 5;
* @return The type.
*/
@java.lang.Override public cz.proto.JobType getType() {
@SuppressWarnings("deprecation")
cz.proto.JobType result = cz.proto.JobType.valueOf(type_);
return result == null ? cz.proto.JobType.UNRECOGNIZED : result;
}
public static final int START_TIME_FIELD_NUMBER = 6;
private long startTime_;
/**
* uint64 start_time = 6;
* @return The startTime.
*/
@java.lang.Override
public long getStartTime() {
return startTime_;
}
public static final int END_TIME_FIELD_NUMBER = 7;
private long endTime_;
/**
* uint64 end_time = 7;
* @return The endTime.
*/
@java.lang.Override
public long getEndTime() {
return endTime_;
}
public static final int PRIORITY_FIELD_NUMBER = 9;
private int priority_;
/**
* uint32 priority = 9;
* @return The priority.
*/
@java.lang.Override
public int getPriority() {
return priority_;
}
public static final int SIGNATURE_FIELD_NUMBER = 10;
private volatile java.lang.Object signature_;
/**
* string signature = 10;
* @return The signature.
*/
@java.lang.Override
public java.lang.String getSignature() {
java.lang.Object ref = signature_;
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();
signature_ = s;
return s;
}
}
/**
* string signature = 10;
* @return The bytes for signature.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSignatureBytes() {
java.lang.Object ref = signature_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
signature_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int COST_FIELD_NUMBER = 11;
private cz.proto.JobCost cost_;
/**
* .cz.proto.JobCost cost = 11;
* @return Whether the cost field is set.
*/
@java.lang.Override
public boolean hasCost() {
return cost_ != null;
}
/**
* .cz.proto.JobCost cost = 11;
* @return The cost.
*/
@java.lang.Override
public cz.proto.JobCost getCost() {
return cost_ == null ? cz.proto.JobCost.getDefaultInstance() : cost_;
}
/**
* .cz.proto.JobCost cost = 11;
*/
@java.lang.Override
public cz.proto.JobCostOrBuilder getCostOrBuilder() {
return getCost();
}
public static final int HISTORIES_FIELD_NUMBER = 12;
private cz.proto.JobMeta.HistoryList histories_;
/**
* .cz.proto.JobMeta.HistoryList histories = 12;
* @return Whether the histories field is set.
*/
@java.lang.Override
public boolean hasHistories() {
return histories_ != null;
}
/**
* .cz.proto.JobMeta.HistoryList histories = 12;
* @return The histories.
*/
@java.lang.Override
public cz.proto.JobMeta.HistoryList getHistories() {
return histories_ == null ? cz.proto.JobMeta.HistoryList.getDefaultInstance() : histories_;
}
/**
* .cz.proto.JobMeta.HistoryList histories = 12;
*/
@java.lang.Override
public cz.proto.JobMeta.HistoryListOrBuilder getHistoriesOrBuilder() {
return getHistories();
}
public static final int RESULT_FIELD_NUMBER = 13;
private volatile java.lang.Object result_;
/**
* string result = 13;
* @return The result.
*/
@java.lang.Override
public java.lang.String getResult() {
java.lang.Object ref = result_;
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();
result_ = s;
return s;
}
}
/**
* string result = 13;
* @return The bytes for result.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getResultBytes() {
java.lang.Object ref = result_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
result_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int JOB_SUMMARY_FIELD_NUMBER = 14;
private cz.proto.JobSummaryLocation jobSummary_;
/**
* .cz.proto.JobSummaryLocation job_summary = 14;
* @return Whether the jobSummary field is set.
*/
@java.lang.Override
public boolean hasJobSummary() {
return jobSummary_ != null;
}
/**
* .cz.proto.JobSummaryLocation job_summary = 14;
* @return The jobSummary.
*/
@java.lang.Override
public cz.proto.JobSummaryLocation getJobSummary() {
return jobSummary_ == null ? cz.proto.JobSummaryLocation.getDefaultInstance() : jobSummary_;
}
/**
* .cz.proto.JobSummaryLocation job_summary = 14;
*/
@java.lang.Override
public cz.proto.JobSummaryLocationOrBuilder getJobSummaryOrBuilder() {
return getJobSummary();
}
public static final int INPUT_TABLES_FIELD_NUMBER = 15;
private cz.proto.JobMeta.TableList inputTables_;
/**
* .cz.proto.JobMeta.TableList input_tables = 15;
* @return Whether the inputTables field is set.
*/
@java.lang.Override
public boolean hasInputTables() {
return inputTables_ != null;
}
/**
* .cz.proto.JobMeta.TableList input_tables = 15;
* @return The inputTables.
*/
@java.lang.Override
public cz.proto.JobMeta.TableList getInputTables() {
return inputTables_ == null ? cz.proto.JobMeta.TableList.getDefaultInstance() : inputTables_;
}
/**
* .cz.proto.JobMeta.TableList input_tables = 15;
*/
@java.lang.Override
public cz.proto.JobMeta.TableListOrBuilder getInputTablesOrBuilder() {
return getInputTables();
}
public static final int OUTPUT_TABLES_FIELD_NUMBER = 16;
private cz.proto.JobMeta.TableList outputTables_;
/**
* .cz.proto.JobMeta.TableList output_tables = 16;
* @return Whether the outputTables field is set.
*/
@java.lang.Override
public boolean hasOutputTables() {
return outputTables_ != null;
}
/**
* .cz.proto.JobMeta.TableList output_tables = 16;
* @return The outputTables.
*/
@java.lang.Override
public cz.proto.JobMeta.TableList getOutputTables() {
return outputTables_ == null ? cz.proto.JobMeta.TableList.getDefaultInstance() : outputTables_;
}
/**
* .cz.proto.JobMeta.TableList output_tables = 16;
*/
@java.lang.Override
public cz.proto.JobMeta.TableListOrBuilder getOutputTablesOrBuilder() {
return getOutputTables();
}
public static final int CONTENT_FIELD_NUMBER = 17;
private cz.proto.JobMeta.Content content_;
/**
* .cz.proto.JobMeta.Content content = 17;
* @return Whether the content field is set.
*/
@java.lang.Override
public boolean hasContent() {
return content_ != null;
}
/**
* .cz.proto.JobMeta.Content content = 17;
* @return The content.
*/
@java.lang.Override
public cz.proto.JobMeta.Content getContent() {
return content_ == null ? cz.proto.JobMeta.Content.getDefaultInstance() : content_;
}
/**
* .cz.proto.JobMeta.Content content = 17;
*/
@java.lang.Override
public cz.proto.JobMeta.ContentOrBuilder getContentOrBuilder() {
return getContent();
}
public static final int ERROR_CODE_FIELD_NUMBER = 18;
private volatile java.lang.Object errorCode_;
/**
* string error_code = 18;
* @return The errorCode.
*/
@java.lang.Override
public java.lang.String getErrorCode() {
java.lang.Object ref = errorCode_;
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();
errorCode_ = s;
return s;
}
}
/**
* string error_code = 18;
* @return The bytes for errorCode.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getErrorCodeBytes() {
java.lang.Object ref = errorCode_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
errorCode_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ERROR_MESSAGE_FIELD_NUMBER = 19;
private volatile java.lang.Object errorMessage_;
/**
* string error_message = 19;
* @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 {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
errorMessage_ = s;
return s;
}
}
/**
* string error_message = 19;
* @return The bytes for errorMessage.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getErrorMessageBytes() {
java.lang.Object ref = errorMessage_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
errorMessage_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PROFILING_FIELD_NUMBER = 20;
private cz.proto.JobProfiling profiling_;
/**
* .cz.proto.JobProfiling profiling = 20;
* @return Whether the profiling field is set.
*/
@java.lang.Override
public boolean hasProfiling() {
return profiling_ != null;
}
/**
* .cz.proto.JobProfiling profiling = 20;
* @return The profiling.
*/
@java.lang.Override
public cz.proto.JobProfiling getProfiling() {
return profiling_ == null ? cz.proto.JobProfiling.getDefaultInstance() : profiling_;
}
/**
* .cz.proto.JobProfiling profiling = 20;
*/
@java.lang.Override
public cz.proto.JobProfilingOrBuilder getProfilingOrBuilder() {
return getProfiling();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, jobName_);
}
if (virtualCluster_ != 0L) {
output.writeInt64(3, virtualCluster_);
}
if (status_ != cz.proto.JobStatus.SETUP.getNumber()) {
output.writeEnum(4, status_);
}
if (type_ != cz.proto.JobType.SQL_JOB.getNumber()) {
output.writeEnum(5, type_);
}
if (startTime_ != 0L) {
output.writeUInt64(6, startTime_);
}
if (endTime_ != 0L) {
output.writeUInt64(7, endTime_);
}
if (priority_ != 0) {
output.writeUInt32(9, priority_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(signature_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, signature_);
}
if (cost_ != null) {
output.writeMessage(11, getCost());
}
if (histories_ != null) {
output.writeMessage(12, getHistories());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(result_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 13, result_);
}
if (jobSummary_ != null) {
output.writeMessage(14, getJobSummary());
}
if (inputTables_ != null) {
output.writeMessage(15, getInputTables());
}
if (outputTables_ != null) {
output.writeMessage(16, getOutputTables());
}
if (content_ != null) {
output.writeMessage(17, getContent());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorCode_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 18, errorCode_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMessage_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 19, errorMessage_);
}
if (profiling_ != null) {
output.writeMessage(20, getProfiling());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, jobName_);
}
if (virtualCluster_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, virtualCluster_);
}
if (status_ != cz.proto.JobStatus.SETUP.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(4, status_);
}
if (type_ != cz.proto.JobType.SQL_JOB.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(5, type_);
}
if (startTime_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(6, startTime_);
}
if (endTime_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(7, endTime_);
}
if (priority_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(9, priority_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(signature_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, signature_);
}
if (cost_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, getCost());
}
if (histories_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, getHistories());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(result_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, result_);
}
if (jobSummary_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(14, getJobSummary());
}
if (inputTables_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, getInputTables());
}
if (outputTables_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(16, getOutputTables());
}
if (content_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(17, getContent());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorCode_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, errorCode_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMessage_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, errorMessage_);
}
if (profiling_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(20, getProfiling());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cz.proto.JobMeta)) {
return super.equals(obj);
}
cz.proto.JobMeta other = (cz.proto.JobMeta) obj;
if (!getJobName()
.equals(other.getJobName())) return false;
if (getVirtualCluster()
!= other.getVirtualCluster()) return false;
if (status_ != other.status_) return false;
if (type_ != other.type_) return false;
if (getStartTime()
!= other.getStartTime()) return false;
if (getEndTime()
!= other.getEndTime()) return false;
if (getPriority()
!= other.getPriority()) return false;
if (!getSignature()
.equals(other.getSignature())) return false;
if (hasCost() != other.hasCost()) return false;
if (hasCost()) {
if (!getCost()
.equals(other.getCost())) return false;
}
if (hasHistories() != other.hasHistories()) return false;
if (hasHistories()) {
if (!getHistories()
.equals(other.getHistories())) return false;
}
if (!getResult()
.equals(other.getResult())) return false;
if (hasJobSummary() != other.hasJobSummary()) return false;
if (hasJobSummary()) {
if (!getJobSummary()
.equals(other.getJobSummary())) return false;
}
if (hasInputTables() != other.hasInputTables()) return false;
if (hasInputTables()) {
if (!getInputTables()
.equals(other.getInputTables())) return false;
}
if (hasOutputTables() != other.hasOutputTables()) return false;
if (hasOutputTables()) {
if (!getOutputTables()
.equals(other.getOutputTables())) return false;
}
if (hasContent() != other.hasContent()) return false;
if (hasContent()) {
if (!getContent()
.equals(other.getContent())) return false;
}
if (!getErrorCode()
.equals(other.getErrorCode())) return false;
if (!getErrorMessage()
.equals(other.getErrorMessage())) return false;
if (hasProfiling() != other.hasProfiling()) return false;
if (hasProfiling()) {
if (!getProfiling()
.equals(other.getProfiling())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + JOB_NAME_FIELD_NUMBER;
hash = (53 * hash) + getJobName().hashCode();
hash = (37 * hash) + VIRTUAL_CLUSTER_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getVirtualCluster());
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + status_;
hash = (37 * hash) + TYPE_FIELD_NUMBER;
hash = (53 * hash) + type_;
hash = (37 * hash) + START_TIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getStartTime());
hash = (37 * hash) + END_TIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getEndTime());
hash = (37 * hash) + PRIORITY_FIELD_NUMBER;
hash = (53 * hash) + getPriority();
hash = (37 * hash) + SIGNATURE_FIELD_NUMBER;
hash = (53 * hash) + getSignature().hashCode();
if (hasCost()) {
hash = (37 * hash) + COST_FIELD_NUMBER;
hash = (53 * hash) + getCost().hashCode();
}
if (hasHistories()) {
hash = (37 * hash) + HISTORIES_FIELD_NUMBER;
hash = (53 * hash) + getHistories().hashCode();
}
hash = (37 * hash) + RESULT_FIELD_NUMBER;
hash = (53 * hash) + getResult().hashCode();
if (hasJobSummary()) {
hash = (37 * hash) + JOB_SUMMARY_FIELD_NUMBER;
hash = (53 * hash) + getJobSummary().hashCode();
}
if (hasInputTables()) {
hash = (37 * hash) + INPUT_TABLES_FIELD_NUMBER;
hash = (53 * hash) + getInputTables().hashCode();
}
if (hasOutputTables()) {
hash = (37 * hash) + OUTPUT_TABLES_FIELD_NUMBER;
hash = (53 * hash) + getOutputTables().hashCode();
}
if (hasContent()) {
hash = (37 * hash) + CONTENT_FIELD_NUMBER;
hash = (53 * hash) + getContent().hashCode();
}
hash = (37 * hash) + ERROR_CODE_FIELD_NUMBER;
hash = (53 * hash) + getErrorCode().hashCode();
hash = (37 * hash) + ERROR_MESSAGE_FIELD_NUMBER;
hash = (53 * hash) + getErrorMessage().hashCode();
if (hasProfiling()) {
hash = (37 * hash) + PROFILING_FIELD_NUMBER;
hash = (53 * hash) + getProfiling().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.JobMeta parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.JobMeta parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.JobMeta parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.JobMeta parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.JobMeta parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.JobMeta parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.JobMeta parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.JobMeta parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static cz.proto.JobMeta parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.JobMeta parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static cz.proto.JobMeta parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.JobMeta parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cz.proto.JobMeta prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code cz.proto.JobMeta}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.JobMeta)
cz.proto.JobMetaOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.JobMetaOuterClass.internal_static_cz_proto_JobMeta_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.JobMetaOuterClass.internal_static_cz_proto_JobMeta_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.JobMeta.class, cz.proto.JobMeta.Builder.class);
}
// Construct using cz.proto.JobMeta.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();
jobName_ = "";
virtualCluster_ = 0L;
status_ = 0;
type_ = 0;
startTime_ = 0L;
endTime_ = 0L;
priority_ = 0;
signature_ = "";
if (costBuilder_ == null) {
cost_ = null;
} else {
cost_ = null;
costBuilder_ = null;
}
if (historiesBuilder_ == null) {
histories_ = null;
} else {
histories_ = null;
historiesBuilder_ = null;
}
result_ = "";
if (jobSummaryBuilder_ == null) {
jobSummary_ = null;
} else {
jobSummary_ = null;
jobSummaryBuilder_ = null;
}
if (inputTablesBuilder_ == null) {
inputTables_ = null;
} else {
inputTables_ = null;
inputTablesBuilder_ = null;
}
if (outputTablesBuilder_ == null) {
outputTables_ = null;
} else {
outputTables_ = null;
outputTablesBuilder_ = null;
}
if (contentBuilder_ == null) {
content_ = null;
} else {
content_ = null;
contentBuilder_ = null;
}
errorCode_ = "";
errorMessage_ = "";
if (profilingBuilder_ == null) {
profiling_ = null;
} else {
profiling_ = null;
profilingBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.JobMetaOuterClass.internal_static_cz_proto_JobMeta_descriptor;
}
@java.lang.Override
public cz.proto.JobMeta getDefaultInstanceForType() {
return cz.proto.JobMeta.getDefaultInstance();
}
@java.lang.Override
public cz.proto.JobMeta build() {
cz.proto.JobMeta result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.JobMeta buildPartial() {
cz.proto.JobMeta result = new cz.proto.JobMeta(this);
result.jobName_ = jobName_;
result.virtualCluster_ = virtualCluster_;
result.status_ = status_;
result.type_ = type_;
result.startTime_ = startTime_;
result.endTime_ = endTime_;
result.priority_ = priority_;
result.signature_ = signature_;
if (costBuilder_ == null) {
result.cost_ = cost_;
} else {
result.cost_ = costBuilder_.build();
}
if (historiesBuilder_ == null) {
result.histories_ = histories_;
} else {
result.histories_ = historiesBuilder_.build();
}
result.result_ = result_;
if (jobSummaryBuilder_ == null) {
result.jobSummary_ = jobSummary_;
} else {
result.jobSummary_ = jobSummaryBuilder_.build();
}
if (inputTablesBuilder_ == null) {
result.inputTables_ = inputTables_;
} else {
result.inputTables_ = inputTablesBuilder_.build();
}
if (outputTablesBuilder_ == null) {
result.outputTables_ = outputTables_;
} else {
result.outputTables_ = outputTablesBuilder_.build();
}
if (contentBuilder_ == null) {
result.content_ = content_;
} else {
result.content_ = contentBuilder_.build();
}
result.errorCode_ = errorCode_;
result.errorMessage_ = errorMessage_;
if (profilingBuilder_ == null) {
result.profiling_ = profiling_;
} else {
result.profiling_ = profilingBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cz.proto.JobMeta) {
return mergeFrom((cz.proto.JobMeta)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.JobMeta other) {
if (other == cz.proto.JobMeta.getDefaultInstance()) return this;
if (!other.getJobName().isEmpty()) {
jobName_ = other.jobName_;
onChanged();
}
if (other.getVirtualCluster() != 0L) {
setVirtualCluster(other.getVirtualCluster());
}
if (other.status_ != 0) {
setStatusValue(other.getStatusValue());
}
if (other.type_ != 0) {
setTypeValue(other.getTypeValue());
}
if (other.getStartTime() != 0L) {
setStartTime(other.getStartTime());
}
if (other.getEndTime() != 0L) {
setEndTime(other.getEndTime());
}
if (other.getPriority() != 0) {
setPriority(other.getPriority());
}
if (!other.getSignature().isEmpty()) {
signature_ = other.signature_;
onChanged();
}
if (other.hasCost()) {
mergeCost(other.getCost());
}
if (other.hasHistories()) {
mergeHistories(other.getHistories());
}
if (!other.getResult().isEmpty()) {
result_ = other.result_;
onChanged();
}
if (other.hasJobSummary()) {
mergeJobSummary(other.getJobSummary());
}
if (other.hasInputTables()) {
mergeInputTables(other.getInputTables());
}
if (other.hasOutputTables()) {
mergeOutputTables(other.getOutputTables());
}
if (other.hasContent()) {
mergeContent(other.getContent());
}
if (!other.getErrorCode().isEmpty()) {
errorCode_ = other.errorCode_;
onChanged();
}
if (!other.getErrorMessage().isEmpty()) {
errorMessage_ = other.errorMessage_;
onChanged();
}
if (other.hasProfiling()) {
mergeProfiling(other.getProfiling());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cz.proto.JobMeta parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.JobMeta) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object jobName_ = "";
/**
* string job_name = 2;
* @return The jobName.
*/
public java.lang.String getJobName() {
java.lang.Object ref = jobName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
jobName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string job_name = 2;
* @return The bytes for jobName.
*/
public com.google.protobuf.ByteString
getJobNameBytes() {
java.lang.Object ref = jobName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
jobName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string job_name = 2;
* @param value The jobName to set.
* @return This builder for chaining.
*/
public Builder setJobName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
jobName_ = value;
onChanged();
return this;
}
/**
* string job_name = 2;
* @return This builder for chaining.
*/
public Builder clearJobName() {
jobName_ = getDefaultInstance().getJobName();
onChanged();
return this;
}
/**
* string job_name = 2;
* @param value The bytes for jobName to set.
* @return This builder for chaining.
*/
public Builder setJobNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
jobName_ = value;
onChanged();
return this;
}
private long virtualCluster_ ;
/**
* int64 virtual_cluster = 3;
* @return The virtualCluster.
*/
@java.lang.Override
public long getVirtualCluster() {
return virtualCluster_;
}
/**
* int64 virtual_cluster = 3;
* @param value The virtualCluster to set.
* @return This builder for chaining.
*/
public Builder setVirtualCluster(long value) {
virtualCluster_ = value;
onChanged();
return this;
}
/**
* int64 virtual_cluster = 3;
* @return This builder for chaining.
*/
public Builder clearVirtualCluster() {
virtualCluster_ = 0L;
onChanged();
return this;
}
private int status_ = 0;
/**
* .cz.proto.JobStatus status = 4;
* @return The enum numeric value on the wire for status.
*/
@java.lang.Override public int getStatusValue() {
return status_;
}
/**
* .cz.proto.JobStatus status = 4;
* @param value The enum numeric value on the wire for status to set.
* @return This builder for chaining.
*/
public Builder setStatusValue(int value) {
status_ = value;
onChanged();
return this;
}
/**
* .cz.proto.JobStatus status = 4;
* @return The status.
*/
@java.lang.Override
public cz.proto.JobStatus getStatus() {
@SuppressWarnings("deprecation")
cz.proto.JobStatus result = cz.proto.JobStatus.valueOf(status_);
return result == null ? cz.proto.JobStatus.UNRECOGNIZED : result;
}
/**
* .cz.proto.JobStatus status = 4;
* @param value The status to set.
* @return This builder for chaining.
*/
public Builder setStatus(cz.proto.JobStatus value) {
if (value == null) {
throw new NullPointerException();
}
status_ = value.getNumber();
onChanged();
return this;
}
/**
* .cz.proto.JobStatus status = 4;
* @return This builder for chaining.
*/
public Builder clearStatus() {
status_ = 0;
onChanged();
return this;
}
private int type_ = 0;
/**
* .cz.proto.JobType type = 5;
* @return The enum numeric value on the wire for type.
*/
@java.lang.Override public int getTypeValue() {
return type_;
}
/**
* .cz.proto.JobType type = 5;
* @param value The enum numeric value on the wire for type to set.
* @return This builder for chaining.
*/
public Builder setTypeValue(int value) {
type_ = value;
onChanged();
return this;
}
/**
* .cz.proto.JobType type = 5;
* @return The type.
*/
@java.lang.Override
public cz.proto.JobType getType() {
@SuppressWarnings("deprecation")
cz.proto.JobType result = cz.proto.JobType.valueOf(type_);
return result == null ? cz.proto.JobType.UNRECOGNIZED : result;
}
/**
* .cz.proto.JobType type = 5;
* @param value The type to set.
* @return This builder for chaining.
*/
public Builder setType(cz.proto.JobType value) {
if (value == null) {
throw new NullPointerException();
}
type_ = value.getNumber();
onChanged();
return this;
}
/**
* .cz.proto.JobType type = 5;
* @return This builder for chaining.
*/
public Builder clearType() {
type_ = 0;
onChanged();
return this;
}
private long startTime_ ;
/**
* uint64 start_time = 6;
* @return The startTime.
*/
@java.lang.Override
public long getStartTime() {
return startTime_;
}
/**
* uint64 start_time = 6;
* @param value The startTime to set.
* @return This builder for chaining.
*/
public Builder setStartTime(long value) {
startTime_ = value;
onChanged();
return this;
}
/**
* uint64 start_time = 6;
* @return This builder for chaining.
*/
public Builder clearStartTime() {
startTime_ = 0L;
onChanged();
return this;
}
private long endTime_ ;
/**
* uint64 end_time = 7;
* @return The endTime.
*/
@java.lang.Override
public long getEndTime() {
return endTime_;
}
/**
* uint64 end_time = 7;
* @param value The endTime to set.
* @return This builder for chaining.
*/
public Builder setEndTime(long value) {
endTime_ = value;
onChanged();
return this;
}
/**
* uint64 end_time = 7;
* @return This builder for chaining.
*/
public Builder clearEndTime() {
endTime_ = 0L;
onChanged();
return this;
}
private int priority_ ;
/**
* uint32 priority = 9;
* @return The priority.
*/
@java.lang.Override
public int getPriority() {
return priority_;
}
/**
* uint32 priority = 9;
* @param value The priority to set.
* @return This builder for chaining.
*/
public Builder setPriority(int value) {
priority_ = value;
onChanged();
return this;
}
/**
* uint32 priority = 9;
* @return This builder for chaining.
*/
public Builder clearPriority() {
priority_ = 0;
onChanged();
return this;
}
private java.lang.Object signature_ = "";
/**
* string signature = 10;
* @return The signature.
*/
public java.lang.String getSignature() {
java.lang.Object ref = signature_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
signature_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string signature = 10;
* @return The bytes for signature.
*/
public com.google.protobuf.ByteString
getSignatureBytes() {
java.lang.Object ref = signature_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
signature_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string signature = 10;
* @param value The signature to set.
* @return This builder for chaining.
*/
public Builder setSignature(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
signature_ = value;
onChanged();
return this;
}
/**
* string signature = 10;
* @return This builder for chaining.
*/
public Builder clearSignature() {
signature_ = getDefaultInstance().getSignature();
onChanged();
return this;
}
/**
* string signature = 10;
* @param value The bytes for signature to set.
* @return This builder for chaining.
*/
public Builder setSignatureBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
signature_ = value;
onChanged();
return this;
}
private cz.proto.JobCost cost_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.JobCost, cz.proto.JobCost.Builder, cz.proto.JobCostOrBuilder> costBuilder_;
/**
* .cz.proto.JobCost cost = 11;
* @return Whether the cost field is set.
*/
public boolean hasCost() {
return costBuilder_ != null || cost_ != null;
}
/**
* .cz.proto.JobCost cost = 11;
* @return The cost.
*/
public cz.proto.JobCost getCost() {
if (costBuilder_ == null) {
return cost_ == null ? cz.proto.JobCost.getDefaultInstance() : cost_;
} else {
return costBuilder_.getMessage();
}
}
/**
* .cz.proto.JobCost cost = 11;
*/
public Builder setCost(cz.proto.JobCost value) {
if (costBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
cost_ = value;
onChanged();
} else {
costBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.JobCost cost = 11;
*/
public Builder setCost(
cz.proto.JobCost.Builder builderForValue) {
if (costBuilder_ == null) {
cost_ = builderForValue.build();
onChanged();
} else {
costBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.JobCost cost = 11;
*/
public Builder mergeCost(cz.proto.JobCost value) {
if (costBuilder_ == null) {
if (cost_ != null) {
cost_ =
cz.proto.JobCost.newBuilder(cost_).mergeFrom(value).buildPartial();
} else {
cost_ = value;
}
onChanged();
} else {
costBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.JobCost cost = 11;
*/
public Builder clearCost() {
if (costBuilder_ == null) {
cost_ = null;
onChanged();
} else {
cost_ = null;
costBuilder_ = null;
}
return this;
}
/**
* .cz.proto.JobCost cost = 11;
*/
public cz.proto.JobCost.Builder getCostBuilder() {
onChanged();
return getCostFieldBuilder().getBuilder();
}
/**
* .cz.proto.JobCost cost = 11;
*/
public cz.proto.JobCostOrBuilder getCostOrBuilder() {
if (costBuilder_ != null) {
return costBuilder_.getMessageOrBuilder();
} else {
return cost_ == null ?
cz.proto.JobCost.getDefaultInstance() : cost_;
}
}
/**
* .cz.proto.JobCost cost = 11;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.JobCost, cz.proto.JobCost.Builder, cz.proto.JobCostOrBuilder>
getCostFieldBuilder() {
if (costBuilder_ == null) {
costBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.JobCost, cz.proto.JobCost.Builder, cz.proto.JobCostOrBuilder>(
getCost(),
getParentForChildren(),
isClean());
cost_ = null;
}
return costBuilder_;
}
private cz.proto.JobMeta.HistoryList histories_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.JobMeta.HistoryList, cz.proto.JobMeta.HistoryList.Builder, cz.proto.JobMeta.HistoryListOrBuilder> historiesBuilder_;
/**
* .cz.proto.JobMeta.HistoryList histories = 12;
* @return Whether the histories field is set.
*/
public boolean hasHistories() {
return historiesBuilder_ != null || histories_ != null;
}
/**
* .cz.proto.JobMeta.HistoryList histories = 12;
* @return The histories.
*/
public cz.proto.JobMeta.HistoryList getHistories() {
if (historiesBuilder_ == null) {
return histories_ == null ? cz.proto.JobMeta.HistoryList.getDefaultInstance() : histories_;
} else {
return historiesBuilder_.getMessage();
}
}
/**
* .cz.proto.JobMeta.HistoryList histories = 12;
*/
public Builder setHistories(cz.proto.JobMeta.HistoryList value) {
if (historiesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
histories_ = value;
onChanged();
} else {
historiesBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.JobMeta.HistoryList histories = 12;
*/
public Builder setHistories(
cz.proto.JobMeta.HistoryList.Builder builderForValue) {
if (historiesBuilder_ == null) {
histories_ = builderForValue.build();
onChanged();
} else {
historiesBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.JobMeta.HistoryList histories = 12;
*/
public Builder mergeHistories(cz.proto.JobMeta.HistoryList value) {
if (historiesBuilder_ == null) {
if (histories_ != null) {
histories_ =
cz.proto.JobMeta.HistoryList.newBuilder(histories_).mergeFrom(value).buildPartial();
} else {
histories_ = value;
}
onChanged();
} else {
historiesBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.JobMeta.HistoryList histories = 12;
*/
public Builder clearHistories() {
if (historiesBuilder_ == null) {
histories_ = null;
onChanged();
} else {
histories_ = null;
historiesBuilder_ = null;
}
return this;
}
/**
* .cz.proto.JobMeta.HistoryList histories = 12;
*/
public cz.proto.JobMeta.HistoryList.Builder getHistoriesBuilder() {
onChanged();
return getHistoriesFieldBuilder().getBuilder();
}
/**
* .cz.proto.JobMeta.HistoryList histories = 12;
*/
public cz.proto.JobMeta.HistoryListOrBuilder getHistoriesOrBuilder() {
if (historiesBuilder_ != null) {
return historiesBuilder_.getMessageOrBuilder();
} else {
return histories_ == null ?
cz.proto.JobMeta.HistoryList.getDefaultInstance() : histories_;
}
}
/**
* .cz.proto.JobMeta.HistoryList histories = 12;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.JobMeta.HistoryList, cz.proto.JobMeta.HistoryList.Builder, cz.proto.JobMeta.HistoryListOrBuilder>
getHistoriesFieldBuilder() {
if (historiesBuilder_ == null) {
historiesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.JobMeta.HistoryList, cz.proto.JobMeta.HistoryList.Builder, cz.proto.JobMeta.HistoryListOrBuilder>(
getHistories(),
getParentForChildren(),
isClean());
histories_ = null;
}
return historiesBuilder_;
}
private java.lang.Object result_ = "";
/**
* string result = 13;
* @return The result.
*/
public java.lang.String getResult() {
java.lang.Object ref = result_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
result_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string result = 13;
* @return The bytes for result.
*/
public com.google.protobuf.ByteString
getResultBytes() {
java.lang.Object ref = result_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
result_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string result = 13;
* @param value The result to set.
* @return This builder for chaining.
*/
public Builder setResult(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
result_ = value;
onChanged();
return this;
}
/**
* string result = 13;
* @return This builder for chaining.
*/
public Builder clearResult() {
result_ = getDefaultInstance().getResult();
onChanged();
return this;
}
/**
* string result = 13;
* @param value The bytes for result to set.
* @return This builder for chaining.
*/
public Builder setResultBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
result_ = value;
onChanged();
return this;
}
private cz.proto.JobSummaryLocation jobSummary_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.JobSummaryLocation, cz.proto.JobSummaryLocation.Builder, cz.proto.JobSummaryLocationOrBuilder> jobSummaryBuilder_;
/**
* .cz.proto.JobSummaryLocation job_summary = 14;
* @return Whether the jobSummary field is set.
*/
public boolean hasJobSummary() {
return jobSummaryBuilder_ != null || jobSummary_ != null;
}
/**
* .cz.proto.JobSummaryLocation job_summary = 14;
* @return The jobSummary.
*/
public cz.proto.JobSummaryLocation getJobSummary() {
if (jobSummaryBuilder_ == null) {
return jobSummary_ == null ? cz.proto.JobSummaryLocation.getDefaultInstance() : jobSummary_;
} else {
return jobSummaryBuilder_.getMessage();
}
}
/**
* .cz.proto.JobSummaryLocation job_summary = 14;
*/
public Builder setJobSummary(cz.proto.JobSummaryLocation value) {
if (jobSummaryBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
jobSummary_ = value;
onChanged();
} else {
jobSummaryBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.JobSummaryLocation job_summary = 14;
*/
public Builder setJobSummary(
cz.proto.JobSummaryLocation.Builder builderForValue) {
if (jobSummaryBuilder_ == null) {
jobSummary_ = builderForValue.build();
onChanged();
} else {
jobSummaryBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.JobSummaryLocation job_summary = 14;
*/
public Builder mergeJobSummary(cz.proto.JobSummaryLocation value) {
if (jobSummaryBuilder_ == null) {
if (jobSummary_ != null) {
jobSummary_ =
cz.proto.JobSummaryLocation.newBuilder(jobSummary_).mergeFrom(value).buildPartial();
} else {
jobSummary_ = value;
}
onChanged();
} else {
jobSummaryBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.JobSummaryLocation job_summary = 14;
*/
public Builder clearJobSummary() {
if (jobSummaryBuilder_ == null) {
jobSummary_ = null;
onChanged();
} else {
jobSummary_ = null;
jobSummaryBuilder_ = null;
}
return this;
}
/**
* .cz.proto.JobSummaryLocation job_summary = 14;
*/
public cz.proto.JobSummaryLocation.Builder getJobSummaryBuilder() {
onChanged();
return getJobSummaryFieldBuilder().getBuilder();
}
/**
* .cz.proto.JobSummaryLocation job_summary = 14;
*/
public cz.proto.JobSummaryLocationOrBuilder getJobSummaryOrBuilder() {
if (jobSummaryBuilder_ != null) {
return jobSummaryBuilder_.getMessageOrBuilder();
} else {
return jobSummary_ == null ?
cz.proto.JobSummaryLocation.getDefaultInstance() : jobSummary_;
}
}
/**
* .cz.proto.JobSummaryLocation job_summary = 14;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.JobSummaryLocation, cz.proto.JobSummaryLocation.Builder, cz.proto.JobSummaryLocationOrBuilder>
getJobSummaryFieldBuilder() {
if (jobSummaryBuilder_ == null) {
jobSummaryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.JobSummaryLocation, cz.proto.JobSummaryLocation.Builder, cz.proto.JobSummaryLocationOrBuilder>(
getJobSummary(),
getParentForChildren(),
isClean());
jobSummary_ = null;
}
return jobSummaryBuilder_;
}
private cz.proto.JobMeta.TableList inputTables_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.JobMeta.TableList, cz.proto.JobMeta.TableList.Builder, cz.proto.JobMeta.TableListOrBuilder> inputTablesBuilder_;
/**
* .cz.proto.JobMeta.TableList input_tables = 15;
* @return Whether the inputTables field is set.
*/
public boolean hasInputTables() {
return inputTablesBuilder_ != null || inputTables_ != null;
}
/**
* .cz.proto.JobMeta.TableList input_tables = 15;
* @return The inputTables.
*/
public cz.proto.JobMeta.TableList getInputTables() {
if (inputTablesBuilder_ == null) {
return inputTables_ == null ? cz.proto.JobMeta.TableList.getDefaultInstance() : inputTables_;
} else {
return inputTablesBuilder_.getMessage();
}
}
/**
* .cz.proto.JobMeta.TableList input_tables = 15;
*/
public Builder setInputTables(cz.proto.JobMeta.TableList value) {
if (inputTablesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
inputTables_ = value;
onChanged();
} else {
inputTablesBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.JobMeta.TableList input_tables = 15;
*/
public Builder setInputTables(
cz.proto.JobMeta.TableList.Builder builderForValue) {
if (inputTablesBuilder_ == null) {
inputTables_ = builderForValue.build();
onChanged();
} else {
inputTablesBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.JobMeta.TableList input_tables = 15;
*/
public Builder mergeInputTables(cz.proto.JobMeta.TableList value) {
if (inputTablesBuilder_ == null) {
if (inputTables_ != null) {
inputTables_ =
cz.proto.JobMeta.TableList.newBuilder(inputTables_).mergeFrom(value).buildPartial();
} else {
inputTables_ = value;
}
onChanged();
} else {
inputTablesBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.JobMeta.TableList input_tables = 15;
*/
public Builder clearInputTables() {
if (inputTablesBuilder_ == null) {
inputTables_ = null;
onChanged();
} else {
inputTables_ = null;
inputTablesBuilder_ = null;
}
return this;
}
/**
* .cz.proto.JobMeta.TableList input_tables = 15;
*/
public cz.proto.JobMeta.TableList.Builder getInputTablesBuilder() {
onChanged();
return getInputTablesFieldBuilder().getBuilder();
}
/**
* .cz.proto.JobMeta.TableList input_tables = 15;
*/
public cz.proto.JobMeta.TableListOrBuilder getInputTablesOrBuilder() {
if (inputTablesBuilder_ != null) {
return inputTablesBuilder_.getMessageOrBuilder();
} else {
return inputTables_ == null ?
cz.proto.JobMeta.TableList.getDefaultInstance() : inputTables_;
}
}
/**
* .cz.proto.JobMeta.TableList input_tables = 15;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.JobMeta.TableList, cz.proto.JobMeta.TableList.Builder, cz.proto.JobMeta.TableListOrBuilder>
getInputTablesFieldBuilder() {
if (inputTablesBuilder_ == null) {
inputTablesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.JobMeta.TableList, cz.proto.JobMeta.TableList.Builder, cz.proto.JobMeta.TableListOrBuilder>(
getInputTables(),
getParentForChildren(),
isClean());
inputTables_ = null;
}
return inputTablesBuilder_;
}
private cz.proto.JobMeta.TableList outputTables_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.JobMeta.TableList, cz.proto.JobMeta.TableList.Builder, cz.proto.JobMeta.TableListOrBuilder> outputTablesBuilder_;
/**
* .cz.proto.JobMeta.TableList output_tables = 16;
* @return Whether the outputTables field is set.
*/
public boolean hasOutputTables() {
return outputTablesBuilder_ != null || outputTables_ != null;
}
/**
* .cz.proto.JobMeta.TableList output_tables = 16;
* @return The outputTables.
*/
public cz.proto.JobMeta.TableList getOutputTables() {
if (outputTablesBuilder_ == null) {
return outputTables_ == null ? cz.proto.JobMeta.TableList.getDefaultInstance() : outputTables_;
} else {
return outputTablesBuilder_.getMessage();
}
}
/**
* .cz.proto.JobMeta.TableList output_tables = 16;
*/
public Builder setOutputTables(cz.proto.JobMeta.TableList value) {
if (outputTablesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
outputTables_ = value;
onChanged();
} else {
outputTablesBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.JobMeta.TableList output_tables = 16;
*/
public Builder setOutputTables(
cz.proto.JobMeta.TableList.Builder builderForValue) {
if (outputTablesBuilder_ == null) {
outputTables_ = builderForValue.build();
onChanged();
} else {
outputTablesBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.JobMeta.TableList output_tables = 16;
*/
public Builder mergeOutputTables(cz.proto.JobMeta.TableList value) {
if (outputTablesBuilder_ == null) {
if (outputTables_ != null) {
outputTables_ =
cz.proto.JobMeta.TableList.newBuilder(outputTables_).mergeFrom(value).buildPartial();
} else {
outputTables_ = value;
}
onChanged();
} else {
outputTablesBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.JobMeta.TableList output_tables = 16;
*/
public Builder clearOutputTables() {
if (outputTablesBuilder_ == null) {
outputTables_ = null;
onChanged();
} else {
outputTables_ = null;
outputTablesBuilder_ = null;
}
return this;
}
/**
* .cz.proto.JobMeta.TableList output_tables = 16;
*/
public cz.proto.JobMeta.TableList.Builder getOutputTablesBuilder() {
onChanged();
return getOutputTablesFieldBuilder().getBuilder();
}
/**
* .cz.proto.JobMeta.TableList output_tables = 16;
*/
public cz.proto.JobMeta.TableListOrBuilder getOutputTablesOrBuilder() {
if (outputTablesBuilder_ != null) {
return outputTablesBuilder_.getMessageOrBuilder();
} else {
return outputTables_ == null ?
cz.proto.JobMeta.TableList.getDefaultInstance() : outputTables_;
}
}
/**
* .cz.proto.JobMeta.TableList output_tables = 16;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.JobMeta.TableList, cz.proto.JobMeta.TableList.Builder, cz.proto.JobMeta.TableListOrBuilder>
getOutputTablesFieldBuilder() {
if (outputTablesBuilder_ == null) {
outputTablesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.JobMeta.TableList, cz.proto.JobMeta.TableList.Builder, cz.proto.JobMeta.TableListOrBuilder>(
getOutputTables(),
getParentForChildren(),
isClean());
outputTables_ = null;
}
return outputTablesBuilder_;
}
private cz.proto.JobMeta.Content content_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.JobMeta.Content, cz.proto.JobMeta.Content.Builder, cz.proto.JobMeta.ContentOrBuilder> contentBuilder_;
/**
* .cz.proto.JobMeta.Content content = 17;
* @return Whether the content field is set.
*/
public boolean hasContent() {
return contentBuilder_ != null || content_ != null;
}
/**
* .cz.proto.JobMeta.Content content = 17;
* @return The content.
*/
public cz.proto.JobMeta.Content getContent() {
if (contentBuilder_ == null) {
return content_ == null ? cz.proto.JobMeta.Content.getDefaultInstance() : content_;
} else {
return contentBuilder_.getMessage();
}
}
/**
* .cz.proto.JobMeta.Content content = 17;
*/
public Builder setContent(cz.proto.JobMeta.Content value) {
if (contentBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
content_ = value;
onChanged();
} else {
contentBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.JobMeta.Content content = 17;
*/
public Builder setContent(
cz.proto.JobMeta.Content.Builder builderForValue) {
if (contentBuilder_ == null) {
content_ = builderForValue.build();
onChanged();
} else {
contentBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.JobMeta.Content content = 17;
*/
public Builder mergeContent(cz.proto.JobMeta.Content value) {
if (contentBuilder_ == null) {
if (content_ != null) {
content_ =
cz.proto.JobMeta.Content.newBuilder(content_).mergeFrom(value).buildPartial();
} else {
content_ = value;
}
onChanged();
} else {
contentBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.JobMeta.Content content = 17;
*/
public Builder clearContent() {
if (contentBuilder_ == null) {
content_ = null;
onChanged();
} else {
content_ = null;
contentBuilder_ = null;
}
return this;
}
/**
* .cz.proto.JobMeta.Content content = 17;
*/
public cz.proto.JobMeta.Content.Builder getContentBuilder() {
onChanged();
return getContentFieldBuilder().getBuilder();
}
/**
* .cz.proto.JobMeta.Content content = 17;
*/
public cz.proto.JobMeta.ContentOrBuilder getContentOrBuilder() {
if (contentBuilder_ != null) {
return contentBuilder_.getMessageOrBuilder();
} else {
return content_ == null ?
cz.proto.JobMeta.Content.getDefaultInstance() : content_;
}
}
/**
* .cz.proto.JobMeta.Content content = 17;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.JobMeta.Content, cz.proto.JobMeta.Content.Builder, cz.proto.JobMeta.ContentOrBuilder>
getContentFieldBuilder() {
if (contentBuilder_ == null) {
contentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.JobMeta.Content, cz.proto.JobMeta.Content.Builder, cz.proto.JobMeta.ContentOrBuilder>(
getContent(),
getParentForChildren(),
isClean());
content_ = null;
}
return contentBuilder_;
}
private java.lang.Object errorCode_ = "";
/**
* string error_code = 18;
* @return The errorCode.
*/
public java.lang.String getErrorCode() {
java.lang.Object ref = errorCode_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
errorCode_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string error_code = 18;
* @return The bytes for errorCode.
*/
public com.google.protobuf.ByteString
getErrorCodeBytes() {
java.lang.Object ref = errorCode_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
errorCode_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string error_code = 18;
* @param value The errorCode to set.
* @return This builder for chaining.
*/
public Builder setErrorCode(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
errorCode_ = value;
onChanged();
return this;
}
/**
* string error_code = 18;
* @return This builder for chaining.
*/
public Builder clearErrorCode() {
errorCode_ = getDefaultInstance().getErrorCode();
onChanged();
return this;
}
/**
* string error_code = 18;
* @param value The bytes for errorCode to set.
* @return This builder for chaining.
*/
public Builder setErrorCodeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
errorCode_ = value;
onChanged();
return this;
}
private java.lang.Object errorMessage_ = "";
/**
* string error_message = 19;
* @return The errorMessage.
*/
public java.lang.String getErrorMessage() {
java.lang.Object ref = errorMessage_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
errorMessage_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string error_message = 19;
* @return The bytes for errorMessage.
*/
public com.google.protobuf.ByteString
getErrorMessageBytes() {
java.lang.Object ref = errorMessage_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
errorMessage_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string error_message = 19;
* @param value The errorMessage to set.
* @return This builder for chaining.
*/
public Builder setErrorMessage(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
errorMessage_ = value;
onChanged();
return this;
}
/**
* string error_message = 19;
* @return This builder for chaining.
*/
public Builder clearErrorMessage() {
errorMessage_ = getDefaultInstance().getErrorMessage();
onChanged();
return this;
}
/**
* string error_message = 19;
* @param value The bytes for errorMessage to set.
* @return This builder for chaining.
*/
public Builder setErrorMessageBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
errorMessage_ = value;
onChanged();
return this;
}
private cz.proto.JobProfiling profiling_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.JobProfiling, cz.proto.JobProfiling.Builder, cz.proto.JobProfilingOrBuilder> profilingBuilder_;
/**
* .cz.proto.JobProfiling profiling = 20;
* @return Whether the profiling field is set.
*/
public boolean hasProfiling() {
return profilingBuilder_ != null || profiling_ != null;
}
/**
* .cz.proto.JobProfiling profiling = 20;
* @return The profiling.
*/
public cz.proto.JobProfiling getProfiling() {
if (profilingBuilder_ == null) {
return profiling_ == null ? cz.proto.JobProfiling.getDefaultInstance() : profiling_;
} else {
return profilingBuilder_.getMessage();
}
}
/**
* .cz.proto.JobProfiling profiling = 20;
*/
public Builder setProfiling(cz.proto.JobProfiling value) {
if (profilingBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
profiling_ = value;
onChanged();
} else {
profilingBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.JobProfiling profiling = 20;
*/
public Builder setProfiling(
cz.proto.JobProfiling.Builder builderForValue) {
if (profilingBuilder_ == null) {
profiling_ = builderForValue.build();
onChanged();
} else {
profilingBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.JobProfiling profiling = 20;
*/
public Builder mergeProfiling(cz.proto.JobProfiling value) {
if (profilingBuilder_ == null) {
if (profiling_ != null) {
profiling_ =
cz.proto.JobProfiling.newBuilder(profiling_).mergeFrom(value).buildPartial();
} else {
profiling_ = value;
}
onChanged();
} else {
profilingBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.JobProfiling profiling = 20;
*/
public Builder clearProfiling() {
if (profilingBuilder_ == null) {
profiling_ = null;
onChanged();
} else {
profiling_ = null;
profilingBuilder_ = null;
}
return this;
}
/**
* .cz.proto.JobProfiling profiling = 20;
*/
public cz.proto.JobProfiling.Builder getProfilingBuilder() {
onChanged();
return getProfilingFieldBuilder().getBuilder();
}
/**
* .cz.proto.JobProfiling profiling = 20;
*/
public cz.proto.JobProfilingOrBuilder getProfilingOrBuilder() {
if (profilingBuilder_ != null) {
return profilingBuilder_.getMessageOrBuilder();
} else {
return profiling_ == null ?
cz.proto.JobProfiling.getDefaultInstance() : profiling_;
}
}
/**
* .cz.proto.JobProfiling profiling = 20;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.JobProfiling, cz.proto.JobProfiling.Builder, cz.proto.JobProfilingOrBuilder>
getProfilingFieldBuilder() {
if (profilingBuilder_ == null) {
profilingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.JobProfiling, cz.proto.JobProfiling.Builder, cz.proto.JobProfilingOrBuilder>(
getProfiling(),
getParentForChildren(),
isClean());
profiling_ = null;
}
return profilingBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:cz.proto.JobMeta)
}
// @@protoc_insertion_point(class_scope:cz.proto.JobMeta)
private static final cz.proto.JobMeta DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.JobMeta();
}
public static cz.proto.JobMeta getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public JobMeta parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new JobMeta(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cz.proto.JobMeta getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy