cz.proto.MVExtension 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: table_common.proto
package cz.proto;
/**
* Protobuf type {@code cz.proto.MVExtension}
*/
public final class MVExtension extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.MVExtension)
MVExtensionOrBuilder {
private static final long serialVersionUID = 0L;
// Use MVExtension.newBuilder() to construct.
private MVExtension(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MVExtension() {
mvPlan_ = "";
mvSourceTables_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new MVExtension();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MVExtension(
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();
mvPlan_ = s;
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
mvSourceTables_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
mvSourceTables_.add(
input.readMessage(cz.proto.MVSource.parser(), extensionRegistry));
break;
}
case 26: {
cz.proto.RefreshOption.Builder subBuilder = null;
if (refreshOption_ != null) {
subBuilder = refreshOption_.toBuilder();
}
refreshOption_ = input.readMessage(cz.proto.RefreshOption.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(refreshOption_);
refreshOption_ = subBuilder.buildPartial();
}
break;
}
case 32: {
bitField0_ |= 0x00000001;
mvSnapshotId_ = input.readInt64();
break;
}
case 42: {
cz.proto.IncrementalExtension.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) != 0)) {
subBuilder = incrementalExtension_.toBuilder();
}
incrementalExtension_ = input.readMessage(cz.proto.IncrementalExtension.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(incrementalExtension_);
incrementalExtension_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000002;
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)) {
mvSourceTables_ = java.util.Collections.unmodifiableList(mvSourceTables_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.TableCommon.internal_static_cz_proto_MVExtension_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.TableCommon.internal_static_cz_proto_MVExtension_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.MVExtension.class, cz.proto.MVExtension.Builder.class);
}
private int bitField0_;
public static final int MV_PLAN_FIELD_NUMBER = 1;
private volatile java.lang.Object mvPlan_;
/**
* string mv_plan = 1;
* @return The mvPlan.
*/
@java.lang.Override
public java.lang.String getMvPlan() {
java.lang.Object ref = mvPlan_;
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();
mvPlan_ = s;
return s;
}
}
/**
* string mv_plan = 1;
* @return The bytes for mvPlan.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMvPlanBytes() {
java.lang.Object ref = mvPlan_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
mvPlan_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MV_SOURCE_TABLES_FIELD_NUMBER = 2;
private java.util.List mvSourceTables_;
/**
* repeated .cz.proto.MVSource mv_source_tables = 2;
*/
@java.lang.Override
public java.util.List getMvSourceTablesList() {
return mvSourceTables_;
}
/**
* repeated .cz.proto.MVSource mv_source_tables = 2;
*/
@java.lang.Override
public java.util.List extends cz.proto.MVSourceOrBuilder>
getMvSourceTablesOrBuilderList() {
return mvSourceTables_;
}
/**
* repeated .cz.proto.MVSource mv_source_tables = 2;
*/
@java.lang.Override
public int getMvSourceTablesCount() {
return mvSourceTables_.size();
}
/**
* repeated .cz.proto.MVSource mv_source_tables = 2;
*/
@java.lang.Override
public cz.proto.MVSource getMvSourceTables(int index) {
return mvSourceTables_.get(index);
}
/**
* repeated .cz.proto.MVSource mv_source_tables = 2;
*/
@java.lang.Override
public cz.proto.MVSourceOrBuilder getMvSourceTablesOrBuilder(
int index) {
return mvSourceTables_.get(index);
}
public static final int REFRESH_OPTION_FIELD_NUMBER = 3;
private cz.proto.RefreshOption refreshOption_;
/**
* .cz.proto.RefreshOption refresh_option = 3;
* @return Whether the refreshOption field is set.
*/
@java.lang.Override
public boolean hasRefreshOption() {
return refreshOption_ != null;
}
/**
* .cz.proto.RefreshOption refresh_option = 3;
* @return The refreshOption.
*/
@java.lang.Override
public cz.proto.RefreshOption getRefreshOption() {
return refreshOption_ == null ? cz.proto.RefreshOption.getDefaultInstance() : refreshOption_;
}
/**
* .cz.proto.RefreshOption refresh_option = 3;
*/
@java.lang.Override
public cz.proto.RefreshOptionOrBuilder getRefreshOptionOrBuilder() {
return getRefreshOption();
}
public static final int MV_SNAPSHOT_ID_FIELD_NUMBER = 4;
private long mvSnapshotId_;
/**
* optional int64 mv_snapshot_id = 4;
* @return Whether the mvSnapshotId field is set.
*/
@java.lang.Override
public boolean hasMvSnapshotId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 mv_snapshot_id = 4;
* @return The mvSnapshotId.
*/
@java.lang.Override
public long getMvSnapshotId() {
return mvSnapshotId_;
}
public static final int INCREMENTAL_EXTENSION_FIELD_NUMBER = 5;
private cz.proto.IncrementalExtension incrementalExtension_;
/**
* optional .cz.proto.IncrementalExtension incremental_extension = 5;
* @return Whether the incrementalExtension field is set.
*/
@java.lang.Override
public boolean hasIncrementalExtension() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .cz.proto.IncrementalExtension incremental_extension = 5;
* @return The incrementalExtension.
*/
@java.lang.Override
public cz.proto.IncrementalExtension getIncrementalExtension() {
return incrementalExtension_ == null ? cz.proto.IncrementalExtension.getDefaultInstance() : incrementalExtension_;
}
/**
* optional .cz.proto.IncrementalExtension incremental_extension = 5;
*/
@java.lang.Override
public cz.proto.IncrementalExtensionOrBuilder getIncrementalExtensionOrBuilder() {
return incrementalExtension_ == null ? cz.proto.IncrementalExtension.getDefaultInstance() : incrementalExtension_;
}
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(mvPlan_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, mvPlan_);
}
for (int i = 0; i < mvSourceTables_.size(); i++) {
output.writeMessage(2, mvSourceTables_.get(i));
}
if (refreshOption_ != null) {
output.writeMessage(3, getRefreshOption());
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(4, mvSnapshotId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(5, getIncrementalExtension());
}
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(mvPlan_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, mvPlan_);
}
for (int i = 0; i < mvSourceTables_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, mvSourceTables_.get(i));
}
if (refreshOption_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getRefreshOption());
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, mvSnapshotId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getIncrementalExtension());
}
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.MVExtension)) {
return super.equals(obj);
}
cz.proto.MVExtension other = (cz.proto.MVExtension) obj;
if (!getMvPlan()
.equals(other.getMvPlan())) return false;
if (!getMvSourceTablesList()
.equals(other.getMvSourceTablesList())) return false;
if (hasRefreshOption() != other.hasRefreshOption()) return false;
if (hasRefreshOption()) {
if (!getRefreshOption()
.equals(other.getRefreshOption())) return false;
}
if (hasMvSnapshotId() != other.hasMvSnapshotId()) return false;
if (hasMvSnapshotId()) {
if (getMvSnapshotId()
!= other.getMvSnapshotId()) return false;
}
if (hasIncrementalExtension() != other.hasIncrementalExtension()) return false;
if (hasIncrementalExtension()) {
if (!getIncrementalExtension()
.equals(other.getIncrementalExtension())) 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) + MV_PLAN_FIELD_NUMBER;
hash = (53 * hash) + getMvPlan().hashCode();
if (getMvSourceTablesCount() > 0) {
hash = (37 * hash) + MV_SOURCE_TABLES_FIELD_NUMBER;
hash = (53 * hash) + getMvSourceTablesList().hashCode();
}
if (hasRefreshOption()) {
hash = (37 * hash) + REFRESH_OPTION_FIELD_NUMBER;
hash = (53 * hash) + getRefreshOption().hashCode();
}
if (hasMvSnapshotId()) {
hash = (37 * hash) + MV_SNAPSHOT_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getMvSnapshotId());
}
if (hasIncrementalExtension()) {
hash = (37 * hash) + INCREMENTAL_EXTENSION_FIELD_NUMBER;
hash = (53 * hash) + getIncrementalExtension().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.MVExtension parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.MVExtension parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.MVExtension parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.MVExtension 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.MVExtension parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.MVExtension parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.MVExtension parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.MVExtension 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.MVExtension parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.MVExtension 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.MVExtension parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.MVExtension 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.MVExtension 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.MVExtension}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.MVExtension)
cz.proto.MVExtensionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.TableCommon.internal_static_cz_proto_MVExtension_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.TableCommon.internal_static_cz_proto_MVExtension_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.MVExtension.class, cz.proto.MVExtension.Builder.class);
}
// Construct using cz.proto.MVExtension.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getMvSourceTablesFieldBuilder();
getIncrementalExtensionFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
mvPlan_ = "";
if (mvSourceTablesBuilder_ == null) {
mvSourceTables_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
mvSourceTablesBuilder_.clear();
}
if (refreshOptionBuilder_ == null) {
refreshOption_ = null;
} else {
refreshOption_ = null;
refreshOptionBuilder_ = null;
}
mvSnapshotId_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
if (incrementalExtensionBuilder_ == null) {
incrementalExtension_ = null;
} else {
incrementalExtensionBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.TableCommon.internal_static_cz_proto_MVExtension_descriptor;
}
@java.lang.Override
public cz.proto.MVExtension getDefaultInstanceForType() {
return cz.proto.MVExtension.getDefaultInstance();
}
@java.lang.Override
public cz.proto.MVExtension build() {
cz.proto.MVExtension result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.MVExtension buildPartial() {
cz.proto.MVExtension result = new cz.proto.MVExtension(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.mvPlan_ = mvPlan_;
if (mvSourceTablesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
mvSourceTables_ = java.util.Collections.unmodifiableList(mvSourceTables_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.mvSourceTables_ = mvSourceTables_;
} else {
result.mvSourceTables_ = mvSourceTablesBuilder_.build();
}
if (refreshOptionBuilder_ == null) {
result.refreshOption_ = refreshOption_;
} else {
result.refreshOption_ = refreshOptionBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.mvSnapshotId_ = mvSnapshotId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
if (incrementalExtensionBuilder_ == null) {
result.incrementalExtension_ = incrementalExtension_;
} else {
result.incrementalExtension_ = incrementalExtensionBuilder_.build();
}
to_bitField0_ |= 0x00000002;
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cz.proto.MVExtension) {
return mergeFrom((cz.proto.MVExtension)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.MVExtension other) {
if (other == cz.proto.MVExtension.getDefaultInstance()) return this;
if (!other.getMvPlan().isEmpty()) {
mvPlan_ = other.mvPlan_;
onChanged();
}
if (mvSourceTablesBuilder_ == null) {
if (!other.mvSourceTables_.isEmpty()) {
if (mvSourceTables_.isEmpty()) {
mvSourceTables_ = other.mvSourceTables_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureMvSourceTablesIsMutable();
mvSourceTables_.addAll(other.mvSourceTables_);
}
onChanged();
}
} else {
if (!other.mvSourceTables_.isEmpty()) {
if (mvSourceTablesBuilder_.isEmpty()) {
mvSourceTablesBuilder_.dispose();
mvSourceTablesBuilder_ = null;
mvSourceTables_ = other.mvSourceTables_;
bitField0_ = (bitField0_ & ~0x00000001);
mvSourceTablesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getMvSourceTablesFieldBuilder() : null;
} else {
mvSourceTablesBuilder_.addAllMessages(other.mvSourceTables_);
}
}
}
if (other.hasRefreshOption()) {
mergeRefreshOption(other.getRefreshOption());
}
if (other.hasMvSnapshotId()) {
setMvSnapshotId(other.getMvSnapshotId());
}
if (other.hasIncrementalExtension()) {
mergeIncrementalExtension(other.getIncrementalExtension());
}
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.MVExtension parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.MVExtension) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object mvPlan_ = "";
/**
* string mv_plan = 1;
* @return The mvPlan.
*/
public java.lang.String getMvPlan() {
java.lang.Object ref = mvPlan_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
mvPlan_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string mv_plan = 1;
* @return The bytes for mvPlan.
*/
public com.google.protobuf.ByteString
getMvPlanBytes() {
java.lang.Object ref = mvPlan_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
mvPlan_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string mv_plan = 1;
* @param value The mvPlan to set.
* @return This builder for chaining.
*/
public Builder setMvPlan(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
mvPlan_ = value;
onChanged();
return this;
}
/**
* string mv_plan = 1;
* @return This builder for chaining.
*/
public Builder clearMvPlan() {
mvPlan_ = getDefaultInstance().getMvPlan();
onChanged();
return this;
}
/**
* string mv_plan = 1;
* @param value The bytes for mvPlan to set.
* @return This builder for chaining.
*/
public Builder setMvPlanBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
mvPlan_ = value;
onChanged();
return this;
}
private java.util.List mvSourceTables_ =
java.util.Collections.emptyList();
private void ensureMvSourceTablesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
mvSourceTables_ = new java.util.ArrayList(mvSourceTables_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.MVSource, cz.proto.MVSource.Builder, cz.proto.MVSourceOrBuilder> mvSourceTablesBuilder_;
/**
* repeated .cz.proto.MVSource mv_source_tables = 2;
*/
public java.util.List getMvSourceTablesList() {
if (mvSourceTablesBuilder_ == null) {
return java.util.Collections.unmodifiableList(mvSourceTables_);
} else {
return mvSourceTablesBuilder_.getMessageList();
}
}
/**
* repeated .cz.proto.MVSource mv_source_tables = 2;
*/
public int getMvSourceTablesCount() {
if (mvSourceTablesBuilder_ == null) {
return mvSourceTables_.size();
} else {
return mvSourceTablesBuilder_.getCount();
}
}
/**
* repeated .cz.proto.MVSource mv_source_tables = 2;
*/
public cz.proto.MVSource getMvSourceTables(int index) {
if (mvSourceTablesBuilder_ == null) {
return mvSourceTables_.get(index);
} else {
return mvSourceTablesBuilder_.getMessage(index);
}
}
/**
* repeated .cz.proto.MVSource mv_source_tables = 2;
*/
public Builder setMvSourceTables(
int index, cz.proto.MVSource value) {
if (mvSourceTablesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMvSourceTablesIsMutable();
mvSourceTables_.set(index, value);
onChanged();
} else {
mvSourceTablesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.MVSource mv_source_tables = 2;
*/
public Builder setMvSourceTables(
int index, cz.proto.MVSource.Builder builderForValue) {
if (mvSourceTablesBuilder_ == null) {
ensureMvSourceTablesIsMutable();
mvSourceTables_.set(index, builderForValue.build());
onChanged();
} else {
mvSourceTablesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.MVSource mv_source_tables = 2;
*/
public Builder addMvSourceTables(cz.proto.MVSource value) {
if (mvSourceTablesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMvSourceTablesIsMutable();
mvSourceTables_.add(value);
onChanged();
} else {
mvSourceTablesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .cz.proto.MVSource mv_source_tables = 2;
*/
public Builder addMvSourceTables(
int index, cz.proto.MVSource value) {
if (mvSourceTablesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMvSourceTablesIsMutable();
mvSourceTables_.add(index, value);
onChanged();
} else {
mvSourceTablesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.MVSource mv_source_tables = 2;
*/
public Builder addMvSourceTables(
cz.proto.MVSource.Builder builderForValue) {
if (mvSourceTablesBuilder_ == null) {
ensureMvSourceTablesIsMutable();
mvSourceTables_.add(builderForValue.build());
onChanged();
} else {
mvSourceTablesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.MVSource mv_source_tables = 2;
*/
public Builder addMvSourceTables(
int index, cz.proto.MVSource.Builder builderForValue) {
if (mvSourceTablesBuilder_ == null) {
ensureMvSourceTablesIsMutable();
mvSourceTables_.add(index, builderForValue.build());
onChanged();
} else {
mvSourceTablesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.MVSource mv_source_tables = 2;
*/
public Builder addAllMvSourceTables(
java.lang.Iterable extends cz.proto.MVSource> values) {
if (mvSourceTablesBuilder_ == null) {
ensureMvSourceTablesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, mvSourceTables_);
onChanged();
} else {
mvSourceTablesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .cz.proto.MVSource mv_source_tables = 2;
*/
public Builder clearMvSourceTables() {
if (mvSourceTablesBuilder_ == null) {
mvSourceTables_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
mvSourceTablesBuilder_.clear();
}
return this;
}
/**
* repeated .cz.proto.MVSource mv_source_tables = 2;
*/
public Builder removeMvSourceTables(int index) {
if (mvSourceTablesBuilder_ == null) {
ensureMvSourceTablesIsMutable();
mvSourceTables_.remove(index);
onChanged();
} else {
mvSourceTablesBuilder_.remove(index);
}
return this;
}
/**
* repeated .cz.proto.MVSource mv_source_tables = 2;
*/
public cz.proto.MVSource.Builder getMvSourceTablesBuilder(
int index) {
return getMvSourceTablesFieldBuilder().getBuilder(index);
}
/**
* repeated .cz.proto.MVSource mv_source_tables = 2;
*/
public cz.proto.MVSourceOrBuilder getMvSourceTablesOrBuilder(
int index) {
if (mvSourceTablesBuilder_ == null) {
return mvSourceTables_.get(index); } else {
return mvSourceTablesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .cz.proto.MVSource mv_source_tables = 2;
*/
public java.util.List extends cz.proto.MVSourceOrBuilder>
getMvSourceTablesOrBuilderList() {
if (mvSourceTablesBuilder_ != null) {
return mvSourceTablesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(mvSourceTables_);
}
}
/**
* repeated .cz.proto.MVSource mv_source_tables = 2;
*/
public cz.proto.MVSource.Builder addMvSourceTablesBuilder() {
return getMvSourceTablesFieldBuilder().addBuilder(
cz.proto.MVSource.getDefaultInstance());
}
/**
* repeated .cz.proto.MVSource mv_source_tables = 2;
*/
public cz.proto.MVSource.Builder addMvSourceTablesBuilder(
int index) {
return getMvSourceTablesFieldBuilder().addBuilder(
index, cz.proto.MVSource.getDefaultInstance());
}
/**
* repeated .cz.proto.MVSource mv_source_tables = 2;
*/
public java.util.List
getMvSourceTablesBuilderList() {
return getMvSourceTablesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.MVSource, cz.proto.MVSource.Builder, cz.proto.MVSourceOrBuilder>
getMvSourceTablesFieldBuilder() {
if (mvSourceTablesBuilder_ == null) {
mvSourceTablesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.MVSource, cz.proto.MVSource.Builder, cz.proto.MVSourceOrBuilder>(
mvSourceTables_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
mvSourceTables_ = null;
}
return mvSourceTablesBuilder_;
}
private cz.proto.RefreshOption refreshOption_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.RefreshOption, cz.proto.RefreshOption.Builder, cz.proto.RefreshOptionOrBuilder> refreshOptionBuilder_;
/**
* .cz.proto.RefreshOption refresh_option = 3;
* @return Whether the refreshOption field is set.
*/
public boolean hasRefreshOption() {
return refreshOptionBuilder_ != null || refreshOption_ != null;
}
/**
* .cz.proto.RefreshOption refresh_option = 3;
* @return The refreshOption.
*/
public cz.proto.RefreshOption getRefreshOption() {
if (refreshOptionBuilder_ == null) {
return refreshOption_ == null ? cz.proto.RefreshOption.getDefaultInstance() : refreshOption_;
} else {
return refreshOptionBuilder_.getMessage();
}
}
/**
* .cz.proto.RefreshOption refresh_option = 3;
*/
public Builder setRefreshOption(cz.proto.RefreshOption value) {
if (refreshOptionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
refreshOption_ = value;
onChanged();
} else {
refreshOptionBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.RefreshOption refresh_option = 3;
*/
public Builder setRefreshOption(
cz.proto.RefreshOption.Builder builderForValue) {
if (refreshOptionBuilder_ == null) {
refreshOption_ = builderForValue.build();
onChanged();
} else {
refreshOptionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.RefreshOption refresh_option = 3;
*/
public Builder mergeRefreshOption(cz.proto.RefreshOption value) {
if (refreshOptionBuilder_ == null) {
if (refreshOption_ != null) {
refreshOption_ =
cz.proto.RefreshOption.newBuilder(refreshOption_).mergeFrom(value).buildPartial();
} else {
refreshOption_ = value;
}
onChanged();
} else {
refreshOptionBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.RefreshOption refresh_option = 3;
*/
public Builder clearRefreshOption() {
if (refreshOptionBuilder_ == null) {
refreshOption_ = null;
onChanged();
} else {
refreshOption_ = null;
refreshOptionBuilder_ = null;
}
return this;
}
/**
* .cz.proto.RefreshOption refresh_option = 3;
*/
public cz.proto.RefreshOption.Builder getRefreshOptionBuilder() {
onChanged();
return getRefreshOptionFieldBuilder().getBuilder();
}
/**
* .cz.proto.RefreshOption refresh_option = 3;
*/
public cz.proto.RefreshOptionOrBuilder getRefreshOptionOrBuilder() {
if (refreshOptionBuilder_ != null) {
return refreshOptionBuilder_.getMessageOrBuilder();
} else {
return refreshOption_ == null ?
cz.proto.RefreshOption.getDefaultInstance() : refreshOption_;
}
}
/**
* .cz.proto.RefreshOption refresh_option = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.RefreshOption, cz.proto.RefreshOption.Builder, cz.proto.RefreshOptionOrBuilder>
getRefreshOptionFieldBuilder() {
if (refreshOptionBuilder_ == null) {
refreshOptionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.RefreshOption, cz.proto.RefreshOption.Builder, cz.proto.RefreshOptionOrBuilder>(
getRefreshOption(),
getParentForChildren(),
isClean());
refreshOption_ = null;
}
return refreshOptionBuilder_;
}
private long mvSnapshotId_ ;
/**
* optional int64 mv_snapshot_id = 4;
* @return Whether the mvSnapshotId field is set.
*/
@java.lang.Override
public boolean hasMvSnapshotId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int64 mv_snapshot_id = 4;
* @return The mvSnapshotId.
*/
@java.lang.Override
public long getMvSnapshotId() {
return mvSnapshotId_;
}
/**
* optional int64 mv_snapshot_id = 4;
* @param value The mvSnapshotId to set.
* @return This builder for chaining.
*/
public Builder setMvSnapshotId(long value) {
bitField0_ |= 0x00000002;
mvSnapshotId_ = value;
onChanged();
return this;
}
/**
* optional int64 mv_snapshot_id = 4;
* @return This builder for chaining.
*/
public Builder clearMvSnapshotId() {
bitField0_ = (bitField0_ & ~0x00000002);
mvSnapshotId_ = 0L;
onChanged();
return this;
}
private cz.proto.IncrementalExtension incrementalExtension_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.IncrementalExtension, cz.proto.IncrementalExtension.Builder, cz.proto.IncrementalExtensionOrBuilder> incrementalExtensionBuilder_;
/**
* optional .cz.proto.IncrementalExtension incremental_extension = 5;
* @return Whether the incrementalExtension field is set.
*/
public boolean hasIncrementalExtension() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional .cz.proto.IncrementalExtension incremental_extension = 5;
* @return The incrementalExtension.
*/
public cz.proto.IncrementalExtension getIncrementalExtension() {
if (incrementalExtensionBuilder_ == null) {
return incrementalExtension_ == null ? cz.proto.IncrementalExtension.getDefaultInstance() : incrementalExtension_;
} else {
return incrementalExtensionBuilder_.getMessage();
}
}
/**
* optional .cz.proto.IncrementalExtension incremental_extension = 5;
*/
public Builder setIncrementalExtension(cz.proto.IncrementalExtension value) {
if (incrementalExtensionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
incrementalExtension_ = value;
onChanged();
} else {
incrementalExtensionBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .cz.proto.IncrementalExtension incremental_extension = 5;
*/
public Builder setIncrementalExtension(
cz.proto.IncrementalExtension.Builder builderForValue) {
if (incrementalExtensionBuilder_ == null) {
incrementalExtension_ = builderForValue.build();
onChanged();
} else {
incrementalExtensionBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .cz.proto.IncrementalExtension incremental_extension = 5;
*/
public Builder mergeIncrementalExtension(cz.proto.IncrementalExtension value) {
if (incrementalExtensionBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
incrementalExtension_ != null &&
incrementalExtension_ != cz.proto.IncrementalExtension.getDefaultInstance()) {
incrementalExtension_ =
cz.proto.IncrementalExtension.newBuilder(incrementalExtension_).mergeFrom(value).buildPartial();
} else {
incrementalExtension_ = value;
}
onChanged();
} else {
incrementalExtensionBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .cz.proto.IncrementalExtension incremental_extension = 5;
*/
public Builder clearIncrementalExtension() {
if (incrementalExtensionBuilder_ == null) {
incrementalExtension_ = null;
onChanged();
} else {
incrementalExtensionBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
/**
* optional .cz.proto.IncrementalExtension incremental_extension = 5;
*/
public cz.proto.IncrementalExtension.Builder getIncrementalExtensionBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getIncrementalExtensionFieldBuilder().getBuilder();
}
/**
* optional .cz.proto.IncrementalExtension incremental_extension = 5;
*/
public cz.proto.IncrementalExtensionOrBuilder getIncrementalExtensionOrBuilder() {
if (incrementalExtensionBuilder_ != null) {
return incrementalExtensionBuilder_.getMessageOrBuilder();
} else {
return incrementalExtension_ == null ?
cz.proto.IncrementalExtension.getDefaultInstance() : incrementalExtension_;
}
}
/**
* optional .cz.proto.IncrementalExtension incremental_extension = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.IncrementalExtension, cz.proto.IncrementalExtension.Builder, cz.proto.IncrementalExtensionOrBuilder>
getIncrementalExtensionFieldBuilder() {
if (incrementalExtensionBuilder_ == null) {
incrementalExtensionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.IncrementalExtension, cz.proto.IncrementalExtension.Builder, cz.proto.IncrementalExtensionOrBuilder>(
getIncrementalExtension(),
getParentForChildren(),
isClean());
incrementalExtension_ = null;
}
return incrementalExtensionBuilder_;
}
@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.MVExtension)
}
// @@protoc_insertion_point(class_scope:cz.proto.MVExtension)
private static final cz.proto.MVExtension DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.MVExtension();
}
public static cz.proto.MVExtension getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public MVExtension parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MVExtension(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.MVExtension getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy