cz.proto.access.Ddl 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: ddl.proto
package cz.proto.access;
public final class Ddl {
private Ddl() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
/**
* Protobuf enum {@code cz.proto.access.ColumnMoveType}
*/
public enum ColumnMoveType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* FIRST = 0;
*/
FIRST(0),
/**
* BEFORE = 1;
*/
BEFORE(1),
/**
* AFTER = 2;
*/
AFTER(2),
UNRECOGNIZED(-1),
;
/**
* FIRST = 0;
*/
public static final int FIRST_VALUE = 0;
/**
* BEFORE = 1;
*/
public static final int BEFORE_VALUE = 1;
/**
* AFTER = 2;
*/
public static final int AFTER_VALUE = 2;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ColumnMoveType valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static ColumnMoveType forNumber(int value) {
switch (value) {
case 0: return FIRST;
case 1: return BEFORE;
case 2: return AFTER;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ColumnMoveType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public ColumnMoveType findValueByNumber(int number) {
return ColumnMoveType.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return cz.proto.access.Ddl.getDescriptor().getEnumTypes().get(0);
}
private static final ColumnMoveType[] VALUES = values();
public static ColumnMoveType valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private ColumnMoveType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:cz.proto.access.ColumnMoveType)
}
/**
* Protobuf enum {@code cz.proto.access.ShowEntityType}
*/
public enum ShowEntityType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* SHOW_ENTITY = 0;
*/
SHOW_ENTITY(0),
/**
* SHOW_NAME = 1;
*/
SHOW_NAME(1),
/**
* SHOW_ID = 2;
*/
SHOW_ID(2),
/**
* SHOW_ENTITIES_HISTORY = 3;
*/
SHOW_ENTITIES_HISTORY(3),
UNRECOGNIZED(-1),
;
/**
* SHOW_ENTITY = 0;
*/
public static final int SHOW_ENTITY_VALUE = 0;
/**
* SHOW_NAME = 1;
*/
public static final int SHOW_NAME_VALUE = 1;
/**
* SHOW_ID = 2;
*/
public static final int SHOW_ID_VALUE = 2;
/**
* SHOW_ENTITIES_HISTORY = 3;
*/
public static final int SHOW_ENTITIES_HISTORY_VALUE = 3;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ShowEntityType valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static ShowEntityType forNumber(int value) {
switch (value) {
case 0: return SHOW_ENTITY;
case 1: return SHOW_NAME;
case 2: return SHOW_ID;
case 3: return SHOW_ENTITIES_HISTORY;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ShowEntityType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public ShowEntityType findValueByNumber(int number) {
return ShowEntityType.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return cz.proto.access.Ddl.getDescriptor().getEnumTypes().get(1);
}
private static final ShowEntityType[] VALUES = values();
public static ShowEntityType valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private ShowEntityType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:cz.proto.access.ShowEntityType)
}
/**
* Protobuf enum {@code cz.proto.access.AccessType}
*/
public enum AccessType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* META = 0;
*/
META(0),
/**
* VC_MANAGER = 1;
*/
VC_MANAGER(1),
UNRECOGNIZED(-1),
;
/**
* META = 0;
*/
public static final int META_VALUE = 0;
/**
* VC_MANAGER = 1;
*/
public static final int VC_MANAGER_VALUE = 1;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static AccessType valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static AccessType forNumber(int value) {
switch (value) {
case 0: return META;
case 1: return VC_MANAGER;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
AccessType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public AccessType findValueByNumber(int number) {
return AccessType.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return cz.proto.access.Ddl.getDescriptor().getEnumTypes().get(2);
}
private static final AccessType[] VALUES = values();
public static AccessType valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private AccessType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:cz.proto.access.AccessType)
}
public interface CreateEntityOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.access.CreateEntity)
com.google.protobuf.MessageOrBuilder {
/**
* bool replace = 1;
* @return Whether the replace field is set.
*/
boolean hasReplace();
/**
* bool replace = 1;
* @return The replace.
*/
boolean getReplace();
/**
* bool if_not_exists = 2;
* @return Whether the ifNotExists field is set.
*/
boolean hasIfNotExists();
/**
* bool if_not_exists = 2;
* @return The ifNotExists.
*/
boolean getIfNotExists();
/**
* .cz.proto.Entity entity = 3;
* @return Whether the entity field is set.
*/
boolean hasEntity();
/**
* .cz.proto.Entity entity = 3;
* @return The entity.
*/
cz.proto.MetadataEntity.Entity getEntity();
/**
* .cz.proto.Entity entity = 3;
*/
cz.proto.MetadataEntity.EntityOrBuilder getEntityOrBuilder();
public cz.proto.access.Ddl.CreateEntity.ModeCase getModeCase();
}
/**
* Protobuf type {@code cz.proto.access.CreateEntity}
*/
public static final class CreateEntity extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.access.CreateEntity)
CreateEntityOrBuilder {
private static final long serialVersionUID = 0L;
// Use CreateEntity.newBuilder() to construct.
private CreateEntity(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private CreateEntity() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CreateEntity();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CreateEntity(
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 8: {
mode_ = input.readBool();
modeCase_ = 1;
break;
}
case 16: {
mode_ = input.readBool();
modeCase_ = 2;
break;
}
case 26: {
cz.proto.MetadataEntity.Entity.Builder subBuilder = null;
if (entity_ != null) {
subBuilder = entity_.toBuilder();
}
entity_ = input.readMessage(cz.proto.MetadataEntity.Entity.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(entity_);
entity_ = 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.access.Ddl.internal_static_cz_proto_access_CreateEntity_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_CreateEntity_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.CreateEntity.class, cz.proto.access.Ddl.CreateEntity.Builder.class);
}
private int modeCase_ = 0;
private java.lang.Object mode_;
public enum ModeCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
REPLACE(1),
IF_NOT_EXISTS(2),
MODE_NOT_SET(0);
private final int value;
private ModeCase(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 ModeCase valueOf(int value) {
return forNumber(value);
}
public static ModeCase forNumber(int value) {
switch (value) {
case 1: return REPLACE;
case 2: return IF_NOT_EXISTS;
case 0: return MODE_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public ModeCase
getModeCase() {
return ModeCase.forNumber(
modeCase_);
}
public static final int REPLACE_FIELD_NUMBER = 1;
/**
* bool replace = 1;
* @return Whether the replace field is set.
*/
@java.lang.Override
public boolean hasReplace() {
return modeCase_ == 1;
}
/**
* bool replace = 1;
* @return The replace.
*/
@java.lang.Override
public boolean getReplace() {
if (modeCase_ == 1) {
return (java.lang.Boolean) mode_;
}
return false;
}
public static final int IF_NOT_EXISTS_FIELD_NUMBER = 2;
/**
* bool if_not_exists = 2;
* @return Whether the ifNotExists field is set.
*/
@java.lang.Override
public boolean hasIfNotExists() {
return modeCase_ == 2;
}
/**
* bool if_not_exists = 2;
* @return The ifNotExists.
*/
@java.lang.Override
public boolean getIfNotExists() {
if (modeCase_ == 2) {
return (java.lang.Boolean) mode_;
}
return false;
}
public static final int ENTITY_FIELD_NUMBER = 3;
private cz.proto.MetadataEntity.Entity entity_;
/**
* .cz.proto.Entity entity = 3;
* @return Whether the entity field is set.
*/
@java.lang.Override
public boolean hasEntity() {
return entity_ != null;
}
/**
* .cz.proto.Entity entity = 3;
* @return The entity.
*/
@java.lang.Override
public cz.proto.MetadataEntity.Entity getEntity() {
return entity_ == null ? cz.proto.MetadataEntity.Entity.getDefaultInstance() : entity_;
}
/**
* .cz.proto.Entity entity = 3;
*/
@java.lang.Override
public cz.proto.MetadataEntity.EntityOrBuilder getEntityOrBuilder() {
return getEntity();
}
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 (modeCase_ == 1) {
output.writeBool(
1, (boolean)((java.lang.Boolean) mode_));
}
if (modeCase_ == 2) {
output.writeBool(
2, (boolean)((java.lang.Boolean) mode_));
}
if (entity_ != null) {
output.writeMessage(3, getEntity());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (modeCase_ == 1) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(
1, (boolean)((java.lang.Boolean) mode_));
}
if (modeCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(
2, (boolean)((java.lang.Boolean) mode_));
}
if (entity_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getEntity());
}
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.access.Ddl.CreateEntity)) {
return super.equals(obj);
}
cz.proto.access.Ddl.CreateEntity other = (cz.proto.access.Ddl.CreateEntity) obj;
if (hasEntity() != other.hasEntity()) return false;
if (hasEntity()) {
if (!getEntity()
.equals(other.getEntity())) return false;
}
if (!getModeCase().equals(other.getModeCase())) return false;
switch (modeCase_) {
case 1:
if (getReplace()
!= other.getReplace()) return false;
break;
case 2:
if (getIfNotExists()
!= other.getIfNotExists()) 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 (hasEntity()) {
hash = (37 * hash) + ENTITY_FIELD_NUMBER;
hash = (53 * hash) + getEntity().hashCode();
}
switch (modeCase_) {
case 1:
hash = (37 * hash) + REPLACE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getReplace());
break;
case 2:
hash = (37 * hash) + IF_NOT_EXISTS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIfNotExists());
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.access.Ddl.CreateEntity parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.CreateEntity parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.CreateEntity parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.CreateEntity 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.access.Ddl.CreateEntity parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.CreateEntity parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.CreateEntity parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.CreateEntity 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.access.Ddl.CreateEntity parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.CreateEntity 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.access.Ddl.CreateEntity parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.CreateEntity 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.access.Ddl.CreateEntity 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.access.CreateEntity}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.access.CreateEntity)
cz.proto.access.Ddl.CreateEntityOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_CreateEntity_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_CreateEntity_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.CreateEntity.class, cz.proto.access.Ddl.CreateEntity.Builder.class);
}
// Construct using cz.proto.access.Ddl.CreateEntity.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();
if (entityBuilder_ == null) {
entity_ = null;
} else {
entity_ = null;
entityBuilder_ = null;
}
modeCase_ = 0;
mode_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_CreateEntity_descriptor;
}
@java.lang.Override
public cz.proto.access.Ddl.CreateEntity getDefaultInstanceForType() {
return cz.proto.access.Ddl.CreateEntity.getDefaultInstance();
}
@java.lang.Override
public cz.proto.access.Ddl.CreateEntity build() {
cz.proto.access.Ddl.CreateEntity result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.access.Ddl.CreateEntity buildPartial() {
cz.proto.access.Ddl.CreateEntity result = new cz.proto.access.Ddl.CreateEntity(this);
if (modeCase_ == 1) {
result.mode_ = mode_;
}
if (modeCase_ == 2) {
result.mode_ = mode_;
}
if (entityBuilder_ == null) {
result.entity_ = entity_;
} else {
result.entity_ = entityBuilder_.build();
}
result.modeCase_ = modeCase_;
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.access.Ddl.CreateEntity) {
return mergeFrom((cz.proto.access.Ddl.CreateEntity)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.access.Ddl.CreateEntity other) {
if (other == cz.proto.access.Ddl.CreateEntity.getDefaultInstance()) return this;
if (other.hasEntity()) {
mergeEntity(other.getEntity());
}
switch (other.getModeCase()) {
case REPLACE: {
setReplace(other.getReplace());
break;
}
case IF_NOT_EXISTS: {
setIfNotExists(other.getIfNotExists());
break;
}
case MODE_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.access.Ddl.CreateEntity parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.access.Ddl.CreateEntity) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int modeCase_ = 0;
private java.lang.Object mode_;
public ModeCase
getModeCase() {
return ModeCase.forNumber(
modeCase_);
}
public Builder clearMode() {
modeCase_ = 0;
mode_ = null;
onChanged();
return this;
}
/**
* bool replace = 1;
* @return Whether the replace field is set.
*/
public boolean hasReplace() {
return modeCase_ == 1;
}
/**
* bool replace = 1;
* @return The replace.
*/
public boolean getReplace() {
if (modeCase_ == 1) {
return (java.lang.Boolean) mode_;
}
return false;
}
/**
* bool replace = 1;
* @param value The replace to set.
* @return This builder for chaining.
*/
public Builder setReplace(boolean value) {
modeCase_ = 1;
mode_ = value;
onChanged();
return this;
}
/**
* bool replace = 1;
* @return This builder for chaining.
*/
public Builder clearReplace() {
if (modeCase_ == 1) {
modeCase_ = 0;
mode_ = null;
onChanged();
}
return this;
}
/**
* bool if_not_exists = 2;
* @return Whether the ifNotExists field is set.
*/
public boolean hasIfNotExists() {
return modeCase_ == 2;
}
/**
* bool if_not_exists = 2;
* @return The ifNotExists.
*/
public boolean getIfNotExists() {
if (modeCase_ == 2) {
return (java.lang.Boolean) mode_;
}
return false;
}
/**
* bool if_not_exists = 2;
* @param value The ifNotExists to set.
* @return This builder for chaining.
*/
public Builder setIfNotExists(boolean value) {
modeCase_ = 2;
mode_ = value;
onChanged();
return this;
}
/**
* bool if_not_exists = 2;
* @return This builder for chaining.
*/
public Builder clearIfNotExists() {
if (modeCase_ == 2) {
modeCase_ = 0;
mode_ = null;
onChanged();
}
return this;
}
private cz.proto.MetadataEntity.Entity entity_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder> entityBuilder_;
/**
* .cz.proto.Entity entity = 3;
* @return Whether the entity field is set.
*/
public boolean hasEntity() {
return entityBuilder_ != null || entity_ != null;
}
/**
* .cz.proto.Entity entity = 3;
* @return The entity.
*/
public cz.proto.MetadataEntity.Entity getEntity() {
if (entityBuilder_ == null) {
return entity_ == null ? cz.proto.MetadataEntity.Entity.getDefaultInstance() : entity_;
} else {
return entityBuilder_.getMessage();
}
}
/**
* .cz.proto.Entity entity = 3;
*/
public Builder setEntity(cz.proto.MetadataEntity.Entity value) {
if (entityBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
entity_ = value;
onChanged();
} else {
entityBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.Entity entity = 3;
*/
public Builder setEntity(
cz.proto.MetadataEntity.Entity.Builder builderForValue) {
if (entityBuilder_ == null) {
entity_ = builderForValue.build();
onChanged();
} else {
entityBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.Entity entity = 3;
*/
public Builder mergeEntity(cz.proto.MetadataEntity.Entity value) {
if (entityBuilder_ == null) {
if (entity_ != null) {
entity_ =
cz.proto.MetadataEntity.Entity.newBuilder(entity_).mergeFrom(value).buildPartial();
} else {
entity_ = value;
}
onChanged();
} else {
entityBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.Entity entity = 3;
*/
public Builder clearEntity() {
if (entityBuilder_ == null) {
entity_ = null;
onChanged();
} else {
entity_ = null;
entityBuilder_ = null;
}
return this;
}
/**
* .cz.proto.Entity entity = 3;
*/
public cz.proto.MetadataEntity.Entity.Builder getEntityBuilder() {
onChanged();
return getEntityFieldBuilder().getBuilder();
}
/**
* .cz.proto.Entity entity = 3;
*/
public cz.proto.MetadataEntity.EntityOrBuilder getEntityOrBuilder() {
if (entityBuilder_ != null) {
return entityBuilder_.getMessageOrBuilder();
} else {
return entity_ == null ?
cz.proto.MetadataEntity.Entity.getDefaultInstance() : entity_;
}
}
/**
* .cz.proto.Entity entity = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder>
getEntityFieldBuilder() {
if (entityBuilder_ == null) {
entityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder>(
getEntity(),
getParentForChildren(),
isClean());
entity_ = null;
}
return entityBuilder_;
}
@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.access.CreateEntity)
}
// @@protoc_insertion_point(class_scope:cz.proto.access.CreateEntity)
private static final cz.proto.access.Ddl.CreateEntity DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.access.Ddl.CreateEntity();
}
public static cz.proto.access.Ddl.CreateEntity getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CreateEntity parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CreateEntity(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.access.Ddl.CreateEntity getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AlterEntityOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.access.AlterEntity)
com.google.protobuf.MessageOrBuilder {
/**
* bool if_exists = 1;
* @return The ifExists.
*/
boolean getIfExists();
/**
* .cz.proto.ObjectIdentifier identifier = 2;
* @return Whether the identifier field is set.
*/
boolean hasIdentifier();
/**
* .cz.proto.ObjectIdentifier identifier = 2;
* @return The identifier.
*/
cz.proto.ObjectIdentifier getIdentifier();
/**
* .cz.proto.ObjectIdentifier identifier = 2;
*/
cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder();
/**
* bool change_comment = 3;
* @return The changeComment.
*/
boolean getChangeComment();
/**
* .cz.proto.Entity entity = 4;
* @return Whether the entity field is set.
*/
boolean hasEntity();
/**
* .cz.proto.Entity entity = 4;
* @return The entity.
*/
cz.proto.MetadataEntity.Entity getEntity();
/**
* .cz.proto.Entity entity = 4;
*/
cz.proto.MetadataEntity.EntityOrBuilder getEntityOrBuilder();
/**
* .cz.proto.access.AlterRole role = 10;
* @return Whether the role field is set.
*/
boolean hasRole();
/**
* .cz.proto.access.AlterRole role = 10;
* @return The role.
*/
cz.proto.access.Ddl.AlterRole getRole();
/**
* .cz.proto.access.AlterRole role = 10;
*/
cz.proto.access.Ddl.AlterRoleOrBuilder getRoleOrBuilder();
/**
* .cz.proto.access.AlterJob job = 11;
* @return Whether the job field is set.
*/
boolean hasJob();
/**
* .cz.proto.access.AlterJob job = 11;
* @return The job.
*/
cz.proto.access.Ddl.AlterJob getJob();
/**
* .cz.proto.access.AlterJob job = 11;
*/
cz.proto.access.Ddl.AlterJobOrBuilder getJobOrBuilder();
/**
* .cz.proto.access.AlterVirtualCluster virtual_cluster = 12;
* @return Whether the virtualCluster field is set.
*/
boolean hasVirtualCluster();
/**
* .cz.proto.access.AlterVirtualCluster virtual_cluster = 12;
* @return The virtualCluster.
*/
cz.proto.access.Ddl.AlterVirtualCluster getVirtualCluster();
/**
* .cz.proto.access.AlterVirtualCluster virtual_cluster = 12;
*/
cz.proto.access.Ddl.AlterVirtualClusterOrBuilder getVirtualClusterOrBuilder();
/**
*
* TODO(zhenyu.hou) - this is only for RM, remove later
*
*
* .cz.proto.access.AlterVCluster vcluster = 13;
* @return Whether the vcluster field is set.
*/
boolean hasVcluster();
/**
*
* TODO(zhenyu.hou) - this is only for RM, remove later
*
*
* .cz.proto.access.AlterVCluster vcluster = 13;
* @return The vcluster.
*/
cz.proto.access.Ddl.AlterVCluster getVcluster();
/**
*
* TODO(zhenyu.hou) - this is only for RM, remove later
*
*
* .cz.proto.access.AlterVCluster vcluster = 13;
*/
cz.proto.access.Ddl.AlterVClusterOrBuilder getVclusterOrBuilder();
/**
* .cz.proto.access.AlterShare share = 14;
* @return Whether the share field is set.
*/
boolean hasShare();
/**
* .cz.proto.access.AlterShare share = 14;
* @return The share.
*/
cz.proto.access.Ddl.AlterShare getShare();
/**
* .cz.proto.access.AlterShare share = 14;
*/
cz.proto.access.Ddl.AlterShareOrBuilder getShareOrBuilder();
/**
* .cz.proto.access.AlterConnection connection = 15;
* @return Whether the connection field is set.
*/
boolean hasConnection();
/**
* .cz.proto.access.AlterConnection connection = 15;
* @return The connection.
*/
cz.proto.access.Ddl.AlterConnection getConnection();
/**
* .cz.proto.access.AlterConnection connection = 15;
*/
cz.proto.access.Ddl.AlterConnectionOrBuilder getConnectionOrBuilder();
/**
* .cz.proto.access.AlterFunction function = 16;
* @return Whether the function field is set.
*/
boolean hasFunction();
/**
* .cz.proto.access.AlterFunction function = 16;
* @return The function.
*/
cz.proto.access.Ddl.AlterFunction getFunction();
/**
* .cz.proto.access.AlterFunction function = 16;
*/
cz.proto.access.Ddl.AlterFunctionOrBuilder getFunctionOrBuilder();
/**
* .cz.proto.access.AlterUser user = 17;
* @return Whether the user field is set.
*/
boolean hasUser();
/**
* .cz.proto.access.AlterUser user = 17;
* @return The user.
*/
cz.proto.access.Ddl.AlterUser getUser();
/**
* .cz.proto.access.AlterUser user = 17;
*/
cz.proto.access.Ddl.AlterUserOrBuilder getUserOrBuilder();
/**
* .cz.proto.access.AlterTable table = 18;
* @return Whether the table field is set.
*/
boolean hasTable();
/**
* .cz.proto.access.AlterTable table = 18;
* @return The table.
*/
cz.proto.access.Ddl.AlterTable getTable();
/**
* .cz.proto.access.AlterTable table = 18;
*/
cz.proto.access.Ddl.AlterTableOrBuilder getTableOrBuilder();
public cz.proto.access.Ddl.AlterEntity.DerivedCase getDerivedCase();
}
/**
* Protobuf type {@code cz.proto.access.AlterEntity}
*/
public static final class AlterEntity extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.access.AlterEntity)
AlterEntityOrBuilder {
private static final long serialVersionUID = 0L;
// Use AlterEntity.newBuilder() to construct.
private AlterEntity(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AlterEntity() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AlterEntity();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AlterEntity(
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 8: {
ifExists_ = input.readBool();
break;
}
case 18: {
cz.proto.ObjectIdentifier.Builder subBuilder = null;
if (identifier_ != null) {
subBuilder = identifier_.toBuilder();
}
identifier_ = input.readMessage(cz.proto.ObjectIdentifier.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(identifier_);
identifier_ = subBuilder.buildPartial();
}
break;
}
case 24: {
changeComment_ = input.readBool();
break;
}
case 34: {
cz.proto.MetadataEntity.Entity.Builder subBuilder = null;
if (entity_ != null) {
subBuilder = entity_.toBuilder();
}
entity_ = input.readMessage(cz.proto.MetadataEntity.Entity.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(entity_);
entity_ = subBuilder.buildPartial();
}
break;
}
case 82: {
cz.proto.access.Ddl.AlterRole.Builder subBuilder = null;
if (derivedCase_ == 10) {
subBuilder = ((cz.proto.access.Ddl.AlterRole) derived_).toBuilder();
}
derived_ =
input.readMessage(cz.proto.access.Ddl.AlterRole.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.access.Ddl.AlterRole) derived_);
derived_ = subBuilder.buildPartial();
}
derivedCase_ = 10;
break;
}
case 90: {
cz.proto.access.Ddl.AlterJob.Builder subBuilder = null;
if (derivedCase_ == 11) {
subBuilder = ((cz.proto.access.Ddl.AlterJob) derived_).toBuilder();
}
derived_ =
input.readMessage(cz.proto.access.Ddl.AlterJob.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.access.Ddl.AlterJob) derived_);
derived_ = subBuilder.buildPartial();
}
derivedCase_ = 11;
break;
}
case 98: {
cz.proto.access.Ddl.AlterVirtualCluster.Builder subBuilder = null;
if (derivedCase_ == 12) {
subBuilder = ((cz.proto.access.Ddl.AlterVirtualCluster) derived_).toBuilder();
}
derived_ =
input.readMessage(cz.proto.access.Ddl.AlterVirtualCluster.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.access.Ddl.AlterVirtualCluster) derived_);
derived_ = subBuilder.buildPartial();
}
derivedCase_ = 12;
break;
}
case 106: {
cz.proto.access.Ddl.AlterVCluster.Builder subBuilder = null;
if (derivedCase_ == 13) {
subBuilder = ((cz.proto.access.Ddl.AlterVCluster) derived_).toBuilder();
}
derived_ =
input.readMessage(cz.proto.access.Ddl.AlterVCluster.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.access.Ddl.AlterVCluster) derived_);
derived_ = subBuilder.buildPartial();
}
derivedCase_ = 13;
break;
}
case 114: {
cz.proto.access.Ddl.AlterShare.Builder subBuilder = null;
if (derivedCase_ == 14) {
subBuilder = ((cz.proto.access.Ddl.AlterShare) derived_).toBuilder();
}
derived_ =
input.readMessage(cz.proto.access.Ddl.AlterShare.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.access.Ddl.AlterShare) derived_);
derived_ = subBuilder.buildPartial();
}
derivedCase_ = 14;
break;
}
case 122: {
cz.proto.access.Ddl.AlterConnection.Builder subBuilder = null;
if (derivedCase_ == 15) {
subBuilder = ((cz.proto.access.Ddl.AlterConnection) derived_).toBuilder();
}
derived_ =
input.readMessage(cz.proto.access.Ddl.AlterConnection.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.access.Ddl.AlterConnection) derived_);
derived_ = subBuilder.buildPartial();
}
derivedCase_ = 15;
break;
}
case 130: {
cz.proto.access.Ddl.AlterFunction.Builder subBuilder = null;
if (derivedCase_ == 16) {
subBuilder = ((cz.proto.access.Ddl.AlterFunction) derived_).toBuilder();
}
derived_ =
input.readMessage(cz.proto.access.Ddl.AlterFunction.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.access.Ddl.AlterFunction) derived_);
derived_ = subBuilder.buildPartial();
}
derivedCase_ = 16;
break;
}
case 138: {
cz.proto.access.Ddl.AlterUser.Builder subBuilder = null;
if (derivedCase_ == 17) {
subBuilder = ((cz.proto.access.Ddl.AlterUser) derived_).toBuilder();
}
derived_ =
input.readMessage(cz.proto.access.Ddl.AlterUser.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.access.Ddl.AlterUser) derived_);
derived_ = subBuilder.buildPartial();
}
derivedCase_ = 17;
break;
}
case 146: {
cz.proto.access.Ddl.AlterTable.Builder subBuilder = null;
if (derivedCase_ == 18) {
subBuilder = ((cz.proto.access.Ddl.AlterTable) derived_).toBuilder();
}
derived_ =
input.readMessage(cz.proto.access.Ddl.AlterTable.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.access.Ddl.AlterTable) derived_);
derived_ = subBuilder.buildPartial();
}
derivedCase_ = 18;
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.access.Ddl.internal_static_cz_proto_access_AlterEntity_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterEntity_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.AlterEntity.class, cz.proto.access.Ddl.AlterEntity.Builder.class);
}
private int derivedCase_ = 0;
private java.lang.Object derived_;
public enum DerivedCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
ROLE(10),
JOB(11),
VIRTUAL_CLUSTER(12),
VCLUSTER(13),
SHARE(14),
CONNECTION(15),
FUNCTION(16),
USER(17),
TABLE(18),
DERIVED_NOT_SET(0);
private final int value;
private DerivedCase(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 DerivedCase valueOf(int value) {
return forNumber(value);
}
public static DerivedCase forNumber(int value) {
switch (value) {
case 10: return ROLE;
case 11: return JOB;
case 12: return VIRTUAL_CLUSTER;
case 13: return VCLUSTER;
case 14: return SHARE;
case 15: return CONNECTION;
case 16: return FUNCTION;
case 17: return USER;
case 18: return TABLE;
case 0: return DERIVED_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public DerivedCase
getDerivedCase() {
return DerivedCase.forNumber(
derivedCase_);
}
public static final int IF_EXISTS_FIELD_NUMBER = 1;
private boolean ifExists_;
/**
* bool if_exists = 1;
* @return The ifExists.
*/
@java.lang.Override
public boolean getIfExists() {
return ifExists_;
}
public static final int IDENTIFIER_FIELD_NUMBER = 2;
private cz.proto.ObjectIdentifier identifier_;
/**
* .cz.proto.ObjectIdentifier identifier = 2;
* @return Whether the identifier field is set.
*/
@java.lang.Override
public boolean hasIdentifier() {
return identifier_ != null;
}
/**
* .cz.proto.ObjectIdentifier identifier = 2;
* @return The identifier.
*/
@java.lang.Override
public cz.proto.ObjectIdentifier getIdentifier() {
return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_;
}
/**
* .cz.proto.ObjectIdentifier identifier = 2;
*/
@java.lang.Override
public cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder() {
return getIdentifier();
}
public static final int CHANGE_COMMENT_FIELD_NUMBER = 3;
private boolean changeComment_;
/**
* bool change_comment = 3;
* @return The changeComment.
*/
@java.lang.Override
public boolean getChangeComment() {
return changeComment_;
}
public static final int ENTITY_FIELD_NUMBER = 4;
private cz.proto.MetadataEntity.Entity entity_;
/**
* .cz.proto.Entity entity = 4;
* @return Whether the entity field is set.
*/
@java.lang.Override
public boolean hasEntity() {
return entity_ != null;
}
/**
* .cz.proto.Entity entity = 4;
* @return The entity.
*/
@java.lang.Override
public cz.proto.MetadataEntity.Entity getEntity() {
return entity_ == null ? cz.proto.MetadataEntity.Entity.getDefaultInstance() : entity_;
}
/**
* .cz.proto.Entity entity = 4;
*/
@java.lang.Override
public cz.proto.MetadataEntity.EntityOrBuilder getEntityOrBuilder() {
return getEntity();
}
public static final int ROLE_FIELD_NUMBER = 10;
/**
* .cz.proto.access.AlterRole role = 10;
* @return Whether the role field is set.
*/
@java.lang.Override
public boolean hasRole() {
return derivedCase_ == 10;
}
/**
* .cz.proto.access.AlterRole role = 10;
* @return The role.
*/
@java.lang.Override
public cz.proto.access.Ddl.AlterRole getRole() {
if (derivedCase_ == 10) {
return (cz.proto.access.Ddl.AlterRole) derived_;
}
return cz.proto.access.Ddl.AlterRole.getDefaultInstance();
}
/**
* .cz.proto.access.AlterRole role = 10;
*/
@java.lang.Override
public cz.proto.access.Ddl.AlterRoleOrBuilder getRoleOrBuilder() {
if (derivedCase_ == 10) {
return (cz.proto.access.Ddl.AlterRole) derived_;
}
return cz.proto.access.Ddl.AlterRole.getDefaultInstance();
}
public static final int JOB_FIELD_NUMBER = 11;
/**
* .cz.proto.access.AlterJob job = 11;
* @return Whether the job field is set.
*/
@java.lang.Override
public boolean hasJob() {
return derivedCase_ == 11;
}
/**
* .cz.proto.access.AlterJob job = 11;
* @return The job.
*/
@java.lang.Override
public cz.proto.access.Ddl.AlterJob getJob() {
if (derivedCase_ == 11) {
return (cz.proto.access.Ddl.AlterJob) derived_;
}
return cz.proto.access.Ddl.AlterJob.getDefaultInstance();
}
/**
* .cz.proto.access.AlterJob job = 11;
*/
@java.lang.Override
public cz.proto.access.Ddl.AlterJobOrBuilder getJobOrBuilder() {
if (derivedCase_ == 11) {
return (cz.proto.access.Ddl.AlterJob) derived_;
}
return cz.proto.access.Ddl.AlterJob.getDefaultInstance();
}
public static final int VIRTUAL_CLUSTER_FIELD_NUMBER = 12;
/**
* .cz.proto.access.AlterVirtualCluster virtual_cluster = 12;
* @return Whether the virtualCluster field is set.
*/
@java.lang.Override
public boolean hasVirtualCluster() {
return derivedCase_ == 12;
}
/**
* .cz.proto.access.AlterVirtualCluster virtual_cluster = 12;
* @return The virtualCluster.
*/
@java.lang.Override
public cz.proto.access.Ddl.AlterVirtualCluster getVirtualCluster() {
if (derivedCase_ == 12) {
return (cz.proto.access.Ddl.AlterVirtualCluster) derived_;
}
return cz.proto.access.Ddl.AlterVirtualCluster.getDefaultInstance();
}
/**
* .cz.proto.access.AlterVirtualCluster virtual_cluster = 12;
*/
@java.lang.Override
public cz.proto.access.Ddl.AlterVirtualClusterOrBuilder getVirtualClusterOrBuilder() {
if (derivedCase_ == 12) {
return (cz.proto.access.Ddl.AlterVirtualCluster) derived_;
}
return cz.proto.access.Ddl.AlterVirtualCluster.getDefaultInstance();
}
public static final int VCLUSTER_FIELD_NUMBER = 13;
/**
*
* TODO(zhenyu.hou) - this is only for RM, remove later
*
*
* .cz.proto.access.AlterVCluster vcluster = 13;
* @return Whether the vcluster field is set.
*/
@java.lang.Override
public boolean hasVcluster() {
return derivedCase_ == 13;
}
/**
*
* TODO(zhenyu.hou) - this is only for RM, remove later
*
*
* .cz.proto.access.AlterVCluster vcluster = 13;
* @return The vcluster.
*/
@java.lang.Override
public cz.proto.access.Ddl.AlterVCluster getVcluster() {
if (derivedCase_ == 13) {
return (cz.proto.access.Ddl.AlterVCluster) derived_;
}
return cz.proto.access.Ddl.AlterVCluster.getDefaultInstance();
}
/**
*
* TODO(zhenyu.hou) - this is only for RM, remove later
*
*
* .cz.proto.access.AlterVCluster vcluster = 13;
*/
@java.lang.Override
public cz.proto.access.Ddl.AlterVClusterOrBuilder getVclusterOrBuilder() {
if (derivedCase_ == 13) {
return (cz.proto.access.Ddl.AlterVCluster) derived_;
}
return cz.proto.access.Ddl.AlterVCluster.getDefaultInstance();
}
public static final int SHARE_FIELD_NUMBER = 14;
/**
* .cz.proto.access.AlterShare share = 14;
* @return Whether the share field is set.
*/
@java.lang.Override
public boolean hasShare() {
return derivedCase_ == 14;
}
/**
* .cz.proto.access.AlterShare share = 14;
* @return The share.
*/
@java.lang.Override
public cz.proto.access.Ddl.AlterShare getShare() {
if (derivedCase_ == 14) {
return (cz.proto.access.Ddl.AlterShare) derived_;
}
return cz.proto.access.Ddl.AlterShare.getDefaultInstance();
}
/**
* .cz.proto.access.AlterShare share = 14;
*/
@java.lang.Override
public cz.proto.access.Ddl.AlterShareOrBuilder getShareOrBuilder() {
if (derivedCase_ == 14) {
return (cz.proto.access.Ddl.AlterShare) derived_;
}
return cz.proto.access.Ddl.AlterShare.getDefaultInstance();
}
public static final int CONNECTION_FIELD_NUMBER = 15;
/**
* .cz.proto.access.AlterConnection connection = 15;
* @return Whether the connection field is set.
*/
@java.lang.Override
public boolean hasConnection() {
return derivedCase_ == 15;
}
/**
* .cz.proto.access.AlterConnection connection = 15;
* @return The connection.
*/
@java.lang.Override
public cz.proto.access.Ddl.AlterConnection getConnection() {
if (derivedCase_ == 15) {
return (cz.proto.access.Ddl.AlterConnection) derived_;
}
return cz.proto.access.Ddl.AlterConnection.getDefaultInstance();
}
/**
* .cz.proto.access.AlterConnection connection = 15;
*/
@java.lang.Override
public cz.proto.access.Ddl.AlterConnectionOrBuilder getConnectionOrBuilder() {
if (derivedCase_ == 15) {
return (cz.proto.access.Ddl.AlterConnection) derived_;
}
return cz.proto.access.Ddl.AlterConnection.getDefaultInstance();
}
public static final int FUNCTION_FIELD_NUMBER = 16;
/**
* .cz.proto.access.AlterFunction function = 16;
* @return Whether the function field is set.
*/
@java.lang.Override
public boolean hasFunction() {
return derivedCase_ == 16;
}
/**
* .cz.proto.access.AlterFunction function = 16;
* @return The function.
*/
@java.lang.Override
public cz.proto.access.Ddl.AlterFunction getFunction() {
if (derivedCase_ == 16) {
return (cz.proto.access.Ddl.AlterFunction) derived_;
}
return cz.proto.access.Ddl.AlterFunction.getDefaultInstance();
}
/**
* .cz.proto.access.AlterFunction function = 16;
*/
@java.lang.Override
public cz.proto.access.Ddl.AlterFunctionOrBuilder getFunctionOrBuilder() {
if (derivedCase_ == 16) {
return (cz.proto.access.Ddl.AlterFunction) derived_;
}
return cz.proto.access.Ddl.AlterFunction.getDefaultInstance();
}
public static final int USER_FIELD_NUMBER = 17;
/**
* .cz.proto.access.AlterUser user = 17;
* @return Whether the user field is set.
*/
@java.lang.Override
public boolean hasUser() {
return derivedCase_ == 17;
}
/**
* .cz.proto.access.AlterUser user = 17;
* @return The user.
*/
@java.lang.Override
public cz.proto.access.Ddl.AlterUser getUser() {
if (derivedCase_ == 17) {
return (cz.proto.access.Ddl.AlterUser) derived_;
}
return cz.proto.access.Ddl.AlterUser.getDefaultInstance();
}
/**
* .cz.proto.access.AlterUser user = 17;
*/
@java.lang.Override
public cz.proto.access.Ddl.AlterUserOrBuilder getUserOrBuilder() {
if (derivedCase_ == 17) {
return (cz.proto.access.Ddl.AlterUser) derived_;
}
return cz.proto.access.Ddl.AlterUser.getDefaultInstance();
}
public static final int TABLE_FIELD_NUMBER = 18;
/**
* .cz.proto.access.AlterTable table = 18;
* @return Whether the table field is set.
*/
@java.lang.Override
public boolean hasTable() {
return derivedCase_ == 18;
}
/**
* .cz.proto.access.AlterTable table = 18;
* @return The table.
*/
@java.lang.Override
public cz.proto.access.Ddl.AlterTable getTable() {
if (derivedCase_ == 18) {
return (cz.proto.access.Ddl.AlterTable) derived_;
}
return cz.proto.access.Ddl.AlterTable.getDefaultInstance();
}
/**
* .cz.proto.access.AlterTable table = 18;
*/
@java.lang.Override
public cz.proto.access.Ddl.AlterTableOrBuilder getTableOrBuilder() {
if (derivedCase_ == 18) {
return (cz.proto.access.Ddl.AlterTable) derived_;
}
return cz.proto.access.Ddl.AlterTable.getDefaultInstance();
}
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 (ifExists_ != false) {
output.writeBool(1, ifExists_);
}
if (identifier_ != null) {
output.writeMessage(2, getIdentifier());
}
if (changeComment_ != false) {
output.writeBool(3, changeComment_);
}
if (entity_ != null) {
output.writeMessage(4, getEntity());
}
if (derivedCase_ == 10) {
output.writeMessage(10, (cz.proto.access.Ddl.AlterRole) derived_);
}
if (derivedCase_ == 11) {
output.writeMessage(11, (cz.proto.access.Ddl.AlterJob) derived_);
}
if (derivedCase_ == 12) {
output.writeMessage(12, (cz.proto.access.Ddl.AlterVirtualCluster) derived_);
}
if (derivedCase_ == 13) {
output.writeMessage(13, (cz.proto.access.Ddl.AlterVCluster) derived_);
}
if (derivedCase_ == 14) {
output.writeMessage(14, (cz.proto.access.Ddl.AlterShare) derived_);
}
if (derivedCase_ == 15) {
output.writeMessage(15, (cz.proto.access.Ddl.AlterConnection) derived_);
}
if (derivedCase_ == 16) {
output.writeMessage(16, (cz.proto.access.Ddl.AlterFunction) derived_);
}
if (derivedCase_ == 17) {
output.writeMessage(17, (cz.proto.access.Ddl.AlterUser) derived_);
}
if (derivedCase_ == 18) {
output.writeMessage(18, (cz.proto.access.Ddl.AlterTable) derived_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (ifExists_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, ifExists_);
}
if (identifier_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getIdentifier());
}
if (changeComment_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(3, changeComment_);
}
if (entity_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getEntity());
}
if (derivedCase_ == 10) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, (cz.proto.access.Ddl.AlterRole) derived_);
}
if (derivedCase_ == 11) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, (cz.proto.access.Ddl.AlterJob) derived_);
}
if (derivedCase_ == 12) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, (cz.proto.access.Ddl.AlterVirtualCluster) derived_);
}
if (derivedCase_ == 13) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, (cz.proto.access.Ddl.AlterVCluster) derived_);
}
if (derivedCase_ == 14) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(14, (cz.proto.access.Ddl.AlterShare) derived_);
}
if (derivedCase_ == 15) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, (cz.proto.access.Ddl.AlterConnection) derived_);
}
if (derivedCase_ == 16) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(16, (cz.proto.access.Ddl.AlterFunction) derived_);
}
if (derivedCase_ == 17) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(17, (cz.proto.access.Ddl.AlterUser) derived_);
}
if (derivedCase_ == 18) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(18, (cz.proto.access.Ddl.AlterTable) derived_);
}
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.access.Ddl.AlterEntity)) {
return super.equals(obj);
}
cz.proto.access.Ddl.AlterEntity other = (cz.proto.access.Ddl.AlterEntity) obj;
if (getIfExists()
!= other.getIfExists()) return false;
if (hasIdentifier() != other.hasIdentifier()) return false;
if (hasIdentifier()) {
if (!getIdentifier()
.equals(other.getIdentifier())) return false;
}
if (getChangeComment()
!= other.getChangeComment()) return false;
if (hasEntity() != other.hasEntity()) return false;
if (hasEntity()) {
if (!getEntity()
.equals(other.getEntity())) return false;
}
if (!getDerivedCase().equals(other.getDerivedCase())) return false;
switch (derivedCase_) {
case 10:
if (!getRole()
.equals(other.getRole())) return false;
break;
case 11:
if (!getJob()
.equals(other.getJob())) return false;
break;
case 12:
if (!getVirtualCluster()
.equals(other.getVirtualCluster())) return false;
break;
case 13:
if (!getVcluster()
.equals(other.getVcluster())) return false;
break;
case 14:
if (!getShare()
.equals(other.getShare())) return false;
break;
case 15:
if (!getConnection()
.equals(other.getConnection())) return false;
break;
case 16:
if (!getFunction()
.equals(other.getFunction())) return false;
break;
case 17:
if (!getUser()
.equals(other.getUser())) return false;
break;
case 18:
if (!getTable()
.equals(other.getTable())) 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();
hash = (37 * hash) + IF_EXISTS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIfExists());
if (hasIdentifier()) {
hash = (37 * hash) + IDENTIFIER_FIELD_NUMBER;
hash = (53 * hash) + getIdentifier().hashCode();
}
hash = (37 * hash) + CHANGE_COMMENT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getChangeComment());
if (hasEntity()) {
hash = (37 * hash) + ENTITY_FIELD_NUMBER;
hash = (53 * hash) + getEntity().hashCode();
}
switch (derivedCase_) {
case 10:
hash = (37 * hash) + ROLE_FIELD_NUMBER;
hash = (53 * hash) + getRole().hashCode();
break;
case 11:
hash = (37 * hash) + JOB_FIELD_NUMBER;
hash = (53 * hash) + getJob().hashCode();
break;
case 12:
hash = (37 * hash) + VIRTUAL_CLUSTER_FIELD_NUMBER;
hash = (53 * hash) + getVirtualCluster().hashCode();
break;
case 13:
hash = (37 * hash) + VCLUSTER_FIELD_NUMBER;
hash = (53 * hash) + getVcluster().hashCode();
break;
case 14:
hash = (37 * hash) + SHARE_FIELD_NUMBER;
hash = (53 * hash) + getShare().hashCode();
break;
case 15:
hash = (37 * hash) + CONNECTION_FIELD_NUMBER;
hash = (53 * hash) + getConnection().hashCode();
break;
case 16:
hash = (37 * hash) + FUNCTION_FIELD_NUMBER;
hash = (53 * hash) + getFunction().hashCode();
break;
case 17:
hash = (37 * hash) + USER_FIELD_NUMBER;
hash = (53 * hash) + getUser().hashCode();
break;
case 18:
hash = (37 * hash) + TABLE_FIELD_NUMBER;
hash = (53 * hash) + getTable().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.access.Ddl.AlterEntity parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.AlterEntity parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.AlterEntity parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.AlterEntity 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.access.Ddl.AlterEntity parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.AlterEntity parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.AlterEntity parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.AlterEntity 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.access.Ddl.AlterEntity parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.AlterEntity 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.access.Ddl.AlterEntity parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.AlterEntity 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.access.Ddl.AlterEntity 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.access.AlterEntity}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.access.AlterEntity)
cz.proto.access.Ddl.AlterEntityOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterEntity_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterEntity_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.AlterEntity.class, cz.proto.access.Ddl.AlterEntity.Builder.class);
}
// Construct using cz.proto.access.Ddl.AlterEntity.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();
ifExists_ = false;
if (identifierBuilder_ == null) {
identifier_ = null;
} else {
identifier_ = null;
identifierBuilder_ = null;
}
changeComment_ = false;
if (entityBuilder_ == null) {
entity_ = null;
} else {
entity_ = null;
entityBuilder_ = null;
}
derivedCase_ = 0;
derived_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterEntity_descriptor;
}
@java.lang.Override
public cz.proto.access.Ddl.AlterEntity getDefaultInstanceForType() {
return cz.proto.access.Ddl.AlterEntity.getDefaultInstance();
}
@java.lang.Override
public cz.proto.access.Ddl.AlterEntity build() {
cz.proto.access.Ddl.AlterEntity result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.access.Ddl.AlterEntity buildPartial() {
cz.proto.access.Ddl.AlterEntity result = new cz.proto.access.Ddl.AlterEntity(this);
result.ifExists_ = ifExists_;
if (identifierBuilder_ == null) {
result.identifier_ = identifier_;
} else {
result.identifier_ = identifierBuilder_.build();
}
result.changeComment_ = changeComment_;
if (entityBuilder_ == null) {
result.entity_ = entity_;
} else {
result.entity_ = entityBuilder_.build();
}
if (derivedCase_ == 10) {
if (roleBuilder_ == null) {
result.derived_ = derived_;
} else {
result.derived_ = roleBuilder_.build();
}
}
if (derivedCase_ == 11) {
if (jobBuilder_ == null) {
result.derived_ = derived_;
} else {
result.derived_ = jobBuilder_.build();
}
}
if (derivedCase_ == 12) {
if (virtualClusterBuilder_ == null) {
result.derived_ = derived_;
} else {
result.derived_ = virtualClusterBuilder_.build();
}
}
if (derivedCase_ == 13) {
if (vclusterBuilder_ == null) {
result.derived_ = derived_;
} else {
result.derived_ = vclusterBuilder_.build();
}
}
if (derivedCase_ == 14) {
if (shareBuilder_ == null) {
result.derived_ = derived_;
} else {
result.derived_ = shareBuilder_.build();
}
}
if (derivedCase_ == 15) {
if (connectionBuilder_ == null) {
result.derived_ = derived_;
} else {
result.derived_ = connectionBuilder_.build();
}
}
if (derivedCase_ == 16) {
if (functionBuilder_ == null) {
result.derived_ = derived_;
} else {
result.derived_ = functionBuilder_.build();
}
}
if (derivedCase_ == 17) {
if (userBuilder_ == null) {
result.derived_ = derived_;
} else {
result.derived_ = userBuilder_.build();
}
}
if (derivedCase_ == 18) {
if (tableBuilder_ == null) {
result.derived_ = derived_;
} else {
result.derived_ = tableBuilder_.build();
}
}
result.derivedCase_ = derivedCase_;
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.access.Ddl.AlterEntity) {
return mergeFrom((cz.proto.access.Ddl.AlterEntity)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.access.Ddl.AlterEntity other) {
if (other == cz.proto.access.Ddl.AlterEntity.getDefaultInstance()) return this;
if (other.getIfExists() != false) {
setIfExists(other.getIfExists());
}
if (other.hasIdentifier()) {
mergeIdentifier(other.getIdentifier());
}
if (other.getChangeComment() != false) {
setChangeComment(other.getChangeComment());
}
if (other.hasEntity()) {
mergeEntity(other.getEntity());
}
switch (other.getDerivedCase()) {
case ROLE: {
mergeRole(other.getRole());
break;
}
case JOB: {
mergeJob(other.getJob());
break;
}
case VIRTUAL_CLUSTER: {
mergeVirtualCluster(other.getVirtualCluster());
break;
}
case VCLUSTER: {
mergeVcluster(other.getVcluster());
break;
}
case SHARE: {
mergeShare(other.getShare());
break;
}
case CONNECTION: {
mergeConnection(other.getConnection());
break;
}
case FUNCTION: {
mergeFunction(other.getFunction());
break;
}
case USER: {
mergeUser(other.getUser());
break;
}
case TABLE: {
mergeTable(other.getTable());
break;
}
case DERIVED_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.access.Ddl.AlterEntity parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.access.Ddl.AlterEntity) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int derivedCase_ = 0;
private java.lang.Object derived_;
public DerivedCase
getDerivedCase() {
return DerivedCase.forNumber(
derivedCase_);
}
public Builder clearDerived() {
derivedCase_ = 0;
derived_ = null;
onChanged();
return this;
}
private boolean ifExists_ ;
/**
* bool if_exists = 1;
* @return The ifExists.
*/
@java.lang.Override
public boolean getIfExists() {
return ifExists_;
}
/**
* bool if_exists = 1;
* @param value The ifExists to set.
* @return This builder for chaining.
*/
public Builder setIfExists(boolean value) {
ifExists_ = value;
onChanged();
return this;
}
/**
* bool if_exists = 1;
* @return This builder for chaining.
*/
public Builder clearIfExists() {
ifExists_ = false;
onChanged();
return this;
}
private cz.proto.ObjectIdentifier identifier_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> identifierBuilder_;
/**
* .cz.proto.ObjectIdentifier identifier = 2;
* @return Whether the identifier field is set.
*/
public boolean hasIdentifier() {
return identifierBuilder_ != null || identifier_ != null;
}
/**
* .cz.proto.ObjectIdentifier identifier = 2;
* @return The identifier.
*/
public cz.proto.ObjectIdentifier getIdentifier() {
if (identifierBuilder_ == null) {
return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_;
} else {
return identifierBuilder_.getMessage();
}
}
/**
* .cz.proto.ObjectIdentifier identifier = 2;
*/
public Builder setIdentifier(cz.proto.ObjectIdentifier value) {
if (identifierBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
identifier_ = value;
onChanged();
} else {
identifierBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.ObjectIdentifier identifier = 2;
*/
public Builder setIdentifier(
cz.proto.ObjectIdentifier.Builder builderForValue) {
if (identifierBuilder_ == null) {
identifier_ = builderForValue.build();
onChanged();
} else {
identifierBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.ObjectIdentifier identifier = 2;
*/
public Builder mergeIdentifier(cz.proto.ObjectIdentifier value) {
if (identifierBuilder_ == null) {
if (identifier_ != null) {
identifier_ =
cz.proto.ObjectIdentifier.newBuilder(identifier_).mergeFrom(value).buildPartial();
} else {
identifier_ = value;
}
onChanged();
} else {
identifierBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.ObjectIdentifier identifier = 2;
*/
public Builder clearIdentifier() {
if (identifierBuilder_ == null) {
identifier_ = null;
onChanged();
} else {
identifier_ = null;
identifierBuilder_ = null;
}
return this;
}
/**
* .cz.proto.ObjectIdentifier identifier = 2;
*/
public cz.proto.ObjectIdentifier.Builder getIdentifierBuilder() {
onChanged();
return getIdentifierFieldBuilder().getBuilder();
}
/**
* .cz.proto.ObjectIdentifier identifier = 2;
*/
public cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder() {
if (identifierBuilder_ != null) {
return identifierBuilder_.getMessageOrBuilder();
} else {
return identifier_ == null ?
cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_;
}
}
/**
* .cz.proto.ObjectIdentifier identifier = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>
getIdentifierFieldBuilder() {
if (identifierBuilder_ == null) {
identifierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>(
getIdentifier(),
getParentForChildren(),
isClean());
identifier_ = null;
}
return identifierBuilder_;
}
private boolean changeComment_ ;
/**
* bool change_comment = 3;
* @return The changeComment.
*/
@java.lang.Override
public boolean getChangeComment() {
return changeComment_;
}
/**
* bool change_comment = 3;
* @param value The changeComment to set.
* @return This builder for chaining.
*/
public Builder setChangeComment(boolean value) {
changeComment_ = value;
onChanged();
return this;
}
/**
* bool change_comment = 3;
* @return This builder for chaining.
*/
public Builder clearChangeComment() {
changeComment_ = false;
onChanged();
return this;
}
private cz.proto.MetadataEntity.Entity entity_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder> entityBuilder_;
/**
* .cz.proto.Entity entity = 4;
* @return Whether the entity field is set.
*/
public boolean hasEntity() {
return entityBuilder_ != null || entity_ != null;
}
/**
* .cz.proto.Entity entity = 4;
* @return The entity.
*/
public cz.proto.MetadataEntity.Entity getEntity() {
if (entityBuilder_ == null) {
return entity_ == null ? cz.proto.MetadataEntity.Entity.getDefaultInstance() : entity_;
} else {
return entityBuilder_.getMessage();
}
}
/**
* .cz.proto.Entity entity = 4;
*/
public Builder setEntity(cz.proto.MetadataEntity.Entity value) {
if (entityBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
entity_ = value;
onChanged();
} else {
entityBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.Entity entity = 4;
*/
public Builder setEntity(
cz.proto.MetadataEntity.Entity.Builder builderForValue) {
if (entityBuilder_ == null) {
entity_ = builderForValue.build();
onChanged();
} else {
entityBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.Entity entity = 4;
*/
public Builder mergeEntity(cz.proto.MetadataEntity.Entity value) {
if (entityBuilder_ == null) {
if (entity_ != null) {
entity_ =
cz.proto.MetadataEntity.Entity.newBuilder(entity_).mergeFrom(value).buildPartial();
} else {
entity_ = value;
}
onChanged();
} else {
entityBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.Entity entity = 4;
*/
public Builder clearEntity() {
if (entityBuilder_ == null) {
entity_ = null;
onChanged();
} else {
entity_ = null;
entityBuilder_ = null;
}
return this;
}
/**
* .cz.proto.Entity entity = 4;
*/
public cz.proto.MetadataEntity.Entity.Builder getEntityBuilder() {
onChanged();
return getEntityFieldBuilder().getBuilder();
}
/**
* .cz.proto.Entity entity = 4;
*/
public cz.proto.MetadataEntity.EntityOrBuilder getEntityOrBuilder() {
if (entityBuilder_ != null) {
return entityBuilder_.getMessageOrBuilder();
} else {
return entity_ == null ?
cz.proto.MetadataEntity.Entity.getDefaultInstance() : entity_;
}
}
/**
* .cz.proto.Entity entity = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder>
getEntityFieldBuilder() {
if (entityBuilder_ == null) {
entityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder>(
getEntity(),
getParentForChildren(),
isClean());
entity_ = null;
}
return entityBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.AlterRole, cz.proto.access.Ddl.AlterRole.Builder, cz.proto.access.Ddl.AlterRoleOrBuilder> roleBuilder_;
/**
* .cz.proto.access.AlterRole role = 10;
* @return Whether the role field is set.
*/
@java.lang.Override
public boolean hasRole() {
return derivedCase_ == 10;
}
/**
* .cz.proto.access.AlterRole role = 10;
* @return The role.
*/
@java.lang.Override
public cz.proto.access.Ddl.AlterRole getRole() {
if (roleBuilder_ == null) {
if (derivedCase_ == 10) {
return (cz.proto.access.Ddl.AlterRole) derived_;
}
return cz.proto.access.Ddl.AlterRole.getDefaultInstance();
} else {
if (derivedCase_ == 10) {
return roleBuilder_.getMessage();
}
return cz.proto.access.Ddl.AlterRole.getDefaultInstance();
}
}
/**
* .cz.proto.access.AlterRole role = 10;
*/
public Builder setRole(cz.proto.access.Ddl.AlterRole value) {
if (roleBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
derived_ = value;
onChanged();
} else {
roleBuilder_.setMessage(value);
}
derivedCase_ = 10;
return this;
}
/**
* .cz.proto.access.AlterRole role = 10;
*/
public Builder setRole(
cz.proto.access.Ddl.AlterRole.Builder builderForValue) {
if (roleBuilder_ == null) {
derived_ = builderForValue.build();
onChanged();
} else {
roleBuilder_.setMessage(builderForValue.build());
}
derivedCase_ = 10;
return this;
}
/**
* .cz.proto.access.AlterRole role = 10;
*/
public Builder mergeRole(cz.proto.access.Ddl.AlterRole value) {
if (roleBuilder_ == null) {
if (derivedCase_ == 10 &&
derived_ != cz.proto.access.Ddl.AlterRole.getDefaultInstance()) {
derived_ = cz.proto.access.Ddl.AlterRole.newBuilder((cz.proto.access.Ddl.AlterRole) derived_)
.mergeFrom(value).buildPartial();
} else {
derived_ = value;
}
onChanged();
} else {
if (derivedCase_ == 10) {
roleBuilder_.mergeFrom(value);
}
roleBuilder_.setMessage(value);
}
derivedCase_ = 10;
return this;
}
/**
* .cz.proto.access.AlterRole role = 10;
*/
public Builder clearRole() {
if (roleBuilder_ == null) {
if (derivedCase_ == 10) {
derivedCase_ = 0;
derived_ = null;
onChanged();
}
} else {
if (derivedCase_ == 10) {
derivedCase_ = 0;
derived_ = null;
}
roleBuilder_.clear();
}
return this;
}
/**
* .cz.proto.access.AlterRole role = 10;
*/
public cz.proto.access.Ddl.AlterRole.Builder getRoleBuilder() {
return getRoleFieldBuilder().getBuilder();
}
/**
* .cz.proto.access.AlterRole role = 10;
*/
@java.lang.Override
public cz.proto.access.Ddl.AlterRoleOrBuilder getRoleOrBuilder() {
if ((derivedCase_ == 10) && (roleBuilder_ != null)) {
return roleBuilder_.getMessageOrBuilder();
} else {
if (derivedCase_ == 10) {
return (cz.proto.access.Ddl.AlterRole) derived_;
}
return cz.proto.access.Ddl.AlterRole.getDefaultInstance();
}
}
/**
* .cz.proto.access.AlterRole role = 10;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.AlterRole, cz.proto.access.Ddl.AlterRole.Builder, cz.proto.access.Ddl.AlterRoleOrBuilder>
getRoleFieldBuilder() {
if (roleBuilder_ == null) {
if (!(derivedCase_ == 10)) {
derived_ = cz.proto.access.Ddl.AlterRole.getDefaultInstance();
}
roleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.AlterRole, cz.proto.access.Ddl.AlterRole.Builder, cz.proto.access.Ddl.AlterRoleOrBuilder>(
(cz.proto.access.Ddl.AlterRole) derived_,
getParentForChildren(),
isClean());
derived_ = null;
}
derivedCase_ = 10;
onChanged();;
return roleBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.AlterJob, cz.proto.access.Ddl.AlterJob.Builder, cz.proto.access.Ddl.AlterJobOrBuilder> jobBuilder_;
/**
* .cz.proto.access.AlterJob job = 11;
* @return Whether the job field is set.
*/
@java.lang.Override
public boolean hasJob() {
return derivedCase_ == 11;
}
/**
* .cz.proto.access.AlterJob job = 11;
* @return The job.
*/
@java.lang.Override
public cz.proto.access.Ddl.AlterJob getJob() {
if (jobBuilder_ == null) {
if (derivedCase_ == 11) {
return (cz.proto.access.Ddl.AlterJob) derived_;
}
return cz.proto.access.Ddl.AlterJob.getDefaultInstance();
} else {
if (derivedCase_ == 11) {
return jobBuilder_.getMessage();
}
return cz.proto.access.Ddl.AlterJob.getDefaultInstance();
}
}
/**
* .cz.proto.access.AlterJob job = 11;
*/
public Builder setJob(cz.proto.access.Ddl.AlterJob value) {
if (jobBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
derived_ = value;
onChanged();
} else {
jobBuilder_.setMessage(value);
}
derivedCase_ = 11;
return this;
}
/**
* .cz.proto.access.AlterJob job = 11;
*/
public Builder setJob(
cz.proto.access.Ddl.AlterJob.Builder builderForValue) {
if (jobBuilder_ == null) {
derived_ = builderForValue.build();
onChanged();
} else {
jobBuilder_.setMessage(builderForValue.build());
}
derivedCase_ = 11;
return this;
}
/**
* .cz.proto.access.AlterJob job = 11;
*/
public Builder mergeJob(cz.proto.access.Ddl.AlterJob value) {
if (jobBuilder_ == null) {
if (derivedCase_ == 11 &&
derived_ != cz.proto.access.Ddl.AlterJob.getDefaultInstance()) {
derived_ = cz.proto.access.Ddl.AlterJob.newBuilder((cz.proto.access.Ddl.AlterJob) derived_)
.mergeFrom(value).buildPartial();
} else {
derived_ = value;
}
onChanged();
} else {
if (derivedCase_ == 11) {
jobBuilder_.mergeFrom(value);
}
jobBuilder_.setMessage(value);
}
derivedCase_ = 11;
return this;
}
/**
* .cz.proto.access.AlterJob job = 11;
*/
public Builder clearJob() {
if (jobBuilder_ == null) {
if (derivedCase_ == 11) {
derivedCase_ = 0;
derived_ = null;
onChanged();
}
} else {
if (derivedCase_ == 11) {
derivedCase_ = 0;
derived_ = null;
}
jobBuilder_.clear();
}
return this;
}
/**
* .cz.proto.access.AlterJob job = 11;
*/
public cz.proto.access.Ddl.AlterJob.Builder getJobBuilder() {
return getJobFieldBuilder().getBuilder();
}
/**
* .cz.proto.access.AlterJob job = 11;
*/
@java.lang.Override
public cz.proto.access.Ddl.AlterJobOrBuilder getJobOrBuilder() {
if ((derivedCase_ == 11) && (jobBuilder_ != null)) {
return jobBuilder_.getMessageOrBuilder();
} else {
if (derivedCase_ == 11) {
return (cz.proto.access.Ddl.AlterJob) derived_;
}
return cz.proto.access.Ddl.AlterJob.getDefaultInstance();
}
}
/**
* .cz.proto.access.AlterJob job = 11;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.AlterJob, cz.proto.access.Ddl.AlterJob.Builder, cz.proto.access.Ddl.AlterJobOrBuilder>
getJobFieldBuilder() {
if (jobBuilder_ == null) {
if (!(derivedCase_ == 11)) {
derived_ = cz.proto.access.Ddl.AlterJob.getDefaultInstance();
}
jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.AlterJob, cz.proto.access.Ddl.AlterJob.Builder, cz.proto.access.Ddl.AlterJobOrBuilder>(
(cz.proto.access.Ddl.AlterJob) derived_,
getParentForChildren(),
isClean());
derived_ = null;
}
derivedCase_ = 11;
onChanged();;
return jobBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.AlterVirtualCluster, cz.proto.access.Ddl.AlterVirtualCluster.Builder, cz.proto.access.Ddl.AlterVirtualClusterOrBuilder> virtualClusterBuilder_;
/**
* .cz.proto.access.AlterVirtualCluster virtual_cluster = 12;
* @return Whether the virtualCluster field is set.
*/
@java.lang.Override
public boolean hasVirtualCluster() {
return derivedCase_ == 12;
}
/**
* .cz.proto.access.AlterVirtualCluster virtual_cluster = 12;
* @return The virtualCluster.
*/
@java.lang.Override
public cz.proto.access.Ddl.AlterVirtualCluster getVirtualCluster() {
if (virtualClusterBuilder_ == null) {
if (derivedCase_ == 12) {
return (cz.proto.access.Ddl.AlterVirtualCluster) derived_;
}
return cz.proto.access.Ddl.AlterVirtualCluster.getDefaultInstance();
} else {
if (derivedCase_ == 12) {
return virtualClusterBuilder_.getMessage();
}
return cz.proto.access.Ddl.AlterVirtualCluster.getDefaultInstance();
}
}
/**
* .cz.proto.access.AlterVirtualCluster virtual_cluster = 12;
*/
public Builder setVirtualCluster(cz.proto.access.Ddl.AlterVirtualCluster value) {
if (virtualClusterBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
derived_ = value;
onChanged();
} else {
virtualClusterBuilder_.setMessage(value);
}
derivedCase_ = 12;
return this;
}
/**
* .cz.proto.access.AlterVirtualCluster virtual_cluster = 12;
*/
public Builder setVirtualCluster(
cz.proto.access.Ddl.AlterVirtualCluster.Builder builderForValue) {
if (virtualClusterBuilder_ == null) {
derived_ = builderForValue.build();
onChanged();
} else {
virtualClusterBuilder_.setMessage(builderForValue.build());
}
derivedCase_ = 12;
return this;
}
/**
* .cz.proto.access.AlterVirtualCluster virtual_cluster = 12;
*/
public Builder mergeVirtualCluster(cz.proto.access.Ddl.AlterVirtualCluster value) {
if (virtualClusterBuilder_ == null) {
if (derivedCase_ == 12 &&
derived_ != cz.proto.access.Ddl.AlterVirtualCluster.getDefaultInstance()) {
derived_ = cz.proto.access.Ddl.AlterVirtualCluster.newBuilder((cz.proto.access.Ddl.AlterVirtualCluster) derived_)
.mergeFrom(value).buildPartial();
} else {
derived_ = value;
}
onChanged();
} else {
if (derivedCase_ == 12) {
virtualClusterBuilder_.mergeFrom(value);
}
virtualClusterBuilder_.setMessage(value);
}
derivedCase_ = 12;
return this;
}
/**
* .cz.proto.access.AlterVirtualCluster virtual_cluster = 12;
*/
public Builder clearVirtualCluster() {
if (virtualClusterBuilder_ == null) {
if (derivedCase_ == 12) {
derivedCase_ = 0;
derived_ = null;
onChanged();
}
} else {
if (derivedCase_ == 12) {
derivedCase_ = 0;
derived_ = null;
}
virtualClusterBuilder_.clear();
}
return this;
}
/**
* .cz.proto.access.AlterVirtualCluster virtual_cluster = 12;
*/
public cz.proto.access.Ddl.AlterVirtualCluster.Builder getVirtualClusterBuilder() {
return getVirtualClusterFieldBuilder().getBuilder();
}
/**
* .cz.proto.access.AlterVirtualCluster virtual_cluster = 12;
*/
@java.lang.Override
public cz.proto.access.Ddl.AlterVirtualClusterOrBuilder getVirtualClusterOrBuilder() {
if ((derivedCase_ == 12) && (virtualClusterBuilder_ != null)) {
return virtualClusterBuilder_.getMessageOrBuilder();
} else {
if (derivedCase_ == 12) {
return (cz.proto.access.Ddl.AlterVirtualCluster) derived_;
}
return cz.proto.access.Ddl.AlterVirtualCluster.getDefaultInstance();
}
}
/**
* .cz.proto.access.AlterVirtualCluster virtual_cluster = 12;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.AlterVirtualCluster, cz.proto.access.Ddl.AlterVirtualCluster.Builder, cz.proto.access.Ddl.AlterVirtualClusterOrBuilder>
getVirtualClusterFieldBuilder() {
if (virtualClusterBuilder_ == null) {
if (!(derivedCase_ == 12)) {
derived_ = cz.proto.access.Ddl.AlterVirtualCluster.getDefaultInstance();
}
virtualClusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.AlterVirtualCluster, cz.proto.access.Ddl.AlterVirtualCluster.Builder, cz.proto.access.Ddl.AlterVirtualClusterOrBuilder>(
(cz.proto.access.Ddl.AlterVirtualCluster) derived_,
getParentForChildren(),
isClean());
derived_ = null;
}
derivedCase_ = 12;
onChanged();;
return virtualClusterBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.AlterVCluster, cz.proto.access.Ddl.AlterVCluster.Builder, cz.proto.access.Ddl.AlterVClusterOrBuilder> vclusterBuilder_;
/**
*
* TODO(zhenyu.hou) - this is only for RM, remove later
*
*
* .cz.proto.access.AlterVCluster vcluster = 13;
* @return Whether the vcluster field is set.
*/
@java.lang.Override
public boolean hasVcluster() {
return derivedCase_ == 13;
}
/**
*
* TODO(zhenyu.hou) - this is only for RM, remove later
*
*
* .cz.proto.access.AlterVCluster vcluster = 13;
* @return The vcluster.
*/
@java.lang.Override
public cz.proto.access.Ddl.AlterVCluster getVcluster() {
if (vclusterBuilder_ == null) {
if (derivedCase_ == 13) {
return (cz.proto.access.Ddl.AlterVCluster) derived_;
}
return cz.proto.access.Ddl.AlterVCluster.getDefaultInstance();
} else {
if (derivedCase_ == 13) {
return vclusterBuilder_.getMessage();
}
return cz.proto.access.Ddl.AlterVCluster.getDefaultInstance();
}
}
/**
*
* TODO(zhenyu.hou) - this is only for RM, remove later
*
*
* .cz.proto.access.AlterVCluster vcluster = 13;
*/
public Builder setVcluster(cz.proto.access.Ddl.AlterVCluster value) {
if (vclusterBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
derived_ = value;
onChanged();
} else {
vclusterBuilder_.setMessage(value);
}
derivedCase_ = 13;
return this;
}
/**
*
* TODO(zhenyu.hou) - this is only for RM, remove later
*
*
* .cz.proto.access.AlterVCluster vcluster = 13;
*/
public Builder setVcluster(
cz.proto.access.Ddl.AlterVCluster.Builder builderForValue) {
if (vclusterBuilder_ == null) {
derived_ = builderForValue.build();
onChanged();
} else {
vclusterBuilder_.setMessage(builderForValue.build());
}
derivedCase_ = 13;
return this;
}
/**
*
* TODO(zhenyu.hou) - this is only for RM, remove later
*
*
* .cz.proto.access.AlterVCluster vcluster = 13;
*/
public Builder mergeVcluster(cz.proto.access.Ddl.AlterVCluster value) {
if (vclusterBuilder_ == null) {
if (derivedCase_ == 13 &&
derived_ != cz.proto.access.Ddl.AlterVCluster.getDefaultInstance()) {
derived_ = cz.proto.access.Ddl.AlterVCluster.newBuilder((cz.proto.access.Ddl.AlterVCluster) derived_)
.mergeFrom(value).buildPartial();
} else {
derived_ = value;
}
onChanged();
} else {
if (derivedCase_ == 13) {
vclusterBuilder_.mergeFrom(value);
}
vclusterBuilder_.setMessage(value);
}
derivedCase_ = 13;
return this;
}
/**
*
* TODO(zhenyu.hou) - this is only for RM, remove later
*
*
* .cz.proto.access.AlterVCluster vcluster = 13;
*/
public Builder clearVcluster() {
if (vclusterBuilder_ == null) {
if (derivedCase_ == 13) {
derivedCase_ = 0;
derived_ = null;
onChanged();
}
} else {
if (derivedCase_ == 13) {
derivedCase_ = 0;
derived_ = null;
}
vclusterBuilder_.clear();
}
return this;
}
/**
*
* TODO(zhenyu.hou) - this is only for RM, remove later
*
*
* .cz.proto.access.AlterVCluster vcluster = 13;
*/
public cz.proto.access.Ddl.AlterVCluster.Builder getVclusterBuilder() {
return getVclusterFieldBuilder().getBuilder();
}
/**
*
* TODO(zhenyu.hou) - this is only for RM, remove later
*
*
* .cz.proto.access.AlterVCluster vcluster = 13;
*/
@java.lang.Override
public cz.proto.access.Ddl.AlterVClusterOrBuilder getVclusterOrBuilder() {
if ((derivedCase_ == 13) && (vclusterBuilder_ != null)) {
return vclusterBuilder_.getMessageOrBuilder();
} else {
if (derivedCase_ == 13) {
return (cz.proto.access.Ddl.AlterVCluster) derived_;
}
return cz.proto.access.Ddl.AlterVCluster.getDefaultInstance();
}
}
/**
*
* TODO(zhenyu.hou) - this is only for RM, remove later
*
*
* .cz.proto.access.AlterVCluster vcluster = 13;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.AlterVCluster, cz.proto.access.Ddl.AlterVCluster.Builder, cz.proto.access.Ddl.AlterVClusterOrBuilder>
getVclusterFieldBuilder() {
if (vclusterBuilder_ == null) {
if (!(derivedCase_ == 13)) {
derived_ = cz.proto.access.Ddl.AlterVCluster.getDefaultInstance();
}
vclusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.AlterVCluster, cz.proto.access.Ddl.AlterVCluster.Builder, cz.proto.access.Ddl.AlterVClusterOrBuilder>(
(cz.proto.access.Ddl.AlterVCluster) derived_,
getParentForChildren(),
isClean());
derived_ = null;
}
derivedCase_ = 13;
onChanged();;
return vclusterBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.AlterShare, cz.proto.access.Ddl.AlterShare.Builder, cz.proto.access.Ddl.AlterShareOrBuilder> shareBuilder_;
/**
* .cz.proto.access.AlterShare share = 14;
* @return Whether the share field is set.
*/
@java.lang.Override
public boolean hasShare() {
return derivedCase_ == 14;
}
/**
* .cz.proto.access.AlterShare share = 14;
* @return The share.
*/
@java.lang.Override
public cz.proto.access.Ddl.AlterShare getShare() {
if (shareBuilder_ == null) {
if (derivedCase_ == 14) {
return (cz.proto.access.Ddl.AlterShare) derived_;
}
return cz.proto.access.Ddl.AlterShare.getDefaultInstance();
} else {
if (derivedCase_ == 14) {
return shareBuilder_.getMessage();
}
return cz.proto.access.Ddl.AlterShare.getDefaultInstance();
}
}
/**
* .cz.proto.access.AlterShare share = 14;
*/
public Builder setShare(cz.proto.access.Ddl.AlterShare value) {
if (shareBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
derived_ = value;
onChanged();
} else {
shareBuilder_.setMessage(value);
}
derivedCase_ = 14;
return this;
}
/**
* .cz.proto.access.AlterShare share = 14;
*/
public Builder setShare(
cz.proto.access.Ddl.AlterShare.Builder builderForValue) {
if (shareBuilder_ == null) {
derived_ = builderForValue.build();
onChanged();
} else {
shareBuilder_.setMessage(builderForValue.build());
}
derivedCase_ = 14;
return this;
}
/**
* .cz.proto.access.AlterShare share = 14;
*/
public Builder mergeShare(cz.proto.access.Ddl.AlterShare value) {
if (shareBuilder_ == null) {
if (derivedCase_ == 14 &&
derived_ != cz.proto.access.Ddl.AlterShare.getDefaultInstance()) {
derived_ = cz.proto.access.Ddl.AlterShare.newBuilder((cz.proto.access.Ddl.AlterShare) derived_)
.mergeFrom(value).buildPartial();
} else {
derived_ = value;
}
onChanged();
} else {
if (derivedCase_ == 14) {
shareBuilder_.mergeFrom(value);
}
shareBuilder_.setMessage(value);
}
derivedCase_ = 14;
return this;
}
/**
* .cz.proto.access.AlterShare share = 14;
*/
public Builder clearShare() {
if (shareBuilder_ == null) {
if (derivedCase_ == 14) {
derivedCase_ = 0;
derived_ = null;
onChanged();
}
} else {
if (derivedCase_ == 14) {
derivedCase_ = 0;
derived_ = null;
}
shareBuilder_.clear();
}
return this;
}
/**
* .cz.proto.access.AlterShare share = 14;
*/
public cz.proto.access.Ddl.AlterShare.Builder getShareBuilder() {
return getShareFieldBuilder().getBuilder();
}
/**
* .cz.proto.access.AlterShare share = 14;
*/
@java.lang.Override
public cz.proto.access.Ddl.AlterShareOrBuilder getShareOrBuilder() {
if ((derivedCase_ == 14) && (shareBuilder_ != null)) {
return shareBuilder_.getMessageOrBuilder();
} else {
if (derivedCase_ == 14) {
return (cz.proto.access.Ddl.AlterShare) derived_;
}
return cz.proto.access.Ddl.AlterShare.getDefaultInstance();
}
}
/**
* .cz.proto.access.AlterShare share = 14;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.AlterShare, cz.proto.access.Ddl.AlterShare.Builder, cz.proto.access.Ddl.AlterShareOrBuilder>
getShareFieldBuilder() {
if (shareBuilder_ == null) {
if (!(derivedCase_ == 14)) {
derived_ = cz.proto.access.Ddl.AlterShare.getDefaultInstance();
}
shareBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.AlterShare, cz.proto.access.Ddl.AlterShare.Builder, cz.proto.access.Ddl.AlterShareOrBuilder>(
(cz.proto.access.Ddl.AlterShare) derived_,
getParentForChildren(),
isClean());
derived_ = null;
}
derivedCase_ = 14;
onChanged();;
return shareBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.AlterConnection, cz.proto.access.Ddl.AlterConnection.Builder, cz.proto.access.Ddl.AlterConnectionOrBuilder> connectionBuilder_;
/**
* .cz.proto.access.AlterConnection connection = 15;
* @return Whether the connection field is set.
*/
@java.lang.Override
public boolean hasConnection() {
return derivedCase_ == 15;
}
/**
* .cz.proto.access.AlterConnection connection = 15;
* @return The connection.
*/
@java.lang.Override
public cz.proto.access.Ddl.AlterConnection getConnection() {
if (connectionBuilder_ == null) {
if (derivedCase_ == 15) {
return (cz.proto.access.Ddl.AlterConnection) derived_;
}
return cz.proto.access.Ddl.AlterConnection.getDefaultInstance();
} else {
if (derivedCase_ == 15) {
return connectionBuilder_.getMessage();
}
return cz.proto.access.Ddl.AlterConnection.getDefaultInstance();
}
}
/**
* .cz.proto.access.AlterConnection connection = 15;
*/
public Builder setConnection(cz.proto.access.Ddl.AlterConnection value) {
if (connectionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
derived_ = value;
onChanged();
} else {
connectionBuilder_.setMessage(value);
}
derivedCase_ = 15;
return this;
}
/**
* .cz.proto.access.AlterConnection connection = 15;
*/
public Builder setConnection(
cz.proto.access.Ddl.AlterConnection.Builder builderForValue) {
if (connectionBuilder_ == null) {
derived_ = builderForValue.build();
onChanged();
} else {
connectionBuilder_.setMessage(builderForValue.build());
}
derivedCase_ = 15;
return this;
}
/**
* .cz.proto.access.AlterConnection connection = 15;
*/
public Builder mergeConnection(cz.proto.access.Ddl.AlterConnection value) {
if (connectionBuilder_ == null) {
if (derivedCase_ == 15 &&
derived_ != cz.proto.access.Ddl.AlterConnection.getDefaultInstance()) {
derived_ = cz.proto.access.Ddl.AlterConnection.newBuilder((cz.proto.access.Ddl.AlterConnection) derived_)
.mergeFrom(value).buildPartial();
} else {
derived_ = value;
}
onChanged();
} else {
if (derivedCase_ == 15) {
connectionBuilder_.mergeFrom(value);
}
connectionBuilder_.setMessage(value);
}
derivedCase_ = 15;
return this;
}
/**
* .cz.proto.access.AlterConnection connection = 15;
*/
public Builder clearConnection() {
if (connectionBuilder_ == null) {
if (derivedCase_ == 15) {
derivedCase_ = 0;
derived_ = null;
onChanged();
}
} else {
if (derivedCase_ == 15) {
derivedCase_ = 0;
derived_ = null;
}
connectionBuilder_.clear();
}
return this;
}
/**
* .cz.proto.access.AlterConnection connection = 15;
*/
public cz.proto.access.Ddl.AlterConnection.Builder getConnectionBuilder() {
return getConnectionFieldBuilder().getBuilder();
}
/**
* .cz.proto.access.AlterConnection connection = 15;
*/
@java.lang.Override
public cz.proto.access.Ddl.AlterConnectionOrBuilder getConnectionOrBuilder() {
if ((derivedCase_ == 15) && (connectionBuilder_ != null)) {
return connectionBuilder_.getMessageOrBuilder();
} else {
if (derivedCase_ == 15) {
return (cz.proto.access.Ddl.AlterConnection) derived_;
}
return cz.proto.access.Ddl.AlterConnection.getDefaultInstance();
}
}
/**
* .cz.proto.access.AlterConnection connection = 15;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.AlterConnection, cz.proto.access.Ddl.AlterConnection.Builder, cz.proto.access.Ddl.AlterConnectionOrBuilder>
getConnectionFieldBuilder() {
if (connectionBuilder_ == null) {
if (!(derivedCase_ == 15)) {
derived_ = cz.proto.access.Ddl.AlterConnection.getDefaultInstance();
}
connectionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.AlterConnection, cz.proto.access.Ddl.AlterConnection.Builder, cz.proto.access.Ddl.AlterConnectionOrBuilder>(
(cz.proto.access.Ddl.AlterConnection) derived_,
getParentForChildren(),
isClean());
derived_ = null;
}
derivedCase_ = 15;
onChanged();;
return connectionBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.AlterFunction, cz.proto.access.Ddl.AlterFunction.Builder, cz.proto.access.Ddl.AlterFunctionOrBuilder> functionBuilder_;
/**
* .cz.proto.access.AlterFunction function = 16;
* @return Whether the function field is set.
*/
@java.lang.Override
public boolean hasFunction() {
return derivedCase_ == 16;
}
/**
* .cz.proto.access.AlterFunction function = 16;
* @return The function.
*/
@java.lang.Override
public cz.proto.access.Ddl.AlterFunction getFunction() {
if (functionBuilder_ == null) {
if (derivedCase_ == 16) {
return (cz.proto.access.Ddl.AlterFunction) derived_;
}
return cz.proto.access.Ddl.AlterFunction.getDefaultInstance();
} else {
if (derivedCase_ == 16) {
return functionBuilder_.getMessage();
}
return cz.proto.access.Ddl.AlterFunction.getDefaultInstance();
}
}
/**
* .cz.proto.access.AlterFunction function = 16;
*/
public Builder setFunction(cz.proto.access.Ddl.AlterFunction value) {
if (functionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
derived_ = value;
onChanged();
} else {
functionBuilder_.setMessage(value);
}
derivedCase_ = 16;
return this;
}
/**
* .cz.proto.access.AlterFunction function = 16;
*/
public Builder setFunction(
cz.proto.access.Ddl.AlterFunction.Builder builderForValue) {
if (functionBuilder_ == null) {
derived_ = builderForValue.build();
onChanged();
} else {
functionBuilder_.setMessage(builderForValue.build());
}
derivedCase_ = 16;
return this;
}
/**
* .cz.proto.access.AlterFunction function = 16;
*/
public Builder mergeFunction(cz.proto.access.Ddl.AlterFunction value) {
if (functionBuilder_ == null) {
if (derivedCase_ == 16 &&
derived_ != cz.proto.access.Ddl.AlterFunction.getDefaultInstance()) {
derived_ = cz.proto.access.Ddl.AlterFunction.newBuilder((cz.proto.access.Ddl.AlterFunction) derived_)
.mergeFrom(value).buildPartial();
} else {
derived_ = value;
}
onChanged();
} else {
if (derivedCase_ == 16) {
functionBuilder_.mergeFrom(value);
}
functionBuilder_.setMessage(value);
}
derivedCase_ = 16;
return this;
}
/**
* .cz.proto.access.AlterFunction function = 16;
*/
public Builder clearFunction() {
if (functionBuilder_ == null) {
if (derivedCase_ == 16) {
derivedCase_ = 0;
derived_ = null;
onChanged();
}
} else {
if (derivedCase_ == 16) {
derivedCase_ = 0;
derived_ = null;
}
functionBuilder_.clear();
}
return this;
}
/**
* .cz.proto.access.AlterFunction function = 16;
*/
public cz.proto.access.Ddl.AlterFunction.Builder getFunctionBuilder() {
return getFunctionFieldBuilder().getBuilder();
}
/**
* .cz.proto.access.AlterFunction function = 16;
*/
@java.lang.Override
public cz.proto.access.Ddl.AlterFunctionOrBuilder getFunctionOrBuilder() {
if ((derivedCase_ == 16) && (functionBuilder_ != null)) {
return functionBuilder_.getMessageOrBuilder();
} else {
if (derivedCase_ == 16) {
return (cz.proto.access.Ddl.AlterFunction) derived_;
}
return cz.proto.access.Ddl.AlterFunction.getDefaultInstance();
}
}
/**
* .cz.proto.access.AlterFunction function = 16;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.AlterFunction, cz.proto.access.Ddl.AlterFunction.Builder, cz.proto.access.Ddl.AlterFunctionOrBuilder>
getFunctionFieldBuilder() {
if (functionBuilder_ == null) {
if (!(derivedCase_ == 16)) {
derived_ = cz.proto.access.Ddl.AlterFunction.getDefaultInstance();
}
functionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.AlterFunction, cz.proto.access.Ddl.AlterFunction.Builder, cz.proto.access.Ddl.AlterFunctionOrBuilder>(
(cz.proto.access.Ddl.AlterFunction) derived_,
getParentForChildren(),
isClean());
derived_ = null;
}
derivedCase_ = 16;
onChanged();;
return functionBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.AlterUser, cz.proto.access.Ddl.AlterUser.Builder, cz.proto.access.Ddl.AlterUserOrBuilder> userBuilder_;
/**
* .cz.proto.access.AlterUser user = 17;
* @return Whether the user field is set.
*/
@java.lang.Override
public boolean hasUser() {
return derivedCase_ == 17;
}
/**
* .cz.proto.access.AlterUser user = 17;
* @return The user.
*/
@java.lang.Override
public cz.proto.access.Ddl.AlterUser getUser() {
if (userBuilder_ == null) {
if (derivedCase_ == 17) {
return (cz.proto.access.Ddl.AlterUser) derived_;
}
return cz.proto.access.Ddl.AlterUser.getDefaultInstance();
} else {
if (derivedCase_ == 17) {
return userBuilder_.getMessage();
}
return cz.proto.access.Ddl.AlterUser.getDefaultInstance();
}
}
/**
* .cz.proto.access.AlterUser user = 17;
*/
public Builder setUser(cz.proto.access.Ddl.AlterUser value) {
if (userBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
derived_ = value;
onChanged();
} else {
userBuilder_.setMessage(value);
}
derivedCase_ = 17;
return this;
}
/**
* .cz.proto.access.AlterUser user = 17;
*/
public Builder setUser(
cz.proto.access.Ddl.AlterUser.Builder builderForValue) {
if (userBuilder_ == null) {
derived_ = builderForValue.build();
onChanged();
} else {
userBuilder_.setMessage(builderForValue.build());
}
derivedCase_ = 17;
return this;
}
/**
* .cz.proto.access.AlterUser user = 17;
*/
public Builder mergeUser(cz.proto.access.Ddl.AlterUser value) {
if (userBuilder_ == null) {
if (derivedCase_ == 17 &&
derived_ != cz.proto.access.Ddl.AlterUser.getDefaultInstance()) {
derived_ = cz.proto.access.Ddl.AlterUser.newBuilder((cz.proto.access.Ddl.AlterUser) derived_)
.mergeFrom(value).buildPartial();
} else {
derived_ = value;
}
onChanged();
} else {
if (derivedCase_ == 17) {
userBuilder_.mergeFrom(value);
}
userBuilder_.setMessage(value);
}
derivedCase_ = 17;
return this;
}
/**
* .cz.proto.access.AlterUser user = 17;
*/
public Builder clearUser() {
if (userBuilder_ == null) {
if (derivedCase_ == 17) {
derivedCase_ = 0;
derived_ = null;
onChanged();
}
} else {
if (derivedCase_ == 17) {
derivedCase_ = 0;
derived_ = null;
}
userBuilder_.clear();
}
return this;
}
/**
* .cz.proto.access.AlterUser user = 17;
*/
public cz.proto.access.Ddl.AlterUser.Builder getUserBuilder() {
return getUserFieldBuilder().getBuilder();
}
/**
* .cz.proto.access.AlterUser user = 17;
*/
@java.lang.Override
public cz.proto.access.Ddl.AlterUserOrBuilder getUserOrBuilder() {
if ((derivedCase_ == 17) && (userBuilder_ != null)) {
return userBuilder_.getMessageOrBuilder();
} else {
if (derivedCase_ == 17) {
return (cz.proto.access.Ddl.AlterUser) derived_;
}
return cz.proto.access.Ddl.AlterUser.getDefaultInstance();
}
}
/**
* .cz.proto.access.AlterUser user = 17;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.AlterUser, cz.proto.access.Ddl.AlterUser.Builder, cz.proto.access.Ddl.AlterUserOrBuilder>
getUserFieldBuilder() {
if (userBuilder_ == null) {
if (!(derivedCase_ == 17)) {
derived_ = cz.proto.access.Ddl.AlterUser.getDefaultInstance();
}
userBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.AlterUser, cz.proto.access.Ddl.AlterUser.Builder, cz.proto.access.Ddl.AlterUserOrBuilder>(
(cz.proto.access.Ddl.AlterUser) derived_,
getParentForChildren(),
isClean());
derived_ = null;
}
derivedCase_ = 17;
onChanged();;
return userBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.AlterTable, cz.proto.access.Ddl.AlterTable.Builder, cz.proto.access.Ddl.AlterTableOrBuilder> tableBuilder_;
/**
* .cz.proto.access.AlterTable table = 18;
* @return Whether the table field is set.
*/
@java.lang.Override
public boolean hasTable() {
return derivedCase_ == 18;
}
/**
* .cz.proto.access.AlterTable table = 18;
* @return The table.
*/
@java.lang.Override
public cz.proto.access.Ddl.AlterTable getTable() {
if (tableBuilder_ == null) {
if (derivedCase_ == 18) {
return (cz.proto.access.Ddl.AlterTable) derived_;
}
return cz.proto.access.Ddl.AlterTable.getDefaultInstance();
} else {
if (derivedCase_ == 18) {
return tableBuilder_.getMessage();
}
return cz.proto.access.Ddl.AlterTable.getDefaultInstance();
}
}
/**
* .cz.proto.access.AlterTable table = 18;
*/
public Builder setTable(cz.proto.access.Ddl.AlterTable value) {
if (tableBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
derived_ = value;
onChanged();
} else {
tableBuilder_.setMessage(value);
}
derivedCase_ = 18;
return this;
}
/**
* .cz.proto.access.AlterTable table = 18;
*/
public Builder setTable(
cz.proto.access.Ddl.AlterTable.Builder builderForValue) {
if (tableBuilder_ == null) {
derived_ = builderForValue.build();
onChanged();
} else {
tableBuilder_.setMessage(builderForValue.build());
}
derivedCase_ = 18;
return this;
}
/**
* .cz.proto.access.AlterTable table = 18;
*/
public Builder mergeTable(cz.proto.access.Ddl.AlterTable value) {
if (tableBuilder_ == null) {
if (derivedCase_ == 18 &&
derived_ != cz.proto.access.Ddl.AlterTable.getDefaultInstance()) {
derived_ = cz.proto.access.Ddl.AlterTable.newBuilder((cz.proto.access.Ddl.AlterTable) derived_)
.mergeFrom(value).buildPartial();
} else {
derived_ = value;
}
onChanged();
} else {
if (derivedCase_ == 18) {
tableBuilder_.mergeFrom(value);
}
tableBuilder_.setMessage(value);
}
derivedCase_ = 18;
return this;
}
/**
* .cz.proto.access.AlterTable table = 18;
*/
public Builder clearTable() {
if (tableBuilder_ == null) {
if (derivedCase_ == 18) {
derivedCase_ = 0;
derived_ = null;
onChanged();
}
} else {
if (derivedCase_ == 18) {
derivedCase_ = 0;
derived_ = null;
}
tableBuilder_.clear();
}
return this;
}
/**
* .cz.proto.access.AlterTable table = 18;
*/
public cz.proto.access.Ddl.AlterTable.Builder getTableBuilder() {
return getTableFieldBuilder().getBuilder();
}
/**
* .cz.proto.access.AlterTable table = 18;
*/
@java.lang.Override
public cz.proto.access.Ddl.AlterTableOrBuilder getTableOrBuilder() {
if ((derivedCase_ == 18) && (tableBuilder_ != null)) {
return tableBuilder_.getMessageOrBuilder();
} else {
if (derivedCase_ == 18) {
return (cz.proto.access.Ddl.AlterTable) derived_;
}
return cz.proto.access.Ddl.AlterTable.getDefaultInstance();
}
}
/**
* .cz.proto.access.AlterTable table = 18;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.AlterTable, cz.proto.access.Ddl.AlterTable.Builder, cz.proto.access.Ddl.AlterTableOrBuilder>
getTableFieldBuilder() {
if (tableBuilder_ == null) {
if (!(derivedCase_ == 18)) {
derived_ = cz.proto.access.Ddl.AlterTable.getDefaultInstance();
}
tableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.AlterTable, cz.proto.access.Ddl.AlterTable.Builder, cz.proto.access.Ddl.AlterTableOrBuilder>(
(cz.proto.access.Ddl.AlterTable) derived_,
getParentForChildren(),
isClean());
derived_ = null;
}
derivedCase_ = 18;
onChanged();;
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.access.AlterEntity)
}
// @@protoc_insertion_point(class_scope:cz.proto.access.AlterEntity)
private static final cz.proto.access.Ddl.AlterEntity DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.access.Ddl.AlterEntity();
}
public static cz.proto.access.Ddl.AlterEntity getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public AlterEntity parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AlterEntity(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.access.Ddl.AlterEntity getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ColumnMoveOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.access.ColumnMove)
com.google.protobuf.MessageOrBuilder {
/**
* .cz.proto.access.ColumnMoveType type = 1;
* @return The enum numeric value on the wire for type.
*/
int getTypeValue();
/**
* .cz.proto.access.ColumnMoveType type = 1;
* @return The type.
*/
cz.proto.access.Ddl.ColumnMoveType getType();
/**
* string column_name = 2;
* @return The columnName.
*/
java.lang.String getColumnName();
/**
* string column_name = 2;
* @return The bytes for columnName.
*/
com.google.protobuf.ByteString
getColumnNameBytes();
/**
* optional string reference_column_name = 3;
* @return Whether the referenceColumnName field is set.
*/
boolean hasReferenceColumnName();
/**
* optional string reference_column_name = 3;
* @return The referenceColumnName.
*/
java.lang.String getReferenceColumnName();
/**
* optional string reference_column_name = 3;
* @return The bytes for referenceColumnName.
*/
com.google.protobuf.ByteString
getReferenceColumnNameBytes();
/**
* repeated string ancestors = 4;
* @return A list containing the ancestors.
*/
java.util.List
getAncestorsList();
/**
* repeated string ancestors = 4;
* @return The count of ancestors.
*/
int getAncestorsCount();
/**
* repeated string ancestors = 4;
* @param index The index of the element to return.
* @return The ancestors at the given index.
*/
java.lang.String getAncestors(int index);
/**
* repeated string ancestors = 4;
* @param index The index of the value to return.
* @return The bytes of the ancestors at the given index.
*/
com.google.protobuf.ByteString
getAncestorsBytes(int index);
}
/**
* Protobuf type {@code cz.proto.access.ColumnMove}
*/
public static final class ColumnMove extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.access.ColumnMove)
ColumnMoveOrBuilder {
private static final long serialVersionUID = 0L;
// Use ColumnMove.newBuilder() to construct.
private ColumnMove(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ColumnMove() {
type_ = 0;
columnName_ = "";
referenceColumnName_ = "";
ancestors_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ColumnMove();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ColumnMove(
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: {
int rawValue = input.readEnum();
type_ = rawValue;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
columnName_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
referenceColumnName_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
ancestors_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000002;
}
ancestors_.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_ & 0x00000002) != 0)) {
ancestors_ = ancestors_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_ColumnMove_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_ColumnMove_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.ColumnMove.class, cz.proto.access.Ddl.ColumnMove.Builder.class);
}
private int bitField0_;
public static final int TYPE_FIELD_NUMBER = 1;
private int type_;
/**
* .cz.proto.access.ColumnMoveType type = 1;
* @return The enum numeric value on the wire for type.
*/
@java.lang.Override public int getTypeValue() {
return type_;
}
/**
* .cz.proto.access.ColumnMoveType type = 1;
* @return The type.
*/
@java.lang.Override public cz.proto.access.Ddl.ColumnMoveType getType() {
@SuppressWarnings("deprecation")
cz.proto.access.Ddl.ColumnMoveType result = cz.proto.access.Ddl.ColumnMoveType.valueOf(type_);
return result == null ? cz.proto.access.Ddl.ColumnMoveType.UNRECOGNIZED : result;
}
public static final int COLUMN_NAME_FIELD_NUMBER = 2;
private volatile java.lang.Object columnName_;
/**
* string column_name = 2;
* @return The columnName.
*/
@java.lang.Override
public java.lang.String getColumnName() {
java.lang.Object ref = columnName_;
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();
columnName_ = s;
return s;
}
}
/**
* string column_name = 2;
* @return The bytes for columnName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getColumnNameBytes() {
java.lang.Object ref = columnName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
columnName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int REFERENCE_COLUMN_NAME_FIELD_NUMBER = 3;
private volatile java.lang.Object referenceColumnName_;
/**
* optional string reference_column_name = 3;
* @return Whether the referenceColumnName field is set.
*/
@java.lang.Override
public boolean hasReferenceColumnName() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string reference_column_name = 3;
* @return The referenceColumnName.
*/
@java.lang.Override
public java.lang.String getReferenceColumnName() {
java.lang.Object ref = referenceColumnName_;
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();
referenceColumnName_ = s;
return s;
}
}
/**
* optional string reference_column_name = 3;
* @return The bytes for referenceColumnName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getReferenceColumnNameBytes() {
java.lang.Object ref = referenceColumnName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
referenceColumnName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ANCESTORS_FIELD_NUMBER = 4;
private com.google.protobuf.LazyStringList ancestors_;
/**
* repeated string ancestors = 4;
* @return A list containing the ancestors.
*/
public com.google.protobuf.ProtocolStringList
getAncestorsList() {
return ancestors_;
}
/**
* repeated string ancestors = 4;
* @return The count of ancestors.
*/
public int getAncestorsCount() {
return ancestors_.size();
}
/**
* repeated string ancestors = 4;
* @param index The index of the element to return.
* @return The ancestors at the given index.
*/
public java.lang.String getAncestors(int index) {
return ancestors_.get(index);
}
/**
* repeated string ancestors = 4;
* @param index The index of the value to return.
* @return The bytes of the ancestors at the given index.
*/
public com.google.protobuf.ByteString
getAncestorsBytes(int index) {
return ancestors_.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 {
if (type_ != cz.proto.access.Ddl.ColumnMoveType.FIRST.getNumber()) {
output.writeEnum(1, type_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(columnName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, columnName_);
}
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, referenceColumnName_);
}
for (int i = 0; i < ancestors_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, ancestors_.getRaw(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (type_ != cz.proto.access.Ddl.ColumnMoveType.FIRST.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, type_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(columnName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, columnName_);
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, referenceColumnName_);
}
{
int dataSize = 0;
for (int i = 0; i < ancestors_.size(); i++) {
dataSize += computeStringSizeNoTag(ancestors_.getRaw(i));
}
size += dataSize;
size += 1 * getAncestorsList().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.access.Ddl.ColumnMove)) {
return super.equals(obj);
}
cz.proto.access.Ddl.ColumnMove other = (cz.proto.access.Ddl.ColumnMove) obj;
if (type_ != other.type_) return false;
if (!getColumnName()
.equals(other.getColumnName())) return false;
if (hasReferenceColumnName() != other.hasReferenceColumnName()) return false;
if (hasReferenceColumnName()) {
if (!getReferenceColumnName()
.equals(other.getReferenceColumnName())) return false;
}
if (!getAncestorsList()
.equals(other.getAncestorsList())) 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) + TYPE_FIELD_NUMBER;
hash = (53 * hash) + type_;
hash = (37 * hash) + COLUMN_NAME_FIELD_NUMBER;
hash = (53 * hash) + getColumnName().hashCode();
if (hasReferenceColumnName()) {
hash = (37 * hash) + REFERENCE_COLUMN_NAME_FIELD_NUMBER;
hash = (53 * hash) + getReferenceColumnName().hashCode();
}
if (getAncestorsCount() > 0) {
hash = (37 * hash) + ANCESTORS_FIELD_NUMBER;
hash = (53 * hash) + getAncestorsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.access.Ddl.ColumnMove parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.ColumnMove parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.ColumnMove parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.ColumnMove 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.access.Ddl.ColumnMove parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.ColumnMove parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.ColumnMove parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.ColumnMove 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.access.Ddl.ColumnMove parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.ColumnMove 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.access.Ddl.ColumnMove parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.ColumnMove 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.access.Ddl.ColumnMove 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.access.ColumnMove}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.access.ColumnMove)
cz.proto.access.Ddl.ColumnMoveOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_ColumnMove_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_ColumnMove_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.ColumnMove.class, cz.proto.access.Ddl.ColumnMove.Builder.class);
}
// Construct using cz.proto.access.Ddl.ColumnMove.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();
type_ = 0;
columnName_ = "";
referenceColumnName_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
ancestors_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_ColumnMove_descriptor;
}
@java.lang.Override
public cz.proto.access.Ddl.ColumnMove getDefaultInstanceForType() {
return cz.proto.access.Ddl.ColumnMove.getDefaultInstance();
}
@java.lang.Override
public cz.proto.access.Ddl.ColumnMove build() {
cz.proto.access.Ddl.ColumnMove result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.access.Ddl.ColumnMove buildPartial() {
cz.proto.access.Ddl.ColumnMove result = new cz.proto.access.Ddl.ColumnMove(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.type_ = type_;
result.columnName_ = columnName_;
if (((from_bitField0_ & 0x00000001) != 0)) {
to_bitField0_ |= 0x00000001;
}
result.referenceColumnName_ = referenceColumnName_;
if (((bitField0_ & 0x00000002) != 0)) {
ancestors_ = ancestors_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000002);
}
result.ancestors_ = ancestors_;
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.access.Ddl.ColumnMove) {
return mergeFrom((cz.proto.access.Ddl.ColumnMove)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.access.Ddl.ColumnMove other) {
if (other == cz.proto.access.Ddl.ColumnMove.getDefaultInstance()) return this;
if (other.type_ != 0) {
setTypeValue(other.getTypeValue());
}
if (!other.getColumnName().isEmpty()) {
columnName_ = other.columnName_;
onChanged();
}
if (other.hasReferenceColumnName()) {
bitField0_ |= 0x00000001;
referenceColumnName_ = other.referenceColumnName_;
onChanged();
}
if (!other.ancestors_.isEmpty()) {
if (ancestors_.isEmpty()) {
ancestors_ = other.ancestors_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureAncestorsIsMutable();
ancestors_.addAll(other.ancestors_);
}
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.access.Ddl.ColumnMove parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.access.Ddl.ColumnMove) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int type_ = 0;
/**
* .cz.proto.access.ColumnMoveType type = 1;
* @return The enum numeric value on the wire for type.
*/
@java.lang.Override public int getTypeValue() {
return type_;
}
/**
* .cz.proto.access.ColumnMoveType type = 1;
* @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.access.ColumnMoveType type = 1;
* @return The type.
*/
@java.lang.Override
public cz.proto.access.Ddl.ColumnMoveType getType() {
@SuppressWarnings("deprecation")
cz.proto.access.Ddl.ColumnMoveType result = cz.proto.access.Ddl.ColumnMoveType.valueOf(type_);
return result == null ? cz.proto.access.Ddl.ColumnMoveType.UNRECOGNIZED : result;
}
/**
* .cz.proto.access.ColumnMoveType type = 1;
* @param value The type to set.
* @return This builder for chaining.
*/
public Builder setType(cz.proto.access.Ddl.ColumnMoveType value) {
if (value == null) {
throw new NullPointerException();
}
type_ = value.getNumber();
onChanged();
return this;
}
/**
* .cz.proto.access.ColumnMoveType type = 1;
* @return This builder for chaining.
*/
public Builder clearType() {
type_ = 0;
onChanged();
return this;
}
private java.lang.Object columnName_ = "";
/**
* string column_name = 2;
* @return The columnName.
*/
public java.lang.String getColumnName() {
java.lang.Object ref = columnName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
columnName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string column_name = 2;
* @return The bytes for columnName.
*/
public com.google.protobuf.ByteString
getColumnNameBytes() {
java.lang.Object ref = columnName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
columnName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string column_name = 2;
* @param value The columnName to set.
* @return This builder for chaining.
*/
public Builder setColumnName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
columnName_ = value;
onChanged();
return this;
}
/**
* string column_name = 2;
* @return This builder for chaining.
*/
public Builder clearColumnName() {
columnName_ = getDefaultInstance().getColumnName();
onChanged();
return this;
}
/**
* string column_name = 2;
* @param value The bytes for columnName to set.
* @return This builder for chaining.
*/
public Builder setColumnNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
columnName_ = value;
onChanged();
return this;
}
private java.lang.Object referenceColumnName_ = "";
/**
* optional string reference_column_name = 3;
* @return Whether the referenceColumnName field is set.
*/
public boolean hasReferenceColumnName() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string reference_column_name = 3;
* @return The referenceColumnName.
*/
public java.lang.String getReferenceColumnName() {
java.lang.Object ref = referenceColumnName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
referenceColumnName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string reference_column_name = 3;
* @return The bytes for referenceColumnName.
*/
public com.google.protobuf.ByteString
getReferenceColumnNameBytes() {
java.lang.Object ref = referenceColumnName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
referenceColumnName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string reference_column_name = 3;
* @param value The referenceColumnName to set.
* @return This builder for chaining.
*/
public Builder setReferenceColumnName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
referenceColumnName_ = value;
onChanged();
return this;
}
/**
* optional string reference_column_name = 3;
* @return This builder for chaining.
*/
public Builder clearReferenceColumnName() {
bitField0_ = (bitField0_ & ~0x00000001);
referenceColumnName_ = getDefaultInstance().getReferenceColumnName();
onChanged();
return this;
}
/**
* optional string reference_column_name = 3;
* @param value The bytes for referenceColumnName to set.
* @return This builder for chaining.
*/
public Builder setReferenceColumnNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
bitField0_ |= 0x00000001;
referenceColumnName_ = value;
onChanged();
return this;
}
private com.google.protobuf.LazyStringList ancestors_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureAncestorsIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
ancestors_ = new com.google.protobuf.LazyStringArrayList(ancestors_);
bitField0_ |= 0x00000002;
}
}
/**
* repeated string ancestors = 4;
* @return A list containing the ancestors.
*/
public com.google.protobuf.ProtocolStringList
getAncestorsList() {
return ancestors_.getUnmodifiableView();
}
/**
* repeated string ancestors = 4;
* @return The count of ancestors.
*/
public int getAncestorsCount() {
return ancestors_.size();
}
/**
* repeated string ancestors = 4;
* @param index The index of the element to return.
* @return The ancestors at the given index.
*/
public java.lang.String getAncestors(int index) {
return ancestors_.get(index);
}
/**
* repeated string ancestors = 4;
* @param index The index of the value to return.
* @return The bytes of the ancestors at the given index.
*/
public com.google.protobuf.ByteString
getAncestorsBytes(int index) {
return ancestors_.getByteString(index);
}
/**
* repeated string ancestors = 4;
* @param index The index to set the value at.
* @param value The ancestors to set.
* @return This builder for chaining.
*/
public Builder setAncestors(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureAncestorsIsMutable();
ancestors_.set(index, value);
onChanged();
return this;
}
/**
* repeated string ancestors = 4;
* @param value The ancestors to add.
* @return This builder for chaining.
*/
public Builder addAncestors(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureAncestorsIsMutable();
ancestors_.add(value);
onChanged();
return this;
}
/**
* repeated string ancestors = 4;
* @param values The ancestors to add.
* @return This builder for chaining.
*/
public Builder addAllAncestors(
java.lang.Iterable values) {
ensureAncestorsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, ancestors_);
onChanged();
return this;
}
/**
* repeated string ancestors = 4;
* @return This builder for chaining.
*/
public Builder clearAncestors() {
ancestors_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* repeated string ancestors = 4;
* @param value The bytes of the ancestors to add.
* @return This builder for chaining.
*/
public Builder addAncestorsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureAncestorsIsMutable();
ancestors_.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.access.ColumnMove)
}
// @@protoc_insertion_point(class_scope:cz.proto.access.ColumnMove)
private static final cz.proto.access.Ddl.ColumnMove DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.access.Ddl.ColumnMove();
}
public static cz.proto.access.Ddl.ColumnMove getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ColumnMove parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ColumnMove(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.access.Ddl.ColumnMove getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AlterTableOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.access.AlterTable)
com.google.protobuf.MessageOrBuilder {
/**
*
* strictly processed in order
*
*
* repeated .cz.proto.access.TableChange updates = 1;
*/
java.util.List
getUpdatesList();
/**
*
* strictly processed in order
*
*
* repeated .cz.proto.access.TableChange updates = 1;
*/
cz.proto.access.Ddl.TableChange getUpdates(int index);
/**
*
* strictly processed in order
*
*
* repeated .cz.proto.access.TableChange updates = 1;
*/
int getUpdatesCount();
/**
*
* strictly processed in order
*
*
* repeated .cz.proto.access.TableChange updates = 1;
*/
java.util.List extends cz.proto.access.Ddl.TableChangeOrBuilder>
getUpdatesOrBuilderList();
/**
*
* strictly processed in order
*
*
* repeated .cz.proto.access.TableChange updates = 1;
*/
cz.proto.access.Ddl.TableChangeOrBuilder getUpdatesOrBuilder(
int index);
}
/**
*
* Table changes are processed in the order of how they were added.
* So update is supposed to fail if the move action to the new column
* is pushed to the repeated field prior to the add-column action.
*
*
* Protobuf type {@code cz.proto.access.AlterTable}
*/
public static final class AlterTable extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.access.AlterTable)
AlterTableOrBuilder {
private static final long serialVersionUID = 0L;
// Use AlterTable.newBuilder() to construct.
private AlterTable(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AlterTable() {
updates_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AlterTable();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AlterTable(
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)) {
updates_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
updates_.add(
input.readMessage(cz.proto.access.Ddl.TableChange.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)) {
updates_ = java.util.Collections.unmodifiableList(updates_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterTable_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterTable_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.AlterTable.class, cz.proto.access.Ddl.AlterTable.Builder.class);
}
public static final int UPDATES_FIELD_NUMBER = 1;
private java.util.List updates_;
/**
*
* strictly processed in order
*
*
* repeated .cz.proto.access.TableChange updates = 1;
*/
@java.lang.Override
public java.util.List getUpdatesList() {
return updates_;
}
/**
*
* strictly processed in order
*
*
* repeated .cz.proto.access.TableChange updates = 1;
*/
@java.lang.Override
public java.util.List extends cz.proto.access.Ddl.TableChangeOrBuilder>
getUpdatesOrBuilderList() {
return updates_;
}
/**
*
* strictly processed in order
*
*
* repeated .cz.proto.access.TableChange updates = 1;
*/
@java.lang.Override
public int getUpdatesCount() {
return updates_.size();
}
/**
*
* strictly processed in order
*
*
* repeated .cz.proto.access.TableChange updates = 1;
*/
@java.lang.Override
public cz.proto.access.Ddl.TableChange getUpdates(int index) {
return updates_.get(index);
}
/**
*
* strictly processed in order
*
*
* repeated .cz.proto.access.TableChange updates = 1;
*/
@java.lang.Override
public cz.proto.access.Ddl.TableChangeOrBuilder getUpdatesOrBuilder(
int index) {
return updates_.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 < updates_.size(); i++) {
output.writeMessage(1, updates_.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 < updates_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, updates_.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.access.Ddl.AlterTable)) {
return super.equals(obj);
}
cz.proto.access.Ddl.AlterTable other = (cz.proto.access.Ddl.AlterTable) obj;
if (!getUpdatesList()
.equals(other.getUpdatesList())) 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 (getUpdatesCount() > 0) {
hash = (37 * hash) + UPDATES_FIELD_NUMBER;
hash = (53 * hash) + getUpdatesList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.access.Ddl.AlterTable parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.AlterTable parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.AlterTable parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.AlterTable 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.access.Ddl.AlterTable parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.AlterTable parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.AlterTable parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.AlterTable 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.access.Ddl.AlterTable parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.AlterTable 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.access.Ddl.AlterTable parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.AlterTable 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.access.Ddl.AlterTable 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;
}
/**
*
* Table changes are processed in the order of how they were added.
* So update is supposed to fail if the move action to the new column
* is pushed to the repeated field prior to the add-column action.
*
*
* Protobuf type {@code cz.proto.access.AlterTable}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.access.AlterTable)
cz.proto.access.Ddl.AlterTableOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterTable_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterTable_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.AlterTable.class, cz.proto.access.Ddl.AlterTable.Builder.class);
}
// Construct using cz.proto.access.Ddl.AlterTable.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getUpdatesFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (updatesBuilder_ == null) {
updates_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
updatesBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterTable_descriptor;
}
@java.lang.Override
public cz.proto.access.Ddl.AlterTable getDefaultInstanceForType() {
return cz.proto.access.Ddl.AlterTable.getDefaultInstance();
}
@java.lang.Override
public cz.proto.access.Ddl.AlterTable build() {
cz.proto.access.Ddl.AlterTable result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.access.Ddl.AlterTable buildPartial() {
cz.proto.access.Ddl.AlterTable result = new cz.proto.access.Ddl.AlterTable(this);
int from_bitField0_ = bitField0_;
if (updatesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
updates_ = java.util.Collections.unmodifiableList(updates_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.updates_ = updates_;
} else {
result.updates_ = updatesBuilder_.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.access.Ddl.AlterTable) {
return mergeFrom((cz.proto.access.Ddl.AlterTable)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.access.Ddl.AlterTable other) {
if (other == cz.proto.access.Ddl.AlterTable.getDefaultInstance()) return this;
if (updatesBuilder_ == null) {
if (!other.updates_.isEmpty()) {
if (updates_.isEmpty()) {
updates_ = other.updates_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureUpdatesIsMutable();
updates_.addAll(other.updates_);
}
onChanged();
}
} else {
if (!other.updates_.isEmpty()) {
if (updatesBuilder_.isEmpty()) {
updatesBuilder_.dispose();
updatesBuilder_ = null;
updates_ = other.updates_;
bitField0_ = (bitField0_ & ~0x00000001);
updatesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getUpdatesFieldBuilder() : null;
} else {
updatesBuilder_.addAllMessages(other.updates_);
}
}
}
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.access.Ddl.AlterTable parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.access.Ddl.AlterTable) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List updates_ =
java.util.Collections.emptyList();
private void ensureUpdatesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
updates_ = new java.util.ArrayList(updates_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.access.Ddl.TableChange, cz.proto.access.Ddl.TableChange.Builder, cz.proto.access.Ddl.TableChangeOrBuilder> updatesBuilder_;
/**
*
* strictly processed in order
*
*
* repeated .cz.proto.access.TableChange updates = 1;
*/
public java.util.List getUpdatesList() {
if (updatesBuilder_ == null) {
return java.util.Collections.unmodifiableList(updates_);
} else {
return updatesBuilder_.getMessageList();
}
}
/**
*
* strictly processed in order
*
*
* repeated .cz.proto.access.TableChange updates = 1;
*/
public int getUpdatesCount() {
if (updatesBuilder_ == null) {
return updates_.size();
} else {
return updatesBuilder_.getCount();
}
}
/**
*
* strictly processed in order
*
*
* repeated .cz.proto.access.TableChange updates = 1;
*/
public cz.proto.access.Ddl.TableChange getUpdates(int index) {
if (updatesBuilder_ == null) {
return updates_.get(index);
} else {
return updatesBuilder_.getMessage(index);
}
}
/**
*
* strictly processed in order
*
*
* repeated .cz.proto.access.TableChange updates = 1;
*/
public Builder setUpdates(
int index, cz.proto.access.Ddl.TableChange value) {
if (updatesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUpdatesIsMutable();
updates_.set(index, value);
onChanged();
} else {
updatesBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* strictly processed in order
*
*
* repeated .cz.proto.access.TableChange updates = 1;
*/
public Builder setUpdates(
int index, cz.proto.access.Ddl.TableChange.Builder builderForValue) {
if (updatesBuilder_ == null) {
ensureUpdatesIsMutable();
updates_.set(index, builderForValue.build());
onChanged();
} else {
updatesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* strictly processed in order
*
*
* repeated .cz.proto.access.TableChange updates = 1;
*/
public Builder addUpdates(cz.proto.access.Ddl.TableChange value) {
if (updatesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUpdatesIsMutable();
updates_.add(value);
onChanged();
} else {
updatesBuilder_.addMessage(value);
}
return this;
}
/**
*
* strictly processed in order
*
*
* repeated .cz.proto.access.TableChange updates = 1;
*/
public Builder addUpdates(
int index, cz.proto.access.Ddl.TableChange value) {
if (updatesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUpdatesIsMutable();
updates_.add(index, value);
onChanged();
} else {
updatesBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* strictly processed in order
*
*
* repeated .cz.proto.access.TableChange updates = 1;
*/
public Builder addUpdates(
cz.proto.access.Ddl.TableChange.Builder builderForValue) {
if (updatesBuilder_ == null) {
ensureUpdatesIsMutable();
updates_.add(builderForValue.build());
onChanged();
} else {
updatesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* strictly processed in order
*
*
* repeated .cz.proto.access.TableChange updates = 1;
*/
public Builder addUpdates(
int index, cz.proto.access.Ddl.TableChange.Builder builderForValue) {
if (updatesBuilder_ == null) {
ensureUpdatesIsMutable();
updates_.add(index, builderForValue.build());
onChanged();
} else {
updatesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* strictly processed in order
*
*
* repeated .cz.proto.access.TableChange updates = 1;
*/
public Builder addAllUpdates(
java.lang.Iterable extends cz.proto.access.Ddl.TableChange> values) {
if (updatesBuilder_ == null) {
ensureUpdatesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, updates_);
onChanged();
} else {
updatesBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* strictly processed in order
*
*
* repeated .cz.proto.access.TableChange updates = 1;
*/
public Builder clearUpdates() {
if (updatesBuilder_ == null) {
updates_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
updatesBuilder_.clear();
}
return this;
}
/**
*
* strictly processed in order
*
*
* repeated .cz.proto.access.TableChange updates = 1;
*/
public Builder removeUpdates(int index) {
if (updatesBuilder_ == null) {
ensureUpdatesIsMutable();
updates_.remove(index);
onChanged();
} else {
updatesBuilder_.remove(index);
}
return this;
}
/**
*
* strictly processed in order
*
*
* repeated .cz.proto.access.TableChange updates = 1;
*/
public cz.proto.access.Ddl.TableChange.Builder getUpdatesBuilder(
int index) {
return getUpdatesFieldBuilder().getBuilder(index);
}
/**
*
* strictly processed in order
*
*
* repeated .cz.proto.access.TableChange updates = 1;
*/
public cz.proto.access.Ddl.TableChangeOrBuilder getUpdatesOrBuilder(
int index) {
if (updatesBuilder_ == null) {
return updates_.get(index); } else {
return updatesBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* strictly processed in order
*
*
* repeated .cz.proto.access.TableChange updates = 1;
*/
public java.util.List extends cz.proto.access.Ddl.TableChangeOrBuilder>
getUpdatesOrBuilderList() {
if (updatesBuilder_ != null) {
return updatesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(updates_);
}
}
/**
*
* strictly processed in order
*
*
* repeated .cz.proto.access.TableChange updates = 1;
*/
public cz.proto.access.Ddl.TableChange.Builder addUpdatesBuilder() {
return getUpdatesFieldBuilder().addBuilder(
cz.proto.access.Ddl.TableChange.getDefaultInstance());
}
/**
*
* strictly processed in order
*
*
* repeated .cz.proto.access.TableChange updates = 1;
*/
public cz.proto.access.Ddl.TableChange.Builder addUpdatesBuilder(
int index) {
return getUpdatesFieldBuilder().addBuilder(
index, cz.proto.access.Ddl.TableChange.getDefaultInstance());
}
/**
*
* strictly processed in order
*
*
* repeated .cz.proto.access.TableChange updates = 1;
*/
public java.util.List
getUpdatesBuilderList() {
return getUpdatesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.access.Ddl.TableChange, cz.proto.access.Ddl.TableChange.Builder, cz.proto.access.Ddl.TableChangeOrBuilder>
getUpdatesFieldBuilder() {
if (updatesBuilder_ == null) {
updatesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.access.Ddl.TableChange, cz.proto.access.Ddl.TableChange.Builder, cz.proto.access.Ddl.TableChangeOrBuilder>(
updates_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
updates_ = null;
}
return updatesBuilder_;
}
@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.access.AlterTable)
}
// @@protoc_insertion_point(class_scope:cz.proto.access.AlterTable)
private static final cz.proto.access.Ddl.AlterTable DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.access.Ddl.AlterTable();
}
public static cz.proto.access.Ddl.AlterTable getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public AlterTable parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AlterTable(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.access.Ddl.AlterTable getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TableChangeOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.access.TableChange)
com.google.protobuf.MessageOrBuilder {
/**
*
* added at the end of the schema by default
*
*
* .cz.proto.access.ColumnAdd column_add = 1;
* @return Whether the columnAdd field is set.
*/
boolean hasColumnAdd();
/**
*
* added at the end of the schema by default
*
*
* .cz.proto.access.ColumnAdd column_add = 1;
* @return The columnAdd.
*/
cz.proto.access.Ddl.ColumnAdd getColumnAdd();
/**
*
* added at the end of the schema by default
*
*
* .cz.proto.access.ColumnAdd column_add = 1;
*/
cz.proto.access.Ddl.ColumnAddOrBuilder getColumnAddOrBuilder();
/**
* .cz.proto.access.ColumnDrop column_drop = 3;
* @return Whether the columnDrop field is set.
*/
boolean hasColumnDrop();
/**
* .cz.proto.access.ColumnDrop column_drop = 3;
* @return The columnDrop.
*/
cz.proto.access.Ddl.ColumnDrop getColumnDrop();
/**
* .cz.proto.access.ColumnDrop column_drop = 3;
*/
cz.proto.access.Ddl.ColumnDropOrBuilder getColumnDropOrBuilder();
/**
* .cz.proto.access.ColumnMove move = 2;
* @return Whether the move field is set.
*/
boolean hasMove();
/**
* .cz.proto.access.ColumnMove move = 2;
* @return The move.
*/
cz.proto.access.Ddl.ColumnMove getMove();
/**
* .cz.proto.access.ColumnMove move = 2;
*/
cz.proto.access.Ddl.ColumnMoveOrBuilder getMoveOrBuilder();
/**
* .cz.proto.access.ColumnChange column_change = 4;
* @return Whether the columnChange field is set.
*/
boolean hasColumnChange();
/**
* .cz.proto.access.ColumnChange column_change = 4;
* @return The columnChange.
*/
cz.proto.access.Ddl.ColumnChange getColumnChange();
/**
* .cz.proto.access.ColumnChange column_change = 4;
*/
cz.proto.access.Ddl.ColumnChangeOrBuilder getColumnChangeOrBuilder();
/**
* .cz.proto.access.DataSourceAdd data_source_add = 5;
* @return Whether the dataSourceAdd field is set.
*/
boolean hasDataSourceAdd();
/**
* .cz.proto.access.DataSourceAdd data_source_add = 5;
* @return The dataSourceAdd.
*/
cz.proto.access.Ddl.DataSourceAdd getDataSourceAdd();
/**
* .cz.proto.access.DataSourceAdd data_source_add = 5;
*/
cz.proto.access.Ddl.DataSourceAddOrBuilder getDataSourceAddOrBuilder();
/**
* .cz.proto.access.DataSourceDrop data_source_drop = 6;
* @return Whether the dataSourceDrop field is set.
*/
boolean hasDataSourceDrop();
/**
* .cz.proto.access.DataSourceDrop data_source_drop = 6;
* @return The dataSourceDrop.
*/
cz.proto.access.Ddl.DataSourceDrop getDataSourceDrop();
/**
* .cz.proto.access.DataSourceDrop data_source_drop = 6;
*/
cz.proto.access.Ddl.DataSourceDropOrBuilder getDataSourceDropOrBuilder();
/**
* .cz.proto.access.DataSourceChange data_source_change = 7;
* @return Whether the dataSourceChange field is set.
*/
boolean hasDataSourceChange();
/**
* .cz.proto.access.DataSourceChange data_source_change = 7;
* @return The dataSourceChange.
*/
cz.proto.access.Ddl.DataSourceChange getDataSourceChange();
/**
* .cz.proto.access.DataSourceChange data_source_change = 7;
*/
cz.proto.access.Ddl.DataSourceChangeOrBuilder getDataSourceChangeOrBuilder();
public cz.proto.access.Ddl.TableChange.UpdateCase getUpdateCase();
}
/**
* Protobuf type {@code cz.proto.access.TableChange}
*/
public static final class TableChange extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.access.TableChange)
TableChangeOrBuilder {
private static final long serialVersionUID = 0L;
// Use TableChange.newBuilder() to construct.
private TableChange(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private TableChange() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TableChange();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TableChange(
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 10: {
cz.proto.access.Ddl.ColumnAdd.Builder subBuilder = null;
if (updateCase_ == 1) {
subBuilder = ((cz.proto.access.Ddl.ColumnAdd) update_).toBuilder();
}
update_ =
input.readMessage(cz.proto.access.Ddl.ColumnAdd.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.access.Ddl.ColumnAdd) update_);
update_ = subBuilder.buildPartial();
}
updateCase_ = 1;
break;
}
case 18: {
cz.proto.access.Ddl.ColumnMove.Builder subBuilder = null;
if (updateCase_ == 2) {
subBuilder = ((cz.proto.access.Ddl.ColumnMove) update_).toBuilder();
}
update_ =
input.readMessage(cz.proto.access.Ddl.ColumnMove.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.access.Ddl.ColumnMove) update_);
update_ = subBuilder.buildPartial();
}
updateCase_ = 2;
break;
}
case 26: {
cz.proto.access.Ddl.ColumnDrop.Builder subBuilder = null;
if (updateCase_ == 3) {
subBuilder = ((cz.proto.access.Ddl.ColumnDrop) update_).toBuilder();
}
update_ =
input.readMessage(cz.proto.access.Ddl.ColumnDrop.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.access.Ddl.ColumnDrop) update_);
update_ = subBuilder.buildPartial();
}
updateCase_ = 3;
break;
}
case 34: {
cz.proto.access.Ddl.ColumnChange.Builder subBuilder = null;
if (updateCase_ == 4) {
subBuilder = ((cz.proto.access.Ddl.ColumnChange) update_).toBuilder();
}
update_ =
input.readMessage(cz.proto.access.Ddl.ColumnChange.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.access.Ddl.ColumnChange) update_);
update_ = subBuilder.buildPartial();
}
updateCase_ = 4;
break;
}
case 42: {
cz.proto.access.Ddl.DataSourceAdd.Builder subBuilder = null;
if (updateCase_ == 5) {
subBuilder = ((cz.proto.access.Ddl.DataSourceAdd) update_).toBuilder();
}
update_ =
input.readMessage(cz.proto.access.Ddl.DataSourceAdd.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.access.Ddl.DataSourceAdd) update_);
update_ = subBuilder.buildPartial();
}
updateCase_ = 5;
break;
}
case 50: {
cz.proto.access.Ddl.DataSourceDrop.Builder subBuilder = null;
if (updateCase_ == 6) {
subBuilder = ((cz.proto.access.Ddl.DataSourceDrop) update_).toBuilder();
}
update_ =
input.readMessage(cz.proto.access.Ddl.DataSourceDrop.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.access.Ddl.DataSourceDrop) update_);
update_ = subBuilder.buildPartial();
}
updateCase_ = 6;
break;
}
case 58: {
cz.proto.access.Ddl.DataSourceChange.Builder subBuilder = null;
if (updateCase_ == 7) {
subBuilder = ((cz.proto.access.Ddl.DataSourceChange) update_).toBuilder();
}
update_ =
input.readMessage(cz.proto.access.Ddl.DataSourceChange.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.access.Ddl.DataSourceChange) update_);
update_ = subBuilder.buildPartial();
}
updateCase_ = 7;
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.access.Ddl.internal_static_cz_proto_access_TableChange_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_TableChange_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.TableChange.class, cz.proto.access.Ddl.TableChange.Builder.class);
}
private int updateCase_ = 0;
private java.lang.Object update_;
public enum UpdateCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
COLUMN_ADD(1),
COLUMN_DROP(3),
MOVE(2),
COLUMN_CHANGE(4),
DATA_SOURCE_ADD(5),
DATA_SOURCE_DROP(6),
DATA_SOURCE_CHANGE(7),
UPDATE_NOT_SET(0);
private final int value;
private UpdateCase(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 UpdateCase valueOf(int value) {
return forNumber(value);
}
public static UpdateCase forNumber(int value) {
switch (value) {
case 1: return COLUMN_ADD;
case 3: return COLUMN_DROP;
case 2: return MOVE;
case 4: return COLUMN_CHANGE;
case 5: return DATA_SOURCE_ADD;
case 6: return DATA_SOURCE_DROP;
case 7: return DATA_SOURCE_CHANGE;
case 0: return UPDATE_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public UpdateCase
getUpdateCase() {
return UpdateCase.forNumber(
updateCase_);
}
public static final int COLUMN_ADD_FIELD_NUMBER = 1;
/**
*
* added at the end of the schema by default
*
*
* .cz.proto.access.ColumnAdd column_add = 1;
* @return Whether the columnAdd field is set.
*/
@java.lang.Override
public boolean hasColumnAdd() {
return updateCase_ == 1;
}
/**
*
* added at the end of the schema by default
*
*
* .cz.proto.access.ColumnAdd column_add = 1;
* @return The columnAdd.
*/
@java.lang.Override
public cz.proto.access.Ddl.ColumnAdd getColumnAdd() {
if (updateCase_ == 1) {
return (cz.proto.access.Ddl.ColumnAdd) update_;
}
return cz.proto.access.Ddl.ColumnAdd.getDefaultInstance();
}
/**
*
* added at the end of the schema by default
*
*
* .cz.proto.access.ColumnAdd column_add = 1;
*/
@java.lang.Override
public cz.proto.access.Ddl.ColumnAddOrBuilder getColumnAddOrBuilder() {
if (updateCase_ == 1) {
return (cz.proto.access.Ddl.ColumnAdd) update_;
}
return cz.proto.access.Ddl.ColumnAdd.getDefaultInstance();
}
public static final int COLUMN_DROP_FIELD_NUMBER = 3;
/**
* .cz.proto.access.ColumnDrop column_drop = 3;
* @return Whether the columnDrop field is set.
*/
@java.lang.Override
public boolean hasColumnDrop() {
return updateCase_ == 3;
}
/**
* .cz.proto.access.ColumnDrop column_drop = 3;
* @return The columnDrop.
*/
@java.lang.Override
public cz.proto.access.Ddl.ColumnDrop getColumnDrop() {
if (updateCase_ == 3) {
return (cz.proto.access.Ddl.ColumnDrop) update_;
}
return cz.proto.access.Ddl.ColumnDrop.getDefaultInstance();
}
/**
* .cz.proto.access.ColumnDrop column_drop = 3;
*/
@java.lang.Override
public cz.proto.access.Ddl.ColumnDropOrBuilder getColumnDropOrBuilder() {
if (updateCase_ == 3) {
return (cz.proto.access.Ddl.ColumnDrop) update_;
}
return cz.proto.access.Ddl.ColumnDrop.getDefaultInstance();
}
public static final int MOVE_FIELD_NUMBER = 2;
/**
* .cz.proto.access.ColumnMove move = 2;
* @return Whether the move field is set.
*/
@java.lang.Override
public boolean hasMove() {
return updateCase_ == 2;
}
/**
* .cz.proto.access.ColumnMove move = 2;
* @return The move.
*/
@java.lang.Override
public cz.proto.access.Ddl.ColumnMove getMove() {
if (updateCase_ == 2) {
return (cz.proto.access.Ddl.ColumnMove) update_;
}
return cz.proto.access.Ddl.ColumnMove.getDefaultInstance();
}
/**
* .cz.proto.access.ColumnMove move = 2;
*/
@java.lang.Override
public cz.proto.access.Ddl.ColumnMoveOrBuilder getMoveOrBuilder() {
if (updateCase_ == 2) {
return (cz.proto.access.Ddl.ColumnMove) update_;
}
return cz.proto.access.Ddl.ColumnMove.getDefaultInstance();
}
public static final int COLUMN_CHANGE_FIELD_NUMBER = 4;
/**
* .cz.proto.access.ColumnChange column_change = 4;
* @return Whether the columnChange field is set.
*/
@java.lang.Override
public boolean hasColumnChange() {
return updateCase_ == 4;
}
/**
* .cz.proto.access.ColumnChange column_change = 4;
* @return The columnChange.
*/
@java.lang.Override
public cz.proto.access.Ddl.ColumnChange getColumnChange() {
if (updateCase_ == 4) {
return (cz.proto.access.Ddl.ColumnChange) update_;
}
return cz.proto.access.Ddl.ColumnChange.getDefaultInstance();
}
/**
* .cz.proto.access.ColumnChange column_change = 4;
*/
@java.lang.Override
public cz.proto.access.Ddl.ColumnChangeOrBuilder getColumnChangeOrBuilder() {
if (updateCase_ == 4) {
return (cz.proto.access.Ddl.ColumnChange) update_;
}
return cz.proto.access.Ddl.ColumnChange.getDefaultInstance();
}
public static final int DATA_SOURCE_ADD_FIELD_NUMBER = 5;
/**
* .cz.proto.access.DataSourceAdd data_source_add = 5;
* @return Whether the dataSourceAdd field is set.
*/
@java.lang.Override
public boolean hasDataSourceAdd() {
return updateCase_ == 5;
}
/**
* .cz.proto.access.DataSourceAdd data_source_add = 5;
* @return The dataSourceAdd.
*/
@java.lang.Override
public cz.proto.access.Ddl.DataSourceAdd getDataSourceAdd() {
if (updateCase_ == 5) {
return (cz.proto.access.Ddl.DataSourceAdd) update_;
}
return cz.proto.access.Ddl.DataSourceAdd.getDefaultInstance();
}
/**
* .cz.proto.access.DataSourceAdd data_source_add = 5;
*/
@java.lang.Override
public cz.proto.access.Ddl.DataSourceAddOrBuilder getDataSourceAddOrBuilder() {
if (updateCase_ == 5) {
return (cz.proto.access.Ddl.DataSourceAdd) update_;
}
return cz.proto.access.Ddl.DataSourceAdd.getDefaultInstance();
}
public static final int DATA_SOURCE_DROP_FIELD_NUMBER = 6;
/**
* .cz.proto.access.DataSourceDrop data_source_drop = 6;
* @return Whether the dataSourceDrop field is set.
*/
@java.lang.Override
public boolean hasDataSourceDrop() {
return updateCase_ == 6;
}
/**
* .cz.proto.access.DataSourceDrop data_source_drop = 6;
* @return The dataSourceDrop.
*/
@java.lang.Override
public cz.proto.access.Ddl.DataSourceDrop getDataSourceDrop() {
if (updateCase_ == 6) {
return (cz.proto.access.Ddl.DataSourceDrop) update_;
}
return cz.proto.access.Ddl.DataSourceDrop.getDefaultInstance();
}
/**
* .cz.proto.access.DataSourceDrop data_source_drop = 6;
*/
@java.lang.Override
public cz.proto.access.Ddl.DataSourceDropOrBuilder getDataSourceDropOrBuilder() {
if (updateCase_ == 6) {
return (cz.proto.access.Ddl.DataSourceDrop) update_;
}
return cz.proto.access.Ddl.DataSourceDrop.getDefaultInstance();
}
public static final int DATA_SOURCE_CHANGE_FIELD_NUMBER = 7;
/**
* .cz.proto.access.DataSourceChange data_source_change = 7;
* @return Whether the dataSourceChange field is set.
*/
@java.lang.Override
public boolean hasDataSourceChange() {
return updateCase_ == 7;
}
/**
* .cz.proto.access.DataSourceChange data_source_change = 7;
* @return The dataSourceChange.
*/
@java.lang.Override
public cz.proto.access.Ddl.DataSourceChange getDataSourceChange() {
if (updateCase_ == 7) {
return (cz.proto.access.Ddl.DataSourceChange) update_;
}
return cz.proto.access.Ddl.DataSourceChange.getDefaultInstance();
}
/**
* .cz.proto.access.DataSourceChange data_source_change = 7;
*/
@java.lang.Override
public cz.proto.access.Ddl.DataSourceChangeOrBuilder getDataSourceChangeOrBuilder() {
if (updateCase_ == 7) {
return (cz.proto.access.Ddl.DataSourceChange) update_;
}
return cz.proto.access.Ddl.DataSourceChange.getDefaultInstance();
}
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 (updateCase_ == 1) {
output.writeMessage(1, (cz.proto.access.Ddl.ColumnAdd) update_);
}
if (updateCase_ == 2) {
output.writeMessage(2, (cz.proto.access.Ddl.ColumnMove) update_);
}
if (updateCase_ == 3) {
output.writeMessage(3, (cz.proto.access.Ddl.ColumnDrop) update_);
}
if (updateCase_ == 4) {
output.writeMessage(4, (cz.proto.access.Ddl.ColumnChange) update_);
}
if (updateCase_ == 5) {
output.writeMessage(5, (cz.proto.access.Ddl.DataSourceAdd) update_);
}
if (updateCase_ == 6) {
output.writeMessage(6, (cz.proto.access.Ddl.DataSourceDrop) update_);
}
if (updateCase_ == 7) {
output.writeMessage(7, (cz.proto.access.Ddl.DataSourceChange) update_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (updateCase_ == 1) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, (cz.proto.access.Ddl.ColumnAdd) update_);
}
if (updateCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, (cz.proto.access.Ddl.ColumnMove) update_);
}
if (updateCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, (cz.proto.access.Ddl.ColumnDrop) update_);
}
if (updateCase_ == 4) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, (cz.proto.access.Ddl.ColumnChange) update_);
}
if (updateCase_ == 5) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, (cz.proto.access.Ddl.DataSourceAdd) update_);
}
if (updateCase_ == 6) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, (cz.proto.access.Ddl.DataSourceDrop) update_);
}
if (updateCase_ == 7) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, (cz.proto.access.Ddl.DataSourceChange) update_);
}
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.access.Ddl.TableChange)) {
return super.equals(obj);
}
cz.proto.access.Ddl.TableChange other = (cz.proto.access.Ddl.TableChange) obj;
if (!getUpdateCase().equals(other.getUpdateCase())) return false;
switch (updateCase_) {
case 1:
if (!getColumnAdd()
.equals(other.getColumnAdd())) return false;
break;
case 3:
if (!getColumnDrop()
.equals(other.getColumnDrop())) return false;
break;
case 2:
if (!getMove()
.equals(other.getMove())) return false;
break;
case 4:
if (!getColumnChange()
.equals(other.getColumnChange())) return false;
break;
case 5:
if (!getDataSourceAdd()
.equals(other.getDataSourceAdd())) return false;
break;
case 6:
if (!getDataSourceDrop()
.equals(other.getDataSourceDrop())) return false;
break;
case 7:
if (!getDataSourceChange()
.equals(other.getDataSourceChange())) 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();
switch (updateCase_) {
case 1:
hash = (37 * hash) + COLUMN_ADD_FIELD_NUMBER;
hash = (53 * hash) + getColumnAdd().hashCode();
break;
case 3:
hash = (37 * hash) + COLUMN_DROP_FIELD_NUMBER;
hash = (53 * hash) + getColumnDrop().hashCode();
break;
case 2:
hash = (37 * hash) + MOVE_FIELD_NUMBER;
hash = (53 * hash) + getMove().hashCode();
break;
case 4:
hash = (37 * hash) + COLUMN_CHANGE_FIELD_NUMBER;
hash = (53 * hash) + getColumnChange().hashCode();
break;
case 5:
hash = (37 * hash) + DATA_SOURCE_ADD_FIELD_NUMBER;
hash = (53 * hash) + getDataSourceAdd().hashCode();
break;
case 6:
hash = (37 * hash) + DATA_SOURCE_DROP_FIELD_NUMBER;
hash = (53 * hash) + getDataSourceDrop().hashCode();
break;
case 7:
hash = (37 * hash) + DATA_SOURCE_CHANGE_FIELD_NUMBER;
hash = (53 * hash) + getDataSourceChange().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.access.Ddl.TableChange parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.TableChange parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.TableChange parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.TableChange 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.access.Ddl.TableChange parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.TableChange parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.TableChange parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.TableChange 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.access.Ddl.TableChange parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.TableChange 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.access.Ddl.TableChange parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.TableChange 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.access.Ddl.TableChange 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.access.TableChange}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.access.TableChange)
cz.proto.access.Ddl.TableChangeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_TableChange_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_TableChange_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.TableChange.class, cz.proto.access.Ddl.TableChange.Builder.class);
}
// Construct using cz.proto.access.Ddl.TableChange.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();
updateCase_ = 0;
update_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_TableChange_descriptor;
}
@java.lang.Override
public cz.proto.access.Ddl.TableChange getDefaultInstanceForType() {
return cz.proto.access.Ddl.TableChange.getDefaultInstance();
}
@java.lang.Override
public cz.proto.access.Ddl.TableChange build() {
cz.proto.access.Ddl.TableChange result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.access.Ddl.TableChange buildPartial() {
cz.proto.access.Ddl.TableChange result = new cz.proto.access.Ddl.TableChange(this);
if (updateCase_ == 1) {
if (columnAddBuilder_ == null) {
result.update_ = update_;
} else {
result.update_ = columnAddBuilder_.build();
}
}
if (updateCase_ == 3) {
if (columnDropBuilder_ == null) {
result.update_ = update_;
} else {
result.update_ = columnDropBuilder_.build();
}
}
if (updateCase_ == 2) {
if (moveBuilder_ == null) {
result.update_ = update_;
} else {
result.update_ = moveBuilder_.build();
}
}
if (updateCase_ == 4) {
if (columnChangeBuilder_ == null) {
result.update_ = update_;
} else {
result.update_ = columnChangeBuilder_.build();
}
}
if (updateCase_ == 5) {
if (dataSourceAddBuilder_ == null) {
result.update_ = update_;
} else {
result.update_ = dataSourceAddBuilder_.build();
}
}
if (updateCase_ == 6) {
if (dataSourceDropBuilder_ == null) {
result.update_ = update_;
} else {
result.update_ = dataSourceDropBuilder_.build();
}
}
if (updateCase_ == 7) {
if (dataSourceChangeBuilder_ == null) {
result.update_ = update_;
} else {
result.update_ = dataSourceChangeBuilder_.build();
}
}
result.updateCase_ = updateCase_;
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.access.Ddl.TableChange) {
return mergeFrom((cz.proto.access.Ddl.TableChange)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.access.Ddl.TableChange other) {
if (other == cz.proto.access.Ddl.TableChange.getDefaultInstance()) return this;
switch (other.getUpdateCase()) {
case COLUMN_ADD: {
mergeColumnAdd(other.getColumnAdd());
break;
}
case COLUMN_DROP: {
mergeColumnDrop(other.getColumnDrop());
break;
}
case MOVE: {
mergeMove(other.getMove());
break;
}
case COLUMN_CHANGE: {
mergeColumnChange(other.getColumnChange());
break;
}
case DATA_SOURCE_ADD: {
mergeDataSourceAdd(other.getDataSourceAdd());
break;
}
case DATA_SOURCE_DROP: {
mergeDataSourceDrop(other.getDataSourceDrop());
break;
}
case DATA_SOURCE_CHANGE: {
mergeDataSourceChange(other.getDataSourceChange());
break;
}
case UPDATE_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.access.Ddl.TableChange parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.access.Ddl.TableChange) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int updateCase_ = 0;
private java.lang.Object update_;
public UpdateCase
getUpdateCase() {
return UpdateCase.forNumber(
updateCase_);
}
public Builder clearUpdate() {
updateCase_ = 0;
update_ = null;
onChanged();
return this;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.ColumnAdd, cz.proto.access.Ddl.ColumnAdd.Builder, cz.proto.access.Ddl.ColumnAddOrBuilder> columnAddBuilder_;
/**
*
* added at the end of the schema by default
*
*
* .cz.proto.access.ColumnAdd column_add = 1;
* @return Whether the columnAdd field is set.
*/
@java.lang.Override
public boolean hasColumnAdd() {
return updateCase_ == 1;
}
/**
*
* added at the end of the schema by default
*
*
* .cz.proto.access.ColumnAdd column_add = 1;
* @return The columnAdd.
*/
@java.lang.Override
public cz.proto.access.Ddl.ColumnAdd getColumnAdd() {
if (columnAddBuilder_ == null) {
if (updateCase_ == 1) {
return (cz.proto.access.Ddl.ColumnAdd) update_;
}
return cz.proto.access.Ddl.ColumnAdd.getDefaultInstance();
} else {
if (updateCase_ == 1) {
return columnAddBuilder_.getMessage();
}
return cz.proto.access.Ddl.ColumnAdd.getDefaultInstance();
}
}
/**
*
* added at the end of the schema by default
*
*
* .cz.proto.access.ColumnAdd column_add = 1;
*/
public Builder setColumnAdd(cz.proto.access.Ddl.ColumnAdd value) {
if (columnAddBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
update_ = value;
onChanged();
} else {
columnAddBuilder_.setMessage(value);
}
updateCase_ = 1;
return this;
}
/**
*
* added at the end of the schema by default
*
*
* .cz.proto.access.ColumnAdd column_add = 1;
*/
public Builder setColumnAdd(
cz.proto.access.Ddl.ColumnAdd.Builder builderForValue) {
if (columnAddBuilder_ == null) {
update_ = builderForValue.build();
onChanged();
} else {
columnAddBuilder_.setMessage(builderForValue.build());
}
updateCase_ = 1;
return this;
}
/**
*
* added at the end of the schema by default
*
*
* .cz.proto.access.ColumnAdd column_add = 1;
*/
public Builder mergeColumnAdd(cz.proto.access.Ddl.ColumnAdd value) {
if (columnAddBuilder_ == null) {
if (updateCase_ == 1 &&
update_ != cz.proto.access.Ddl.ColumnAdd.getDefaultInstance()) {
update_ = cz.proto.access.Ddl.ColumnAdd.newBuilder((cz.proto.access.Ddl.ColumnAdd) update_)
.mergeFrom(value).buildPartial();
} else {
update_ = value;
}
onChanged();
} else {
if (updateCase_ == 1) {
columnAddBuilder_.mergeFrom(value);
}
columnAddBuilder_.setMessage(value);
}
updateCase_ = 1;
return this;
}
/**
*
* added at the end of the schema by default
*
*
* .cz.proto.access.ColumnAdd column_add = 1;
*/
public Builder clearColumnAdd() {
if (columnAddBuilder_ == null) {
if (updateCase_ == 1) {
updateCase_ = 0;
update_ = null;
onChanged();
}
} else {
if (updateCase_ == 1) {
updateCase_ = 0;
update_ = null;
}
columnAddBuilder_.clear();
}
return this;
}
/**
*
* added at the end of the schema by default
*
*
* .cz.proto.access.ColumnAdd column_add = 1;
*/
public cz.proto.access.Ddl.ColumnAdd.Builder getColumnAddBuilder() {
return getColumnAddFieldBuilder().getBuilder();
}
/**
*
* added at the end of the schema by default
*
*
* .cz.proto.access.ColumnAdd column_add = 1;
*/
@java.lang.Override
public cz.proto.access.Ddl.ColumnAddOrBuilder getColumnAddOrBuilder() {
if ((updateCase_ == 1) && (columnAddBuilder_ != null)) {
return columnAddBuilder_.getMessageOrBuilder();
} else {
if (updateCase_ == 1) {
return (cz.proto.access.Ddl.ColumnAdd) update_;
}
return cz.proto.access.Ddl.ColumnAdd.getDefaultInstance();
}
}
/**
*
* added at the end of the schema by default
*
*
* .cz.proto.access.ColumnAdd column_add = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.ColumnAdd, cz.proto.access.Ddl.ColumnAdd.Builder, cz.proto.access.Ddl.ColumnAddOrBuilder>
getColumnAddFieldBuilder() {
if (columnAddBuilder_ == null) {
if (!(updateCase_ == 1)) {
update_ = cz.proto.access.Ddl.ColumnAdd.getDefaultInstance();
}
columnAddBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.ColumnAdd, cz.proto.access.Ddl.ColumnAdd.Builder, cz.proto.access.Ddl.ColumnAddOrBuilder>(
(cz.proto.access.Ddl.ColumnAdd) update_,
getParentForChildren(),
isClean());
update_ = null;
}
updateCase_ = 1;
onChanged();;
return columnAddBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.ColumnDrop, cz.proto.access.Ddl.ColumnDrop.Builder, cz.proto.access.Ddl.ColumnDropOrBuilder> columnDropBuilder_;
/**
* .cz.proto.access.ColumnDrop column_drop = 3;
* @return Whether the columnDrop field is set.
*/
@java.lang.Override
public boolean hasColumnDrop() {
return updateCase_ == 3;
}
/**
* .cz.proto.access.ColumnDrop column_drop = 3;
* @return The columnDrop.
*/
@java.lang.Override
public cz.proto.access.Ddl.ColumnDrop getColumnDrop() {
if (columnDropBuilder_ == null) {
if (updateCase_ == 3) {
return (cz.proto.access.Ddl.ColumnDrop) update_;
}
return cz.proto.access.Ddl.ColumnDrop.getDefaultInstance();
} else {
if (updateCase_ == 3) {
return columnDropBuilder_.getMessage();
}
return cz.proto.access.Ddl.ColumnDrop.getDefaultInstance();
}
}
/**
* .cz.proto.access.ColumnDrop column_drop = 3;
*/
public Builder setColumnDrop(cz.proto.access.Ddl.ColumnDrop value) {
if (columnDropBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
update_ = value;
onChanged();
} else {
columnDropBuilder_.setMessage(value);
}
updateCase_ = 3;
return this;
}
/**
* .cz.proto.access.ColumnDrop column_drop = 3;
*/
public Builder setColumnDrop(
cz.proto.access.Ddl.ColumnDrop.Builder builderForValue) {
if (columnDropBuilder_ == null) {
update_ = builderForValue.build();
onChanged();
} else {
columnDropBuilder_.setMessage(builderForValue.build());
}
updateCase_ = 3;
return this;
}
/**
* .cz.proto.access.ColumnDrop column_drop = 3;
*/
public Builder mergeColumnDrop(cz.proto.access.Ddl.ColumnDrop value) {
if (columnDropBuilder_ == null) {
if (updateCase_ == 3 &&
update_ != cz.proto.access.Ddl.ColumnDrop.getDefaultInstance()) {
update_ = cz.proto.access.Ddl.ColumnDrop.newBuilder((cz.proto.access.Ddl.ColumnDrop) update_)
.mergeFrom(value).buildPartial();
} else {
update_ = value;
}
onChanged();
} else {
if (updateCase_ == 3) {
columnDropBuilder_.mergeFrom(value);
}
columnDropBuilder_.setMessage(value);
}
updateCase_ = 3;
return this;
}
/**
* .cz.proto.access.ColumnDrop column_drop = 3;
*/
public Builder clearColumnDrop() {
if (columnDropBuilder_ == null) {
if (updateCase_ == 3) {
updateCase_ = 0;
update_ = null;
onChanged();
}
} else {
if (updateCase_ == 3) {
updateCase_ = 0;
update_ = null;
}
columnDropBuilder_.clear();
}
return this;
}
/**
* .cz.proto.access.ColumnDrop column_drop = 3;
*/
public cz.proto.access.Ddl.ColumnDrop.Builder getColumnDropBuilder() {
return getColumnDropFieldBuilder().getBuilder();
}
/**
* .cz.proto.access.ColumnDrop column_drop = 3;
*/
@java.lang.Override
public cz.proto.access.Ddl.ColumnDropOrBuilder getColumnDropOrBuilder() {
if ((updateCase_ == 3) && (columnDropBuilder_ != null)) {
return columnDropBuilder_.getMessageOrBuilder();
} else {
if (updateCase_ == 3) {
return (cz.proto.access.Ddl.ColumnDrop) update_;
}
return cz.proto.access.Ddl.ColumnDrop.getDefaultInstance();
}
}
/**
* .cz.proto.access.ColumnDrop column_drop = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.ColumnDrop, cz.proto.access.Ddl.ColumnDrop.Builder, cz.proto.access.Ddl.ColumnDropOrBuilder>
getColumnDropFieldBuilder() {
if (columnDropBuilder_ == null) {
if (!(updateCase_ == 3)) {
update_ = cz.proto.access.Ddl.ColumnDrop.getDefaultInstance();
}
columnDropBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.ColumnDrop, cz.proto.access.Ddl.ColumnDrop.Builder, cz.proto.access.Ddl.ColumnDropOrBuilder>(
(cz.proto.access.Ddl.ColumnDrop) update_,
getParentForChildren(),
isClean());
update_ = null;
}
updateCase_ = 3;
onChanged();;
return columnDropBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.ColumnMove, cz.proto.access.Ddl.ColumnMove.Builder, cz.proto.access.Ddl.ColumnMoveOrBuilder> moveBuilder_;
/**
* .cz.proto.access.ColumnMove move = 2;
* @return Whether the move field is set.
*/
@java.lang.Override
public boolean hasMove() {
return updateCase_ == 2;
}
/**
* .cz.proto.access.ColumnMove move = 2;
* @return The move.
*/
@java.lang.Override
public cz.proto.access.Ddl.ColumnMove getMove() {
if (moveBuilder_ == null) {
if (updateCase_ == 2) {
return (cz.proto.access.Ddl.ColumnMove) update_;
}
return cz.proto.access.Ddl.ColumnMove.getDefaultInstance();
} else {
if (updateCase_ == 2) {
return moveBuilder_.getMessage();
}
return cz.proto.access.Ddl.ColumnMove.getDefaultInstance();
}
}
/**
* .cz.proto.access.ColumnMove move = 2;
*/
public Builder setMove(cz.proto.access.Ddl.ColumnMove value) {
if (moveBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
update_ = value;
onChanged();
} else {
moveBuilder_.setMessage(value);
}
updateCase_ = 2;
return this;
}
/**
* .cz.proto.access.ColumnMove move = 2;
*/
public Builder setMove(
cz.proto.access.Ddl.ColumnMove.Builder builderForValue) {
if (moveBuilder_ == null) {
update_ = builderForValue.build();
onChanged();
} else {
moveBuilder_.setMessage(builderForValue.build());
}
updateCase_ = 2;
return this;
}
/**
* .cz.proto.access.ColumnMove move = 2;
*/
public Builder mergeMove(cz.proto.access.Ddl.ColumnMove value) {
if (moveBuilder_ == null) {
if (updateCase_ == 2 &&
update_ != cz.proto.access.Ddl.ColumnMove.getDefaultInstance()) {
update_ = cz.proto.access.Ddl.ColumnMove.newBuilder((cz.proto.access.Ddl.ColumnMove) update_)
.mergeFrom(value).buildPartial();
} else {
update_ = value;
}
onChanged();
} else {
if (updateCase_ == 2) {
moveBuilder_.mergeFrom(value);
}
moveBuilder_.setMessage(value);
}
updateCase_ = 2;
return this;
}
/**
* .cz.proto.access.ColumnMove move = 2;
*/
public Builder clearMove() {
if (moveBuilder_ == null) {
if (updateCase_ == 2) {
updateCase_ = 0;
update_ = null;
onChanged();
}
} else {
if (updateCase_ == 2) {
updateCase_ = 0;
update_ = null;
}
moveBuilder_.clear();
}
return this;
}
/**
* .cz.proto.access.ColumnMove move = 2;
*/
public cz.proto.access.Ddl.ColumnMove.Builder getMoveBuilder() {
return getMoveFieldBuilder().getBuilder();
}
/**
* .cz.proto.access.ColumnMove move = 2;
*/
@java.lang.Override
public cz.proto.access.Ddl.ColumnMoveOrBuilder getMoveOrBuilder() {
if ((updateCase_ == 2) && (moveBuilder_ != null)) {
return moveBuilder_.getMessageOrBuilder();
} else {
if (updateCase_ == 2) {
return (cz.proto.access.Ddl.ColumnMove) update_;
}
return cz.proto.access.Ddl.ColumnMove.getDefaultInstance();
}
}
/**
* .cz.proto.access.ColumnMove move = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.ColumnMove, cz.proto.access.Ddl.ColumnMove.Builder, cz.proto.access.Ddl.ColumnMoveOrBuilder>
getMoveFieldBuilder() {
if (moveBuilder_ == null) {
if (!(updateCase_ == 2)) {
update_ = cz.proto.access.Ddl.ColumnMove.getDefaultInstance();
}
moveBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.ColumnMove, cz.proto.access.Ddl.ColumnMove.Builder, cz.proto.access.Ddl.ColumnMoveOrBuilder>(
(cz.proto.access.Ddl.ColumnMove) update_,
getParentForChildren(),
isClean());
update_ = null;
}
updateCase_ = 2;
onChanged();;
return moveBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.ColumnChange, cz.proto.access.Ddl.ColumnChange.Builder, cz.proto.access.Ddl.ColumnChangeOrBuilder> columnChangeBuilder_;
/**
* .cz.proto.access.ColumnChange column_change = 4;
* @return Whether the columnChange field is set.
*/
@java.lang.Override
public boolean hasColumnChange() {
return updateCase_ == 4;
}
/**
* .cz.proto.access.ColumnChange column_change = 4;
* @return The columnChange.
*/
@java.lang.Override
public cz.proto.access.Ddl.ColumnChange getColumnChange() {
if (columnChangeBuilder_ == null) {
if (updateCase_ == 4) {
return (cz.proto.access.Ddl.ColumnChange) update_;
}
return cz.proto.access.Ddl.ColumnChange.getDefaultInstance();
} else {
if (updateCase_ == 4) {
return columnChangeBuilder_.getMessage();
}
return cz.proto.access.Ddl.ColumnChange.getDefaultInstance();
}
}
/**
* .cz.proto.access.ColumnChange column_change = 4;
*/
public Builder setColumnChange(cz.proto.access.Ddl.ColumnChange value) {
if (columnChangeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
update_ = value;
onChanged();
} else {
columnChangeBuilder_.setMessage(value);
}
updateCase_ = 4;
return this;
}
/**
* .cz.proto.access.ColumnChange column_change = 4;
*/
public Builder setColumnChange(
cz.proto.access.Ddl.ColumnChange.Builder builderForValue) {
if (columnChangeBuilder_ == null) {
update_ = builderForValue.build();
onChanged();
} else {
columnChangeBuilder_.setMessage(builderForValue.build());
}
updateCase_ = 4;
return this;
}
/**
* .cz.proto.access.ColumnChange column_change = 4;
*/
public Builder mergeColumnChange(cz.proto.access.Ddl.ColumnChange value) {
if (columnChangeBuilder_ == null) {
if (updateCase_ == 4 &&
update_ != cz.proto.access.Ddl.ColumnChange.getDefaultInstance()) {
update_ = cz.proto.access.Ddl.ColumnChange.newBuilder((cz.proto.access.Ddl.ColumnChange) update_)
.mergeFrom(value).buildPartial();
} else {
update_ = value;
}
onChanged();
} else {
if (updateCase_ == 4) {
columnChangeBuilder_.mergeFrom(value);
}
columnChangeBuilder_.setMessage(value);
}
updateCase_ = 4;
return this;
}
/**
* .cz.proto.access.ColumnChange column_change = 4;
*/
public Builder clearColumnChange() {
if (columnChangeBuilder_ == null) {
if (updateCase_ == 4) {
updateCase_ = 0;
update_ = null;
onChanged();
}
} else {
if (updateCase_ == 4) {
updateCase_ = 0;
update_ = null;
}
columnChangeBuilder_.clear();
}
return this;
}
/**
* .cz.proto.access.ColumnChange column_change = 4;
*/
public cz.proto.access.Ddl.ColumnChange.Builder getColumnChangeBuilder() {
return getColumnChangeFieldBuilder().getBuilder();
}
/**
* .cz.proto.access.ColumnChange column_change = 4;
*/
@java.lang.Override
public cz.proto.access.Ddl.ColumnChangeOrBuilder getColumnChangeOrBuilder() {
if ((updateCase_ == 4) && (columnChangeBuilder_ != null)) {
return columnChangeBuilder_.getMessageOrBuilder();
} else {
if (updateCase_ == 4) {
return (cz.proto.access.Ddl.ColumnChange) update_;
}
return cz.proto.access.Ddl.ColumnChange.getDefaultInstance();
}
}
/**
* .cz.proto.access.ColumnChange column_change = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.ColumnChange, cz.proto.access.Ddl.ColumnChange.Builder, cz.proto.access.Ddl.ColumnChangeOrBuilder>
getColumnChangeFieldBuilder() {
if (columnChangeBuilder_ == null) {
if (!(updateCase_ == 4)) {
update_ = cz.proto.access.Ddl.ColumnChange.getDefaultInstance();
}
columnChangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.ColumnChange, cz.proto.access.Ddl.ColumnChange.Builder, cz.proto.access.Ddl.ColumnChangeOrBuilder>(
(cz.proto.access.Ddl.ColumnChange) update_,
getParentForChildren(),
isClean());
update_ = null;
}
updateCase_ = 4;
onChanged();;
return columnChangeBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DataSourceAdd, cz.proto.access.Ddl.DataSourceAdd.Builder, cz.proto.access.Ddl.DataSourceAddOrBuilder> dataSourceAddBuilder_;
/**
* .cz.proto.access.DataSourceAdd data_source_add = 5;
* @return Whether the dataSourceAdd field is set.
*/
@java.lang.Override
public boolean hasDataSourceAdd() {
return updateCase_ == 5;
}
/**
* .cz.proto.access.DataSourceAdd data_source_add = 5;
* @return The dataSourceAdd.
*/
@java.lang.Override
public cz.proto.access.Ddl.DataSourceAdd getDataSourceAdd() {
if (dataSourceAddBuilder_ == null) {
if (updateCase_ == 5) {
return (cz.proto.access.Ddl.DataSourceAdd) update_;
}
return cz.proto.access.Ddl.DataSourceAdd.getDefaultInstance();
} else {
if (updateCase_ == 5) {
return dataSourceAddBuilder_.getMessage();
}
return cz.proto.access.Ddl.DataSourceAdd.getDefaultInstance();
}
}
/**
* .cz.proto.access.DataSourceAdd data_source_add = 5;
*/
public Builder setDataSourceAdd(cz.proto.access.Ddl.DataSourceAdd value) {
if (dataSourceAddBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
update_ = value;
onChanged();
} else {
dataSourceAddBuilder_.setMessage(value);
}
updateCase_ = 5;
return this;
}
/**
* .cz.proto.access.DataSourceAdd data_source_add = 5;
*/
public Builder setDataSourceAdd(
cz.proto.access.Ddl.DataSourceAdd.Builder builderForValue) {
if (dataSourceAddBuilder_ == null) {
update_ = builderForValue.build();
onChanged();
} else {
dataSourceAddBuilder_.setMessage(builderForValue.build());
}
updateCase_ = 5;
return this;
}
/**
* .cz.proto.access.DataSourceAdd data_source_add = 5;
*/
public Builder mergeDataSourceAdd(cz.proto.access.Ddl.DataSourceAdd value) {
if (dataSourceAddBuilder_ == null) {
if (updateCase_ == 5 &&
update_ != cz.proto.access.Ddl.DataSourceAdd.getDefaultInstance()) {
update_ = cz.proto.access.Ddl.DataSourceAdd.newBuilder((cz.proto.access.Ddl.DataSourceAdd) update_)
.mergeFrom(value).buildPartial();
} else {
update_ = value;
}
onChanged();
} else {
if (updateCase_ == 5) {
dataSourceAddBuilder_.mergeFrom(value);
}
dataSourceAddBuilder_.setMessage(value);
}
updateCase_ = 5;
return this;
}
/**
* .cz.proto.access.DataSourceAdd data_source_add = 5;
*/
public Builder clearDataSourceAdd() {
if (dataSourceAddBuilder_ == null) {
if (updateCase_ == 5) {
updateCase_ = 0;
update_ = null;
onChanged();
}
} else {
if (updateCase_ == 5) {
updateCase_ = 0;
update_ = null;
}
dataSourceAddBuilder_.clear();
}
return this;
}
/**
* .cz.proto.access.DataSourceAdd data_source_add = 5;
*/
public cz.proto.access.Ddl.DataSourceAdd.Builder getDataSourceAddBuilder() {
return getDataSourceAddFieldBuilder().getBuilder();
}
/**
* .cz.proto.access.DataSourceAdd data_source_add = 5;
*/
@java.lang.Override
public cz.proto.access.Ddl.DataSourceAddOrBuilder getDataSourceAddOrBuilder() {
if ((updateCase_ == 5) && (dataSourceAddBuilder_ != null)) {
return dataSourceAddBuilder_.getMessageOrBuilder();
} else {
if (updateCase_ == 5) {
return (cz.proto.access.Ddl.DataSourceAdd) update_;
}
return cz.proto.access.Ddl.DataSourceAdd.getDefaultInstance();
}
}
/**
* .cz.proto.access.DataSourceAdd data_source_add = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DataSourceAdd, cz.proto.access.Ddl.DataSourceAdd.Builder, cz.proto.access.Ddl.DataSourceAddOrBuilder>
getDataSourceAddFieldBuilder() {
if (dataSourceAddBuilder_ == null) {
if (!(updateCase_ == 5)) {
update_ = cz.proto.access.Ddl.DataSourceAdd.getDefaultInstance();
}
dataSourceAddBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DataSourceAdd, cz.proto.access.Ddl.DataSourceAdd.Builder, cz.proto.access.Ddl.DataSourceAddOrBuilder>(
(cz.proto.access.Ddl.DataSourceAdd) update_,
getParentForChildren(),
isClean());
update_ = null;
}
updateCase_ = 5;
onChanged();;
return dataSourceAddBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DataSourceDrop, cz.proto.access.Ddl.DataSourceDrop.Builder, cz.proto.access.Ddl.DataSourceDropOrBuilder> dataSourceDropBuilder_;
/**
* .cz.proto.access.DataSourceDrop data_source_drop = 6;
* @return Whether the dataSourceDrop field is set.
*/
@java.lang.Override
public boolean hasDataSourceDrop() {
return updateCase_ == 6;
}
/**
* .cz.proto.access.DataSourceDrop data_source_drop = 6;
* @return The dataSourceDrop.
*/
@java.lang.Override
public cz.proto.access.Ddl.DataSourceDrop getDataSourceDrop() {
if (dataSourceDropBuilder_ == null) {
if (updateCase_ == 6) {
return (cz.proto.access.Ddl.DataSourceDrop) update_;
}
return cz.proto.access.Ddl.DataSourceDrop.getDefaultInstance();
} else {
if (updateCase_ == 6) {
return dataSourceDropBuilder_.getMessage();
}
return cz.proto.access.Ddl.DataSourceDrop.getDefaultInstance();
}
}
/**
* .cz.proto.access.DataSourceDrop data_source_drop = 6;
*/
public Builder setDataSourceDrop(cz.proto.access.Ddl.DataSourceDrop value) {
if (dataSourceDropBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
update_ = value;
onChanged();
} else {
dataSourceDropBuilder_.setMessage(value);
}
updateCase_ = 6;
return this;
}
/**
* .cz.proto.access.DataSourceDrop data_source_drop = 6;
*/
public Builder setDataSourceDrop(
cz.proto.access.Ddl.DataSourceDrop.Builder builderForValue) {
if (dataSourceDropBuilder_ == null) {
update_ = builderForValue.build();
onChanged();
} else {
dataSourceDropBuilder_.setMessage(builderForValue.build());
}
updateCase_ = 6;
return this;
}
/**
* .cz.proto.access.DataSourceDrop data_source_drop = 6;
*/
public Builder mergeDataSourceDrop(cz.proto.access.Ddl.DataSourceDrop value) {
if (dataSourceDropBuilder_ == null) {
if (updateCase_ == 6 &&
update_ != cz.proto.access.Ddl.DataSourceDrop.getDefaultInstance()) {
update_ = cz.proto.access.Ddl.DataSourceDrop.newBuilder((cz.proto.access.Ddl.DataSourceDrop) update_)
.mergeFrom(value).buildPartial();
} else {
update_ = value;
}
onChanged();
} else {
if (updateCase_ == 6) {
dataSourceDropBuilder_.mergeFrom(value);
}
dataSourceDropBuilder_.setMessage(value);
}
updateCase_ = 6;
return this;
}
/**
* .cz.proto.access.DataSourceDrop data_source_drop = 6;
*/
public Builder clearDataSourceDrop() {
if (dataSourceDropBuilder_ == null) {
if (updateCase_ == 6) {
updateCase_ = 0;
update_ = null;
onChanged();
}
} else {
if (updateCase_ == 6) {
updateCase_ = 0;
update_ = null;
}
dataSourceDropBuilder_.clear();
}
return this;
}
/**
* .cz.proto.access.DataSourceDrop data_source_drop = 6;
*/
public cz.proto.access.Ddl.DataSourceDrop.Builder getDataSourceDropBuilder() {
return getDataSourceDropFieldBuilder().getBuilder();
}
/**
* .cz.proto.access.DataSourceDrop data_source_drop = 6;
*/
@java.lang.Override
public cz.proto.access.Ddl.DataSourceDropOrBuilder getDataSourceDropOrBuilder() {
if ((updateCase_ == 6) && (dataSourceDropBuilder_ != null)) {
return dataSourceDropBuilder_.getMessageOrBuilder();
} else {
if (updateCase_ == 6) {
return (cz.proto.access.Ddl.DataSourceDrop) update_;
}
return cz.proto.access.Ddl.DataSourceDrop.getDefaultInstance();
}
}
/**
* .cz.proto.access.DataSourceDrop data_source_drop = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DataSourceDrop, cz.proto.access.Ddl.DataSourceDrop.Builder, cz.proto.access.Ddl.DataSourceDropOrBuilder>
getDataSourceDropFieldBuilder() {
if (dataSourceDropBuilder_ == null) {
if (!(updateCase_ == 6)) {
update_ = cz.proto.access.Ddl.DataSourceDrop.getDefaultInstance();
}
dataSourceDropBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DataSourceDrop, cz.proto.access.Ddl.DataSourceDrop.Builder, cz.proto.access.Ddl.DataSourceDropOrBuilder>(
(cz.proto.access.Ddl.DataSourceDrop) update_,
getParentForChildren(),
isClean());
update_ = null;
}
updateCase_ = 6;
onChanged();;
return dataSourceDropBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DataSourceChange, cz.proto.access.Ddl.DataSourceChange.Builder, cz.proto.access.Ddl.DataSourceChangeOrBuilder> dataSourceChangeBuilder_;
/**
* .cz.proto.access.DataSourceChange data_source_change = 7;
* @return Whether the dataSourceChange field is set.
*/
@java.lang.Override
public boolean hasDataSourceChange() {
return updateCase_ == 7;
}
/**
* .cz.proto.access.DataSourceChange data_source_change = 7;
* @return The dataSourceChange.
*/
@java.lang.Override
public cz.proto.access.Ddl.DataSourceChange getDataSourceChange() {
if (dataSourceChangeBuilder_ == null) {
if (updateCase_ == 7) {
return (cz.proto.access.Ddl.DataSourceChange) update_;
}
return cz.proto.access.Ddl.DataSourceChange.getDefaultInstance();
} else {
if (updateCase_ == 7) {
return dataSourceChangeBuilder_.getMessage();
}
return cz.proto.access.Ddl.DataSourceChange.getDefaultInstance();
}
}
/**
* .cz.proto.access.DataSourceChange data_source_change = 7;
*/
public Builder setDataSourceChange(cz.proto.access.Ddl.DataSourceChange value) {
if (dataSourceChangeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
update_ = value;
onChanged();
} else {
dataSourceChangeBuilder_.setMessage(value);
}
updateCase_ = 7;
return this;
}
/**
* .cz.proto.access.DataSourceChange data_source_change = 7;
*/
public Builder setDataSourceChange(
cz.proto.access.Ddl.DataSourceChange.Builder builderForValue) {
if (dataSourceChangeBuilder_ == null) {
update_ = builderForValue.build();
onChanged();
} else {
dataSourceChangeBuilder_.setMessage(builderForValue.build());
}
updateCase_ = 7;
return this;
}
/**
* .cz.proto.access.DataSourceChange data_source_change = 7;
*/
public Builder mergeDataSourceChange(cz.proto.access.Ddl.DataSourceChange value) {
if (dataSourceChangeBuilder_ == null) {
if (updateCase_ == 7 &&
update_ != cz.proto.access.Ddl.DataSourceChange.getDefaultInstance()) {
update_ = cz.proto.access.Ddl.DataSourceChange.newBuilder((cz.proto.access.Ddl.DataSourceChange) update_)
.mergeFrom(value).buildPartial();
} else {
update_ = value;
}
onChanged();
} else {
if (updateCase_ == 7) {
dataSourceChangeBuilder_.mergeFrom(value);
}
dataSourceChangeBuilder_.setMessage(value);
}
updateCase_ = 7;
return this;
}
/**
* .cz.proto.access.DataSourceChange data_source_change = 7;
*/
public Builder clearDataSourceChange() {
if (dataSourceChangeBuilder_ == null) {
if (updateCase_ == 7) {
updateCase_ = 0;
update_ = null;
onChanged();
}
} else {
if (updateCase_ == 7) {
updateCase_ = 0;
update_ = null;
}
dataSourceChangeBuilder_.clear();
}
return this;
}
/**
* .cz.proto.access.DataSourceChange data_source_change = 7;
*/
public cz.proto.access.Ddl.DataSourceChange.Builder getDataSourceChangeBuilder() {
return getDataSourceChangeFieldBuilder().getBuilder();
}
/**
* .cz.proto.access.DataSourceChange data_source_change = 7;
*/
@java.lang.Override
public cz.proto.access.Ddl.DataSourceChangeOrBuilder getDataSourceChangeOrBuilder() {
if ((updateCase_ == 7) && (dataSourceChangeBuilder_ != null)) {
return dataSourceChangeBuilder_.getMessageOrBuilder();
} else {
if (updateCase_ == 7) {
return (cz.proto.access.Ddl.DataSourceChange) update_;
}
return cz.proto.access.Ddl.DataSourceChange.getDefaultInstance();
}
}
/**
* .cz.proto.access.DataSourceChange data_source_change = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DataSourceChange, cz.proto.access.Ddl.DataSourceChange.Builder, cz.proto.access.Ddl.DataSourceChangeOrBuilder>
getDataSourceChangeFieldBuilder() {
if (dataSourceChangeBuilder_ == null) {
if (!(updateCase_ == 7)) {
update_ = cz.proto.access.Ddl.DataSourceChange.getDefaultInstance();
}
dataSourceChangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DataSourceChange, cz.proto.access.Ddl.DataSourceChange.Builder, cz.proto.access.Ddl.DataSourceChangeOrBuilder>(
(cz.proto.access.Ddl.DataSourceChange) update_,
getParentForChildren(),
isClean());
update_ = null;
}
updateCase_ = 7;
onChanged();;
return dataSourceChangeBuilder_;
}
@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.access.TableChange)
}
// @@protoc_insertion_point(class_scope:cz.proto.access.TableChange)
private static final cz.proto.access.Ddl.TableChange DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.access.Ddl.TableChange();
}
public static cz.proto.access.Ddl.TableChange getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public TableChange parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TableChange(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.access.Ddl.TableChange getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DataSourceAddOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.access.DataSourceAdd)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .cz.proto.DataSourceInfo infos = 1;
*/
java.util.List
getInfosList();
/**
* repeated .cz.proto.DataSourceInfo infos = 1;
*/
cz.proto.DataSourceInfo getInfos(int index);
/**
* repeated .cz.proto.DataSourceInfo infos = 1;
*/
int getInfosCount();
/**
* repeated .cz.proto.DataSourceInfo infos = 1;
*/
java.util.List extends cz.proto.DataSourceInfoOrBuilder>
getInfosOrBuilderList();
/**
* repeated .cz.proto.DataSourceInfo infos = 1;
*/
cz.proto.DataSourceInfoOrBuilder getInfosOrBuilder(
int index);
}
/**
* Protobuf type {@code cz.proto.access.DataSourceAdd}
*/
public static final class DataSourceAdd extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.access.DataSourceAdd)
DataSourceAddOrBuilder {
private static final long serialVersionUID = 0L;
// Use DataSourceAdd.newBuilder() to construct.
private DataSourceAdd(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DataSourceAdd() {
infos_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DataSourceAdd();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DataSourceAdd(
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)) {
infos_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
infos_.add(
input.readMessage(cz.proto.DataSourceInfo.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)) {
infos_ = java.util.Collections.unmodifiableList(infos_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DataSourceAdd_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DataSourceAdd_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.DataSourceAdd.class, cz.proto.access.Ddl.DataSourceAdd.Builder.class);
}
public static final int INFOS_FIELD_NUMBER = 1;
private java.util.List infos_;
/**
* repeated .cz.proto.DataSourceInfo infos = 1;
*/
@java.lang.Override
public java.util.List getInfosList() {
return infos_;
}
/**
* repeated .cz.proto.DataSourceInfo infos = 1;
*/
@java.lang.Override
public java.util.List extends cz.proto.DataSourceInfoOrBuilder>
getInfosOrBuilderList() {
return infos_;
}
/**
* repeated .cz.proto.DataSourceInfo infos = 1;
*/
@java.lang.Override
public int getInfosCount() {
return infos_.size();
}
/**
* repeated .cz.proto.DataSourceInfo infos = 1;
*/
@java.lang.Override
public cz.proto.DataSourceInfo getInfos(int index) {
return infos_.get(index);
}
/**
* repeated .cz.proto.DataSourceInfo infos = 1;
*/
@java.lang.Override
public cz.proto.DataSourceInfoOrBuilder getInfosOrBuilder(
int index) {
return infos_.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 < infos_.size(); i++) {
output.writeMessage(1, infos_.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 < infos_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, infos_.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.access.Ddl.DataSourceAdd)) {
return super.equals(obj);
}
cz.proto.access.Ddl.DataSourceAdd other = (cz.proto.access.Ddl.DataSourceAdd) obj;
if (!getInfosList()
.equals(other.getInfosList())) 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 (getInfosCount() > 0) {
hash = (37 * hash) + INFOS_FIELD_NUMBER;
hash = (53 * hash) + getInfosList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.access.Ddl.DataSourceAdd parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DataSourceAdd parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.DataSourceAdd parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DataSourceAdd 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.access.Ddl.DataSourceAdd parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DataSourceAdd parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.DataSourceAdd parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DataSourceAdd 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.access.Ddl.DataSourceAdd parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DataSourceAdd 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.access.Ddl.DataSourceAdd parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DataSourceAdd 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.access.Ddl.DataSourceAdd 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.access.DataSourceAdd}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.access.DataSourceAdd)
cz.proto.access.Ddl.DataSourceAddOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DataSourceAdd_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DataSourceAdd_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.DataSourceAdd.class, cz.proto.access.Ddl.DataSourceAdd.Builder.class);
}
// Construct using cz.proto.access.Ddl.DataSourceAdd.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getInfosFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (infosBuilder_ == null) {
infos_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
infosBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DataSourceAdd_descriptor;
}
@java.lang.Override
public cz.proto.access.Ddl.DataSourceAdd getDefaultInstanceForType() {
return cz.proto.access.Ddl.DataSourceAdd.getDefaultInstance();
}
@java.lang.Override
public cz.proto.access.Ddl.DataSourceAdd build() {
cz.proto.access.Ddl.DataSourceAdd result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.access.Ddl.DataSourceAdd buildPartial() {
cz.proto.access.Ddl.DataSourceAdd result = new cz.proto.access.Ddl.DataSourceAdd(this);
int from_bitField0_ = bitField0_;
if (infosBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
infos_ = java.util.Collections.unmodifiableList(infos_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.infos_ = infos_;
} else {
result.infos_ = infosBuilder_.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.access.Ddl.DataSourceAdd) {
return mergeFrom((cz.proto.access.Ddl.DataSourceAdd)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.access.Ddl.DataSourceAdd other) {
if (other == cz.proto.access.Ddl.DataSourceAdd.getDefaultInstance()) return this;
if (infosBuilder_ == null) {
if (!other.infos_.isEmpty()) {
if (infos_.isEmpty()) {
infos_ = other.infos_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureInfosIsMutable();
infos_.addAll(other.infos_);
}
onChanged();
}
} else {
if (!other.infos_.isEmpty()) {
if (infosBuilder_.isEmpty()) {
infosBuilder_.dispose();
infosBuilder_ = null;
infos_ = other.infos_;
bitField0_ = (bitField0_ & ~0x00000001);
infosBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getInfosFieldBuilder() : null;
} else {
infosBuilder_.addAllMessages(other.infos_);
}
}
}
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.access.Ddl.DataSourceAdd parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.access.Ddl.DataSourceAdd) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List infos_ =
java.util.Collections.emptyList();
private void ensureInfosIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
infos_ = new java.util.ArrayList(infos_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.DataSourceInfo, cz.proto.DataSourceInfo.Builder, cz.proto.DataSourceInfoOrBuilder> infosBuilder_;
/**
* repeated .cz.proto.DataSourceInfo infos = 1;
*/
public java.util.List getInfosList() {
if (infosBuilder_ == null) {
return java.util.Collections.unmodifiableList(infos_);
} else {
return infosBuilder_.getMessageList();
}
}
/**
* repeated .cz.proto.DataSourceInfo infos = 1;
*/
public int getInfosCount() {
if (infosBuilder_ == null) {
return infos_.size();
} else {
return infosBuilder_.getCount();
}
}
/**
* repeated .cz.proto.DataSourceInfo infos = 1;
*/
public cz.proto.DataSourceInfo getInfos(int index) {
if (infosBuilder_ == null) {
return infos_.get(index);
} else {
return infosBuilder_.getMessage(index);
}
}
/**
* repeated .cz.proto.DataSourceInfo infos = 1;
*/
public Builder setInfos(
int index, cz.proto.DataSourceInfo value) {
if (infosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureInfosIsMutable();
infos_.set(index, value);
onChanged();
} else {
infosBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.DataSourceInfo infos = 1;
*/
public Builder setInfos(
int index, cz.proto.DataSourceInfo.Builder builderForValue) {
if (infosBuilder_ == null) {
ensureInfosIsMutable();
infos_.set(index, builderForValue.build());
onChanged();
} else {
infosBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.DataSourceInfo infos = 1;
*/
public Builder addInfos(cz.proto.DataSourceInfo value) {
if (infosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureInfosIsMutable();
infos_.add(value);
onChanged();
} else {
infosBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .cz.proto.DataSourceInfo infos = 1;
*/
public Builder addInfos(
int index, cz.proto.DataSourceInfo value) {
if (infosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureInfosIsMutable();
infos_.add(index, value);
onChanged();
} else {
infosBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.DataSourceInfo infos = 1;
*/
public Builder addInfos(
cz.proto.DataSourceInfo.Builder builderForValue) {
if (infosBuilder_ == null) {
ensureInfosIsMutable();
infos_.add(builderForValue.build());
onChanged();
} else {
infosBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.DataSourceInfo infos = 1;
*/
public Builder addInfos(
int index, cz.proto.DataSourceInfo.Builder builderForValue) {
if (infosBuilder_ == null) {
ensureInfosIsMutable();
infos_.add(index, builderForValue.build());
onChanged();
} else {
infosBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.DataSourceInfo infos = 1;
*/
public Builder addAllInfos(
java.lang.Iterable extends cz.proto.DataSourceInfo> values) {
if (infosBuilder_ == null) {
ensureInfosIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, infos_);
onChanged();
} else {
infosBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .cz.proto.DataSourceInfo infos = 1;
*/
public Builder clearInfos() {
if (infosBuilder_ == null) {
infos_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
infosBuilder_.clear();
}
return this;
}
/**
* repeated .cz.proto.DataSourceInfo infos = 1;
*/
public Builder removeInfos(int index) {
if (infosBuilder_ == null) {
ensureInfosIsMutable();
infos_.remove(index);
onChanged();
} else {
infosBuilder_.remove(index);
}
return this;
}
/**
* repeated .cz.proto.DataSourceInfo infos = 1;
*/
public cz.proto.DataSourceInfo.Builder getInfosBuilder(
int index) {
return getInfosFieldBuilder().getBuilder(index);
}
/**
* repeated .cz.proto.DataSourceInfo infos = 1;
*/
public cz.proto.DataSourceInfoOrBuilder getInfosOrBuilder(
int index) {
if (infosBuilder_ == null) {
return infos_.get(index); } else {
return infosBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .cz.proto.DataSourceInfo infos = 1;
*/
public java.util.List extends cz.proto.DataSourceInfoOrBuilder>
getInfosOrBuilderList() {
if (infosBuilder_ != null) {
return infosBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(infos_);
}
}
/**
* repeated .cz.proto.DataSourceInfo infos = 1;
*/
public cz.proto.DataSourceInfo.Builder addInfosBuilder() {
return getInfosFieldBuilder().addBuilder(
cz.proto.DataSourceInfo.getDefaultInstance());
}
/**
* repeated .cz.proto.DataSourceInfo infos = 1;
*/
public cz.proto.DataSourceInfo.Builder addInfosBuilder(
int index) {
return getInfosFieldBuilder().addBuilder(
index, cz.proto.DataSourceInfo.getDefaultInstance());
}
/**
* repeated .cz.proto.DataSourceInfo infos = 1;
*/
public java.util.List
getInfosBuilderList() {
return getInfosFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.DataSourceInfo, cz.proto.DataSourceInfo.Builder, cz.proto.DataSourceInfoOrBuilder>
getInfosFieldBuilder() {
if (infosBuilder_ == null) {
infosBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.DataSourceInfo, cz.proto.DataSourceInfo.Builder, cz.proto.DataSourceInfoOrBuilder>(
infos_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
infos_ = null;
}
return infosBuilder_;
}
@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.access.DataSourceAdd)
}
// @@protoc_insertion_point(class_scope:cz.proto.access.DataSourceAdd)
private static final cz.proto.access.Ddl.DataSourceAdd DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.access.Ddl.DataSourceAdd();
}
public static cz.proto.access.Ddl.DataSourceAdd getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DataSourceAdd parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DataSourceAdd(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.access.Ddl.DataSourceAdd getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DataSourceChangeOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.access.DataSourceChange)
com.google.protobuf.MessageOrBuilder {
/**
* uint32 data_source_id = 1;
* @return The dataSourceId.
*/
int getDataSourceId();
/**
* .cz.proto.Properties new_options = 10;
* @return Whether the newOptions field is set.
*/
boolean hasNewOptions();
/**
* .cz.proto.Properties new_options = 10;
* @return The newOptions.
*/
cz.proto.PropertyOuterClass.Properties getNewOptions();
/**
* .cz.proto.Properties new_options = 10;
*/
cz.proto.PropertyOuterClass.PropertiesOrBuilder getNewOptionsOrBuilder();
/**
* .cz.proto.PropertyKeyList drop_options = 11;
* @return Whether the dropOptions field is set.
*/
boolean hasDropOptions();
/**
* .cz.proto.PropertyKeyList drop_options = 11;
* @return The dropOptions.
*/
cz.proto.PropertyOuterClass.PropertyKeyList getDropOptions();
/**
* .cz.proto.PropertyKeyList drop_options = 11;
*/
cz.proto.PropertyOuterClass.PropertyKeyListOrBuilder getDropOptionsOrBuilder();
public cz.proto.access.Ddl.DataSourceChange.ChangeCase getChangeCase();
}
/**
* Protobuf type {@code cz.proto.access.DataSourceChange}
*/
public static final class DataSourceChange extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.access.DataSourceChange)
DataSourceChangeOrBuilder {
private static final long serialVersionUID = 0L;
// Use DataSourceChange.newBuilder() to construct.
private DataSourceChange(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DataSourceChange() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DataSourceChange();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DataSourceChange(
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 8: {
dataSourceId_ = input.readUInt32();
break;
}
case 82: {
cz.proto.PropertyOuterClass.Properties.Builder subBuilder = null;
if (changeCase_ == 10) {
subBuilder = ((cz.proto.PropertyOuterClass.Properties) change_).toBuilder();
}
change_ =
input.readMessage(cz.proto.PropertyOuterClass.Properties.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.PropertyOuterClass.Properties) change_);
change_ = subBuilder.buildPartial();
}
changeCase_ = 10;
break;
}
case 90: {
cz.proto.PropertyOuterClass.PropertyKeyList.Builder subBuilder = null;
if (changeCase_ == 11) {
subBuilder = ((cz.proto.PropertyOuterClass.PropertyKeyList) change_).toBuilder();
}
change_ =
input.readMessage(cz.proto.PropertyOuterClass.PropertyKeyList.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.PropertyOuterClass.PropertyKeyList) change_);
change_ = subBuilder.buildPartial();
}
changeCase_ = 11;
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.access.Ddl.internal_static_cz_proto_access_DataSourceChange_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DataSourceChange_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.DataSourceChange.class, cz.proto.access.Ddl.DataSourceChange.Builder.class);
}
private int changeCase_ = 0;
private java.lang.Object change_;
public enum ChangeCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
NEW_OPTIONS(10),
DROP_OPTIONS(11),
CHANGE_NOT_SET(0);
private final int value;
private ChangeCase(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 ChangeCase valueOf(int value) {
return forNumber(value);
}
public static ChangeCase forNumber(int value) {
switch (value) {
case 10: return NEW_OPTIONS;
case 11: return DROP_OPTIONS;
case 0: return CHANGE_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public ChangeCase
getChangeCase() {
return ChangeCase.forNumber(
changeCase_);
}
public static final int DATA_SOURCE_ID_FIELD_NUMBER = 1;
private int dataSourceId_;
/**
* uint32 data_source_id = 1;
* @return The dataSourceId.
*/
@java.lang.Override
public int getDataSourceId() {
return dataSourceId_;
}
public static final int NEW_OPTIONS_FIELD_NUMBER = 10;
/**
* .cz.proto.Properties new_options = 10;
* @return Whether the newOptions field is set.
*/
@java.lang.Override
public boolean hasNewOptions() {
return changeCase_ == 10;
}
/**
* .cz.proto.Properties new_options = 10;
* @return The newOptions.
*/
@java.lang.Override
public cz.proto.PropertyOuterClass.Properties getNewOptions() {
if (changeCase_ == 10) {
return (cz.proto.PropertyOuterClass.Properties) change_;
}
return cz.proto.PropertyOuterClass.Properties.getDefaultInstance();
}
/**
* .cz.proto.Properties new_options = 10;
*/
@java.lang.Override
public cz.proto.PropertyOuterClass.PropertiesOrBuilder getNewOptionsOrBuilder() {
if (changeCase_ == 10) {
return (cz.proto.PropertyOuterClass.Properties) change_;
}
return cz.proto.PropertyOuterClass.Properties.getDefaultInstance();
}
public static final int DROP_OPTIONS_FIELD_NUMBER = 11;
/**
* .cz.proto.PropertyKeyList drop_options = 11;
* @return Whether the dropOptions field is set.
*/
@java.lang.Override
public boolean hasDropOptions() {
return changeCase_ == 11;
}
/**
* .cz.proto.PropertyKeyList drop_options = 11;
* @return The dropOptions.
*/
@java.lang.Override
public cz.proto.PropertyOuterClass.PropertyKeyList getDropOptions() {
if (changeCase_ == 11) {
return (cz.proto.PropertyOuterClass.PropertyKeyList) change_;
}
return cz.proto.PropertyOuterClass.PropertyKeyList.getDefaultInstance();
}
/**
* .cz.proto.PropertyKeyList drop_options = 11;
*/
@java.lang.Override
public cz.proto.PropertyOuterClass.PropertyKeyListOrBuilder getDropOptionsOrBuilder() {
if (changeCase_ == 11) {
return (cz.proto.PropertyOuterClass.PropertyKeyList) change_;
}
return cz.proto.PropertyOuterClass.PropertyKeyList.getDefaultInstance();
}
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 (dataSourceId_ != 0) {
output.writeUInt32(1, dataSourceId_);
}
if (changeCase_ == 10) {
output.writeMessage(10, (cz.proto.PropertyOuterClass.Properties) change_);
}
if (changeCase_ == 11) {
output.writeMessage(11, (cz.proto.PropertyOuterClass.PropertyKeyList) change_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (dataSourceId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, dataSourceId_);
}
if (changeCase_ == 10) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, (cz.proto.PropertyOuterClass.Properties) change_);
}
if (changeCase_ == 11) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, (cz.proto.PropertyOuterClass.PropertyKeyList) change_);
}
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.access.Ddl.DataSourceChange)) {
return super.equals(obj);
}
cz.proto.access.Ddl.DataSourceChange other = (cz.proto.access.Ddl.DataSourceChange) obj;
if (getDataSourceId()
!= other.getDataSourceId()) return false;
if (!getChangeCase().equals(other.getChangeCase())) return false;
switch (changeCase_) {
case 10:
if (!getNewOptions()
.equals(other.getNewOptions())) return false;
break;
case 11:
if (!getDropOptions()
.equals(other.getDropOptions())) 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();
hash = (37 * hash) + DATA_SOURCE_ID_FIELD_NUMBER;
hash = (53 * hash) + getDataSourceId();
switch (changeCase_) {
case 10:
hash = (37 * hash) + NEW_OPTIONS_FIELD_NUMBER;
hash = (53 * hash) + getNewOptions().hashCode();
break;
case 11:
hash = (37 * hash) + DROP_OPTIONS_FIELD_NUMBER;
hash = (53 * hash) + getDropOptions().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.access.Ddl.DataSourceChange parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DataSourceChange parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.DataSourceChange parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DataSourceChange 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.access.Ddl.DataSourceChange parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DataSourceChange parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.DataSourceChange parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DataSourceChange 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.access.Ddl.DataSourceChange parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DataSourceChange 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.access.Ddl.DataSourceChange parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DataSourceChange 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.access.Ddl.DataSourceChange 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.access.DataSourceChange}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.access.DataSourceChange)
cz.proto.access.Ddl.DataSourceChangeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DataSourceChange_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DataSourceChange_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.DataSourceChange.class, cz.proto.access.Ddl.DataSourceChange.Builder.class);
}
// Construct using cz.proto.access.Ddl.DataSourceChange.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();
dataSourceId_ = 0;
changeCase_ = 0;
change_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DataSourceChange_descriptor;
}
@java.lang.Override
public cz.proto.access.Ddl.DataSourceChange getDefaultInstanceForType() {
return cz.proto.access.Ddl.DataSourceChange.getDefaultInstance();
}
@java.lang.Override
public cz.proto.access.Ddl.DataSourceChange build() {
cz.proto.access.Ddl.DataSourceChange result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.access.Ddl.DataSourceChange buildPartial() {
cz.proto.access.Ddl.DataSourceChange result = new cz.proto.access.Ddl.DataSourceChange(this);
result.dataSourceId_ = dataSourceId_;
if (changeCase_ == 10) {
if (newOptionsBuilder_ == null) {
result.change_ = change_;
} else {
result.change_ = newOptionsBuilder_.build();
}
}
if (changeCase_ == 11) {
if (dropOptionsBuilder_ == null) {
result.change_ = change_;
} else {
result.change_ = dropOptionsBuilder_.build();
}
}
result.changeCase_ = changeCase_;
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.access.Ddl.DataSourceChange) {
return mergeFrom((cz.proto.access.Ddl.DataSourceChange)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.access.Ddl.DataSourceChange other) {
if (other == cz.proto.access.Ddl.DataSourceChange.getDefaultInstance()) return this;
if (other.getDataSourceId() != 0) {
setDataSourceId(other.getDataSourceId());
}
switch (other.getChangeCase()) {
case NEW_OPTIONS: {
mergeNewOptions(other.getNewOptions());
break;
}
case DROP_OPTIONS: {
mergeDropOptions(other.getDropOptions());
break;
}
case CHANGE_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.access.Ddl.DataSourceChange parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.access.Ddl.DataSourceChange) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int changeCase_ = 0;
private java.lang.Object change_;
public ChangeCase
getChangeCase() {
return ChangeCase.forNumber(
changeCase_);
}
public Builder clearChange() {
changeCase_ = 0;
change_ = null;
onChanged();
return this;
}
private int dataSourceId_ ;
/**
* uint32 data_source_id = 1;
* @return The dataSourceId.
*/
@java.lang.Override
public int getDataSourceId() {
return dataSourceId_;
}
/**
* uint32 data_source_id = 1;
* @param value The dataSourceId to set.
* @return This builder for chaining.
*/
public Builder setDataSourceId(int value) {
dataSourceId_ = value;
onChanged();
return this;
}
/**
* uint32 data_source_id = 1;
* @return This builder for chaining.
*/
public Builder clearDataSourceId() {
dataSourceId_ = 0;
onChanged();
return this;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.PropertyOuterClass.Properties, cz.proto.PropertyOuterClass.Properties.Builder, cz.proto.PropertyOuterClass.PropertiesOrBuilder> newOptionsBuilder_;
/**
* .cz.proto.Properties new_options = 10;
* @return Whether the newOptions field is set.
*/
@java.lang.Override
public boolean hasNewOptions() {
return changeCase_ == 10;
}
/**
* .cz.proto.Properties new_options = 10;
* @return The newOptions.
*/
@java.lang.Override
public cz.proto.PropertyOuterClass.Properties getNewOptions() {
if (newOptionsBuilder_ == null) {
if (changeCase_ == 10) {
return (cz.proto.PropertyOuterClass.Properties) change_;
}
return cz.proto.PropertyOuterClass.Properties.getDefaultInstance();
} else {
if (changeCase_ == 10) {
return newOptionsBuilder_.getMessage();
}
return cz.proto.PropertyOuterClass.Properties.getDefaultInstance();
}
}
/**
* .cz.proto.Properties new_options = 10;
*/
public Builder setNewOptions(cz.proto.PropertyOuterClass.Properties value) {
if (newOptionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
change_ = value;
onChanged();
} else {
newOptionsBuilder_.setMessage(value);
}
changeCase_ = 10;
return this;
}
/**
* .cz.proto.Properties new_options = 10;
*/
public Builder setNewOptions(
cz.proto.PropertyOuterClass.Properties.Builder builderForValue) {
if (newOptionsBuilder_ == null) {
change_ = builderForValue.build();
onChanged();
} else {
newOptionsBuilder_.setMessage(builderForValue.build());
}
changeCase_ = 10;
return this;
}
/**
* .cz.proto.Properties new_options = 10;
*/
public Builder mergeNewOptions(cz.proto.PropertyOuterClass.Properties value) {
if (newOptionsBuilder_ == null) {
if (changeCase_ == 10 &&
change_ != cz.proto.PropertyOuterClass.Properties.getDefaultInstance()) {
change_ = cz.proto.PropertyOuterClass.Properties.newBuilder((cz.proto.PropertyOuterClass.Properties) change_)
.mergeFrom(value).buildPartial();
} else {
change_ = value;
}
onChanged();
} else {
if (changeCase_ == 10) {
newOptionsBuilder_.mergeFrom(value);
}
newOptionsBuilder_.setMessage(value);
}
changeCase_ = 10;
return this;
}
/**
* .cz.proto.Properties new_options = 10;
*/
public Builder clearNewOptions() {
if (newOptionsBuilder_ == null) {
if (changeCase_ == 10) {
changeCase_ = 0;
change_ = null;
onChanged();
}
} else {
if (changeCase_ == 10) {
changeCase_ = 0;
change_ = null;
}
newOptionsBuilder_.clear();
}
return this;
}
/**
* .cz.proto.Properties new_options = 10;
*/
public cz.proto.PropertyOuterClass.Properties.Builder getNewOptionsBuilder() {
return getNewOptionsFieldBuilder().getBuilder();
}
/**
* .cz.proto.Properties new_options = 10;
*/
@java.lang.Override
public cz.proto.PropertyOuterClass.PropertiesOrBuilder getNewOptionsOrBuilder() {
if ((changeCase_ == 10) && (newOptionsBuilder_ != null)) {
return newOptionsBuilder_.getMessageOrBuilder();
} else {
if (changeCase_ == 10) {
return (cz.proto.PropertyOuterClass.Properties) change_;
}
return cz.proto.PropertyOuterClass.Properties.getDefaultInstance();
}
}
/**
* .cz.proto.Properties new_options = 10;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.PropertyOuterClass.Properties, cz.proto.PropertyOuterClass.Properties.Builder, cz.proto.PropertyOuterClass.PropertiesOrBuilder>
getNewOptionsFieldBuilder() {
if (newOptionsBuilder_ == null) {
if (!(changeCase_ == 10)) {
change_ = cz.proto.PropertyOuterClass.Properties.getDefaultInstance();
}
newOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.PropertyOuterClass.Properties, cz.proto.PropertyOuterClass.Properties.Builder, cz.proto.PropertyOuterClass.PropertiesOrBuilder>(
(cz.proto.PropertyOuterClass.Properties) change_,
getParentForChildren(),
isClean());
change_ = null;
}
changeCase_ = 10;
onChanged();;
return newOptionsBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.PropertyOuterClass.PropertyKeyList, cz.proto.PropertyOuterClass.PropertyKeyList.Builder, cz.proto.PropertyOuterClass.PropertyKeyListOrBuilder> dropOptionsBuilder_;
/**
* .cz.proto.PropertyKeyList drop_options = 11;
* @return Whether the dropOptions field is set.
*/
@java.lang.Override
public boolean hasDropOptions() {
return changeCase_ == 11;
}
/**
* .cz.proto.PropertyKeyList drop_options = 11;
* @return The dropOptions.
*/
@java.lang.Override
public cz.proto.PropertyOuterClass.PropertyKeyList getDropOptions() {
if (dropOptionsBuilder_ == null) {
if (changeCase_ == 11) {
return (cz.proto.PropertyOuterClass.PropertyKeyList) change_;
}
return cz.proto.PropertyOuterClass.PropertyKeyList.getDefaultInstance();
} else {
if (changeCase_ == 11) {
return dropOptionsBuilder_.getMessage();
}
return cz.proto.PropertyOuterClass.PropertyKeyList.getDefaultInstance();
}
}
/**
* .cz.proto.PropertyKeyList drop_options = 11;
*/
public Builder setDropOptions(cz.proto.PropertyOuterClass.PropertyKeyList value) {
if (dropOptionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
change_ = value;
onChanged();
} else {
dropOptionsBuilder_.setMessage(value);
}
changeCase_ = 11;
return this;
}
/**
* .cz.proto.PropertyKeyList drop_options = 11;
*/
public Builder setDropOptions(
cz.proto.PropertyOuterClass.PropertyKeyList.Builder builderForValue) {
if (dropOptionsBuilder_ == null) {
change_ = builderForValue.build();
onChanged();
} else {
dropOptionsBuilder_.setMessage(builderForValue.build());
}
changeCase_ = 11;
return this;
}
/**
* .cz.proto.PropertyKeyList drop_options = 11;
*/
public Builder mergeDropOptions(cz.proto.PropertyOuterClass.PropertyKeyList value) {
if (dropOptionsBuilder_ == null) {
if (changeCase_ == 11 &&
change_ != cz.proto.PropertyOuterClass.PropertyKeyList.getDefaultInstance()) {
change_ = cz.proto.PropertyOuterClass.PropertyKeyList.newBuilder((cz.proto.PropertyOuterClass.PropertyKeyList) change_)
.mergeFrom(value).buildPartial();
} else {
change_ = value;
}
onChanged();
} else {
if (changeCase_ == 11) {
dropOptionsBuilder_.mergeFrom(value);
}
dropOptionsBuilder_.setMessage(value);
}
changeCase_ = 11;
return this;
}
/**
* .cz.proto.PropertyKeyList drop_options = 11;
*/
public Builder clearDropOptions() {
if (dropOptionsBuilder_ == null) {
if (changeCase_ == 11) {
changeCase_ = 0;
change_ = null;
onChanged();
}
} else {
if (changeCase_ == 11) {
changeCase_ = 0;
change_ = null;
}
dropOptionsBuilder_.clear();
}
return this;
}
/**
* .cz.proto.PropertyKeyList drop_options = 11;
*/
public cz.proto.PropertyOuterClass.PropertyKeyList.Builder getDropOptionsBuilder() {
return getDropOptionsFieldBuilder().getBuilder();
}
/**
* .cz.proto.PropertyKeyList drop_options = 11;
*/
@java.lang.Override
public cz.proto.PropertyOuterClass.PropertyKeyListOrBuilder getDropOptionsOrBuilder() {
if ((changeCase_ == 11) && (dropOptionsBuilder_ != null)) {
return dropOptionsBuilder_.getMessageOrBuilder();
} else {
if (changeCase_ == 11) {
return (cz.proto.PropertyOuterClass.PropertyKeyList) change_;
}
return cz.proto.PropertyOuterClass.PropertyKeyList.getDefaultInstance();
}
}
/**
* .cz.proto.PropertyKeyList drop_options = 11;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.PropertyOuterClass.PropertyKeyList, cz.proto.PropertyOuterClass.PropertyKeyList.Builder, cz.proto.PropertyOuterClass.PropertyKeyListOrBuilder>
getDropOptionsFieldBuilder() {
if (dropOptionsBuilder_ == null) {
if (!(changeCase_ == 11)) {
change_ = cz.proto.PropertyOuterClass.PropertyKeyList.getDefaultInstance();
}
dropOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.PropertyOuterClass.PropertyKeyList, cz.proto.PropertyOuterClass.PropertyKeyList.Builder, cz.proto.PropertyOuterClass.PropertyKeyListOrBuilder>(
(cz.proto.PropertyOuterClass.PropertyKeyList) change_,
getParentForChildren(),
isClean());
change_ = null;
}
changeCase_ = 11;
onChanged();;
return dropOptionsBuilder_;
}
@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.access.DataSourceChange)
}
// @@protoc_insertion_point(class_scope:cz.proto.access.DataSourceChange)
private static final cz.proto.access.Ddl.DataSourceChange DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.access.Ddl.DataSourceChange();
}
public static cz.proto.access.Ddl.DataSourceChange getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DataSourceChange parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DataSourceChange(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.access.Ddl.DataSourceChange getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DataSourceDropOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.access.DataSourceDrop)
com.google.protobuf.MessageOrBuilder {
/**
* repeated uint32 data_source_ids = 1;
* @return A list containing the dataSourceIds.
*/
java.util.List getDataSourceIdsList();
/**
* repeated uint32 data_source_ids = 1;
* @return The count of dataSourceIds.
*/
int getDataSourceIdsCount();
/**
* repeated uint32 data_source_ids = 1;
* @param index The index of the element to return.
* @return The dataSourceIds at the given index.
*/
int getDataSourceIds(int index);
}
/**
* Protobuf type {@code cz.proto.access.DataSourceDrop}
*/
public static final class DataSourceDrop extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.access.DataSourceDrop)
DataSourceDropOrBuilder {
private static final long serialVersionUID = 0L;
// Use DataSourceDrop.newBuilder() to construct.
private DataSourceDrop(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DataSourceDrop() {
dataSourceIds_ = emptyIntList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DataSourceDrop();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DataSourceDrop(
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)) {
dataSourceIds_ = newIntList();
mutable_bitField0_ |= 0x00000001;
}
dataSourceIds_.addInt(input.readUInt32());
break;
}
case 10: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
dataSourceIds_ = newIntList();
mutable_bitField0_ |= 0x00000001;
}
while (input.getBytesUntilLimit() > 0) {
dataSourceIds_.addInt(input.readUInt32());
}
input.popLimit(limit);
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)) {
dataSourceIds_.makeImmutable(); // C
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DataSourceDrop_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DataSourceDrop_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.DataSourceDrop.class, cz.proto.access.Ddl.DataSourceDrop.Builder.class);
}
public static final int DATA_SOURCE_IDS_FIELD_NUMBER = 1;
private com.google.protobuf.Internal.IntList dataSourceIds_;
/**
* repeated uint32 data_source_ids = 1;
* @return A list containing the dataSourceIds.
*/
@java.lang.Override
public java.util.List
getDataSourceIdsList() {
return dataSourceIds_;
}
/**
* repeated uint32 data_source_ids = 1;
* @return The count of dataSourceIds.
*/
public int getDataSourceIdsCount() {
return dataSourceIds_.size();
}
/**
* repeated uint32 data_source_ids = 1;
* @param index The index of the element to return.
* @return The dataSourceIds at the given index.
*/
public int getDataSourceIds(int index) {
return dataSourceIds_.getInt(index);
}
private int dataSourceIdsMemoizedSerializedSize = -1;
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 (getDataSourceIdsList().size() > 0) {
output.writeUInt32NoTag(10);
output.writeUInt32NoTag(dataSourceIdsMemoizedSerializedSize);
}
for (int i = 0; i < dataSourceIds_.size(); i++) {
output.writeUInt32NoTag(dataSourceIds_.getInt(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 < dataSourceIds_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(dataSourceIds_.getInt(i));
}
size += dataSize;
if (!getDataSourceIdsList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
dataSourceIdsMemoizedSerializedSize = dataSize;
}
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.access.Ddl.DataSourceDrop)) {
return super.equals(obj);
}
cz.proto.access.Ddl.DataSourceDrop other = (cz.proto.access.Ddl.DataSourceDrop) obj;
if (!getDataSourceIdsList()
.equals(other.getDataSourceIdsList())) 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 (getDataSourceIdsCount() > 0) {
hash = (37 * hash) + DATA_SOURCE_IDS_FIELD_NUMBER;
hash = (53 * hash) + getDataSourceIdsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.access.Ddl.DataSourceDrop parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DataSourceDrop parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.DataSourceDrop parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DataSourceDrop 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.access.Ddl.DataSourceDrop parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DataSourceDrop parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.DataSourceDrop parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DataSourceDrop 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.access.Ddl.DataSourceDrop parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DataSourceDrop 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.access.Ddl.DataSourceDrop parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DataSourceDrop 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.access.Ddl.DataSourceDrop 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.access.DataSourceDrop}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.access.DataSourceDrop)
cz.proto.access.Ddl.DataSourceDropOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DataSourceDrop_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DataSourceDrop_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.DataSourceDrop.class, cz.proto.access.Ddl.DataSourceDrop.Builder.class);
}
// Construct using cz.proto.access.Ddl.DataSourceDrop.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();
dataSourceIds_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DataSourceDrop_descriptor;
}
@java.lang.Override
public cz.proto.access.Ddl.DataSourceDrop getDefaultInstanceForType() {
return cz.proto.access.Ddl.DataSourceDrop.getDefaultInstance();
}
@java.lang.Override
public cz.proto.access.Ddl.DataSourceDrop build() {
cz.proto.access.Ddl.DataSourceDrop result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.access.Ddl.DataSourceDrop buildPartial() {
cz.proto.access.Ddl.DataSourceDrop result = new cz.proto.access.Ddl.DataSourceDrop(this);
int from_bitField0_ = bitField0_;
if (((bitField0_ & 0x00000001) != 0)) {
dataSourceIds_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.dataSourceIds_ = dataSourceIds_;
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.access.Ddl.DataSourceDrop) {
return mergeFrom((cz.proto.access.Ddl.DataSourceDrop)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.access.Ddl.DataSourceDrop other) {
if (other == cz.proto.access.Ddl.DataSourceDrop.getDefaultInstance()) return this;
if (!other.dataSourceIds_.isEmpty()) {
if (dataSourceIds_.isEmpty()) {
dataSourceIds_ = other.dataSourceIds_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureDataSourceIdsIsMutable();
dataSourceIds_.addAll(other.dataSourceIds_);
}
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.access.Ddl.DataSourceDrop parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.access.Ddl.DataSourceDrop) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.google.protobuf.Internal.IntList dataSourceIds_ = emptyIntList();
private void ensureDataSourceIdsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
dataSourceIds_ = mutableCopy(dataSourceIds_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated uint32 data_source_ids = 1;
* @return A list containing the dataSourceIds.
*/
public java.util.List
getDataSourceIdsList() {
return ((bitField0_ & 0x00000001) != 0) ?
java.util.Collections.unmodifiableList(dataSourceIds_) : dataSourceIds_;
}
/**
* repeated uint32 data_source_ids = 1;
* @return The count of dataSourceIds.
*/
public int getDataSourceIdsCount() {
return dataSourceIds_.size();
}
/**
* repeated uint32 data_source_ids = 1;
* @param index The index of the element to return.
* @return The dataSourceIds at the given index.
*/
public int getDataSourceIds(int index) {
return dataSourceIds_.getInt(index);
}
/**
* repeated uint32 data_source_ids = 1;
* @param index The index to set the value at.
* @param value The dataSourceIds to set.
* @return This builder for chaining.
*/
public Builder setDataSourceIds(
int index, int value) {
ensureDataSourceIdsIsMutable();
dataSourceIds_.setInt(index, value);
onChanged();
return this;
}
/**
* repeated uint32 data_source_ids = 1;
* @param value The dataSourceIds to add.
* @return This builder for chaining.
*/
public Builder addDataSourceIds(int value) {
ensureDataSourceIdsIsMutable();
dataSourceIds_.addInt(value);
onChanged();
return this;
}
/**
* repeated uint32 data_source_ids = 1;
* @param values The dataSourceIds to add.
* @return This builder for chaining.
*/
public Builder addAllDataSourceIds(
java.lang.Iterable extends java.lang.Integer> values) {
ensureDataSourceIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, dataSourceIds_);
onChanged();
return this;
}
/**
* repeated uint32 data_source_ids = 1;
* @return This builder for chaining.
*/
public Builder clearDataSourceIds() {
dataSourceIds_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
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.access.DataSourceDrop)
}
// @@protoc_insertion_point(class_scope:cz.proto.access.DataSourceDrop)
private static final cz.proto.access.Ddl.DataSourceDrop DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.access.Ddl.DataSourceDrop();
}
public static cz.proto.access.Ddl.DataSourceDrop getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DataSourceDrop parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DataSourceDrop(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.access.Ddl.DataSourceDrop getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface StructFieldOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.access.StructField)
com.google.protobuf.MessageOrBuilder {
/**
* repeated string ancestors = 1;
* @return A list containing the ancestors.
*/
java.util.List
getAncestorsList();
/**
* repeated string ancestors = 1;
* @return The count of ancestors.
*/
int getAncestorsCount();
/**
* repeated string ancestors = 1;
* @param index The index of the element to return.
* @return The ancestors at the given index.
*/
java.lang.String getAncestors(int index);
/**
* repeated string ancestors = 1;
* @param index The index of the value to return.
* @return The bytes of the ancestors at the given index.
*/
com.google.protobuf.ByteString
getAncestorsBytes(int index);
/**
* .cz.proto.StructTypeInfo.Field field = 2;
* @return Whether the field field is set.
*/
boolean hasField();
/**
* .cz.proto.StructTypeInfo.Field field = 2;
* @return The field.
*/
cz.proto.StructTypeInfo.Field getField();
/**
* .cz.proto.StructTypeInfo.Field field = 2;
*/
cz.proto.StructTypeInfo.FieldOrBuilder getFieldOrBuilder();
}
/**
* Protobuf type {@code cz.proto.access.StructField}
*/
public static final class StructField extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.access.StructField)
StructFieldOrBuilder {
private static final long serialVersionUID = 0L;
// Use StructField.newBuilder() to construct.
private StructField(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private StructField() {
ancestors_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new StructField();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private StructField(
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)) {
ancestors_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000001;
}
ancestors_.add(s);
break;
}
case 18: {
cz.proto.StructTypeInfo.Field.Builder subBuilder = null;
if (field_ != null) {
subBuilder = field_.toBuilder();
}
field_ = input.readMessage(cz.proto.StructTypeInfo.Field.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(field_);
field_ = 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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
ancestors_ = ancestors_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_StructField_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_StructField_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.StructField.class, cz.proto.access.Ddl.StructField.Builder.class);
}
public static final int ANCESTORS_FIELD_NUMBER = 1;
private com.google.protobuf.LazyStringList ancestors_;
/**
* repeated string ancestors = 1;
* @return A list containing the ancestors.
*/
public com.google.protobuf.ProtocolStringList
getAncestorsList() {
return ancestors_;
}
/**
* repeated string ancestors = 1;
* @return The count of ancestors.
*/
public int getAncestorsCount() {
return ancestors_.size();
}
/**
* repeated string ancestors = 1;
* @param index The index of the element to return.
* @return The ancestors at the given index.
*/
public java.lang.String getAncestors(int index) {
return ancestors_.get(index);
}
/**
* repeated string ancestors = 1;
* @param index The index of the value to return.
* @return The bytes of the ancestors at the given index.
*/
public com.google.protobuf.ByteString
getAncestorsBytes(int index) {
return ancestors_.getByteString(index);
}
public static final int FIELD_FIELD_NUMBER = 2;
private cz.proto.StructTypeInfo.Field field_;
/**
* .cz.proto.StructTypeInfo.Field field = 2;
* @return Whether the field field is set.
*/
@java.lang.Override
public boolean hasField() {
return field_ != null;
}
/**
* .cz.proto.StructTypeInfo.Field field = 2;
* @return The field.
*/
@java.lang.Override
public cz.proto.StructTypeInfo.Field getField() {
return field_ == null ? cz.proto.StructTypeInfo.Field.getDefaultInstance() : field_;
}
/**
* .cz.proto.StructTypeInfo.Field field = 2;
*/
@java.lang.Override
public cz.proto.StructTypeInfo.FieldOrBuilder getFieldOrBuilder() {
return getField();
}
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 < ancestors_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, ancestors_.getRaw(i));
}
if (field_ != null) {
output.writeMessage(2, getField());
}
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 < ancestors_.size(); i++) {
dataSize += computeStringSizeNoTag(ancestors_.getRaw(i));
}
size += dataSize;
size += 1 * getAncestorsList().size();
}
if (field_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getField());
}
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.access.Ddl.StructField)) {
return super.equals(obj);
}
cz.proto.access.Ddl.StructField other = (cz.proto.access.Ddl.StructField) obj;
if (!getAncestorsList()
.equals(other.getAncestorsList())) return false;
if (hasField() != other.hasField()) return false;
if (hasField()) {
if (!getField()
.equals(other.getField())) 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 (getAncestorsCount() > 0) {
hash = (37 * hash) + ANCESTORS_FIELD_NUMBER;
hash = (53 * hash) + getAncestorsList().hashCode();
}
if (hasField()) {
hash = (37 * hash) + FIELD_FIELD_NUMBER;
hash = (53 * hash) + getField().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.access.Ddl.StructField parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.StructField parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.StructField parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.StructField 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.access.Ddl.StructField parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.StructField parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.StructField parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.StructField 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.access.Ddl.StructField parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.StructField 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.access.Ddl.StructField parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.StructField 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.access.Ddl.StructField 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.access.StructField}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.access.StructField)
cz.proto.access.Ddl.StructFieldOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_StructField_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_StructField_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.StructField.class, cz.proto.access.Ddl.StructField.Builder.class);
}
// Construct using cz.proto.access.Ddl.StructField.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();
ancestors_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
if (fieldBuilder_ == null) {
field_ = null;
} else {
field_ = null;
fieldBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_StructField_descriptor;
}
@java.lang.Override
public cz.proto.access.Ddl.StructField getDefaultInstanceForType() {
return cz.proto.access.Ddl.StructField.getDefaultInstance();
}
@java.lang.Override
public cz.proto.access.Ddl.StructField build() {
cz.proto.access.Ddl.StructField result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.access.Ddl.StructField buildPartial() {
cz.proto.access.Ddl.StructField result = new cz.proto.access.Ddl.StructField(this);
int from_bitField0_ = bitField0_;
if (((bitField0_ & 0x00000001) != 0)) {
ancestors_ = ancestors_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.ancestors_ = ancestors_;
if (fieldBuilder_ == null) {
result.field_ = field_;
} else {
result.field_ = fieldBuilder_.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.access.Ddl.StructField) {
return mergeFrom((cz.proto.access.Ddl.StructField)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.access.Ddl.StructField other) {
if (other == cz.proto.access.Ddl.StructField.getDefaultInstance()) return this;
if (!other.ancestors_.isEmpty()) {
if (ancestors_.isEmpty()) {
ancestors_ = other.ancestors_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureAncestorsIsMutable();
ancestors_.addAll(other.ancestors_);
}
onChanged();
}
if (other.hasField()) {
mergeField(other.getField());
}
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.access.Ddl.StructField parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.access.Ddl.StructField) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.google.protobuf.LazyStringList ancestors_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureAncestorsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
ancestors_ = new com.google.protobuf.LazyStringArrayList(ancestors_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated string ancestors = 1;
* @return A list containing the ancestors.
*/
public com.google.protobuf.ProtocolStringList
getAncestorsList() {
return ancestors_.getUnmodifiableView();
}
/**
* repeated string ancestors = 1;
* @return The count of ancestors.
*/
public int getAncestorsCount() {
return ancestors_.size();
}
/**
* repeated string ancestors = 1;
* @param index The index of the element to return.
* @return The ancestors at the given index.
*/
public java.lang.String getAncestors(int index) {
return ancestors_.get(index);
}
/**
* repeated string ancestors = 1;
* @param index The index of the value to return.
* @return The bytes of the ancestors at the given index.
*/
public com.google.protobuf.ByteString
getAncestorsBytes(int index) {
return ancestors_.getByteString(index);
}
/**
* repeated string ancestors = 1;
* @param index The index to set the value at.
* @param value The ancestors to set.
* @return This builder for chaining.
*/
public Builder setAncestors(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureAncestorsIsMutable();
ancestors_.set(index, value);
onChanged();
return this;
}
/**
* repeated string ancestors = 1;
* @param value The ancestors to add.
* @return This builder for chaining.
*/
public Builder addAncestors(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureAncestorsIsMutable();
ancestors_.add(value);
onChanged();
return this;
}
/**
* repeated string ancestors = 1;
* @param values The ancestors to add.
* @return This builder for chaining.
*/
public Builder addAllAncestors(
java.lang.Iterable values) {
ensureAncestorsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, ancestors_);
onChanged();
return this;
}
/**
* repeated string ancestors = 1;
* @return This builder for chaining.
*/
public Builder clearAncestors() {
ancestors_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* repeated string ancestors = 1;
* @param value The bytes of the ancestors to add.
* @return This builder for chaining.
*/
public Builder addAncestorsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureAncestorsIsMutable();
ancestors_.add(value);
onChanged();
return this;
}
private cz.proto.StructTypeInfo.Field field_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.StructTypeInfo.Field, cz.proto.StructTypeInfo.Field.Builder, cz.proto.StructTypeInfo.FieldOrBuilder> fieldBuilder_;
/**
* .cz.proto.StructTypeInfo.Field field = 2;
* @return Whether the field field is set.
*/
public boolean hasField() {
return fieldBuilder_ != null || field_ != null;
}
/**
* .cz.proto.StructTypeInfo.Field field = 2;
* @return The field.
*/
public cz.proto.StructTypeInfo.Field getField() {
if (fieldBuilder_ == null) {
return field_ == null ? cz.proto.StructTypeInfo.Field.getDefaultInstance() : field_;
} else {
return fieldBuilder_.getMessage();
}
}
/**
* .cz.proto.StructTypeInfo.Field field = 2;
*/
public Builder setField(cz.proto.StructTypeInfo.Field value) {
if (fieldBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
field_ = value;
onChanged();
} else {
fieldBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.StructTypeInfo.Field field = 2;
*/
public Builder setField(
cz.proto.StructTypeInfo.Field.Builder builderForValue) {
if (fieldBuilder_ == null) {
field_ = builderForValue.build();
onChanged();
} else {
fieldBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.StructTypeInfo.Field field = 2;
*/
public Builder mergeField(cz.proto.StructTypeInfo.Field value) {
if (fieldBuilder_ == null) {
if (field_ != null) {
field_ =
cz.proto.StructTypeInfo.Field.newBuilder(field_).mergeFrom(value).buildPartial();
} else {
field_ = value;
}
onChanged();
} else {
fieldBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.StructTypeInfo.Field field = 2;
*/
public Builder clearField() {
if (fieldBuilder_ == null) {
field_ = null;
onChanged();
} else {
field_ = null;
fieldBuilder_ = null;
}
return this;
}
/**
* .cz.proto.StructTypeInfo.Field field = 2;
*/
public cz.proto.StructTypeInfo.Field.Builder getFieldBuilder() {
onChanged();
return getFieldFieldBuilder().getBuilder();
}
/**
* .cz.proto.StructTypeInfo.Field field = 2;
*/
public cz.proto.StructTypeInfo.FieldOrBuilder getFieldOrBuilder() {
if (fieldBuilder_ != null) {
return fieldBuilder_.getMessageOrBuilder();
} else {
return field_ == null ?
cz.proto.StructTypeInfo.Field.getDefaultInstance() : field_;
}
}
/**
* .cz.proto.StructTypeInfo.Field field = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.StructTypeInfo.Field, cz.proto.StructTypeInfo.Field.Builder, cz.proto.StructTypeInfo.FieldOrBuilder>
getFieldFieldBuilder() {
if (fieldBuilder_ == null) {
fieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.StructTypeInfo.Field, cz.proto.StructTypeInfo.Field.Builder, cz.proto.StructTypeInfo.FieldOrBuilder>(
getField(),
getParentForChildren(),
isClean());
field_ = null;
}
return fieldBuilder_;
}
@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.access.StructField)
}
// @@protoc_insertion_point(class_scope:cz.proto.access.StructField)
private static final cz.proto.access.Ddl.StructField DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.access.Ddl.StructField();
}
public static cz.proto.access.Ddl.StructField getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public StructField parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new StructField(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.access.Ddl.StructField getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ColumnAddOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.access.ColumnAdd)
com.google.protobuf.MessageOrBuilder {
/**
*
* added at the end of the schema by default
*
*
* .cz.proto.FieldSchema column = 1;
* @return Whether the column field is set.
*/
boolean hasColumn();
/**
*
* added at the end of the schema by default
*
*
* .cz.proto.FieldSchema column = 1;
* @return The column.
*/
cz.proto.FieldSchema getColumn();
/**
*
* added at the end of the schema by default
*
*
* .cz.proto.FieldSchema column = 1;
*/
cz.proto.FieldSchemaOrBuilder getColumnOrBuilder();
/**
* .cz.proto.access.StructField struct_field = 2;
* @return Whether the structField field is set.
*/
boolean hasStructField();
/**
* .cz.proto.access.StructField struct_field = 2;
* @return The structField.
*/
cz.proto.access.Ddl.StructField getStructField();
/**
* .cz.proto.access.StructField struct_field = 2;
*/
cz.proto.access.Ddl.StructFieldOrBuilder getStructFieldOrBuilder();
/**
* bool if_not_exists = 11;
* @return The ifNotExists.
*/
boolean getIfNotExists();
public cz.proto.access.Ddl.ColumnAdd.AddCase getAddCase();
}
/**
* Protobuf type {@code cz.proto.access.ColumnAdd}
*/
public static final class ColumnAdd extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.access.ColumnAdd)
ColumnAddOrBuilder {
private static final long serialVersionUID = 0L;
// Use ColumnAdd.newBuilder() to construct.
private ColumnAdd(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ColumnAdd() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ColumnAdd();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ColumnAdd(
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 10: {
cz.proto.FieldSchema.Builder subBuilder = null;
if (addCase_ == 1) {
subBuilder = ((cz.proto.FieldSchema) add_).toBuilder();
}
add_ =
input.readMessage(cz.proto.FieldSchema.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.FieldSchema) add_);
add_ = subBuilder.buildPartial();
}
addCase_ = 1;
break;
}
case 18: {
cz.proto.access.Ddl.StructField.Builder subBuilder = null;
if (addCase_ == 2) {
subBuilder = ((cz.proto.access.Ddl.StructField) add_).toBuilder();
}
add_ =
input.readMessage(cz.proto.access.Ddl.StructField.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.access.Ddl.StructField) add_);
add_ = subBuilder.buildPartial();
}
addCase_ = 2;
break;
}
case 88: {
ifNotExists_ = input.readBool();
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.access.Ddl.internal_static_cz_proto_access_ColumnAdd_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_ColumnAdd_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.ColumnAdd.class, cz.proto.access.Ddl.ColumnAdd.Builder.class);
}
private int addCase_ = 0;
private java.lang.Object add_;
public enum AddCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
COLUMN(1),
STRUCT_FIELD(2),
ADD_NOT_SET(0);
private final int value;
private AddCase(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 AddCase valueOf(int value) {
return forNumber(value);
}
public static AddCase forNumber(int value) {
switch (value) {
case 1: return COLUMN;
case 2: return STRUCT_FIELD;
case 0: return ADD_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public AddCase
getAddCase() {
return AddCase.forNumber(
addCase_);
}
public static final int COLUMN_FIELD_NUMBER = 1;
/**
*
* added at the end of the schema by default
*
*
* .cz.proto.FieldSchema column = 1;
* @return Whether the column field is set.
*/
@java.lang.Override
public boolean hasColumn() {
return addCase_ == 1;
}
/**
*
* added at the end of the schema by default
*
*
* .cz.proto.FieldSchema column = 1;
* @return The column.
*/
@java.lang.Override
public cz.proto.FieldSchema getColumn() {
if (addCase_ == 1) {
return (cz.proto.FieldSchema) add_;
}
return cz.proto.FieldSchema.getDefaultInstance();
}
/**
*
* added at the end of the schema by default
*
*
* .cz.proto.FieldSchema column = 1;
*/
@java.lang.Override
public cz.proto.FieldSchemaOrBuilder getColumnOrBuilder() {
if (addCase_ == 1) {
return (cz.proto.FieldSchema) add_;
}
return cz.proto.FieldSchema.getDefaultInstance();
}
public static final int STRUCT_FIELD_FIELD_NUMBER = 2;
/**
* .cz.proto.access.StructField struct_field = 2;
* @return Whether the structField field is set.
*/
@java.lang.Override
public boolean hasStructField() {
return addCase_ == 2;
}
/**
* .cz.proto.access.StructField struct_field = 2;
* @return The structField.
*/
@java.lang.Override
public cz.proto.access.Ddl.StructField getStructField() {
if (addCase_ == 2) {
return (cz.proto.access.Ddl.StructField) add_;
}
return cz.proto.access.Ddl.StructField.getDefaultInstance();
}
/**
* .cz.proto.access.StructField struct_field = 2;
*/
@java.lang.Override
public cz.proto.access.Ddl.StructFieldOrBuilder getStructFieldOrBuilder() {
if (addCase_ == 2) {
return (cz.proto.access.Ddl.StructField) add_;
}
return cz.proto.access.Ddl.StructField.getDefaultInstance();
}
public static final int IF_NOT_EXISTS_FIELD_NUMBER = 11;
private boolean ifNotExists_;
/**
* bool if_not_exists = 11;
* @return The ifNotExists.
*/
@java.lang.Override
public boolean getIfNotExists() {
return ifNotExists_;
}
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 (addCase_ == 1) {
output.writeMessage(1, (cz.proto.FieldSchema) add_);
}
if (addCase_ == 2) {
output.writeMessage(2, (cz.proto.access.Ddl.StructField) add_);
}
if (ifNotExists_ != false) {
output.writeBool(11, ifNotExists_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (addCase_ == 1) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, (cz.proto.FieldSchema) add_);
}
if (addCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, (cz.proto.access.Ddl.StructField) add_);
}
if (ifNotExists_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(11, ifNotExists_);
}
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.access.Ddl.ColumnAdd)) {
return super.equals(obj);
}
cz.proto.access.Ddl.ColumnAdd other = (cz.proto.access.Ddl.ColumnAdd) obj;
if (getIfNotExists()
!= other.getIfNotExists()) return false;
if (!getAddCase().equals(other.getAddCase())) return false;
switch (addCase_) {
case 1:
if (!getColumn()
.equals(other.getColumn())) return false;
break;
case 2:
if (!getStructField()
.equals(other.getStructField())) 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();
hash = (37 * hash) + IF_NOT_EXISTS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIfNotExists());
switch (addCase_) {
case 1:
hash = (37 * hash) + COLUMN_FIELD_NUMBER;
hash = (53 * hash) + getColumn().hashCode();
break;
case 2:
hash = (37 * hash) + STRUCT_FIELD_FIELD_NUMBER;
hash = (53 * hash) + getStructField().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.access.Ddl.ColumnAdd parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.ColumnAdd parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.ColumnAdd parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.ColumnAdd 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.access.Ddl.ColumnAdd parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.ColumnAdd parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.ColumnAdd parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.ColumnAdd 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.access.Ddl.ColumnAdd parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.ColumnAdd 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.access.Ddl.ColumnAdd parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.ColumnAdd 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.access.Ddl.ColumnAdd 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.access.ColumnAdd}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.access.ColumnAdd)
cz.proto.access.Ddl.ColumnAddOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_ColumnAdd_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_ColumnAdd_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.ColumnAdd.class, cz.proto.access.Ddl.ColumnAdd.Builder.class);
}
// Construct using cz.proto.access.Ddl.ColumnAdd.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();
ifNotExists_ = false;
addCase_ = 0;
add_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_ColumnAdd_descriptor;
}
@java.lang.Override
public cz.proto.access.Ddl.ColumnAdd getDefaultInstanceForType() {
return cz.proto.access.Ddl.ColumnAdd.getDefaultInstance();
}
@java.lang.Override
public cz.proto.access.Ddl.ColumnAdd build() {
cz.proto.access.Ddl.ColumnAdd result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.access.Ddl.ColumnAdd buildPartial() {
cz.proto.access.Ddl.ColumnAdd result = new cz.proto.access.Ddl.ColumnAdd(this);
if (addCase_ == 1) {
if (columnBuilder_ == null) {
result.add_ = add_;
} else {
result.add_ = columnBuilder_.build();
}
}
if (addCase_ == 2) {
if (structFieldBuilder_ == null) {
result.add_ = add_;
} else {
result.add_ = structFieldBuilder_.build();
}
}
result.ifNotExists_ = ifNotExists_;
result.addCase_ = addCase_;
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.access.Ddl.ColumnAdd) {
return mergeFrom((cz.proto.access.Ddl.ColumnAdd)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.access.Ddl.ColumnAdd other) {
if (other == cz.proto.access.Ddl.ColumnAdd.getDefaultInstance()) return this;
if (other.getIfNotExists() != false) {
setIfNotExists(other.getIfNotExists());
}
switch (other.getAddCase()) {
case COLUMN: {
mergeColumn(other.getColumn());
break;
}
case STRUCT_FIELD: {
mergeStructField(other.getStructField());
break;
}
case ADD_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.access.Ddl.ColumnAdd parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.access.Ddl.ColumnAdd) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int addCase_ = 0;
private java.lang.Object add_;
public AddCase
getAddCase() {
return AddCase.forNumber(
addCase_);
}
public Builder clearAdd() {
addCase_ = 0;
add_ = null;
onChanged();
return this;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.FieldSchema, cz.proto.FieldSchema.Builder, cz.proto.FieldSchemaOrBuilder> columnBuilder_;
/**
*
* added at the end of the schema by default
*
*
* .cz.proto.FieldSchema column = 1;
* @return Whether the column field is set.
*/
@java.lang.Override
public boolean hasColumn() {
return addCase_ == 1;
}
/**
*
* added at the end of the schema by default
*
*
* .cz.proto.FieldSchema column = 1;
* @return The column.
*/
@java.lang.Override
public cz.proto.FieldSchema getColumn() {
if (columnBuilder_ == null) {
if (addCase_ == 1) {
return (cz.proto.FieldSchema) add_;
}
return cz.proto.FieldSchema.getDefaultInstance();
} else {
if (addCase_ == 1) {
return columnBuilder_.getMessage();
}
return cz.proto.FieldSchema.getDefaultInstance();
}
}
/**
*
* added at the end of the schema by default
*
*
* .cz.proto.FieldSchema column = 1;
*/
public Builder setColumn(cz.proto.FieldSchema value) {
if (columnBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
add_ = value;
onChanged();
} else {
columnBuilder_.setMessage(value);
}
addCase_ = 1;
return this;
}
/**
*
* added at the end of the schema by default
*
*
* .cz.proto.FieldSchema column = 1;
*/
public Builder setColumn(
cz.proto.FieldSchema.Builder builderForValue) {
if (columnBuilder_ == null) {
add_ = builderForValue.build();
onChanged();
} else {
columnBuilder_.setMessage(builderForValue.build());
}
addCase_ = 1;
return this;
}
/**
*
* added at the end of the schema by default
*
*
* .cz.proto.FieldSchema column = 1;
*/
public Builder mergeColumn(cz.proto.FieldSchema value) {
if (columnBuilder_ == null) {
if (addCase_ == 1 &&
add_ != cz.proto.FieldSchema.getDefaultInstance()) {
add_ = cz.proto.FieldSchema.newBuilder((cz.proto.FieldSchema) add_)
.mergeFrom(value).buildPartial();
} else {
add_ = value;
}
onChanged();
} else {
if (addCase_ == 1) {
columnBuilder_.mergeFrom(value);
}
columnBuilder_.setMessage(value);
}
addCase_ = 1;
return this;
}
/**
*
* added at the end of the schema by default
*
*
* .cz.proto.FieldSchema column = 1;
*/
public Builder clearColumn() {
if (columnBuilder_ == null) {
if (addCase_ == 1) {
addCase_ = 0;
add_ = null;
onChanged();
}
} else {
if (addCase_ == 1) {
addCase_ = 0;
add_ = null;
}
columnBuilder_.clear();
}
return this;
}
/**
*
* added at the end of the schema by default
*
*
* .cz.proto.FieldSchema column = 1;
*/
public cz.proto.FieldSchema.Builder getColumnBuilder() {
return getColumnFieldBuilder().getBuilder();
}
/**
*
* added at the end of the schema by default
*
*
* .cz.proto.FieldSchema column = 1;
*/
@java.lang.Override
public cz.proto.FieldSchemaOrBuilder getColumnOrBuilder() {
if ((addCase_ == 1) && (columnBuilder_ != null)) {
return columnBuilder_.getMessageOrBuilder();
} else {
if (addCase_ == 1) {
return (cz.proto.FieldSchema) add_;
}
return cz.proto.FieldSchema.getDefaultInstance();
}
}
/**
*
* added at the end of the schema by default
*
*
* .cz.proto.FieldSchema column = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.FieldSchema, cz.proto.FieldSchema.Builder, cz.proto.FieldSchemaOrBuilder>
getColumnFieldBuilder() {
if (columnBuilder_ == null) {
if (!(addCase_ == 1)) {
add_ = cz.proto.FieldSchema.getDefaultInstance();
}
columnBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.FieldSchema, cz.proto.FieldSchema.Builder, cz.proto.FieldSchemaOrBuilder>(
(cz.proto.FieldSchema) add_,
getParentForChildren(),
isClean());
add_ = null;
}
addCase_ = 1;
onChanged();;
return columnBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.StructField, cz.proto.access.Ddl.StructField.Builder, cz.proto.access.Ddl.StructFieldOrBuilder> structFieldBuilder_;
/**
* .cz.proto.access.StructField struct_field = 2;
* @return Whether the structField field is set.
*/
@java.lang.Override
public boolean hasStructField() {
return addCase_ == 2;
}
/**
* .cz.proto.access.StructField struct_field = 2;
* @return The structField.
*/
@java.lang.Override
public cz.proto.access.Ddl.StructField getStructField() {
if (structFieldBuilder_ == null) {
if (addCase_ == 2) {
return (cz.proto.access.Ddl.StructField) add_;
}
return cz.proto.access.Ddl.StructField.getDefaultInstance();
} else {
if (addCase_ == 2) {
return structFieldBuilder_.getMessage();
}
return cz.proto.access.Ddl.StructField.getDefaultInstance();
}
}
/**
* .cz.proto.access.StructField struct_field = 2;
*/
public Builder setStructField(cz.proto.access.Ddl.StructField value) {
if (structFieldBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
add_ = value;
onChanged();
} else {
structFieldBuilder_.setMessage(value);
}
addCase_ = 2;
return this;
}
/**
* .cz.proto.access.StructField struct_field = 2;
*/
public Builder setStructField(
cz.proto.access.Ddl.StructField.Builder builderForValue) {
if (structFieldBuilder_ == null) {
add_ = builderForValue.build();
onChanged();
} else {
structFieldBuilder_.setMessage(builderForValue.build());
}
addCase_ = 2;
return this;
}
/**
* .cz.proto.access.StructField struct_field = 2;
*/
public Builder mergeStructField(cz.proto.access.Ddl.StructField value) {
if (structFieldBuilder_ == null) {
if (addCase_ == 2 &&
add_ != cz.proto.access.Ddl.StructField.getDefaultInstance()) {
add_ = cz.proto.access.Ddl.StructField.newBuilder((cz.proto.access.Ddl.StructField) add_)
.mergeFrom(value).buildPartial();
} else {
add_ = value;
}
onChanged();
} else {
if (addCase_ == 2) {
structFieldBuilder_.mergeFrom(value);
}
structFieldBuilder_.setMessage(value);
}
addCase_ = 2;
return this;
}
/**
* .cz.proto.access.StructField struct_field = 2;
*/
public Builder clearStructField() {
if (structFieldBuilder_ == null) {
if (addCase_ == 2) {
addCase_ = 0;
add_ = null;
onChanged();
}
} else {
if (addCase_ == 2) {
addCase_ = 0;
add_ = null;
}
structFieldBuilder_.clear();
}
return this;
}
/**
* .cz.proto.access.StructField struct_field = 2;
*/
public cz.proto.access.Ddl.StructField.Builder getStructFieldBuilder() {
return getStructFieldFieldBuilder().getBuilder();
}
/**
* .cz.proto.access.StructField struct_field = 2;
*/
@java.lang.Override
public cz.proto.access.Ddl.StructFieldOrBuilder getStructFieldOrBuilder() {
if ((addCase_ == 2) && (structFieldBuilder_ != null)) {
return structFieldBuilder_.getMessageOrBuilder();
} else {
if (addCase_ == 2) {
return (cz.proto.access.Ddl.StructField) add_;
}
return cz.proto.access.Ddl.StructField.getDefaultInstance();
}
}
/**
* .cz.proto.access.StructField struct_field = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.StructField, cz.proto.access.Ddl.StructField.Builder, cz.proto.access.Ddl.StructFieldOrBuilder>
getStructFieldFieldBuilder() {
if (structFieldBuilder_ == null) {
if (!(addCase_ == 2)) {
add_ = cz.proto.access.Ddl.StructField.getDefaultInstance();
}
structFieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.StructField, cz.proto.access.Ddl.StructField.Builder, cz.proto.access.Ddl.StructFieldOrBuilder>(
(cz.proto.access.Ddl.StructField) add_,
getParentForChildren(),
isClean());
add_ = null;
}
addCase_ = 2;
onChanged();;
return structFieldBuilder_;
}
private boolean ifNotExists_ ;
/**
* bool if_not_exists = 11;
* @return The ifNotExists.
*/
@java.lang.Override
public boolean getIfNotExists() {
return ifNotExists_;
}
/**
* bool if_not_exists = 11;
* @param value The ifNotExists to set.
* @return This builder for chaining.
*/
public Builder setIfNotExists(boolean value) {
ifNotExists_ = value;
onChanged();
return this;
}
/**
* bool if_not_exists = 11;
* @return This builder for chaining.
*/
public Builder clearIfNotExists() {
ifNotExists_ = false;
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.access.ColumnAdd)
}
// @@protoc_insertion_point(class_scope:cz.proto.access.ColumnAdd)
private static final cz.proto.access.Ddl.ColumnAdd DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.access.Ddl.ColumnAdd();
}
public static cz.proto.access.Ddl.ColumnAdd getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ColumnAdd parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ColumnAdd(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.access.Ddl.ColumnAdd getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ColumnDropOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.access.ColumnDrop)
com.google.protobuf.MessageOrBuilder {
/**
* repeated string ancestors = 1;
* @return A list containing the ancestors.
*/
java.util.List
getAncestorsList();
/**
* repeated string ancestors = 1;
* @return The count of ancestors.
*/
int getAncestorsCount();
/**
* repeated string ancestors = 1;
* @param index The index of the element to return.
* @return The ancestors at the given index.
*/
java.lang.String getAncestors(int index);
/**
* repeated string ancestors = 1;
* @param index The index of the value to return.
* @return The bytes of the ancestors at the given index.
*/
com.google.protobuf.ByteString
getAncestorsBytes(int index);
/**
* string name = 2;
* @return The name.
*/
java.lang.String getName();
/**
* string name = 2;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* bool if_exists = 11;
* @return The ifExists.
*/
boolean getIfExists();
}
/**
* Protobuf type {@code cz.proto.access.ColumnDrop}
*/
public static final class ColumnDrop extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.access.ColumnDrop)
ColumnDropOrBuilder {
private static final long serialVersionUID = 0L;
// Use ColumnDrop.newBuilder() to construct.
private ColumnDrop(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ColumnDrop() {
ancestors_ = com.google.protobuf.LazyStringArrayList.EMPTY;
name_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ColumnDrop();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ColumnDrop(
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)) {
ancestors_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000001;
}
ancestors_.add(s);
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
name_ = s;
break;
}
case 88: {
ifExists_ = input.readBool();
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)) {
ancestors_ = ancestors_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_ColumnDrop_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_ColumnDrop_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.ColumnDrop.class, cz.proto.access.Ddl.ColumnDrop.Builder.class);
}
public static final int ANCESTORS_FIELD_NUMBER = 1;
private com.google.protobuf.LazyStringList ancestors_;
/**
* repeated string ancestors = 1;
* @return A list containing the ancestors.
*/
public com.google.protobuf.ProtocolStringList
getAncestorsList() {
return ancestors_;
}
/**
* repeated string ancestors = 1;
* @return The count of ancestors.
*/
public int getAncestorsCount() {
return ancestors_.size();
}
/**
* repeated string ancestors = 1;
* @param index The index of the element to return.
* @return The ancestors at the given index.
*/
public java.lang.String getAncestors(int index) {
return ancestors_.get(index);
}
/**
* repeated string ancestors = 1;
* @param index The index of the value to return.
* @return The bytes of the ancestors at the given index.
*/
public com.google.protobuf.ByteString
getAncestorsBytes(int index) {
return ancestors_.getByteString(index);
}
public static final int NAME_FIELD_NUMBER = 2;
private volatile java.lang.Object name_;
/**
* string name = 2;
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
* string name = 2;
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int IF_EXISTS_FIELD_NUMBER = 11;
private boolean ifExists_;
/**
* bool if_exists = 11;
* @return The ifExists.
*/
@java.lang.Override
public boolean getIfExists() {
return ifExists_;
}
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 < ancestors_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, ancestors_.getRaw(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
}
if (ifExists_ != false) {
output.writeBool(11, ifExists_);
}
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 < ancestors_.size(); i++) {
dataSize += computeStringSizeNoTag(ancestors_.getRaw(i));
}
size += dataSize;
size += 1 * getAncestorsList().size();
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
}
if (ifExists_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(11, ifExists_);
}
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.access.Ddl.ColumnDrop)) {
return super.equals(obj);
}
cz.proto.access.Ddl.ColumnDrop other = (cz.proto.access.Ddl.ColumnDrop) obj;
if (!getAncestorsList()
.equals(other.getAncestorsList())) return false;
if (!getName()
.equals(other.getName())) return false;
if (getIfExists()
!= other.getIfExists()) 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 (getAncestorsCount() > 0) {
hash = (37 * hash) + ANCESTORS_FIELD_NUMBER;
hash = (53 * hash) + getAncestorsList().hashCode();
}
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + IF_EXISTS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIfExists());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.access.Ddl.ColumnDrop parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.ColumnDrop parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.ColumnDrop parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.ColumnDrop 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.access.Ddl.ColumnDrop parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.ColumnDrop parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.ColumnDrop parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.ColumnDrop 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.access.Ddl.ColumnDrop parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.ColumnDrop 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.access.Ddl.ColumnDrop parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.ColumnDrop 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.access.Ddl.ColumnDrop 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.access.ColumnDrop}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.access.ColumnDrop)
cz.proto.access.Ddl.ColumnDropOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_ColumnDrop_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_ColumnDrop_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.ColumnDrop.class, cz.proto.access.Ddl.ColumnDrop.Builder.class);
}
// Construct using cz.proto.access.Ddl.ColumnDrop.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();
ancestors_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
name_ = "";
ifExists_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_ColumnDrop_descriptor;
}
@java.lang.Override
public cz.proto.access.Ddl.ColumnDrop getDefaultInstanceForType() {
return cz.proto.access.Ddl.ColumnDrop.getDefaultInstance();
}
@java.lang.Override
public cz.proto.access.Ddl.ColumnDrop build() {
cz.proto.access.Ddl.ColumnDrop result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.access.Ddl.ColumnDrop buildPartial() {
cz.proto.access.Ddl.ColumnDrop result = new cz.proto.access.Ddl.ColumnDrop(this);
int from_bitField0_ = bitField0_;
if (((bitField0_ & 0x00000001) != 0)) {
ancestors_ = ancestors_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.ancestors_ = ancestors_;
result.name_ = name_;
result.ifExists_ = ifExists_;
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.access.Ddl.ColumnDrop) {
return mergeFrom((cz.proto.access.Ddl.ColumnDrop)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.access.Ddl.ColumnDrop other) {
if (other == cz.proto.access.Ddl.ColumnDrop.getDefaultInstance()) return this;
if (!other.ancestors_.isEmpty()) {
if (ancestors_.isEmpty()) {
ancestors_ = other.ancestors_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureAncestorsIsMutable();
ancestors_.addAll(other.ancestors_);
}
onChanged();
}
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
if (other.getIfExists() != false) {
setIfExists(other.getIfExists());
}
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.access.Ddl.ColumnDrop parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.access.Ddl.ColumnDrop) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.google.protobuf.LazyStringList ancestors_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureAncestorsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
ancestors_ = new com.google.protobuf.LazyStringArrayList(ancestors_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated string ancestors = 1;
* @return A list containing the ancestors.
*/
public com.google.protobuf.ProtocolStringList
getAncestorsList() {
return ancestors_.getUnmodifiableView();
}
/**
* repeated string ancestors = 1;
* @return The count of ancestors.
*/
public int getAncestorsCount() {
return ancestors_.size();
}
/**
* repeated string ancestors = 1;
* @param index The index of the element to return.
* @return The ancestors at the given index.
*/
public java.lang.String getAncestors(int index) {
return ancestors_.get(index);
}
/**
* repeated string ancestors = 1;
* @param index The index of the value to return.
* @return The bytes of the ancestors at the given index.
*/
public com.google.protobuf.ByteString
getAncestorsBytes(int index) {
return ancestors_.getByteString(index);
}
/**
* repeated string ancestors = 1;
* @param index The index to set the value at.
* @param value The ancestors to set.
* @return This builder for chaining.
*/
public Builder setAncestors(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureAncestorsIsMutable();
ancestors_.set(index, value);
onChanged();
return this;
}
/**
* repeated string ancestors = 1;
* @param value The ancestors to add.
* @return This builder for chaining.
*/
public Builder addAncestors(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureAncestorsIsMutable();
ancestors_.add(value);
onChanged();
return this;
}
/**
* repeated string ancestors = 1;
* @param values The ancestors to add.
* @return This builder for chaining.
*/
public Builder addAllAncestors(
java.lang.Iterable values) {
ensureAncestorsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, ancestors_);
onChanged();
return this;
}
/**
* repeated string ancestors = 1;
* @return This builder for chaining.
*/
public Builder clearAncestors() {
ancestors_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* repeated string ancestors = 1;
* @param value The bytes of the ancestors to add.
* @return This builder for chaining.
*/
public Builder addAncestorsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureAncestorsIsMutable();
ancestors_.add(value);
onChanged();
return this;
}
private java.lang.Object name_ = "";
/**
* string name = 2;
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string name = 2;
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string name = 2;
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
* string name = 2;
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* string name = 2;
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
onChanged();
return this;
}
private boolean ifExists_ ;
/**
* bool if_exists = 11;
* @return The ifExists.
*/
@java.lang.Override
public boolean getIfExists() {
return ifExists_;
}
/**
* bool if_exists = 11;
* @param value The ifExists to set.
* @return This builder for chaining.
*/
public Builder setIfExists(boolean value) {
ifExists_ = value;
onChanged();
return this;
}
/**
* bool if_exists = 11;
* @return This builder for chaining.
*/
public Builder clearIfExists() {
ifExists_ = false;
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.access.ColumnDrop)
}
// @@protoc_insertion_point(class_scope:cz.proto.access.ColumnDrop)
private static final cz.proto.access.Ddl.ColumnDrop DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.access.Ddl.ColumnDrop();
}
public static cz.proto.access.Ddl.ColumnDrop getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ColumnDrop parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ColumnDrop(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.access.Ddl.ColumnDrop getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ColumnChangeOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.access.ColumnChange)
com.google.protobuf.MessageOrBuilder {
/**
* repeated string ancestors = 1;
* @return A list containing the ancestors.
*/
java.util.List
getAncestorsList();
/**
* repeated string ancestors = 1;
* @return The count of ancestors.
*/
int getAncestorsCount();
/**
* repeated string ancestors = 1;
* @param index The index of the element to return.
* @return The ancestors at the given index.
*/
java.lang.String getAncestors(int index);
/**
* repeated string ancestors = 1;
* @param index The index of the value to return.
* @return The bytes of the ancestors at the given index.
*/
com.google.protobuf.ByteString
getAncestorsBytes(int index);
/**
* string name = 2;
* @return The name.
*/
java.lang.String getName();
/**
* string name = 2;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* string new_name = 3;
* @return Whether the newName field is set.
*/
boolean hasNewName();
/**
* string new_name = 3;
* @return The newName.
*/
java.lang.String getNewName();
/**
* string new_name = 3;
* @return The bytes for newName.
*/
com.google.protobuf.ByteString
getNewNameBytes();
/**
* .cz.proto.DataType new_type = 4;
* @return Whether the newType field is set.
*/
boolean hasNewType();
/**
* .cz.proto.DataType new_type = 4;
* @return The newType.
*/
cz.proto.DataType getNewType();
/**
* .cz.proto.DataType new_type = 4;
*/
cz.proto.DataTypeOrBuilder getNewTypeOrBuilder();
/**
* string new_comment = 5;
* @return Whether the newComment field is set.
*/
boolean hasNewComment();
/**
* string new_comment = 5;
* @return The newComment.
*/
java.lang.String getNewComment();
/**
* string new_comment = 5;
* @return The bytes for newComment.
*/
com.google.protobuf.ByteString
getNewCommentBytes();
public cz.proto.access.Ddl.ColumnChange.ChangeCase getChangeCase();
}
/**
* Protobuf type {@code cz.proto.access.ColumnChange}
*/
public static final class ColumnChange extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.access.ColumnChange)
ColumnChangeOrBuilder {
private static final long serialVersionUID = 0L;
// Use ColumnChange.newBuilder() to construct.
private ColumnChange(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ColumnChange() {
ancestors_ = com.google.protobuf.LazyStringArrayList.EMPTY;
name_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ColumnChange();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ColumnChange(
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)) {
ancestors_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000001;
}
ancestors_.add(s);
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
name_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
changeCase_ = 3;
change_ = s;
break;
}
case 34: {
cz.proto.DataType.Builder subBuilder = null;
if (changeCase_ == 4) {
subBuilder = ((cz.proto.DataType) change_).toBuilder();
}
change_ =
input.readMessage(cz.proto.DataType.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.DataType) change_);
change_ = subBuilder.buildPartial();
}
changeCase_ = 4;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
changeCase_ = 5;
change_ = 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)) {
ancestors_ = ancestors_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_ColumnChange_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_ColumnChange_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.ColumnChange.class, cz.proto.access.Ddl.ColumnChange.Builder.class);
}
private int changeCase_ = 0;
private java.lang.Object change_;
public enum ChangeCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
NEW_NAME(3),
NEW_TYPE(4),
NEW_COMMENT(5),
CHANGE_NOT_SET(0);
private final int value;
private ChangeCase(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 ChangeCase valueOf(int value) {
return forNumber(value);
}
public static ChangeCase forNumber(int value) {
switch (value) {
case 3: return NEW_NAME;
case 4: return NEW_TYPE;
case 5: return NEW_COMMENT;
case 0: return CHANGE_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public ChangeCase
getChangeCase() {
return ChangeCase.forNumber(
changeCase_);
}
public static final int ANCESTORS_FIELD_NUMBER = 1;
private com.google.protobuf.LazyStringList ancestors_;
/**
* repeated string ancestors = 1;
* @return A list containing the ancestors.
*/
public com.google.protobuf.ProtocolStringList
getAncestorsList() {
return ancestors_;
}
/**
* repeated string ancestors = 1;
* @return The count of ancestors.
*/
public int getAncestorsCount() {
return ancestors_.size();
}
/**
* repeated string ancestors = 1;
* @param index The index of the element to return.
* @return The ancestors at the given index.
*/
public java.lang.String getAncestors(int index) {
return ancestors_.get(index);
}
/**
* repeated string ancestors = 1;
* @param index The index of the value to return.
* @return The bytes of the ancestors at the given index.
*/
public com.google.protobuf.ByteString
getAncestorsBytes(int index) {
return ancestors_.getByteString(index);
}
public static final int NAME_FIELD_NUMBER = 2;
private volatile java.lang.Object name_;
/**
* string name = 2;
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
* string name = 2;
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NEW_NAME_FIELD_NUMBER = 3;
/**
* string new_name = 3;
* @return Whether the newName field is set.
*/
public boolean hasNewName() {
return changeCase_ == 3;
}
/**
* string new_name = 3;
* @return The newName.
*/
public java.lang.String getNewName() {
java.lang.Object ref = "";
if (changeCase_ == 3) {
ref = change_;
}
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();
if (changeCase_ == 3) {
change_ = s;
}
return s;
}
}
/**
* string new_name = 3;
* @return The bytes for newName.
*/
public com.google.protobuf.ByteString
getNewNameBytes() {
java.lang.Object ref = "";
if (changeCase_ == 3) {
ref = change_;
}
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (changeCase_ == 3) {
change_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NEW_TYPE_FIELD_NUMBER = 4;
/**
* .cz.proto.DataType new_type = 4;
* @return Whether the newType field is set.
*/
@java.lang.Override
public boolean hasNewType() {
return changeCase_ == 4;
}
/**
* .cz.proto.DataType new_type = 4;
* @return The newType.
*/
@java.lang.Override
public cz.proto.DataType getNewType() {
if (changeCase_ == 4) {
return (cz.proto.DataType) change_;
}
return cz.proto.DataType.getDefaultInstance();
}
/**
* .cz.proto.DataType new_type = 4;
*/
@java.lang.Override
public cz.proto.DataTypeOrBuilder getNewTypeOrBuilder() {
if (changeCase_ == 4) {
return (cz.proto.DataType) change_;
}
return cz.proto.DataType.getDefaultInstance();
}
public static final int NEW_COMMENT_FIELD_NUMBER = 5;
/**
* string new_comment = 5;
* @return Whether the newComment field is set.
*/
public boolean hasNewComment() {
return changeCase_ == 5;
}
/**
* string new_comment = 5;
* @return The newComment.
*/
public java.lang.String getNewComment() {
java.lang.Object ref = "";
if (changeCase_ == 5) {
ref = change_;
}
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();
if (changeCase_ == 5) {
change_ = s;
}
return s;
}
}
/**
* string new_comment = 5;
* @return The bytes for newComment.
*/
public com.google.protobuf.ByteString
getNewCommentBytes() {
java.lang.Object ref = "";
if (changeCase_ == 5) {
ref = change_;
}
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (changeCase_ == 5) {
change_ = 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 {
for (int i = 0; i < ancestors_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, ancestors_.getRaw(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
}
if (changeCase_ == 3) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, change_);
}
if (changeCase_ == 4) {
output.writeMessage(4, (cz.proto.DataType) change_);
}
if (changeCase_ == 5) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, change_);
}
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 < ancestors_.size(); i++) {
dataSize += computeStringSizeNoTag(ancestors_.getRaw(i));
}
size += dataSize;
size += 1 * getAncestorsList().size();
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
}
if (changeCase_ == 3) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, change_);
}
if (changeCase_ == 4) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, (cz.proto.DataType) change_);
}
if (changeCase_ == 5) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, change_);
}
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.access.Ddl.ColumnChange)) {
return super.equals(obj);
}
cz.proto.access.Ddl.ColumnChange other = (cz.proto.access.Ddl.ColumnChange) obj;
if (!getAncestorsList()
.equals(other.getAncestorsList())) return false;
if (!getName()
.equals(other.getName())) return false;
if (!getChangeCase().equals(other.getChangeCase())) return false;
switch (changeCase_) {
case 3:
if (!getNewName()
.equals(other.getNewName())) return false;
break;
case 4:
if (!getNewType()
.equals(other.getNewType())) return false;
break;
case 5:
if (!getNewComment()
.equals(other.getNewComment())) 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 (getAncestorsCount() > 0) {
hash = (37 * hash) + ANCESTORS_FIELD_NUMBER;
hash = (53 * hash) + getAncestorsList().hashCode();
}
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
switch (changeCase_) {
case 3:
hash = (37 * hash) + NEW_NAME_FIELD_NUMBER;
hash = (53 * hash) + getNewName().hashCode();
break;
case 4:
hash = (37 * hash) + NEW_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getNewType().hashCode();
break;
case 5:
hash = (37 * hash) + NEW_COMMENT_FIELD_NUMBER;
hash = (53 * hash) + getNewComment().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.access.Ddl.ColumnChange parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.ColumnChange parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.ColumnChange parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.ColumnChange 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.access.Ddl.ColumnChange parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.ColumnChange parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.ColumnChange parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.ColumnChange 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.access.Ddl.ColumnChange parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.ColumnChange 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.access.Ddl.ColumnChange parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.ColumnChange 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.access.Ddl.ColumnChange 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.access.ColumnChange}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.access.ColumnChange)
cz.proto.access.Ddl.ColumnChangeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_ColumnChange_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_ColumnChange_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.ColumnChange.class, cz.proto.access.Ddl.ColumnChange.Builder.class);
}
// Construct using cz.proto.access.Ddl.ColumnChange.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();
ancestors_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
name_ = "";
changeCase_ = 0;
change_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_ColumnChange_descriptor;
}
@java.lang.Override
public cz.proto.access.Ddl.ColumnChange getDefaultInstanceForType() {
return cz.proto.access.Ddl.ColumnChange.getDefaultInstance();
}
@java.lang.Override
public cz.proto.access.Ddl.ColumnChange build() {
cz.proto.access.Ddl.ColumnChange result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.access.Ddl.ColumnChange buildPartial() {
cz.proto.access.Ddl.ColumnChange result = new cz.proto.access.Ddl.ColumnChange(this);
int from_bitField0_ = bitField0_;
if (((bitField0_ & 0x00000001) != 0)) {
ancestors_ = ancestors_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.ancestors_ = ancestors_;
result.name_ = name_;
if (changeCase_ == 3) {
result.change_ = change_;
}
if (changeCase_ == 4) {
if (newTypeBuilder_ == null) {
result.change_ = change_;
} else {
result.change_ = newTypeBuilder_.build();
}
}
if (changeCase_ == 5) {
result.change_ = change_;
}
result.changeCase_ = changeCase_;
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.access.Ddl.ColumnChange) {
return mergeFrom((cz.proto.access.Ddl.ColumnChange)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.access.Ddl.ColumnChange other) {
if (other == cz.proto.access.Ddl.ColumnChange.getDefaultInstance()) return this;
if (!other.ancestors_.isEmpty()) {
if (ancestors_.isEmpty()) {
ancestors_ = other.ancestors_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureAncestorsIsMutable();
ancestors_.addAll(other.ancestors_);
}
onChanged();
}
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
switch (other.getChangeCase()) {
case NEW_NAME: {
changeCase_ = 3;
change_ = other.change_;
onChanged();
break;
}
case NEW_TYPE: {
mergeNewType(other.getNewType());
break;
}
case NEW_COMMENT: {
changeCase_ = 5;
change_ = other.change_;
onChanged();
break;
}
case CHANGE_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.access.Ddl.ColumnChange parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.access.Ddl.ColumnChange) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int changeCase_ = 0;
private java.lang.Object change_;
public ChangeCase
getChangeCase() {
return ChangeCase.forNumber(
changeCase_);
}
public Builder clearChange() {
changeCase_ = 0;
change_ = null;
onChanged();
return this;
}
private int bitField0_;
private com.google.protobuf.LazyStringList ancestors_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureAncestorsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
ancestors_ = new com.google.protobuf.LazyStringArrayList(ancestors_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated string ancestors = 1;
* @return A list containing the ancestors.
*/
public com.google.protobuf.ProtocolStringList
getAncestorsList() {
return ancestors_.getUnmodifiableView();
}
/**
* repeated string ancestors = 1;
* @return The count of ancestors.
*/
public int getAncestorsCount() {
return ancestors_.size();
}
/**
* repeated string ancestors = 1;
* @param index The index of the element to return.
* @return The ancestors at the given index.
*/
public java.lang.String getAncestors(int index) {
return ancestors_.get(index);
}
/**
* repeated string ancestors = 1;
* @param index The index of the value to return.
* @return The bytes of the ancestors at the given index.
*/
public com.google.protobuf.ByteString
getAncestorsBytes(int index) {
return ancestors_.getByteString(index);
}
/**
* repeated string ancestors = 1;
* @param index The index to set the value at.
* @param value The ancestors to set.
* @return This builder for chaining.
*/
public Builder setAncestors(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureAncestorsIsMutable();
ancestors_.set(index, value);
onChanged();
return this;
}
/**
* repeated string ancestors = 1;
* @param value The ancestors to add.
* @return This builder for chaining.
*/
public Builder addAncestors(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureAncestorsIsMutable();
ancestors_.add(value);
onChanged();
return this;
}
/**
* repeated string ancestors = 1;
* @param values The ancestors to add.
* @return This builder for chaining.
*/
public Builder addAllAncestors(
java.lang.Iterable values) {
ensureAncestorsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, ancestors_);
onChanged();
return this;
}
/**
* repeated string ancestors = 1;
* @return This builder for chaining.
*/
public Builder clearAncestors() {
ancestors_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* repeated string ancestors = 1;
* @param value The bytes of the ancestors to add.
* @return This builder for chaining.
*/
public Builder addAncestorsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureAncestorsIsMutable();
ancestors_.add(value);
onChanged();
return this;
}
private java.lang.Object name_ = "";
/**
* string name = 2;
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string name = 2;
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string name = 2;
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
* string name = 2;
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* string name = 2;
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
onChanged();
return this;
}
/**
* string new_name = 3;
* @return Whether the newName field is set.
*/
@java.lang.Override
public boolean hasNewName() {
return changeCase_ == 3;
}
/**
* string new_name = 3;
* @return The newName.
*/
@java.lang.Override
public java.lang.String getNewName() {
java.lang.Object ref = "";
if (changeCase_ == 3) {
ref = change_;
}
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (changeCase_ == 3) {
change_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string new_name = 3;
* @return The bytes for newName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNewNameBytes() {
java.lang.Object ref = "";
if (changeCase_ == 3) {
ref = change_;
}
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (changeCase_ == 3) {
change_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string new_name = 3;
* @param value The newName to set.
* @return This builder for chaining.
*/
public Builder setNewName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
changeCase_ = 3;
change_ = value;
onChanged();
return this;
}
/**
* string new_name = 3;
* @return This builder for chaining.
*/
public Builder clearNewName() {
if (changeCase_ == 3) {
changeCase_ = 0;
change_ = null;
onChanged();
}
return this;
}
/**
* string new_name = 3;
* @param value The bytes for newName to set.
* @return This builder for chaining.
*/
public Builder setNewNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
changeCase_ = 3;
change_ = value;
onChanged();
return this;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.DataType, cz.proto.DataType.Builder, cz.proto.DataTypeOrBuilder> newTypeBuilder_;
/**
* .cz.proto.DataType new_type = 4;
* @return Whether the newType field is set.
*/
@java.lang.Override
public boolean hasNewType() {
return changeCase_ == 4;
}
/**
* .cz.proto.DataType new_type = 4;
* @return The newType.
*/
@java.lang.Override
public cz.proto.DataType getNewType() {
if (newTypeBuilder_ == null) {
if (changeCase_ == 4) {
return (cz.proto.DataType) change_;
}
return cz.proto.DataType.getDefaultInstance();
} else {
if (changeCase_ == 4) {
return newTypeBuilder_.getMessage();
}
return cz.proto.DataType.getDefaultInstance();
}
}
/**
* .cz.proto.DataType new_type = 4;
*/
public Builder setNewType(cz.proto.DataType value) {
if (newTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
change_ = value;
onChanged();
} else {
newTypeBuilder_.setMessage(value);
}
changeCase_ = 4;
return this;
}
/**
* .cz.proto.DataType new_type = 4;
*/
public Builder setNewType(
cz.proto.DataType.Builder builderForValue) {
if (newTypeBuilder_ == null) {
change_ = builderForValue.build();
onChanged();
} else {
newTypeBuilder_.setMessage(builderForValue.build());
}
changeCase_ = 4;
return this;
}
/**
* .cz.proto.DataType new_type = 4;
*/
public Builder mergeNewType(cz.proto.DataType value) {
if (newTypeBuilder_ == null) {
if (changeCase_ == 4 &&
change_ != cz.proto.DataType.getDefaultInstance()) {
change_ = cz.proto.DataType.newBuilder((cz.proto.DataType) change_)
.mergeFrom(value).buildPartial();
} else {
change_ = value;
}
onChanged();
} else {
if (changeCase_ == 4) {
newTypeBuilder_.mergeFrom(value);
}
newTypeBuilder_.setMessage(value);
}
changeCase_ = 4;
return this;
}
/**
* .cz.proto.DataType new_type = 4;
*/
public Builder clearNewType() {
if (newTypeBuilder_ == null) {
if (changeCase_ == 4) {
changeCase_ = 0;
change_ = null;
onChanged();
}
} else {
if (changeCase_ == 4) {
changeCase_ = 0;
change_ = null;
}
newTypeBuilder_.clear();
}
return this;
}
/**
* .cz.proto.DataType new_type = 4;
*/
public cz.proto.DataType.Builder getNewTypeBuilder() {
return getNewTypeFieldBuilder().getBuilder();
}
/**
* .cz.proto.DataType new_type = 4;
*/
@java.lang.Override
public cz.proto.DataTypeOrBuilder getNewTypeOrBuilder() {
if ((changeCase_ == 4) && (newTypeBuilder_ != null)) {
return newTypeBuilder_.getMessageOrBuilder();
} else {
if (changeCase_ == 4) {
return (cz.proto.DataType) change_;
}
return cz.proto.DataType.getDefaultInstance();
}
}
/**
* .cz.proto.DataType new_type = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.DataType, cz.proto.DataType.Builder, cz.proto.DataTypeOrBuilder>
getNewTypeFieldBuilder() {
if (newTypeBuilder_ == null) {
if (!(changeCase_ == 4)) {
change_ = cz.proto.DataType.getDefaultInstance();
}
newTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.DataType, cz.proto.DataType.Builder, cz.proto.DataTypeOrBuilder>(
(cz.proto.DataType) change_,
getParentForChildren(),
isClean());
change_ = null;
}
changeCase_ = 4;
onChanged();;
return newTypeBuilder_;
}
/**
* string new_comment = 5;
* @return Whether the newComment field is set.
*/
@java.lang.Override
public boolean hasNewComment() {
return changeCase_ == 5;
}
/**
* string new_comment = 5;
* @return The newComment.
*/
@java.lang.Override
public java.lang.String getNewComment() {
java.lang.Object ref = "";
if (changeCase_ == 5) {
ref = change_;
}
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (changeCase_ == 5) {
change_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string new_comment = 5;
* @return The bytes for newComment.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNewCommentBytes() {
java.lang.Object ref = "";
if (changeCase_ == 5) {
ref = change_;
}
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (changeCase_ == 5) {
change_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string new_comment = 5;
* @param value The newComment to set.
* @return This builder for chaining.
*/
public Builder setNewComment(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
changeCase_ = 5;
change_ = value;
onChanged();
return this;
}
/**
* string new_comment = 5;
* @return This builder for chaining.
*/
public Builder clearNewComment() {
if (changeCase_ == 5) {
changeCase_ = 0;
change_ = null;
onChanged();
}
return this;
}
/**
* string new_comment = 5;
* @param value The bytes for newComment to set.
* @return This builder for chaining.
*/
public Builder setNewCommentBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
changeCase_ = 5;
change_ = 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.access.ColumnChange)
}
// @@protoc_insertion_point(class_scope:cz.proto.access.ColumnChange)
private static final cz.proto.access.Ddl.ColumnChange DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.access.Ddl.ColumnChange();
}
public static cz.proto.access.Ddl.ColumnChange getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ColumnChange parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ColumnChange(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.access.Ddl.ColumnChange getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AlterVirtualClusterOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.access.AlterVirtualCluster)
com.google.protobuf.MessageOrBuilder {
/**
* bool start = 1;
* @return Whether the start field is set.
*/
boolean hasStart();
/**
* bool start = 1;
* @return The start.
*/
boolean getStart();
/**
* bool stop = 2;
* @return Whether the stop field is set.
*/
boolean hasStop();
/**
* bool stop = 2;
* @return The stop.
*/
boolean getStop();
/**
* bool abort_all_jobs = 3;
* @return Whether the abortAllJobs field is set.
*/
boolean hasAbortAllJobs();
/**
* bool abort_all_jobs = 3;
* @return The abortAllJobs.
*/
boolean getAbortAllJobs();
/**
* bool terminate = 6;
* @return Whether the terminate field is set.
*/
boolean hasTerminate();
/**
* bool terminate = 6;
* @return The terminate.
*/
boolean getTerminate();
/**
* bool if_stopped = 4;
* @return Whether the ifStopped field is set.
*/
boolean hasIfStopped();
/**
* bool if_stopped = 4;
* @return The ifStopped.
*/
boolean getIfStopped();
/**
* bool force = 5;
* @return Whether the force field is set.
*/
boolean hasForce();
/**
* bool force = 5;
* @return The force.
*/
boolean getForce();
public cz.proto.access.Ddl.AlterVirtualCluster.DerivedCase getDerivedCase();
public cz.proto.access.Ddl.AlterVirtualCluster.OptionsCase getOptionsCase();
}
/**
* Protobuf type {@code cz.proto.access.AlterVirtualCluster}
*/
public static final class AlterVirtualCluster extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.access.AlterVirtualCluster)
AlterVirtualClusterOrBuilder {
private static final long serialVersionUID = 0L;
// Use AlterVirtualCluster.newBuilder() to construct.
private AlterVirtualCluster(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AlterVirtualCluster() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AlterVirtualCluster();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AlterVirtualCluster(
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 8: {
derived_ = input.readBool();
derivedCase_ = 1;
break;
}
case 16: {
derived_ = input.readBool();
derivedCase_ = 2;
break;
}
case 24: {
derived_ = input.readBool();
derivedCase_ = 3;
break;
}
case 32: {
options_ = input.readBool();
optionsCase_ = 4;
break;
}
case 40: {
options_ = input.readBool();
optionsCase_ = 5;
break;
}
case 48: {
derived_ = input.readBool();
derivedCase_ = 6;
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.access.Ddl.internal_static_cz_proto_access_AlterVirtualCluster_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterVirtualCluster_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.AlterVirtualCluster.class, cz.proto.access.Ddl.AlterVirtualCluster.Builder.class);
}
private int derivedCase_ = 0;
private java.lang.Object derived_;
public enum DerivedCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
START(1),
STOP(2),
ABORT_ALL_JOBS(3),
TERMINATE(6),
DERIVED_NOT_SET(0);
private final int value;
private DerivedCase(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 DerivedCase valueOf(int value) {
return forNumber(value);
}
public static DerivedCase forNumber(int value) {
switch (value) {
case 1: return START;
case 2: return STOP;
case 3: return ABORT_ALL_JOBS;
case 6: return TERMINATE;
case 0: return DERIVED_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public DerivedCase
getDerivedCase() {
return DerivedCase.forNumber(
derivedCase_);
}
private int optionsCase_ = 0;
private java.lang.Object options_;
public enum OptionsCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
IF_STOPPED(4),
FORCE(5),
OPTIONS_NOT_SET(0);
private final int value;
private OptionsCase(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 OptionsCase valueOf(int value) {
return forNumber(value);
}
public static OptionsCase forNumber(int value) {
switch (value) {
case 4: return IF_STOPPED;
case 5: return FORCE;
case 0: return OPTIONS_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public OptionsCase
getOptionsCase() {
return OptionsCase.forNumber(
optionsCase_);
}
public static final int START_FIELD_NUMBER = 1;
/**
* bool start = 1;
* @return Whether the start field is set.
*/
@java.lang.Override
public boolean hasStart() {
return derivedCase_ == 1;
}
/**
* bool start = 1;
* @return The start.
*/
@java.lang.Override
public boolean getStart() {
if (derivedCase_ == 1) {
return (java.lang.Boolean) derived_;
}
return false;
}
public static final int STOP_FIELD_NUMBER = 2;
/**
* bool stop = 2;
* @return Whether the stop field is set.
*/
@java.lang.Override
public boolean hasStop() {
return derivedCase_ == 2;
}
/**
* bool stop = 2;
* @return The stop.
*/
@java.lang.Override
public boolean getStop() {
if (derivedCase_ == 2) {
return (java.lang.Boolean) derived_;
}
return false;
}
public static final int ABORT_ALL_JOBS_FIELD_NUMBER = 3;
/**
* bool abort_all_jobs = 3;
* @return Whether the abortAllJobs field is set.
*/
@java.lang.Override
public boolean hasAbortAllJobs() {
return derivedCase_ == 3;
}
/**
* bool abort_all_jobs = 3;
* @return The abortAllJobs.
*/
@java.lang.Override
public boolean getAbortAllJobs() {
if (derivedCase_ == 3) {
return (java.lang.Boolean) derived_;
}
return false;
}
public static final int TERMINATE_FIELD_NUMBER = 6;
/**
* bool terminate = 6;
* @return Whether the terminate field is set.
*/
@java.lang.Override
public boolean hasTerminate() {
return derivedCase_ == 6;
}
/**
* bool terminate = 6;
* @return The terminate.
*/
@java.lang.Override
public boolean getTerminate() {
if (derivedCase_ == 6) {
return (java.lang.Boolean) derived_;
}
return false;
}
public static final int IF_STOPPED_FIELD_NUMBER = 4;
/**
* bool if_stopped = 4;
* @return Whether the ifStopped field is set.
*/
@java.lang.Override
public boolean hasIfStopped() {
return optionsCase_ == 4;
}
/**
* bool if_stopped = 4;
* @return The ifStopped.
*/
@java.lang.Override
public boolean getIfStopped() {
if (optionsCase_ == 4) {
return (java.lang.Boolean) options_;
}
return false;
}
public static final int FORCE_FIELD_NUMBER = 5;
/**
* bool force = 5;
* @return Whether the force field is set.
*/
@java.lang.Override
public boolean hasForce() {
return optionsCase_ == 5;
}
/**
* bool force = 5;
* @return The force.
*/
@java.lang.Override
public boolean getForce() {
if (optionsCase_ == 5) {
return (java.lang.Boolean) options_;
}
return false;
}
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 (derivedCase_ == 1) {
output.writeBool(
1, (boolean)((java.lang.Boolean) derived_));
}
if (derivedCase_ == 2) {
output.writeBool(
2, (boolean)((java.lang.Boolean) derived_));
}
if (derivedCase_ == 3) {
output.writeBool(
3, (boolean)((java.lang.Boolean) derived_));
}
if (optionsCase_ == 4) {
output.writeBool(
4, (boolean)((java.lang.Boolean) options_));
}
if (optionsCase_ == 5) {
output.writeBool(
5, (boolean)((java.lang.Boolean) options_));
}
if (derivedCase_ == 6) {
output.writeBool(
6, (boolean)((java.lang.Boolean) derived_));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (derivedCase_ == 1) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(
1, (boolean)((java.lang.Boolean) derived_));
}
if (derivedCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(
2, (boolean)((java.lang.Boolean) derived_));
}
if (derivedCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(
3, (boolean)((java.lang.Boolean) derived_));
}
if (optionsCase_ == 4) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(
4, (boolean)((java.lang.Boolean) options_));
}
if (optionsCase_ == 5) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(
5, (boolean)((java.lang.Boolean) options_));
}
if (derivedCase_ == 6) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(
6, (boolean)((java.lang.Boolean) derived_));
}
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.access.Ddl.AlterVirtualCluster)) {
return super.equals(obj);
}
cz.proto.access.Ddl.AlterVirtualCluster other = (cz.proto.access.Ddl.AlterVirtualCluster) obj;
if (!getDerivedCase().equals(other.getDerivedCase())) return false;
switch (derivedCase_) {
case 1:
if (getStart()
!= other.getStart()) return false;
break;
case 2:
if (getStop()
!= other.getStop()) return false;
break;
case 3:
if (getAbortAllJobs()
!= other.getAbortAllJobs()) return false;
break;
case 6:
if (getTerminate()
!= other.getTerminate()) return false;
break;
case 0:
default:
}
if (!getOptionsCase().equals(other.getOptionsCase())) return false;
switch (optionsCase_) {
case 4:
if (getIfStopped()
!= other.getIfStopped()) return false;
break;
case 5:
if (getForce()
!= other.getForce()) 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();
switch (derivedCase_) {
case 1:
hash = (37 * hash) + START_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getStart());
break;
case 2:
hash = (37 * hash) + STOP_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getStop());
break;
case 3:
hash = (37 * hash) + ABORT_ALL_JOBS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getAbortAllJobs());
break;
case 6:
hash = (37 * hash) + TERMINATE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getTerminate());
break;
case 0:
default:
}
switch (optionsCase_) {
case 4:
hash = (37 * hash) + IF_STOPPED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIfStopped());
break;
case 5:
hash = (37 * hash) + FORCE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getForce());
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.access.Ddl.AlterVirtualCluster parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.AlterVirtualCluster parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.AlterVirtualCluster parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.AlterVirtualCluster 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.access.Ddl.AlterVirtualCluster parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.AlterVirtualCluster parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.AlterVirtualCluster parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.AlterVirtualCluster 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.access.Ddl.AlterVirtualCluster parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.AlterVirtualCluster 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.access.Ddl.AlterVirtualCluster parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.AlterVirtualCluster 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.access.Ddl.AlterVirtualCluster 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.access.AlterVirtualCluster}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.access.AlterVirtualCluster)
cz.proto.access.Ddl.AlterVirtualClusterOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterVirtualCluster_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterVirtualCluster_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.AlterVirtualCluster.class, cz.proto.access.Ddl.AlterVirtualCluster.Builder.class);
}
// Construct using cz.proto.access.Ddl.AlterVirtualCluster.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();
derivedCase_ = 0;
derived_ = null;
optionsCase_ = 0;
options_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterVirtualCluster_descriptor;
}
@java.lang.Override
public cz.proto.access.Ddl.AlterVirtualCluster getDefaultInstanceForType() {
return cz.proto.access.Ddl.AlterVirtualCluster.getDefaultInstance();
}
@java.lang.Override
public cz.proto.access.Ddl.AlterVirtualCluster build() {
cz.proto.access.Ddl.AlterVirtualCluster result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.access.Ddl.AlterVirtualCluster buildPartial() {
cz.proto.access.Ddl.AlterVirtualCluster result = new cz.proto.access.Ddl.AlterVirtualCluster(this);
if (derivedCase_ == 1) {
result.derived_ = derived_;
}
if (derivedCase_ == 2) {
result.derived_ = derived_;
}
if (derivedCase_ == 3) {
result.derived_ = derived_;
}
if (derivedCase_ == 6) {
result.derived_ = derived_;
}
if (optionsCase_ == 4) {
result.options_ = options_;
}
if (optionsCase_ == 5) {
result.options_ = options_;
}
result.derivedCase_ = derivedCase_;
result.optionsCase_ = optionsCase_;
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.access.Ddl.AlterVirtualCluster) {
return mergeFrom((cz.proto.access.Ddl.AlterVirtualCluster)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.access.Ddl.AlterVirtualCluster other) {
if (other == cz.proto.access.Ddl.AlterVirtualCluster.getDefaultInstance()) return this;
switch (other.getDerivedCase()) {
case START: {
setStart(other.getStart());
break;
}
case STOP: {
setStop(other.getStop());
break;
}
case ABORT_ALL_JOBS: {
setAbortAllJobs(other.getAbortAllJobs());
break;
}
case TERMINATE: {
setTerminate(other.getTerminate());
break;
}
case DERIVED_NOT_SET: {
break;
}
}
switch (other.getOptionsCase()) {
case IF_STOPPED: {
setIfStopped(other.getIfStopped());
break;
}
case FORCE: {
setForce(other.getForce());
break;
}
case OPTIONS_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.access.Ddl.AlterVirtualCluster parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.access.Ddl.AlterVirtualCluster) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int derivedCase_ = 0;
private java.lang.Object derived_;
public DerivedCase
getDerivedCase() {
return DerivedCase.forNumber(
derivedCase_);
}
public Builder clearDerived() {
derivedCase_ = 0;
derived_ = null;
onChanged();
return this;
}
private int optionsCase_ = 0;
private java.lang.Object options_;
public OptionsCase
getOptionsCase() {
return OptionsCase.forNumber(
optionsCase_);
}
public Builder clearOptions() {
optionsCase_ = 0;
options_ = null;
onChanged();
return this;
}
/**
* bool start = 1;
* @return Whether the start field is set.
*/
public boolean hasStart() {
return derivedCase_ == 1;
}
/**
* bool start = 1;
* @return The start.
*/
public boolean getStart() {
if (derivedCase_ == 1) {
return (java.lang.Boolean) derived_;
}
return false;
}
/**
* bool start = 1;
* @param value The start to set.
* @return This builder for chaining.
*/
public Builder setStart(boolean value) {
derivedCase_ = 1;
derived_ = value;
onChanged();
return this;
}
/**
* bool start = 1;
* @return This builder for chaining.
*/
public Builder clearStart() {
if (derivedCase_ == 1) {
derivedCase_ = 0;
derived_ = null;
onChanged();
}
return this;
}
/**
* bool stop = 2;
* @return Whether the stop field is set.
*/
public boolean hasStop() {
return derivedCase_ == 2;
}
/**
* bool stop = 2;
* @return The stop.
*/
public boolean getStop() {
if (derivedCase_ == 2) {
return (java.lang.Boolean) derived_;
}
return false;
}
/**
* bool stop = 2;
* @param value The stop to set.
* @return This builder for chaining.
*/
public Builder setStop(boolean value) {
derivedCase_ = 2;
derived_ = value;
onChanged();
return this;
}
/**
* bool stop = 2;
* @return This builder for chaining.
*/
public Builder clearStop() {
if (derivedCase_ == 2) {
derivedCase_ = 0;
derived_ = null;
onChanged();
}
return this;
}
/**
* bool abort_all_jobs = 3;
* @return Whether the abortAllJobs field is set.
*/
public boolean hasAbortAllJobs() {
return derivedCase_ == 3;
}
/**
* bool abort_all_jobs = 3;
* @return The abortAllJobs.
*/
public boolean getAbortAllJobs() {
if (derivedCase_ == 3) {
return (java.lang.Boolean) derived_;
}
return false;
}
/**
* bool abort_all_jobs = 3;
* @param value The abortAllJobs to set.
* @return This builder for chaining.
*/
public Builder setAbortAllJobs(boolean value) {
derivedCase_ = 3;
derived_ = value;
onChanged();
return this;
}
/**
* bool abort_all_jobs = 3;
* @return This builder for chaining.
*/
public Builder clearAbortAllJobs() {
if (derivedCase_ == 3) {
derivedCase_ = 0;
derived_ = null;
onChanged();
}
return this;
}
/**
* bool terminate = 6;
* @return Whether the terminate field is set.
*/
public boolean hasTerminate() {
return derivedCase_ == 6;
}
/**
* bool terminate = 6;
* @return The terminate.
*/
public boolean getTerminate() {
if (derivedCase_ == 6) {
return (java.lang.Boolean) derived_;
}
return false;
}
/**
* bool terminate = 6;
* @param value The terminate to set.
* @return This builder for chaining.
*/
public Builder setTerminate(boolean value) {
derivedCase_ = 6;
derived_ = value;
onChanged();
return this;
}
/**
* bool terminate = 6;
* @return This builder for chaining.
*/
public Builder clearTerminate() {
if (derivedCase_ == 6) {
derivedCase_ = 0;
derived_ = null;
onChanged();
}
return this;
}
/**
* bool if_stopped = 4;
* @return Whether the ifStopped field is set.
*/
public boolean hasIfStopped() {
return optionsCase_ == 4;
}
/**
* bool if_stopped = 4;
* @return The ifStopped.
*/
public boolean getIfStopped() {
if (optionsCase_ == 4) {
return (java.lang.Boolean) options_;
}
return false;
}
/**
* bool if_stopped = 4;
* @param value The ifStopped to set.
* @return This builder for chaining.
*/
public Builder setIfStopped(boolean value) {
optionsCase_ = 4;
options_ = value;
onChanged();
return this;
}
/**
* bool if_stopped = 4;
* @return This builder for chaining.
*/
public Builder clearIfStopped() {
if (optionsCase_ == 4) {
optionsCase_ = 0;
options_ = null;
onChanged();
}
return this;
}
/**
* bool force = 5;
* @return Whether the force field is set.
*/
public boolean hasForce() {
return optionsCase_ == 5;
}
/**
* bool force = 5;
* @return The force.
*/
public boolean getForce() {
if (optionsCase_ == 5) {
return (java.lang.Boolean) options_;
}
return false;
}
/**
* bool force = 5;
* @param value The force to set.
* @return This builder for chaining.
*/
public Builder setForce(boolean value) {
optionsCase_ = 5;
options_ = value;
onChanged();
return this;
}
/**
* bool force = 5;
* @return This builder for chaining.
*/
public Builder clearForce() {
if (optionsCase_ == 5) {
optionsCase_ = 0;
options_ = null;
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.access.AlterVirtualCluster)
}
// @@protoc_insertion_point(class_scope:cz.proto.access.AlterVirtualCluster)
private static final cz.proto.access.Ddl.AlterVirtualCluster DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.access.Ddl.AlterVirtualCluster();
}
public static cz.proto.access.Ddl.AlterVirtualCluster getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public AlterVirtualCluster parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AlterVirtualCluster(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.access.Ddl.AlterVirtualCluster getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AlterShareOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.access.AlterShare)
com.google.protobuf.MessageOrBuilder {
/**
* bool public = 1;
* @return Whether the public field is set.
*/
boolean hasPublic();
/**
* bool public = 1;
* @return The public.
*/
boolean getPublic();
/**
* bool add_instance = 2;
* @return Whether the addInstance field is set.
*/
boolean hasAddInstance();
/**
* bool add_instance = 2;
* @return The addInstance.
*/
boolean getAddInstance();
/**
* bool remove_instance = 3;
* @return Whether the removeInstance field is set.
*/
boolean hasRemoveInstance();
/**
* bool remove_instance = 3;
* @return The removeInstance.
*/
boolean getRemoveInstance();
/**
* repeated string instances = 10;
* @return A list containing the instances.
*/
java.util.List
getInstancesList();
/**
* repeated string instances = 10;
* @return The count of instances.
*/
int getInstancesCount();
/**
* repeated string instances = 10;
* @param index The index of the element to return.
* @return The instances at the given index.
*/
java.lang.String getInstances(int index);
/**
* repeated string instances = 10;
* @param index The index of the value to return.
* @return The bytes of the instances at the given index.
*/
com.google.protobuf.ByteString
getInstancesBytes(int index);
public cz.proto.access.Ddl.AlterShare.DerivedCase getDerivedCase();
}
/**
* Protobuf type {@code cz.proto.access.AlterShare}
*/
public static final class AlterShare extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.access.AlterShare)
AlterShareOrBuilder {
private static final long serialVersionUID = 0L;
// Use AlterShare.newBuilder() to construct.
private AlterShare(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AlterShare() {
instances_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AlterShare();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AlterShare(
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: {
derived_ = input.readBool();
derivedCase_ = 1;
break;
}
case 16: {
derived_ = input.readBool();
derivedCase_ = 2;
break;
}
case 24: {
derived_ = input.readBool();
derivedCase_ = 3;
break;
}
case 82: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
instances_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000001;
}
instances_.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)) {
instances_ = instances_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterShare_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterShare_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.AlterShare.class, cz.proto.access.Ddl.AlterShare.Builder.class);
}
private int derivedCase_ = 0;
private java.lang.Object derived_;
public enum DerivedCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
PUBLIC(1),
ADD_INSTANCE(2),
REMOVE_INSTANCE(3),
DERIVED_NOT_SET(0);
private final int value;
private DerivedCase(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 DerivedCase valueOf(int value) {
return forNumber(value);
}
public static DerivedCase forNumber(int value) {
switch (value) {
case 1: return PUBLIC;
case 2: return ADD_INSTANCE;
case 3: return REMOVE_INSTANCE;
case 0: return DERIVED_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public DerivedCase
getDerivedCase() {
return DerivedCase.forNumber(
derivedCase_);
}
public static final int PUBLIC_FIELD_NUMBER = 1;
/**
* bool public = 1;
* @return Whether the public field is set.
*/
@java.lang.Override
public boolean hasPublic() {
return derivedCase_ == 1;
}
/**
* bool public = 1;
* @return The public.
*/
@java.lang.Override
public boolean getPublic() {
if (derivedCase_ == 1) {
return (java.lang.Boolean) derived_;
}
return false;
}
public static final int ADD_INSTANCE_FIELD_NUMBER = 2;
/**
* bool add_instance = 2;
* @return Whether the addInstance field is set.
*/
@java.lang.Override
public boolean hasAddInstance() {
return derivedCase_ == 2;
}
/**
* bool add_instance = 2;
* @return The addInstance.
*/
@java.lang.Override
public boolean getAddInstance() {
if (derivedCase_ == 2) {
return (java.lang.Boolean) derived_;
}
return false;
}
public static final int REMOVE_INSTANCE_FIELD_NUMBER = 3;
/**
* bool remove_instance = 3;
* @return Whether the removeInstance field is set.
*/
@java.lang.Override
public boolean hasRemoveInstance() {
return derivedCase_ == 3;
}
/**
* bool remove_instance = 3;
* @return The removeInstance.
*/
@java.lang.Override
public boolean getRemoveInstance() {
if (derivedCase_ == 3) {
return (java.lang.Boolean) derived_;
}
return false;
}
public static final int INSTANCES_FIELD_NUMBER = 10;
private com.google.protobuf.LazyStringList instances_;
/**
* repeated string instances = 10;
* @return A list containing the instances.
*/
public com.google.protobuf.ProtocolStringList
getInstancesList() {
return instances_;
}
/**
* repeated string instances = 10;
* @return The count of instances.
*/
public int getInstancesCount() {
return instances_.size();
}
/**
* repeated string instances = 10;
* @param index The index of the element to return.
* @return The instances at the given index.
*/
public java.lang.String getInstances(int index) {
return instances_.get(index);
}
/**
* repeated string instances = 10;
* @param index The index of the value to return.
* @return The bytes of the instances at the given index.
*/
public com.google.protobuf.ByteString
getInstancesBytes(int index) {
return instances_.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 {
if (derivedCase_ == 1) {
output.writeBool(
1, (boolean)((java.lang.Boolean) derived_));
}
if (derivedCase_ == 2) {
output.writeBool(
2, (boolean)((java.lang.Boolean) derived_));
}
if (derivedCase_ == 3) {
output.writeBool(
3, (boolean)((java.lang.Boolean) derived_));
}
for (int i = 0; i < instances_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, instances_.getRaw(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (derivedCase_ == 1) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(
1, (boolean)((java.lang.Boolean) derived_));
}
if (derivedCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(
2, (boolean)((java.lang.Boolean) derived_));
}
if (derivedCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(
3, (boolean)((java.lang.Boolean) derived_));
}
{
int dataSize = 0;
for (int i = 0; i < instances_.size(); i++) {
dataSize += computeStringSizeNoTag(instances_.getRaw(i));
}
size += dataSize;
size += 1 * getInstancesList().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.access.Ddl.AlterShare)) {
return super.equals(obj);
}
cz.proto.access.Ddl.AlterShare other = (cz.proto.access.Ddl.AlterShare) obj;
if (!getInstancesList()
.equals(other.getInstancesList())) return false;
if (!getDerivedCase().equals(other.getDerivedCase())) return false;
switch (derivedCase_) {
case 1:
if (getPublic()
!= other.getPublic()) return false;
break;
case 2:
if (getAddInstance()
!= other.getAddInstance()) return false;
break;
case 3:
if (getRemoveInstance()
!= other.getRemoveInstance()) 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 (getInstancesCount() > 0) {
hash = (37 * hash) + INSTANCES_FIELD_NUMBER;
hash = (53 * hash) + getInstancesList().hashCode();
}
switch (derivedCase_) {
case 1:
hash = (37 * hash) + PUBLIC_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getPublic());
break;
case 2:
hash = (37 * hash) + ADD_INSTANCE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getAddInstance());
break;
case 3:
hash = (37 * hash) + REMOVE_INSTANCE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getRemoveInstance());
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.access.Ddl.AlterShare parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.AlterShare parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.AlterShare parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.AlterShare 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.access.Ddl.AlterShare parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.AlterShare parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.AlterShare parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.AlterShare 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.access.Ddl.AlterShare parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.AlterShare 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.access.Ddl.AlterShare parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.AlterShare 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.access.Ddl.AlterShare 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.access.AlterShare}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.access.AlterShare)
cz.proto.access.Ddl.AlterShareOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterShare_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterShare_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.AlterShare.class, cz.proto.access.Ddl.AlterShare.Builder.class);
}
// Construct using cz.proto.access.Ddl.AlterShare.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();
instances_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
derivedCase_ = 0;
derived_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterShare_descriptor;
}
@java.lang.Override
public cz.proto.access.Ddl.AlterShare getDefaultInstanceForType() {
return cz.proto.access.Ddl.AlterShare.getDefaultInstance();
}
@java.lang.Override
public cz.proto.access.Ddl.AlterShare build() {
cz.proto.access.Ddl.AlterShare result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.access.Ddl.AlterShare buildPartial() {
cz.proto.access.Ddl.AlterShare result = new cz.proto.access.Ddl.AlterShare(this);
int from_bitField0_ = bitField0_;
if (derivedCase_ == 1) {
result.derived_ = derived_;
}
if (derivedCase_ == 2) {
result.derived_ = derived_;
}
if (derivedCase_ == 3) {
result.derived_ = derived_;
}
if (((bitField0_ & 0x00000001) != 0)) {
instances_ = instances_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.instances_ = instances_;
result.derivedCase_ = derivedCase_;
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.access.Ddl.AlterShare) {
return mergeFrom((cz.proto.access.Ddl.AlterShare)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.access.Ddl.AlterShare other) {
if (other == cz.proto.access.Ddl.AlterShare.getDefaultInstance()) return this;
if (!other.instances_.isEmpty()) {
if (instances_.isEmpty()) {
instances_ = other.instances_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureInstancesIsMutable();
instances_.addAll(other.instances_);
}
onChanged();
}
switch (other.getDerivedCase()) {
case PUBLIC: {
setPublic(other.getPublic());
break;
}
case ADD_INSTANCE: {
setAddInstance(other.getAddInstance());
break;
}
case REMOVE_INSTANCE: {
setRemoveInstance(other.getRemoveInstance());
break;
}
case DERIVED_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.access.Ddl.AlterShare parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.access.Ddl.AlterShare) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int derivedCase_ = 0;
private java.lang.Object derived_;
public DerivedCase
getDerivedCase() {
return DerivedCase.forNumber(
derivedCase_);
}
public Builder clearDerived() {
derivedCase_ = 0;
derived_ = null;
onChanged();
return this;
}
private int bitField0_;
/**
* bool public = 1;
* @return Whether the public field is set.
*/
public boolean hasPublic() {
return derivedCase_ == 1;
}
/**
* bool public = 1;
* @return The public.
*/
public boolean getPublic() {
if (derivedCase_ == 1) {
return (java.lang.Boolean) derived_;
}
return false;
}
/**
* bool public = 1;
* @param value The public to set.
* @return This builder for chaining.
*/
public Builder setPublic(boolean value) {
derivedCase_ = 1;
derived_ = value;
onChanged();
return this;
}
/**
* bool public = 1;
* @return This builder for chaining.
*/
public Builder clearPublic() {
if (derivedCase_ == 1) {
derivedCase_ = 0;
derived_ = null;
onChanged();
}
return this;
}
/**
* bool add_instance = 2;
* @return Whether the addInstance field is set.
*/
public boolean hasAddInstance() {
return derivedCase_ == 2;
}
/**
* bool add_instance = 2;
* @return The addInstance.
*/
public boolean getAddInstance() {
if (derivedCase_ == 2) {
return (java.lang.Boolean) derived_;
}
return false;
}
/**
* bool add_instance = 2;
* @param value The addInstance to set.
* @return This builder for chaining.
*/
public Builder setAddInstance(boolean value) {
derivedCase_ = 2;
derived_ = value;
onChanged();
return this;
}
/**
* bool add_instance = 2;
* @return This builder for chaining.
*/
public Builder clearAddInstance() {
if (derivedCase_ == 2) {
derivedCase_ = 0;
derived_ = null;
onChanged();
}
return this;
}
/**
* bool remove_instance = 3;
* @return Whether the removeInstance field is set.
*/
public boolean hasRemoveInstance() {
return derivedCase_ == 3;
}
/**
* bool remove_instance = 3;
* @return The removeInstance.
*/
public boolean getRemoveInstance() {
if (derivedCase_ == 3) {
return (java.lang.Boolean) derived_;
}
return false;
}
/**
* bool remove_instance = 3;
* @param value The removeInstance to set.
* @return This builder for chaining.
*/
public Builder setRemoveInstance(boolean value) {
derivedCase_ = 3;
derived_ = value;
onChanged();
return this;
}
/**
* bool remove_instance = 3;
* @return This builder for chaining.
*/
public Builder clearRemoveInstance() {
if (derivedCase_ == 3) {
derivedCase_ = 0;
derived_ = null;
onChanged();
}
return this;
}
private com.google.protobuf.LazyStringList instances_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureInstancesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
instances_ = new com.google.protobuf.LazyStringArrayList(instances_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated string instances = 10;
* @return A list containing the instances.
*/
public com.google.protobuf.ProtocolStringList
getInstancesList() {
return instances_.getUnmodifiableView();
}
/**
* repeated string instances = 10;
* @return The count of instances.
*/
public int getInstancesCount() {
return instances_.size();
}
/**
* repeated string instances = 10;
* @param index The index of the element to return.
* @return The instances at the given index.
*/
public java.lang.String getInstances(int index) {
return instances_.get(index);
}
/**
* repeated string instances = 10;
* @param index The index of the value to return.
* @return The bytes of the instances at the given index.
*/
public com.google.protobuf.ByteString
getInstancesBytes(int index) {
return instances_.getByteString(index);
}
/**
* repeated string instances = 10;
* @param index The index to set the value at.
* @param value The instances to set.
* @return This builder for chaining.
*/
public Builder setInstances(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureInstancesIsMutable();
instances_.set(index, value);
onChanged();
return this;
}
/**
* repeated string instances = 10;
* @param value The instances to add.
* @return This builder for chaining.
*/
public Builder addInstances(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureInstancesIsMutable();
instances_.add(value);
onChanged();
return this;
}
/**
* repeated string instances = 10;
* @param values The instances to add.
* @return This builder for chaining.
*/
public Builder addAllInstances(
java.lang.Iterable values) {
ensureInstancesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, instances_);
onChanged();
return this;
}
/**
* repeated string instances = 10;
* @return This builder for chaining.
*/
public Builder clearInstances() {
instances_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* repeated string instances = 10;
* @param value The bytes of the instances to add.
* @return This builder for chaining.
*/
public Builder addInstancesBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureInstancesIsMutable();
instances_.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.access.AlterShare)
}
// @@protoc_insertion_point(class_scope:cz.proto.access.AlterShare)
private static final cz.proto.access.Ddl.AlterShare DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.access.Ddl.AlterShare();
}
public static cz.proto.access.Ddl.AlterShare getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public AlterShare parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AlterShare(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.access.Ddl.AlterShare getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AlterConnectionAvailabilityOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.access.AlterConnectionAvailability)
com.google.protobuf.MessageOrBuilder {
/**
* bool enable = 1;
* @return The enable.
*/
boolean getEnable();
}
/**
* Protobuf type {@code cz.proto.access.AlterConnectionAvailability}
*/
public static final class AlterConnectionAvailability extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.access.AlterConnectionAvailability)
AlterConnectionAvailabilityOrBuilder {
private static final long serialVersionUID = 0L;
// Use AlterConnectionAvailability.newBuilder() to construct.
private AlterConnectionAvailability(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AlterConnectionAvailability() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AlterConnectionAvailability();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AlterConnectionAvailability(
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 8: {
enable_ = input.readBool();
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.access.Ddl.internal_static_cz_proto_access_AlterConnectionAvailability_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterConnectionAvailability_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.AlterConnectionAvailability.class, cz.proto.access.Ddl.AlterConnectionAvailability.Builder.class);
}
public static final int ENABLE_FIELD_NUMBER = 1;
private boolean enable_;
/**
* bool enable = 1;
* @return The enable.
*/
@java.lang.Override
public boolean getEnable() {
return enable_;
}
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 (enable_ != false) {
output.writeBool(1, enable_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (enable_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, enable_);
}
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.access.Ddl.AlterConnectionAvailability)) {
return super.equals(obj);
}
cz.proto.access.Ddl.AlterConnectionAvailability other = (cz.proto.access.Ddl.AlterConnectionAvailability) obj;
if (getEnable()
!= other.getEnable()) 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) + ENABLE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getEnable());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.access.Ddl.AlterConnectionAvailability parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.AlterConnectionAvailability parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.AlterConnectionAvailability parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.AlterConnectionAvailability 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.access.Ddl.AlterConnectionAvailability parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.AlterConnectionAvailability parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.AlterConnectionAvailability parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.AlterConnectionAvailability 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.access.Ddl.AlterConnectionAvailability parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.AlterConnectionAvailability 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.access.Ddl.AlterConnectionAvailability parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.AlterConnectionAvailability 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.access.Ddl.AlterConnectionAvailability 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.access.AlterConnectionAvailability}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.access.AlterConnectionAvailability)
cz.proto.access.Ddl.AlterConnectionAvailabilityOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterConnectionAvailability_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterConnectionAvailability_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.AlterConnectionAvailability.class, cz.proto.access.Ddl.AlterConnectionAvailability.Builder.class);
}
// Construct using cz.proto.access.Ddl.AlterConnectionAvailability.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();
enable_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterConnectionAvailability_descriptor;
}
@java.lang.Override
public cz.proto.access.Ddl.AlterConnectionAvailability getDefaultInstanceForType() {
return cz.proto.access.Ddl.AlterConnectionAvailability.getDefaultInstance();
}
@java.lang.Override
public cz.proto.access.Ddl.AlterConnectionAvailability build() {
cz.proto.access.Ddl.AlterConnectionAvailability result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.access.Ddl.AlterConnectionAvailability buildPartial() {
cz.proto.access.Ddl.AlterConnectionAvailability result = new cz.proto.access.Ddl.AlterConnectionAvailability(this);
result.enable_ = enable_;
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.access.Ddl.AlterConnectionAvailability) {
return mergeFrom((cz.proto.access.Ddl.AlterConnectionAvailability)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.access.Ddl.AlterConnectionAvailability other) {
if (other == cz.proto.access.Ddl.AlterConnectionAvailability.getDefaultInstance()) return this;
if (other.getEnable() != false) {
setEnable(other.getEnable());
}
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.access.Ddl.AlterConnectionAvailability parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.access.Ddl.AlterConnectionAvailability) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private boolean enable_ ;
/**
* bool enable = 1;
* @return The enable.
*/
@java.lang.Override
public boolean getEnable() {
return enable_;
}
/**
* bool enable = 1;
* @param value The enable to set.
* @return This builder for chaining.
*/
public Builder setEnable(boolean value) {
enable_ = value;
onChanged();
return this;
}
/**
* bool enable = 1;
* @return This builder for chaining.
*/
public Builder clearEnable() {
enable_ = false;
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.access.AlterConnectionAvailability)
}
// @@protoc_insertion_point(class_scope:cz.proto.access.AlterConnectionAvailability)
private static final cz.proto.access.Ddl.AlterConnectionAvailability DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.access.Ddl.AlterConnectionAvailability();
}
public static cz.proto.access.Ddl.AlterConnectionAvailability getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public AlterConnectionAvailability parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AlterConnectionAvailability(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.access.Ddl.AlterConnectionAvailability getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AlterConnectionPropertiesOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.access.AlterConnectionProperties)
com.google.protobuf.MessageOrBuilder {
/**
* bool set = 1;
* @return The set.
*/
boolean getSet();
/**
* repeated .cz.proto.Property properties = 2;
*/
java.util.List
getPropertiesList();
/**
* repeated .cz.proto.Property properties = 2;
*/
cz.proto.PropertyOuterClass.Property getProperties(int index);
/**
* repeated .cz.proto.Property properties = 2;
*/
int getPropertiesCount();
/**
* repeated .cz.proto.Property properties = 2;
*/
java.util.List extends cz.proto.PropertyOuterClass.PropertyOrBuilder>
getPropertiesOrBuilderList();
/**
* repeated .cz.proto.Property properties = 2;
*/
cz.proto.PropertyOuterClass.PropertyOrBuilder getPropertiesOrBuilder(
int index);
}
/**
* Protobuf type {@code cz.proto.access.AlterConnectionProperties}
*/
public static final class AlterConnectionProperties extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.access.AlterConnectionProperties)
AlterConnectionPropertiesOrBuilder {
private static final long serialVersionUID = 0L;
// Use AlterConnectionProperties.newBuilder() to construct.
private AlterConnectionProperties(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AlterConnectionProperties() {
properties_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AlterConnectionProperties();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AlterConnectionProperties(
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: {
set_ = input.readBool();
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
properties_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
properties_.add(
input.readMessage(cz.proto.PropertyOuterClass.Property.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)) {
properties_ = java.util.Collections.unmodifiableList(properties_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterConnectionProperties_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterConnectionProperties_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.AlterConnectionProperties.class, cz.proto.access.Ddl.AlterConnectionProperties.Builder.class);
}
public static final int SET_FIELD_NUMBER = 1;
private boolean set_;
/**
* bool set = 1;
* @return The set.
*/
@java.lang.Override
public boolean getSet() {
return set_;
}
public static final int PROPERTIES_FIELD_NUMBER = 2;
private java.util.List properties_;
/**
* repeated .cz.proto.Property properties = 2;
*/
@java.lang.Override
public java.util.List getPropertiesList() {
return properties_;
}
/**
* repeated .cz.proto.Property properties = 2;
*/
@java.lang.Override
public java.util.List extends cz.proto.PropertyOuterClass.PropertyOrBuilder>
getPropertiesOrBuilderList() {
return properties_;
}
/**
* repeated .cz.proto.Property properties = 2;
*/
@java.lang.Override
public int getPropertiesCount() {
return properties_.size();
}
/**
* repeated .cz.proto.Property properties = 2;
*/
@java.lang.Override
public cz.proto.PropertyOuterClass.Property getProperties(int index) {
return properties_.get(index);
}
/**
* repeated .cz.proto.Property properties = 2;
*/
@java.lang.Override
public cz.proto.PropertyOuterClass.PropertyOrBuilder getPropertiesOrBuilder(
int index) {
return properties_.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 {
if (set_ != false) {
output.writeBool(1, set_);
}
for (int i = 0; i < properties_.size(); i++) {
output.writeMessage(2, properties_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (set_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, set_);
}
for (int i = 0; i < properties_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, properties_.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.access.Ddl.AlterConnectionProperties)) {
return super.equals(obj);
}
cz.proto.access.Ddl.AlterConnectionProperties other = (cz.proto.access.Ddl.AlterConnectionProperties) obj;
if (getSet()
!= other.getSet()) return false;
if (!getPropertiesList()
.equals(other.getPropertiesList())) 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) + SET_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getSet());
if (getPropertiesCount() > 0) {
hash = (37 * hash) + PROPERTIES_FIELD_NUMBER;
hash = (53 * hash) + getPropertiesList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.access.Ddl.AlterConnectionProperties parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.AlterConnectionProperties parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.AlterConnectionProperties parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.AlterConnectionProperties 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.access.Ddl.AlterConnectionProperties parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.AlterConnectionProperties parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.AlterConnectionProperties parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.AlterConnectionProperties 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.access.Ddl.AlterConnectionProperties parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.AlterConnectionProperties 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.access.Ddl.AlterConnectionProperties parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.AlterConnectionProperties 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.access.Ddl.AlterConnectionProperties 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.access.AlterConnectionProperties}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.access.AlterConnectionProperties)
cz.proto.access.Ddl.AlterConnectionPropertiesOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterConnectionProperties_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterConnectionProperties_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.AlterConnectionProperties.class, cz.proto.access.Ddl.AlterConnectionProperties.Builder.class);
}
// Construct using cz.proto.access.Ddl.AlterConnectionProperties.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getPropertiesFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
set_ = false;
if (propertiesBuilder_ == null) {
properties_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
propertiesBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterConnectionProperties_descriptor;
}
@java.lang.Override
public cz.proto.access.Ddl.AlterConnectionProperties getDefaultInstanceForType() {
return cz.proto.access.Ddl.AlterConnectionProperties.getDefaultInstance();
}
@java.lang.Override
public cz.proto.access.Ddl.AlterConnectionProperties build() {
cz.proto.access.Ddl.AlterConnectionProperties result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.access.Ddl.AlterConnectionProperties buildPartial() {
cz.proto.access.Ddl.AlterConnectionProperties result = new cz.proto.access.Ddl.AlterConnectionProperties(this);
int from_bitField0_ = bitField0_;
result.set_ = set_;
if (propertiesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
properties_ = java.util.Collections.unmodifiableList(properties_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.properties_ = properties_;
} else {
result.properties_ = propertiesBuilder_.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.access.Ddl.AlterConnectionProperties) {
return mergeFrom((cz.proto.access.Ddl.AlterConnectionProperties)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.access.Ddl.AlterConnectionProperties other) {
if (other == cz.proto.access.Ddl.AlterConnectionProperties.getDefaultInstance()) return this;
if (other.getSet() != false) {
setSet(other.getSet());
}
if (propertiesBuilder_ == null) {
if (!other.properties_.isEmpty()) {
if (properties_.isEmpty()) {
properties_ = other.properties_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensurePropertiesIsMutable();
properties_.addAll(other.properties_);
}
onChanged();
}
} else {
if (!other.properties_.isEmpty()) {
if (propertiesBuilder_.isEmpty()) {
propertiesBuilder_.dispose();
propertiesBuilder_ = null;
properties_ = other.properties_;
bitField0_ = (bitField0_ & ~0x00000001);
propertiesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getPropertiesFieldBuilder() : null;
} else {
propertiesBuilder_.addAllMessages(other.properties_);
}
}
}
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.access.Ddl.AlterConnectionProperties parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.access.Ddl.AlterConnectionProperties) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private boolean set_ ;
/**
* bool set = 1;
* @return The set.
*/
@java.lang.Override
public boolean getSet() {
return set_;
}
/**
* bool set = 1;
* @param value The set to set.
* @return This builder for chaining.
*/
public Builder setSet(boolean value) {
set_ = value;
onChanged();
return this;
}
/**
* bool set = 1;
* @return This builder for chaining.
*/
public Builder clearSet() {
set_ = false;
onChanged();
return this;
}
private java.util.List properties_ =
java.util.Collections.emptyList();
private void ensurePropertiesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
properties_ = new java.util.ArrayList(properties_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.PropertyOuterClass.Property, cz.proto.PropertyOuterClass.Property.Builder, cz.proto.PropertyOuterClass.PropertyOrBuilder> propertiesBuilder_;
/**
* repeated .cz.proto.Property properties = 2;
*/
public java.util.List getPropertiesList() {
if (propertiesBuilder_ == null) {
return java.util.Collections.unmodifiableList(properties_);
} else {
return propertiesBuilder_.getMessageList();
}
}
/**
* repeated .cz.proto.Property properties = 2;
*/
public int getPropertiesCount() {
if (propertiesBuilder_ == null) {
return properties_.size();
} else {
return propertiesBuilder_.getCount();
}
}
/**
* repeated .cz.proto.Property properties = 2;
*/
public cz.proto.PropertyOuterClass.Property getProperties(int index) {
if (propertiesBuilder_ == null) {
return properties_.get(index);
} else {
return propertiesBuilder_.getMessage(index);
}
}
/**
* repeated .cz.proto.Property properties = 2;
*/
public Builder setProperties(
int index, cz.proto.PropertyOuterClass.Property value) {
if (propertiesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePropertiesIsMutable();
properties_.set(index, value);
onChanged();
} else {
propertiesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.Property properties = 2;
*/
public Builder setProperties(
int index, cz.proto.PropertyOuterClass.Property.Builder builderForValue) {
if (propertiesBuilder_ == null) {
ensurePropertiesIsMutable();
properties_.set(index, builderForValue.build());
onChanged();
} else {
propertiesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.Property properties = 2;
*/
public Builder addProperties(cz.proto.PropertyOuterClass.Property value) {
if (propertiesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePropertiesIsMutable();
properties_.add(value);
onChanged();
} else {
propertiesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .cz.proto.Property properties = 2;
*/
public Builder addProperties(
int index, cz.proto.PropertyOuterClass.Property value) {
if (propertiesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePropertiesIsMutable();
properties_.add(index, value);
onChanged();
} else {
propertiesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.Property properties = 2;
*/
public Builder addProperties(
cz.proto.PropertyOuterClass.Property.Builder builderForValue) {
if (propertiesBuilder_ == null) {
ensurePropertiesIsMutable();
properties_.add(builderForValue.build());
onChanged();
} else {
propertiesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.Property properties = 2;
*/
public Builder addProperties(
int index, cz.proto.PropertyOuterClass.Property.Builder builderForValue) {
if (propertiesBuilder_ == null) {
ensurePropertiesIsMutable();
properties_.add(index, builderForValue.build());
onChanged();
} else {
propertiesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.Property properties = 2;
*/
public Builder addAllProperties(
java.lang.Iterable extends cz.proto.PropertyOuterClass.Property> values) {
if (propertiesBuilder_ == null) {
ensurePropertiesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, properties_);
onChanged();
} else {
propertiesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .cz.proto.Property properties = 2;
*/
public Builder clearProperties() {
if (propertiesBuilder_ == null) {
properties_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
propertiesBuilder_.clear();
}
return this;
}
/**
* repeated .cz.proto.Property properties = 2;
*/
public Builder removeProperties(int index) {
if (propertiesBuilder_ == null) {
ensurePropertiesIsMutable();
properties_.remove(index);
onChanged();
} else {
propertiesBuilder_.remove(index);
}
return this;
}
/**
* repeated .cz.proto.Property properties = 2;
*/
public cz.proto.PropertyOuterClass.Property.Builder getPropertiesBuilder(
int index) {
return getPropertiesFieldBuilder().getBuilder(index);
}
/**
* repeated .cz.proto.Property properties = 2;
*/
public cz.proto.PropertyOuterClass.PropertyOrBuilder getPropertiesOrBuilder(
int index) {
if (propertiesBuilder_ == null) {
return properties_.get(index); } else {
return propertiesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .cz.proto.Property properties = 2;
*/
public java.util.List extends cz.proto.PropertyOuterClass.PropertyOrBuilder>
getPropertiesOrBuilderList() {
if (propertiesBuilder_ != null) {
return propertiesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(properties_);
}
}
/**
* repeated .cz.proto.Property properties = 2;
*/
public cz.proto.PropertyOuterClass.Property.Builder addPropertiesBuilder() {
return getPropertiesFieldBuilder().addBuilder(
cz.proto.PropertyOuterClass.Property.getDefaultInstance());
}
/**
* repeated .cz.proto.Property properties = 2;
*/
public cz.proto.PropertyOuterClass.Property.Builder addPropertiesBuilder(
int index) {
return getPropertiesFieldBuilder().addBuilder(
index, cz.proto.PropertyOuterClass.Property.getDefaultInstance());
}
/**
* repeated .cz.proto.Property properties = 2;
*/
public java.util.List
getPropertiesBuilderList() {
return getPropertiesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.PropertyOuterClass.Property, cz.proto.PropertyOuterClass.Property.Builder, cz.proto.PropertyOuterClass.PropertyOrBuilder>
getPropertiesFieldBuilder() {
if (propertiesBuilder_ == null) {
propertiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.PropertyOuterClass.Property, cz.proto.PropertyOuterClass.Property.Builder, cz.proto.PropertyOuterClass.PropertyOrBuilder>(
properties_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
properties_ = null;
}
return propertiesBuilder_;
}
@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.access.AlterConnectionProperties)
}
// @@protoc_insertion_point(class_scope:cz.proto.access.AlterConnectionProperties)
private static final cz.proto.access.Ddl.AlterConnectionProperties DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.access.Ddl.AlterConnectionProperties();
}
public static cz.proto.access.Ddl.AlterConnectionProperties getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public AlterConnectionProperties parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AlterConnectionProperties(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.access.Ddl.AlterConnectionProperties getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AlterConnectionOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.access.AlterConnection)
com.google.protobuf.MessageOrBuilder {
/**
* bool enable = 1;
* @return Whether the enable field is set.
*/
boolean hasEnable();
/**
* bool enable = 1;
* @return The enable.
*/
boolean getEnable();
/**
* .cz.proto.access.AlterConnectionAvailability availability = 2;
* @return Whether the availability field is set.
*/
boolean hasAvailability();
/**
* .cz.proto.access.AlterConnectionAvailability availability = 2;
* @return The availability.
*/
cz.proto.access.Ddl.AlterConnectionAvailability getAvailability();
/**
* .cz.proto.access.AlterConnectionAvailability availability = 2;
*/
cz.proto.access.Ddl.AlterConnectionAvailabilityOrBuilder getAvailabilityOrBuilder();
/**
* .cz.proto.access.AlterConnectionProperties properties = 3;
* @return Whether the properties field is set.
*/
boolean hasProperties();
/**
* .cz.proto.access.AlterConnectionProperties properties = 3;
* @return The properties.
*/
cz.proto.access.Ddl.AlterConnectionProperties getProperties();
/**
* .cz.proto.access.AlterConnectionProperties properties = 3;
*/
cz.proto.access.Ddl.AlterConnectionPropertiesOrBuilder getPropertiesOrBuilder();
public cz.proto.access.Ddl.AlterConnection.DerivedCase getDerivedCase();
}
/**
* Protobuf type {@code cz.proto.access.AlterConnection}
*/
public static final class AlterConnection extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.access.AlterConnection)
AlterConnectionOrBuilder {
private static final long serialVersionUID = 0L;
// Use AlterConnection.newBuilder() to construct.
private AlterConnection(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AlterConnection() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AlterConnection();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AlterConnection(
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 8: {
derived_ = input.readBool();
derivedCase_ = 1;
break;
}
case 18: {
cz.proto.access.Ddl.AlterConnectionAvailability.Builder subBuilder = null;
if (derivedCase_ == 2) {
subBuilder = ((cz.proto.access.Ddl.AlterConnectionAvailability) derived_).toBuilder();
}
derived_ =
input.readMessage(cz.proto.access.Ddl.AlterConnectionAvailability.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.access.Ddl.AlterConnectionAvailability) derived_);
derived_ = subBuilder.buildPartial();
}
derivedCase_ = 2;
break;
}
case 26: {
cz.proto.access.Ddl.AlterConnectionProperties.Builder subBuilder = null;
if (derivedCase_ == 3) {
subBuilder = ((cz.proto.access.Ddl.AlterConnectionProperties) derived_).toBuilder();
}
derived_ =
input.readMessage(cz.proto.access.Ddl.AlterConnectionProperties.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.access.Ddl.AlterConnectionProperties) derived_);
derived_ = subBuilder.buildPartial();
}
derivedCase_ = 3;
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.access.Ddl.internal_static_cz_proto_access_AlterConnection_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterConnection_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.AlterConnection.class, cz.proto.access.Ddl.AlterConnection.Builder.class);
}
private int derivedCase_ = 0;
private java.lang.Object derived_;
public enum DerivedCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
ENABLE(1),
AVAILABILITY(2),
PROPERTIES(3),
DERIVED_NOT_SET(0);
private final int value;
private DerivedCase(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 DerivedCase valueOf(int value) {
return forNumber(value);
}
public static DerivedCase forNumber(int value) {
switch (value) {
case 1: return ENABLE;
case 2: return AVAILABILITY;
case 3: return PROPERTIES;
case 0: return DERIVED_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public DerivedCase
getDerivedCase() {
return DerivedCase.forNumber(
derivedCase_);
}
public static final int ENABLE_FIELD_NUMBER = 1;
/**
* bool enable = 1;
* @return Whether the enable field is set.
*/
@java.lang.Override
public boolean hasEnable() {
return derivedCase_ == 1;
}
/**
* bool enable = 1;
* @return The enable.
*/
@java.lang.Override
public boolean getEnable() {
if (derivedCase_ == 1) {
return (java.lang.Boolean) derived_;
}
return false;
}
public static final int AVAILABILITY_FIELD_NUMBER = 2;
/**
* .cz.proto.access.AlterConnectionAvailability availability = 2;
* @return Whether the availability field is set.
*/
@java.lang.Override
public boolean hasAvailability() {
return derivedCase_ == 2;
}
/**
* .cz.proto.access.AlterConnectionAvailability availability = 2;
* @return The availability.
*/
@java.lang.Override
public cz.proto.access.Ddl.AlterConnectionAvailability getAvailability() {
if (derivedCase_ == 2) {
return (cz.proto.access.Ddl.AlterConnectionAvailability) derived_;
}
return cz.proto.access.Ddl.AlterConnectionAvailability.getDefaultInstance();
}
/**
* .cz.proto.access.AlterConnectionAvailability availability = 2;
*/
@java.lang.Override
public cz.proto.access.Ddl.AlterConnectionAvailabilityOrBuilder getAvailabilityOrBuilder() {
if (derivedCase_ == 2) {
return (cz.proto.access.Ddl.AlterConnectionAvailability) derived_;
}
return cz.proto.access.Ddl.AlterConnectionAvailability.getDefaultInstance();
}
public static final int PROPERTIES_FIELD_NUMBER = 3;
/**
* .cz.proto.access.AlterConnectionProperties properties = 3;
* @return Whether the properties field is set.
*/
@java.lang.Override
public boolean hasProperties() {
return derivedCase_ == 3;
}
/**
* .cz.proto.access.AlterConnectionProperties properties = 3;
* @return The properties.
*/
@java.lang.Override
public cz.proto.access.Ddl.AlterConnectionProperties getProperties() {
if (derivedCase_ == 3) {
return (cz.proto.access.Ddl.AlterConnectionProperties) derived_;
}
return cz.proto.access.Ddl.AlterConnectionProperties.getDefaultInstance();
}
/**
* .cz.proto.access.AlterConnectionProperties properties = 3;
*/
@java.lang.Override
public cz.proto.access.Ddl.AlterConnectionPropertiesOrBuilder getPropertiesOrBuilder() {
if (derivedCase_ == 3) {
return (cz.proto.access.Ddl.AlterConnectionProperties) derived_;
}
return cz.proto.access.Ddl.AlterConnectionProperties.getDefaultInstance();
}
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 (derivedCase_ == 1) {
output.writeBool(
1, (boolean)((java.lang.Boolean) derived_));
}
if (derivedCase_ == 2) {
output.writeMessage(2, (cz.proto.access.Ddl.AlterConnectionAvailability) derived_);
}
if (derivedCase_ == 3) {
output.writeMessage(3, (cz.proto.access.Ddl.AlterConnectionProperties) derived_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (derivedCase_ == 1) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(
1, (boolean)((java.lang.Boolean) derived_));
}
if (derivedCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, (cz.proto.access.Ddl.AlterConnectionAvailability) derived_);
}
if (derivedCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, (cz.proto.access.Ddl.AlterConnectionProperties) derived_);
}
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.access.Ddl.AlterConnection)) {
return super.equals(obj);
}
cz.proto.access.Ddl.AlterConnection other = (cz.proto.access.Ddl.AlterConnection) obj;
if (!getDerivedCase().equals(other.getDerivedCase())) return false;
switch (derivedCase_) {
case 1:
if (getEnable()
!= other.getEnable()) return false;
break;
case 2:
if (!getAvailability()
.equals(other.getAvailability())) return false;
break;
case 3:
if (!getProperties()
.equals(other.getProperties())) 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();
switch (derivedCase_) {
case 1:
hash = (37 * hash) + ENABLE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getEnable());
break;
case 2:
hash = (37 * hash) + AVAILABILITY_FIELD_NUMBER;
hash = (53 * hash) + getAvailability().hashCode();
break;
case 3:
hash = (37 * hash) + PROPERTIES_FIELD_NUMBER;
hash = (53 * hash) + getProperties().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.access.Ddl.AlterConnection parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.AlterConnection parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.AlterConnection parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.AlterConnection 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.access.Ddl.AlterConnection parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.AlterConnection parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.AlterConnection parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.AlterConnection 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.access.Ddl.AlterConnection parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.AlterConnection 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.access.Ddl.AlterConnection parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.AlterConnection 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.access.Ddl.AlterConnection 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.access.AlterConnection}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.access.AlterConnection)
cz.proto.access.Ddl.AlterConnectionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterConnection_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterConnection_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.AlterConnection.class, cz.proto.access.Ddl.AlterConnection.Builder.class);
}
// Construct using cz.proto.access.Ddl.AlterConnection.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();
derivedCase_ = 0;
derived_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterConnection_descriptor;
}
@java.lang.Override
public cz.proto.access.Ddl.AlterConnection getDefaultInstanceForType() {
return cz.proto.access.Ddl.AlterConnection.getDefaultInstance();
}
@java.lang.Override
public cz.proto.access.Ddl.AlterConnection build() {
cz.proto.access.Ddl.AlterConnection result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.access.Ddl.AlterConnection buildPartial() {
cz.proto.access.Ddl.AlterConnection result = new cz.proto.access.Ddl.AlterConnection(this);
if (derivedCase_ == 1) {
result.derived_ = derived_;
}
if (derivedCase_ == 2) {
if (availabilityBuilder_ == null) {
result.derived_ = derived_;
} else {
result.derived_ = availabilityBuilder_.build();
}
}
if (derivedCase_ == 3) {
if (propertiesBuilder_ == null) {
result.derived_ = derived_;
} else {
result.derived_ = propertiesBuilder_.build();
}
}
result.derivedCase_ = derivedCase_;
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.access.Ddl.AlterConnection) {
return mergeFrom((cz.proto.access.Ddl.AlterConnection)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.access.Ddl.AlterConnection other) {
if (other == cz.proto.access.Ddl.AlterConnection.getDefaultInstance()) return this;
switch (other.getDerivedCase()) {
case ENABLE: {
setEnable(other.getEnable());
break;
}
case AVAILABILITY: {
mergeAvailability(other.getAvailability());
break;
}
case PROPERTIES: {
mergeProperties(other.getProperties());
break;
}
case DERIVED_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.access.Ddl.AlterConnection parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.access.Ddl.AlterConnection) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int derivedCase_ = 0;
private java.lang.Object derived_;
public DerivedCase
getDerivedCase() {
return DerivedCase.forNumber(
derivedCase_);
}
public Builder clearDerived() {
derivedCase_ = 0;
derived_ = null;
onChanged();
return this;
}
/**
* bool enable = 1;
* @return Whether the enable field is set.
*/
public boolean hasEnable() {
return derivedCase_ == 1;
}
/**
* bool enable = 1;
* @return The enable.
*/
public boolean getEnable() {
if (derivedCase_ == 1) {
return (java.lang.Boolean) derived_;
}
return false;
}
/**
* bool enable = 1;
* @param value The enable to set.
* @return This builder for chaining.
*/
public Builder setEnable(boolean value) {
derivedCase_ = 1;
derived_ = value;
onChanged();
return this;
}
/**
* bool enable = 1;
* @return This builder for chaining.
*/
public Builder clearEnable() {
if (derivedCase_ == 1) {
derivedCase_ = 0;
derived_ = null;
onChanged();
}
return this;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.AlterConnectionAvailability, cz.proto.access.Ddl.AlterConnectionAvailability.Builder, cz.proto.access.Ddl.AlterConnectionAvailabilityOrBuilder> availabilityBuilder_;
/**
* .cz.proto.access.AlterConnectionAvailability availability = 2;
* @return Whether the availability field is set.
*/
@java.lang.Override
public boolean hasAvailability() {
return derivedCase_ == 2;
}
/**
* .cz.proto.access.AlterConnectionAvailability availability = 2;
* @return The availability.
*/
@java.lang.Override
public cz.proto.access.Ddl.AlterConnectionAvailability getAvailability() {
if (availabilityBuilder_ == null) {
if (derivedCase_ == 2) {
return (cz.proto.access.Ddl.AlterConnectionAvailability) derived_;
}
return cz.proto.access.Ddl.AlterConnectionAvailability.getDefaultInstance();
} else {
if (derivedCase_ == 2) {
return availabilityBuilder_.getMessage();
}
return cz.proto.access.Ddl.AlterConnectionAvailability.getDefaultInstance();
}
}
/**
* .cz.proto.access.AlterConnectionAvailability availability = 2;
*/
public Builder setAvailability(cz.proto.access.Ddl.AlterConnectionAvailability value) {
if (availabilityBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
derived_ = value;
onChanged();
} else {
availabilityBuilder_.setMessage(value);
}
derivedCase_ = 2;
return this;
}
/**
* .cz.proto.access.AlterConnectionAvailability availability = 2;
*/
public Builder setAvailability(
cz.proto.access.Ddl.AlterConnectionAvailability.Builder builderForValue) {
if (availabilityBuilder_ == null) {
derived_ = builderForValue.build();
onChanged();
} else {
availabilityBuilder_.setMessage(builderForValue.build());
}
derivedCase_ = 2;
return this;
}
/**
* .cz.proto.access.AlterConnectionAvailability availability = 2;
*/
public Builder mergeAvailability(cz.proto.access.Ddl.AlterConnectionAvailability value) {
if (availabilityBuilder_ == null) {
if (derivedCase_ == 2 &&
derived_ != cz.proto.access.Ddl.AlterConnectionAvailability.getDefaultInstance()) {
derived_ = cz.proto.access.Ddl.AlterConnectionAvailability.newBuilder((cz.proto.access.Ddl.AlterConnectionAvailability) derived_)
.mergeFrom(value).buildPartial();
} else {
derived_ = value;
}
onChanged();
} else {
if (derivedCase_ == 2) {
availabilityBuilder_.mergeFrom(value);
}
availabilityBuilder_.setMessage(value);
}
derivedCase_ = 2;
return this;
}
/**
* .cz.proto.access.AlterConnectionAvailability availability = 2;
*/
public Builder clearAvailability() {
if (availabilityBuilder_ == null) {
if (derivedCase_ == 2) {
derivedCase_ = 0;
derived_ = null;
onChanged();
}
} else {
if (derivedCase_ == 2) {
derivedCase_ = 0;
derived_ = null;
}
availabilityBuilder_.clear();
}
return this;
}
/**
* .cz.proto.access.AlterConnectionAvailability availability = 2;
*/
public cz.proto.access.Ddl.AlterConnectionAvailability.Builder getAvailabilityBuilder() {
return getAvailabilityFieldBuilder().getBuilder();
}
/**
* .cz.proto.access.AlterConnectionAvailability availability = 2;
*/
@java.lang.Override
public cz.proto.access.Ddl.AlterConnectionAvailabilityOrBuilder getAvailabilityOrBuilder() {
if ((derivedCase_ == 2) && (availabilityBuilder_ != null)) {
return availabilityBuilder_.getMessageOrBuilder();
} else {
if (derivedCase_ == 2) {
return (cz.proto.access.Ddl.AlterConnectionAvailability) derived_;
}
return cz.proto.access.Ddl.AlterConnectionAvailability.getDefaultInstance();
}
}
/**
* .cz.proto.access.AlterConnectionAvailability availability = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.AlterConnectionAvailability, cz.proto.access.Ddl.AlterConnectionAvailability.Builder, cz.proto.access.Ddl.AlterConnectionAvailabilityOrBuilder>
getAvailabilityFieldBuilder() {
if (availabilityBuilder_ == null) {
if (!(derivedCase_ == 2)) {
derived_ = cz.proto.access.Ddl.AlterConnectionAvailability.getDefaultInstance();
}
availabilityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.AlterConnectionAvailability, cz.proto.access.Ddl.AlterConnectionAvailability.Builder, cz.proto.access.Ddl.AlterConnectionAvailabilityOrBuilder>(
(cz.proto.access.Ddl.AlterConnectionAvailability) derived_,
getParentForChildren(),
isClean());
derived_ = null;
}
derivedCase_ = 2;
onChanged();;
return availabilityBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.AlterConnectionProperties, cz.proto.access.Ddl.AlterConnectionProperties.Builder, cz.proto.access.Ddl.AlterConnectionPropertiesOrBuilder> propertiesBuilder_;
/**
* .cz.proto.access.AlterConnectionProperties properties = 3;
* @return Whether the properties field is set.
*/
@java.lang.Override
public boolean hasProperties() {
return derivedCase_ == 3;
}
/**
* .cz.proto.access.AlterConnectionProperties properties = 3;
* @return The properties.
*/
@java.lang.Override
public cz.proto.access.Ddl.AlterConnectionProperties getProperties() {
if (propertiesBuilder_ == null) {
if (derivedCase_ == 3) {
return (cz.proto.access.Ddl.AlterConnectionProperties) derived_;
}
return cz.proto.access.Ddl.AlterConnectionProperties.getDefaultInstance();
} else {
if (derivedCase_ == 3) {
return propertiesBuilder_.getMessage();
}
return cz.proto.access.Ddl.AlterConnectionProperties.getDefaultInstance();
}
}
/**
* .cz.proto.access.AlterConnectionProperties properties = 3;
*/
public Builder setProperties(cz.proto.access.Ddl.AlterConnectionProperties value) {
if (propertiesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
derived_ = value;
onChanged();
} else {
propertiesBuilder_.setMessage(value);
}
derivedCase_ = 3;
return this;
}
/**
* .cz.proto.access.AlterConnectionProperties properties = 3;
*/
public Builder setProperties(
cz.proto.access.Ddl.AlterConnectionProperties.Builder builderForValue) {
if (propertiesBuilder_ == null) {
derived_ = builderForValue.build();
onChanged();
} else {
propertiesBuilder_.setMessage(builderForValue.build());
}
derivedCase_ = 3;
return this;
}
/**
* .cz.proto.access.AlterConnectionProperties properties = 3;
*/
public Builder mergeProperties(cz.proto.access.Ddl.AlterConnectionProperties value) {
if (propertiesBuilder_ == null) {
if (derivedCase_ == 3 &&
derived_ != cz.proto.access.Ddl.AlterConnectionProperties.getDefaultInstance()) {
derived_ = cz.proto.access.Ddl.AlterConnectionProperties.newBuilder((cz.proto.access.Ddl.AlterConnectionProperties) derived_)
.mergeFrom(value).buildPartial();
} else {
derived_ = value;
}
onChanged();
} else {
if (derivedCase_ == 3) {
propertiesBuilder_.mergeFrom(value);
}
propertiesBuilder_.setMessage(value);
}
derivedCase_ = 3;
return this;
}
/**
* .cz.proto.access.AlterConnectionProperties properties = 3;
*/
public Builder clearProperties() {
if (propertiesBuilder_ == null) {
if (derivedCase_ == 3) {
derivedCase_ = 0;
derived_ = null;
onChanged();
}
} else {
if (derivedCase_ == 3) {
derivedCase_ = 0;
derived_ = null;
}
propertiesBuilder_.clear();
}
return this;
}
/**
* .cz.proto.access.AlterConnectionProperties properties = 3;
*/
public cz.proto.access.Ddl.AlterConnectionProperties.Builder getPropertiesBuilder() {
return getPropertiesFieldBuilder().getBuilder();
}
/**
* .cz.proto.access.AlterConnectionProperties properties = 3;
*/
@java.lang.Override
public cz.proto.access.Ddl.AlterConnectionPropertiesOrBuilder getPropertiesOrBuilder() {
if ((derivedCase_ == 3) && (propertiesBuilder_ != null)) {
return propertiesBuilder_.getMessageOrBuilder();
} else {
if (derivedCase_ == 3) {
return (cz.proto.access.Ddl.AlterConnectionProperties) derived_;
}
return cz.proto.access.Ddl.AlterConnectionProperties.getDefaultInstance();
}
}
/**
* .cz.proto.access.AlterConnectionProperties properties = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.AlterConnectionProperties, cz.proto.access.Ddl.AlterConnectionProperties.Builder, cz.proto.access.Ddl.AlterConnectionPropertiesOrBuilder>
getPropertiesFieldBuilder() {
if (propertiesBuilder_ == null) {
if (!(derivedCase_ == 3)) {
derived_ = cz.proto.access.Ddl.AlterConnectionProperties.getDefaultInstance();
}
propertiesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.AlterConnectionProperties, cz.proto.access.Ddl.AlterConnectionProperties.Builder, cz.proto.access.Ddl.AlterConnectionPropertiesOrBuilder>(
(cz.proto.access.Ddl.AlterConnectionProperties) derived_,
getParentForChildren(),
isClean());
derived_ = null;
}
derivedCase_ = 3;
onChanged();;
return propertiesBuilder_;
}
@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.access.AlterConnection)
}
// @@protoc_insertion_point(class_scope:cz.proto.access.AlterConnection)
private static final cz.proto.access.Ddl.AlterConnection DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.access.Ddl.AlterConnection();
}
public static cz.proto.access.Ddl.AlterConnection getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public AlterConnection parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AlterConnection(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.access.Ddl.AlterConnection getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AlterFunctionOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.access.AlterFunction)
com.google.protobuf.MessageOrBuilder {
/**
* string comment = 1;
* @return Whether the comment field is set.
*/
boolean hasComment();
/**
* string comment = 1;
* @return The comment.
*/
java.lang.String getComment();
/**
* string comment = 1;
* @return The bytes for comment.
*/
com.google.protobuf.ByteString
getCommentBytes();
public cz.proto.access.Ddl.AlterFunction.DerivedCase getDerivedCase();
}
/**
* Protobuf type {@code cz.proto.access.AlterFunction}
*/
public static final class AlterFunction extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.access.AlterFunction)
AlterFunctionOrBuilder {
private static final long serialVersionUID = 0L;
// Use AlterFunction.newBuilder() to construct.
private AlterFunction(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AlterFunction() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AlterFunction();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AlterFunction(
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 10: {
java.lang.String s = input.readStringRequireUtf8();
derivedCase_ = 1;
derived_ = 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.access.Ddl.internal_static_cz_proto_access_AlterFunction_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterFunction_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.AlterFunction.class, cz.proto.access.Ddl.AlterFunction.Builder.class);
}
private int derivedCase_ = 0;
private java.lang.Object derived_;
public enum DerivedCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
COMMENT(1),
DERIVED_NOT_SET(0);
private final int value;
private DerivedCase(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 DerivedCase valueOf(int value) {
return forNumber(value);
}
public static DerivedCase forNumber(int value) {
switch (value) {
case 1: return COMMENT;
case 0: return DERIVED_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public DerivedCase
getDerivedCase() {
return DerivedCase.forNumber(
derivedCase_);
}
public static final int COMMENT_FIELD_NUMBER = 1;
/**
* string comment = 1;
* @return Whether the comment field is set.
*/
public boolean hasComment() {
return derivedCase_ == 1;
}
/**
* string comment = 1;
* @return The comment.
*/
public java.lang.String getComment() {
java.lang.Object ref = "";
if (derivedCase_ == 1) {
ref = derived_;
}
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();
if (derivedCase_ == 1) {
derived_ = s;
}
return s;
}
}
/**
* string comment = 1;
* @return The bytes for comment.
*/
public com.google.protobuf.ByteString
getCommentBytes() {
java.lang.Object ref = "";
if (derivedCase_ == 1) {
ref = derived_;
}
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (derivedCase_ == 1) {
derived_ = 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 {
if (derivedCase_ == 1) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, derived_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (derivedCase_ == 1) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, derived_);
}
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.access.Ddl.AlterFunction)) {
return super.equals(obj);
}
cz.proto.access.Ddl.AlterFunction other = (cz.proto.access.Ddl.AlterFunction) obj;
if (!getDerivedCase().equals(other.getDerivedCase())) return false;
switch (derivedCase_) {
case 1:
if (!getComment()
.equals(other.getComment())) 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();
switch (derivedCase_) {
case 1:
hash = (37 * hash) + COMMENT_FIELD_NUMBER;
hash = (53 * hash) + getComment().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.access.Ddl.AlterFunction parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.AlterFunction parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.AlterFunction parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.AlterFunction 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.access.Ddl.AlterFunction parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.AlterFunction parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.AlterFunction parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.AlterFunction 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.access.Ddl.AlterFunction parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.AlterFunction 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.access.Ddl.AlterFunction parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.AlterFunction 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.access.Ddl.AlterFunction 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.access.AlterFunction}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.access.AlterFunction)
cz.proto.access.Ddl.AlterFunctionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterFunction_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterFunction_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.AlterFunction.class, cz.proto.access.Ddl.AlterFunction.Builder.class);
}
// Construct using cz.proto.access.Ddl.AlterFunction.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();
derivedCase_ = 0;
derived_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterFunction_descriptor;
}
@java.lang.Override
public cz.proto.access.Ddl.AlterFunction getDefaultInstanceForType() {
return cz.proto.access.Ddl.AlterFunction.getDefaultInstance();
}
@java.lang.Override
public cz.proto.access.Ddl.AlterFunction build() {
cz.proto.access.Ddl.AlterFunction result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.access.Ddl.AlterFunction buildPartial() {
cz.proto.access.Ddl.AlterFunction result = new cz.proto.access.Ddl.AlterFunction(this);
if (derivedCase_ == 1) {
result.derived_ = derived_;
}
result.derivedCase_ = derivedCase_;
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.access.Ddl.AlterFunction) {
return mergeFrom((cz.proto.access.Ddl.AlterFunction)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.access.Ddl.AlterFunction other) {
if (other == cz.proto.access.Ddl.AlterFunction.getDefaultInstance()) return this;
switch (other.getDerivedCase()) {
case COMMENT: {
derivedCase_ = 1;
derived_ = other.derived_;
onChanged();
break;
}
case DERIVED_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.access.Ddl.AlterFunction parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.access.Ddl.AlterFunction) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int derivedCase_ = 0;
private java.lang.Object derived_;
public DerivedCase
getDerivedCase() {
return DerivedCase.forNumber(
derivedCase_);
}
public Builder clearDerived() {
derivedCase_ = 0;
derived_ = null;
onChanged();
return this;
}
/**
* string comment = 1;
* @return Whether the comment field is set.
*/
@java.lang.Override
public boolean hasComment() {
return derivedCase_ == 1;
}
/**
* string comment = 1;
* @return The comment.
*/
@java.lang.Override
public java.lang.String getComment() {
java.lang.Object ref = "";
if (derivedCase_ == 1) {
ref = derived_;
}
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (derivedCase_ == 1) {
derived_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string comment = 1;
* @return The bytes for comment.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCommentBytes() {
java.lang.Object ref = "";
if (derivedCase_ == 1) {
ref = derived_;
}
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (derivedCase_ == 1) {
derived_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string comment = 1;
* @param value The comment to set.
* @return This builder for chaining.
*/
public Builder setComment(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
derivedCase_ = 1;
derived_ = value;
onChanged();
return this;
}
/**
* string comment = 1;
* @return This builder for chaining.
*/
public Builder clearComment() {
if (derivedCase_ == 1) {
derivedCase_ = 0;
derived_ = null;
onChanged();
}
return this;
}
/**
* string comment = 1;
* @param value The bytes for comment to set.
* @return This builder for chaining.
*/
public Builder setCommentBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
derivedCase_ = 1;
derived_ = 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.access.AlterFunction)
}
// @@protoc_insertion_point(class_scope:cz.proto.access.AlterFunction)
private static final cz.proto.access.Ddl.AlterFunction DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.access.Ddl.AlterFunction();
}
public static cz.proto.access.Ddl.AlterFunction getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public AlterFunction parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AlterFunction(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.access.Ddl.AlterFunction getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DropEntityOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.access.DropEntity)
com.google.protobuf.MessageOrBuilder {
/**
* .cz.proto.ObjectIdentifier identifier = 1;
* @return Whether the identifier field is set.
*/
boolean hasIdentifier();
/**
* .cz.proto.ObjectIdentifier identifier = 1;
* @return The identifier.
*/
cz.proto.ObjectIdentifier getIdentifier();
/**
* .cz.proto.ObjectIdentifier identifier = 1;
*/
cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder();
/**
* bool if_exists = 2;
* @return The ifExists.
*/
boolean getIfExists();
/**
* int64 drop_time_ms = 3;
* @return The dropTimeMs.
*/
long getDropTimeMs();
/**
* .cz.proto.access.DropTable table = 10;
* @return Whether the table field is set.
*/
boolean hasTable();
/**
* .cz.proto.access.DropTable table = 10;
* @return The table.
*/
cz.proto.access.Ddl.DropTable getTable();
/**
* .cz.proto.access.DropTable table = 10;
*/
cz.proto.access.Ddl.DropTableOrBuilder getTableOrBuilder();
/**
* .cz.proto.access.DropView view = 11;
* @return Whether the view field is set.
*/
boolean hasView();
/**
* .cz.proto.access.DropView view = 11;
* @return The view.
*/
cz.proto.access.Ddl.DropView getView();
/**
* .cz.proto.access.DropView view = 11;
*/
cz.proto.access.Ddl.DropViewOrBuilder getViewOrBuilder();
/**
* .cz.proto.access.DropMaterializedView mv = 12;
* @return Whether the mv field is set.
*/
boolean hasMv();
/**
* .cz.proto.access.DropMaterializedView mv = 12;
* @return The mv.
*/
cz.proto.access.Ddl.DropMaterializedView getMv();
/**
* .cz.proto.access.DropMaterializedView mv = 12;
*/
cz.proto.access.Ddl.DropMaterializedViewOrBuilder getMvOrBuilder();
/**
* .cz.proto.access.DropSchema schema = 13;
* @return Whether the schema field is set.
*/
boolean hasSchema();
/**
* .cz.proto.access.DropSchema schema = 13;
* @return The schema.
*/
cz.proto.access.Ddl.DropSchema getSchema();
/**
* .cz.proto.access.DropSchema schema = 13;
*/
cz.proto.access.Ddl.DropSchemaOrBuilder getSchemaOrBuilder();
/**
* .cz.proto.access.DropCatalog catalog = 14;
* @return Whether the catalog field is set.
*/
boolean hasCatalog();
/**
* .cz.proto.access.DropCatalog catalog = 14;
* @return The catalog.
*/
cz.proto.access.Ddl.DropCatalog getCatalog();
/**
* .cz.proto.access.DropCatalog catalog = 14;
*/
cz.proto.access.Ddl.DropCatalogOrBuilder getCatalogOrBuilder();
/**
* .cz.proto.access.DropUser user = 15;
* @return Whether the user field is set.
*/
boolean hasUser();
/**
* .cz.proto.access.DropUser user = 15;
* @return The user.
*/
cz.proto.access.Ddl.DropUser getUser();
/**
* .cz.proto.access.DropUser user = 15;
*/
cz.proto.access.Ddl.DropUserOrBuilder getUserOrBuilder();
/**
* .cz.proto.access.DropRole role = 16;
* @return Whether the role field is set.
*/
boolean hasRole();
/**
* .cz.proto.access.DropRole role = 16;
* @return The role.
*/
cz.proto.access.Ddl.DropRole getRole();
/**
* .cz.proto.access.DropRole role = 16;
*/
cz.proto.access.Ddl.DropRoleOrBuilder getRoleOrBuilder();
/**
* .cz.proto.access.DropVCluster virtual_cluster = 17;
* @return Whether the virtualCluster field is set.
*/
boolean hasVirtualCluster();
/**
* .cz.proto.access.DropVCluster virtual_cluster = 17;
* @return The virtualCluster.
*/
cz.proto.access.Ddl.DropVCluster getVirtualCluster();
/**
* .cz.proto.access.DropVCluster virtual_cluster = 17;
*/
cz.proto.access.Ddl.DropVClusterOrBuilder getVirtualClusterOrBuilder();
/**
* .cz.proto.access.DropShare share = 18;
* @return Whether the share field is set.
*/
boolean hasShare();
/**
* .cz.proto.access.DropShare share = 18;
* @return The share.
*/
cz.proto.access.Ddl.DropShare getShare();
/**
* .cz.proto.access.DropShare share = 18;
*/
cz.proto.access.Ddl.DropShareOrBuilder getShareOrBuilder();
/**
* .cz.proto.access.DropFunction function = 19;
* @return Whether the function field is set.
*/
boolean hasFunction();
/**
* .cz.proto.access.DropFunction function = 19;
* @return The function.
*/
cz.proto.access.Ddl.DropFunction getFunction();
/**
* .cz.proto.access.DropFunction function = 19;
*/
cz.proto.access.Ddl.DropFunctionOrBuilder getFunctionOrBuilder();
/**
* .cz.proto.access.DropConnection connection = 20;
* @return Whether the connection field is set.
*/
boolean hasConnection();
/**
* .cz.proto.access.DropConnection connection = 20;
* @return The connection.
*/
cz.proto.access.Ddl.DropConnection getConnection();
/**
* .cz.proto.access.DropConnection connection = 20;
*/
cz.proto.access.Ddl.DropConnectionOrBuilder getConnectionOrBuilder();
/**
* .cz.proto.access.DropLocation location = 21;
* @return Whether the location field is set.
*/
boolean hasLocation();
/**
* .cz.proto.access.DropLocation location = 21;
* @return The location.
*/
cz.proto.access.Ddl.DropLocation getLocation();
/**
* .cz.proto.access.DropLocation location = 21;
*/
cz.proto.access.Ddl.DropLocationOrBuilder getLocationOrBuilder();
/**
* .cz.proto.access.DropStreamTable stream_table = 22;
* @return Whether the streamTable field is set.
*/
boolean hasStreamTable();
/**
* .cz.proto.access.DropStreamTable stream_table = 22;
* @return The streamTable.
*/
cz.proto.access.Ddl.DropStreamTable getStreamTable();
/**
* .cz.proto.access.DropStreamTable stream_table = 22;
*/
cz.proto.access.Ddl.DropStreamTableOrBuilder getStreamTableOrBuilder();
/**
* .cz.proto.access.DropIndex index = 23;
* @return Whether the index field is set.
*/
boolean hasIndex();
/**
* .cz.proto.access.DropIndex index = 23;
* @return The index.
*/
cz.proto.access.Ddl.DropIndex getIndex();
/**
* .cz.proto.access.DropIndex index = 23;
*/
cz.proto.access.Ddl.DropIndexOrBuilder getIndexOrBuilder();
/**
* .cz.proto.access.DropVolume volume = 24;
* @return Whether the volume field is set.
*/
boolean hasVolume();
/**
* .cz.proto.access.DropVolume volume = 24;
* @return The volume.
*/
cz.proto.access.Ddl.DropVolume getVolume();
/**
* .cz.proto.access.DropVolume volume = 24;
*/
cz.proto.access.Ddl.DropVolumeOrBuilder getVolumeOrBuilder();
public cz.proto.access.Ddl.DropEntity.DerivedCase getDerivedCase();
}
/**
* Protobuf type {@code cz.proto.access.DropEntity}
*/
public static final class DropEntity extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.access.DropEntity)
DropEntityOrBuilder {
private static final long serialVersionUID = 0L;
// Use DropEntity.newBuilder() to construct.
private DropEntity(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DropEntity() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DropEntity();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DropEntity(
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 10: {
cz.proto.ObjectIdentifier.Builder subBuilder = null;
if (identifier_ != null) {
subBuilder = identifier_.toBuilder();
}
identifier_ = input.readMessage(cz.proto.ObjectIdentifier.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(identifier_);
identifier_ = subBuilder.buildPartial();
}
break;
}
case 16: {
ifExists_ = input.readBool();
break;
}
case 24: {
dropTimeMs_ = input.readInt64();
break;
}
case 82: {
cz.proto.access.Ddl.DropTable.Builder subBuilder = null;
if (derivedCase_ == 10) {
subBuilder = ((cz.proto.access.Ddl.DropTable) derived_).toBuilder();
}
derived_ =
input.readMessage(cz.proto.access.Ddl.DropTable.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.access.Ddl.DropTable) derived_);
derived_ = subBuilder.buildPartial();
}
derivedCase_ = 10;
break;
}
case 90: {
cz.proto.access.Ddl.DropView.Builder subBuilder = null;
if (derivedCase_ == 11) {
subBuilder = ((cz.proto.access.Ddl.DropView) derived_).toBuilder();
}
derived_ =
input.readMessage(cz.proto.access.Ddl.DropView.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.access.Ddl.DropView) derived_);
derived_ = subBuilder.buildPartial();
}
derivedCase_ = 11;
break;
}
case 98: {
cz.proto.access.Ddl.DropMaterializedView.Builder subBuilder = null;
if (derivedCase_ == 12) {
subBuilder = ((cz.proto.access.Ddl.DropMaterializedView) derived_).toBuilder();
}
derived_ =
input.readMessage(cz.proto.access.Ddl.DropMaterializedView.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.access.Ddl.DropMaterializedView) derived_);
derived_ = subBuilder.buildPartial();
}
derivedCase_ = 12;
break;
}
case 106: {
cz.proto.access.Ddl.DropSchema.Builder subBuilder = null;
if (derivedCase_ == 13) {
subBuilder = ((cz.proto.access.Ddl.DropSchema) derived_).toBuilder();
}
derived_ =
input.readMessage(cz.proto.access.Ddl.DropSchema.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.access.Ddl.DropSchema) derived_);
derived_ = subBuilder.buildPartial();
}
derivedCase_ = 13;
break;
}
case 114: {
cz.proto.access.Ddl.DropCatalog.Builder subBuilder = null;
if (derivedCase_ == 14) {
subBuilder = ((cz.proto.access.Ddl.DropCatalog) derived_).toBuilder();
}
derived_ =
input.readMessage(cz.proto.access.Ddl.DropCatalog.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.access.Ddl.DropCatalog) derived_);
derived_ = subBuilder.buildPartial();
}
derivedCase_ = 14;
break;
}
case 122: {
cz.proto.access.Ddl.DropUser.Builder subBuilder = null;
if (derivedCase_ == 15) {
subBuilder = ((cz.proto.access.Ddl.DropUser) derived_).toBuilder();
}
derived_ =
input.readMessage(cz.proto.access.Ddl.DropUser.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.access.Ddl.DropUser) derived_);
derived_ = subBuilder.buildPartial();
}
derivedCase_ = 15;
break;
}
case 130: {
cz.proto.access.Ddl.DropRole.Builder subBuilder = null;
if (derivedCase_ == 16) {
subBuilder = ((cz.proto.access.Ddl.DropRole) derived_).toBuilder();
}
derived_ =
input.readMessage(cz.proto.access.Ddl.DropRole.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.access.Ddl.DropRole) derived_);
derived_ = subBuilder.buildPartial();
}
derivedCase_ = 16;
break;
}
case 138: {
cz.proto.access.Ddl.DropVCluster.Builder subBuilder = null;
if (derivedCase_ == 17) {
subBuilder = ((cz.proto.access.Ddl.DropVCluster) derived_).toBuilder();
}
derived_ =
input.readMessage(cz.proto.access.Ddl.DropVCluster.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.access.Ddl.DropVCluster) derived_);
derived_ = subBuilder.buildPartial();
}
derivedCase_ = 17;
break;
}
case 146: {
cz.proto.access.Ddl.DropShare.Builder subBuilder = null;
if (derivedCase_ == 18) {
subBuilder = ((cz.proto.access.Ddl.DropShare) derived_).toBuilder();
}
derived_ =
input.readMessage(cz.proto.access.Ddl.DropShare.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.access.Ddl.DropShare) derived_);
derived_ = subBuilder.buildPartial();
}
derivedCase_ = 18;
break;
}
case 154: {
cz.proto.access.Ddl.DropFunction.Builder subBuilder = null;
if (derivedCase_ == 19) {
subBuilder = ((cz.proto.access.Ddl.DropFunction) derived_).toBuilder();
}
derived_ =
input.readMessage(cz.proto.access.Ddl.DropFunction.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.access.Ddl.DropFunction) derived_);
derived_ = subBuilder.buildPartial();
}
derivedCase_ = 19;
break;
}
case 162: {
cz.proto.access.Ddl.DropConnection.Builder subBuilder = null;
if (derivedCase_ == 20) {
subBuilder = ((cz.proto.access.Ddl.DropConnection) derived_).toBuilder();
}
derived_ =
input.readMessage(cz.proto.access.Ddl.DropConnection.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.access.Ddl.DropConnection) derived_);
derived_ = subBuilder.buildPartial();
}
derivedCase_ = 20;
break;
}
case 170: {
cz.proto.access.Ddl.DropLocation.Builder subBuilder = null;
if (derivedCase_ == 21) {
subBuilder = ((cz.proto.access.Ddl.DropLocation) derived_).toBuilder();
}
derived_ =
input.readMessage(cz.proto.access.Ddl.DropLocation.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.access.Ddl.DropLocation) derived_);
derived_ = subBuilder.buildPartial();
}
derivedCase_ = 21;
break;
}
case 178: {
cz.proto.access.Ddl.DropStreamTable.Builder subBuilder = null;
if (derivedCase_ == 22) {
subBuilder = ((cz.proto.access.Ddl.DropStreamTable) derived_).toBuilder();
}
derived_ =
input.readMessage(cz.proto.access.Ddl.DropStreamTable.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.access.Ddl.DropStreamTable) derived_);
derived_ = subBuilder.buildPartial();
}
derivedCase_ = 22;
break;
}
case 186: {
cz.proto.access.Ddl.DropIndex.Builder subBuilder = null;
if (derivedCase_ == 23) {
subBuilder = ((cz.proto.access.Ddl.DropIndex) derived_).toBuilder();
}
derived_ =
input.readMessage(cz.proto.access.Ddl.DropIndex.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.access.Ddl.DropIndex) derived_);
derived_ = subBuilder.buildPartial();
}
derivedCase_ = 23;
break;
}
case 194: {
cz.proto.access.Ddl.DropVolume.Builder subBuilder = null;
if (derivedCase_ == 24) {
subBuilder = ((cz.proto.access.Ddl.DropVolume) derived_).toBuilder();
}
derived_ =
input.readMessage(cz.proto.access.Ddl.DropVolume.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.access.Ddl.DropVolume) derived_);
derived_ = subBuilder.buildPartial();
}
derivedCase_ = 24;
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.access.Ddl.internal_static_cz_proto_access_DropEntity_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropEntity_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.DropEntity.class, cz.proto.access.Ddl.DropEntity.Builder.class);
}
private int derivedCase_ = 0;
private java.lang.Object derived_;
public enum DerivedCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
TABLE(10),
VIEW(11),
MV(12),
SCHEMA(13),
CATALOG(14),
USER(15),
ROLE(16),
VIRTUAL_CLUSTER(17),
SHARE(18),
FUNCTION(19),
CONNECTION(20),
LOCATION(21),
STREAM_TABLE(22),
INDEX(23),
VOLUME(24),
DERIVED_NOT_SET(0);
private final int value;
private DerivedCase(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 DerivedCase valueOf(int value) {
return forNumber(value);
}
public static DerivedCase forNumber(int value) {
switch (value) {
case 10: return TABLE;
case 11: return VIEW;
case 12: return MV;
case 13: return SCHEMA;
case 14: return CATALOG;
case 15: return USER;
case 16: return ROLE;
case 17: return VIRTUAL_CLUSTER;
case 18: return SHARE;
case 19: return FUNCTION;
case 20: return CONNECTION;
case 21: return LOCATION;
case 22: return STREAM_TABLE;
case 23: return INDEX;
case 24: return VOLUME;
case 0: return DERIVED_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public DerivedCase
getDerivedCase() {
return DerivedCase.forNumber(
derivedCase_);
}
public static final int IDENTIFIER_FIELD_NUMBER = 1;
private cz.proto.ObjectIdentifier identifier_;
/**
* .cz.proto.ObjectIdentifier identifier = 1;
* @return Whether the identifier field is set.
*/
@java.lang.Override
public boolean hasIdentifier() {
return identifier_ != null;
}
/**
* .cz.proto.ObjectIdentifier identifier = 1;
* @return The identifier.
*/
@java.lang.Override
public cz.proto.ObjectIdentifier getIdentifier() {
return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_;
}
/**
* .cz.proto.ObjectIdentifier identifier = 1;
*/
@java.lang.Override
public cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder() {
return getIdentifier();
}
public static final int IF_EXISTS_FIELD_NUMBER = 2;
private boolean ifExists_;
/**
* bool if_exists = 2;
* @return The ifExists.
*/
@java.lang.Override
public boolean getIfExists() {
return ifExists_;
}
public static final int DROP_TIME_MS_FIELD_NUMBER = 3;
private long dropTimeMs_;
/**
* int64 drop_time_ms = 3;
* @return The dropTimeMs.
*/
@java.lang.Override
public long getDropTimeMs() {
return dropTimeMs_;
}
public static final int TABLE_FIELD_NUMBER = 10;
/**
* .cz.proto.access.DropTable table = 10;
* @return Whether the table field is set.
*/
@java.lang.Override
public boolean hasTable() {
return derivedCase_ == 10;
}
/**
* .cz.proto.access.DropTable table = 10;
* @return The table.
*/
@java.lang.Override
public cz.proto.access.Ddl.DropTable getTable() {
if (derivedCase_ == 10) {
return (cz.proto.access.Ddl.DropTable) derived_;
}
return cz.proto.access.Ddl.DropTable.getDefaultInstance();
}
/**
* .cz.proto.access.DropTable table = 10;
*/
@java.lang.Override
public cz.proto.access.Ddl.DropTableOrBuilder getTableOrBuilder() {
if (derivedCase_ == 10) {
return (cz.proto.access.Ddl.DropTable) derived_;
}
return cz.proto.access.Ddl.DropTable.getDefaultInstance();
}
public static final int VIEW_FIELD_NUMBER = 11;
/**
* .cz.proto.access.DropView view = 11;
* @return Whether the view field is set.
*/
@java.lang.Override
public boolean hasView() {
return derivedCase_ == 11;
}
/**
* .cz.proto.access.DropView view = 11;
* @return The view.
*/
@java.lang.Override
public cz.proto.access.Ddl.DropView getView() {
if (derivedCase_ == 11) {
return (cz.proto.access.Ddl.DropView) derived_;
}
return cz.proto.access.Ddl.DropView.getDefaultInstance();
}
/**
* .cz.proto.access.DropView view = 11;
*/
@java.lang.Override
public cz.proto.access.Ddl.DropViewOrBuilder getViewOrBuilder() {
if (derivedCase_ == 11) {
return (cz.proto.access.Ddl.DropView) derived_;
}
return cz.proto.access.Ddl.DropView.getDefaultInstance();
}
public static final int MV_FIELD_NUMBER = 12;
/**
* .cz.proto.access.DropMaterializedView mv = 12;
* @return Whether the mv field is set.
*/
@java.lang.Override
public boolean hasMv() {
return derivedCase_ == 12;
}
/**
* .cz.proto.access.DropMaterializedView mv = 12;
* @return The mv.
*/
@java.lang.Override
public cz.proto.access.Ddl.DropMaterializedView getMv() {
if (derivedCase_ == 12) {
return (cz.proto.access.Ddl.DropMaterializedView) derived_;
}
return cz.proto.access.Ddl.DropMaterializedView.getDefaultInstance();
}
/**
* .cz.proto.access.DropMaterializedView mv = 12;
*/
@java.lang.Override
public cz.proto.access.Ddl.DropMaterializedViewOrBuilder getMvOrBuilder() {
if (derivedCase_ == 12) {
return (cz.proto.access.Ddl.DropMaterializedView) derived_;
}
return cz.proto.access.Ddl.DropMaterializedView.getDefaultInstance();
}
public static final int SCHEMA_FIELD_NUMBER = 13;
/**
* .cz.proto.access.DropSchema schema = 13;
* @return Whether the schema field is set.
*/
@java.lang.Override
public boolean hasSchema() {
return derivedCase_ == 13;
}
/**
* .cz.proto.access.DropSchema schema = 13;
* @return The schema.
*/
@java.lang.Override
public cz.proto.access.Ddl.DropSchema getSchema() {
if (derivedCase_ == 13) {
return (cz.proto.access.Ddl.DropSchema) derived_;
}
return cz.proto.access.Ddl.DropSchema.getDefaultInstance();
}
/**
* .cz.proto.access.DropSchema schema = 13;
*/
@java.lang.Override
public cz.proto.access.Ddl.DropSchemaOrBuilder getSchemaOrBuilder() {
if (derivedCase_ == 13) {
return (cz.proto.access.Ddl.DropSchema) derived_;
}
return cz.proto.access.Ddl.DropSchema.getDefaultInstance();
}
public static final int CATALOG_FIELD_NUMBER = 14;
/**
* .cz.proto.access.DropCatalog catalog = 14;
* @return Whether the catalog field is set.
*/
@java.lang.Override
public boolean hasCatalog() {
return derivedCase_ == 14;
}
/**
* .cz.proto.access.DropCatalog catalog = 14;
* @return The catalog.
*/
@java.lang.Override
public cz.proto.access.Ddl.DropCatalog getCatalog() {
if (derivedCase_ == 14) {
return (cz.proto.access.Ddl.DropCatalog) derived_;
}
return cz.proto.access.Ddl.DropCatalog.getDefaultInstance();
}
/**
* .cz.proto.access.DropCatalog catalog = 14;
*/
@java.lang.Override
public cz.proto.access.Ddl.DropCatalogOrBuilder getCatalogOrBuilder() {
if (derivedCase_ == 14) {
return (cz.proto.access.Ddl.DropCatalog) derived_;
}
return cz.proto.access.Ddl.DropCatalog.getDefaultInstance();
}
public static final int USER_FIELD_NUMBER = 15;
/**
* .cz.proto.access.DropUser user = 15;
* @return Whether the user field is set.
*/
@java.lang.Override
public boolean hasUser() {
return derivedCase_ == 15;
}
/**
* .cz.proto.access.DropUser user = 15;
* @return The user.
*/
@java.lang.Override
public cz.proto.access.Ddl.DropUser getUser() {
if (derivedCase_ == 15) {
return (cz.proto.access.Ddl.DropUser) derived_;
}
return cz.proto.access.Ddl.DropUser.getDefaultInstance();
}
/**
* .cz.proto.access.DropUser user = 15;
*/
@java.lang.Override
public cz.proto.access.Ddl.DropUserOrBuilder getUserOrBuilder() {
if (derivedCase_ == 15) {
return (cz.proto.access.Ddl.DropUser) derived_;
}
return cz.proto.access.Ddl.DropUser.getDefaultInstance();
}
public static final int ROLE_FIELD_NUMBER = 16;
/**
* .cz.proto.access.DropRole role = 16;
* @return Whether the role field is set.
*/
@java.lang.Override
public boolean hasRole() {
return derivedCase_ == 16;
}
/**
* .cz.proto.access.DropRole role = 16;
* @return The role.
*/
@java.lang.Override
public cz.proto.access.Ddl.DropRole getRole() {
if (derivedCase_ == 16) {
return (cz.proto.access.Ddl.DropRole) derived_;
}
return cz.proto.access.Ddl.DropRole.getDefaultInstance();
}
/**
* .cz.proto.access.DropRole role = 16;
*/
@java.lang.Override
public cz.proto.access.Ddl.DropRoleOrBuilder getRoleOrBuilder() {
if (derivedCase_ == 16) {
return (cz.proto.access.Ddl.DropRole) derived_;
}
return cz.proto.access.Ddl.DropRole.getDefaultInstance();
}
public static final int VIRTUAL_CLUSTER_FIELD_NUMBER = 17;
/**
* .cz.proto.access.DropVCluster virtual_cluster = 17;
* @return Whether the virtualCluster field is set.
*/
@java.lang.Override
public boolean hasVirtualCluster() {
return derivedCase_ == 17;
}
/**
* .cz.proto.access.DropVCluster virtual_cluster = 17;
* @return The virtualCluster.
*/
@java.lang.Override
public cz.proto.access.Ddl.DropVCluster getVirtualCluster() {
if (derivedCase_ == 17) {
return (cz.proto.access.Ddl.DropVCluster) derived_;
}
return cz.proto.access.Ddl.DropVCluster.getDefaultInstance();
}
/**
* .cz.proto.access.DropVCluster virtual_cluster = 17;
*/
@java.lang.Override
public cz.proto.access.Ddl.DropVClusterOrBuilder getVirtualClusterOrBuilder() {
if (derivedCase_ == 17) {
return (cz.proto.access.Ddl.DropVCluster) derived_;
}
return cz.proto.access.Ddl.DropVCluster.getDefaultInstance();
}
public static final int SHARE_FIELD_NUMBER = 18;
/**
* .cz.proto.access.DropShare share = 18;
* @return Whether the share field is set.
*/
@java.lang.Override
public boolean hasShare() {
return derivedCase_ == 18;
}
/**
* .cz.proto.access.DropShare share = 18;
* @return The share.
*/
@java.lang.Override
public cz.proto.access.Ddl.DropShare getShare() {
if (derivedCase_ == 18) {
return (cz.proto.access.Ddl.DropShare) derived_;
}
return cz.proto.access.Ddl.DropShare.getDefaultInstance();
}
/**
* .cz.proto.access.DropShare share = 18;
*/
@java.lang.Override
public cz.proto.access.Ddl.DropShareOrBuilder getShareOrBuilder() {
if (derivedCase_ == 18) {
return (cz.proto.access.Ddl.DropShare) derived_;
}
return cz.proto.access.Ddl.DropShare.getDefaultInstance();
}
public static final int FUNCTION_FIELD_NUMBER = 19;
/**
* .cz.proto.access.DropFunction function = 19;
* @return Whether the function field is set.
*/
@java.lang.Override
public boolean hasFunction() {
return derivedCase_ == 19;
}
/**
* .cz.proto.access.DropFunction function = 19;
* @return The function.
*/
@java.lang.Override
public cz.proto.access.Ddl.DropFunction getFunction() {
if (derivedCase_ == 19) {
return (cz.proto.access.Ddl.DropFunction) derived_;
}
return cz.proto.access.Ddl.DropFunction.getDefaultInstance();
}
/**
* .cz.proto.access.DropFunction function = 19;
*/
@java.lang.Override
public cz.proto.access.Ddl.DropFunctionOrBuilder getFunctionOrBuilder() {
if (derivedCase_ == 19) {
return (cz.proto.access.Ddl.DropFunction) derived_;
}
return cz.proto.access.Ddl.DropFunction.getDefaultInstance();
}
public static final int CONNECTION_FIELD_NUMBER = 20;
/**
* .cz.proto.access.DropConnection connection = 20;
* @return Whether the connection field is set.
*/
@java.lang.Override
public boolean hasConnection() {
return derivedCase_ == 20;
}
/**
* .cz.proto.access.DropConnection connection = 20;
* @return The connection.
*/
@java.lang.Override
public cz.proto.access.Ddl.DropConnection getConnection() {
if (derivedCase_ == 20) {
return (cz.proto.access.Ddl.DropConnection) derived_;
}
return cz.proto.access.Ddl.DropConnection.getDefaultInstance();
}
/**
* .cz.proto.access.DropConnection connection = 20;
*/
@java.lang.Override
public cz.proto.access.Ddl.DropConnectionOrBuilder getConnectionOrBuilder() {
if (derivedCase_ == 20) {
return (cz.proto.access.Ddl.DropConnection) derived_;
}
return cz.proto.access.Ddl.DropConnection.getDefaultInstance();
}
public static final int LOCATION_FIELD_NUMBER = 21;
/**
* .cz.proto.access.DropLocation location = 21;
* @return Whether the location field is set.
*/
@java.lang.Override
public boolean hasLocation() {
return derivedCase_ == 21;
}
/**
* .cz.proto.access.DropLocation location = 21;
* @return The location.
*/
@java.lang.Override
public cz.proto.access.Ddl.DropLocation getLocation() {
if (derivedCase_ == 21) {
return (cz.proto.access.Ddl.DropLocation) derived_;
}
return cz.proto.access.Ddl.DropLocation.getDefaultInstance();
}
/**
* .cz.proto.access.DropLocation location = 21;
*/
@java.lang.Override
public cz.proto.access.Ddl.DropLocationOrBuilder getLocationOrBuilder() {
if (derivedCase_ == 21) {
return (cz.proto.access.Ddl.DropLocation) derived_;
}
return cz.proto.access.Ddl.DropLocation.getDefaultInstance();
}
public static final int STREAM_TABLE_FIELD_NUMBER = 22;
/**
* .cz.proto.access.DropStreamTable stream_table = 22;
* @return Whether the streamTable field is set.
*/
@java.lang.Override
public boolean hasStreamTable() {
return derivedCase_ == 22;
}
/**
* .cz.proto.access.DropStreamTable stream_table = 22;
* @return The streamTable.
*/
@java.lang.Override
public cz.proto.access.Ddl.DropStreamTable getStreamTable() {
if (derivedCase_ == 22) {
return (cz.proto.access.Ddl.DropStreamTable) derived_;
}
return cz.proto.access.Ddl.DropStreamTable.getDefaultInstance();
}
/**
* .cz.proto.access.DropStreamTable stream_table = 22;
*/
@java.lang.Override
public cz.proto.access.Ddl.DropStreamTableOrBuilder getStreamTableOrBuilder() {
if (derivedCase_ == 22) {
return (cz.proto.access.Ddl.DropStreamTable) derived_;
}
return cz.proto.access.Ddl.DropStreamTable.getDefaultInstance();
}
public static final int INDEX_FIELD_NUMBER = 23;
/**
* .cz.proto.access.DropIndex index = 23;
* @return Whether the index field is set.
*/
@java.lang.Override
public boolean hasIndex() {
return derivedCase_ == 23;
}
/**
* .cz.proto.access.DropIndex index = 23;
* @return The index.
*/
@java.lang.Override
public cz.proto.access.Ddl.DropIndex getIndex() {
if (derivedCase_ == 23) {
return (cz.proto.access.Ddl.DropIndex) derived_;
}
return cz.proto.access.Ddl.DropIndex.getDefaultInstance();
}
/**
* .cz.proto.access.DropIndex index = 23;
*/
@java.lang.Override
public cz.proto.access.Ddl.DropIndexOrBuilder getIndexOrBuilder() {
if (derivedCase_ == 23) {
return (cz.proto.access.Ddl.DropIndex) derived_;
}
return cz.proto.access.Ddl.DropIndex.getDefaultInstance();
}
public static final int VOLUME_FIELD_NUMBER = 24;
/**
* .cz.proto.access.DropVolume volume = 24;
* @return Whether the volume field is set.
*/
@java.lang.Override
public boolean hasVolume() {
return derivedCase_ == 24;
}
/**
* .cz.proto.access.DropVolume volume = 24;
* @return The volume.
*/
@java.lang.Override
public cz.proto.access.Ddl.DropVolume getVolume() {
if (derivedCase_ == 24) {
return (cz.proto.access.Ddl.DropVolume) derived_;
}
return cz.proto.access.Ddl.DropVolume.getDefaultInstance();
}
/**
* .cz.proto.access.DropVolume volume = 24;
*/
@java.lang.Override
public cz.proto.access.Ddl.DropVolumeOrBuilder getVolumeOrBuilder() {
if (derivedCase_ == 24) {
return (cz.proto.access.Ddl.DropVolume) derived_;
}
return cz.proto.access.Ddl.DropVolume.getDefaultInstance();
}
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 (identifier_ != null) {
output.writeMessage(1, getIdentifier());
}
if (ifExists_ != false) {
output.writeBool(2, ifExists_);
}
if (dropTimeMs_ != 0L) {
output.writeInt64(3, dropTimeMs_);
}
if (derivedCase_ == 10) {
output.writeMessage(10, (cz.proto.access.Ddl.DropTable) derived_);
}
if (derivedCase_ == 11) {
output.writeMessage(11, (cz.proto.access.Ddl.DropView) derived_);
}
if (derivedCase_ == 12) {
output.writeMessage(12, (cz.proto.access.Ddl.DropMaterializedView) derived_);
}
if (derivedCase_ == 13) {
output.writeMessage(13, (cz.proto.access.Ddl.DropSchema) derived_);
}
if (derivedCase_ == 14) {
output.writeMessage(14, (cz.proto.access.Ddl.DropCatalog) derived_);
}
if (derivedCase_ == 15) {
output.writeMessage(15, (cz.proto.access.Ddl.DropUser) derived_);
}
if (derivedCase_ == 16) {
output.writeMessage(16, (cz.proto.access.Ddl.DropRole) derived_);
}
if (derivedCase_ == 17) {
output.writeMessage(17, (cz.proto.access.Ddl.DropVCluster) derived_);
}
if (derivedCase_ == 18) {
output.writeMessage(18, (cz.proto.access.Ddl.DropShare) derived_);
}
if (derivedCase_ == 19) {
output.writeMessage(19, (cz.proto.access.Ddl.DropFunction) derived_);
}
if (derivedCase_ == 20) {
output.writeMessage(20, (cz.proto.access.Ddl.DropConnection) derived_);
}
if (derivedCase_ == 21) {
output.writeMessage(21, (cz.proto.access.Ddl.DropLocation) derived_);
}
if (derivedCase_ == 22) {
output.writeMessage(22, (cz.proto.access.Ddl.DropStreamTable) derived_);
}
if (derivedCase_ == 23) {
output.writeMessage(23, (cz.proto.access.Ddl.DropIndex) derived_);
}
if (derivedCase_ == 24) {
output.writeMessage(24, (cz.proto.access.Ddl.DropVolume) derived_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (identifier_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getIdentifier());
}
if (ifExists_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, ifExists_);
}
if (dropTimeMs_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, dropTimeMs_);
}
if (derivedCase_ == 10) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, (cz.proto.access.Ddl.DropTable) derived_);
}
if (derivedCase_ == 11) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, (cz.proto.access.Ddl.DropView) derived_);
}
if (derivedCase_ == 12) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, (cz.proto.access.Ddl.DropMaterializedView) derived_);
}
if (derivedCase_ == 13) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, (cz.proto.access.Ddl.DropSchema) derived_);
}
if (derivedCase_ == 14) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(14, (cz.proto.access.Ddl.DropCatalog) derived_);
}
if (derivedCase_ == 15) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, (cz.proto.access.Ddl.DropUser) derived_);
}
if (derivedCase_ == 16) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(16, (cz.proto.access.Ddl.DropRole) derived_);
}
if (derivedCase_ == 17) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(17, (cz.proto.access.Ddl.DropVCluster) derived_);
}
if (derivedCase_ == 18) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(18, (cz.proto.access.Ddl.DropShare) derived_);
}
if (derivedCase_ == 19) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(19, (cz.proto.access.Ddl.DropFunction) derived_);
}
if (derivedCase_ == 20) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(20, (cz.proto.access.Ddl.DropConnection) derived_);
}
if (derivedCase_ == 21) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(21, (cz.proto.access.Ddl.DropLocation) derived_);
}
if (derivedCase_ == 22) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(22, (cz.proto.access.Ddl.DropStreamTable) derived_);
}
if (derivedCase_ == 23) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(23, (cz.proto.access.Ddl.DropIndex) derived_);
}
if (derivedCase_ == 24) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(24, (cz.proto.access.Ddl.DropVolume) derived_);
}
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.access.Ddl.DropEntity)) {
return super.equals(obj);
}
cz.proto.access.Ddl.DropEntity other = (cz.proto.access.Ddl.DropEntity) obj;
if (hasIdentifier() != other.hasIdentifier()) return false;
if (hasIdentifier()) {
if (!getIdentifier()
.equals(other.getIdentifier())) return false;
}
if (getIfExists()
!= other.getIfExists()) return false;
if (getDropTimeMs()
!= other.getDropTimeMs()) return false;
if (!getDerivedCase().equals(other.getDerivedCase())) return false;
switch (derivedCase_) {
case 10:
if (!getTable()
.equals(other.getTable())) return false;
break;
case 11:
if (!getView()
.equals(other.getView())) return false;
break;
case 12:
if (!getMv()
.equals(other.getMv())) return false;
break;
case 13:
if (!getSchema()
.equals(other.getSchema())) return false;
break;
case 14:
if (!getCatalog()
.equals(other.getCatalog())) return false;
break;
case 15:
if (!getUser()
.equals(other.getUser())) return false;
break;
case 16:
if (!getRole()
.equals(other.getRole())) return false;
break;
case 17:
if (!getVirtualCluster()
.equals(other.getVirtualCluster())) return false;
break;
case 18:
if (!getShare()
.equals(other.getShare())) return false;
break;
case 19:
if (!getFunction()
.equals(other.getFunction())) return false;
break;
case 20:
if (!getConnection()
.equals(other.getConnection())) return false;
break;
case 21:
if (!getLocation()
.equals(other.getLocation())) return false;
break;
case 22:
if (!getStreamTable()
.equals(other.getStreamTable())) return false;
break;
case 23:
if (!getIndex()
.equals(other.getIndex())) return false;
break;
case 24:
if (!getVolume()
.equals(other.getVolume())) 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 (hasIdentifier()) {
hash = (37 * hash) + IDENTIFIER_FIELD_NUMBER;
hash = (53 * hash) + getIdentifier().hashCode();
}
hash = (37 * hash) + IF_EXISTS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIfExists());
hash = (37 * hash) + DROP_TIME_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getDropTimeMs());
switch (derivedCase_) {
case 10:
hash = (37 * hash) + TABLE_FIELD_NUMBER;
hash = (53 * hash) + getTable().hashCode();
break;
case 11:
hash = (37 * hash) + VIEW_FIELD_NUMBER;
hash = (53 * hash) + getView().hashCode();
break;
case 12:
hash = (37 * hash) + MV_FIELD_NUMBER;
hash = (53 * hash) + getMv().hashCode();
break;
case 13:
hash = (37 * hash) + SCHEMA_FIELD_NUMBER;
hash = (53 * hash) + getSchema().hashCode();
break;
case 14:
hash = (37 * hash) + CATALOG_FIELD_NUMBER;
hash = (53 * hash) + getCatalog().hashCode();
break;
case 15:
hash = (37 * hash) + USER_FIELD_NUMBER;
hash = (53 * hash) + getUser().hashCode();
break;
case 16:
hash = (37 * hash) + ROLE_FIELD_NUMBER;
hash = (53 * hash) + getRole().hashCode();
break;
case 17:
hash = (37 * hash) + VIRTUAL_CLUSTER_FIELD_NUMBER;
hash = (53 * hash) + getVirtualCluster().hashCode();
break;
case 18:
hash = (37 * hash) + SHARE_FIELD_NUMBER;
hash = (53 * hash) + getShare().hashCode();
break;
case 19:
hash = (37 * hash) + FUNCTION_FIELD_NUMBER;
hash = (53 * hash) + getFunction().hashCode();
break;
case 20:
hash = (37 * hash) + CONNECTION_FIELD_NUMBER;
hash = (53 * hash) + getConnection().hashCode();
break;
case 21:
hash = (37 * hash) + LOCATION_FIELD_NUMBER;
hash = (53 * hash) + getLocation().hashCode();
break;
case 22:
hash = (37 * hash) + STREAM_TABLE_FIELD_NUMBER;
hash = (53 * hash) + getStreamTable().hashCode();
break;
case 23:
hash = (37 * hash) + INDEX_FIELD_NUMBER;
hash = (53 * hash) + getIndex().hashCode();
break;
case 24:
hash = (37 * hash) + VOLUME_FIELD_NUMBER;
hash = (53 * hash) + getVolume().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.access.Ddl.DropEntity parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropEntity parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.DropEntity parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropEntity 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.access.Ddl.DropEntity parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropEntity parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.DropEntity parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropEntity 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.access.Ddl.DropEntity parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropEntity 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.access.Ddl.DropEntity parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropEntity 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.access.Ddl.DropEntity 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.access.DropEntity}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.access.DropEntity)
cz.proto.access.Ddl.DropEntityOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropEntity_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropEntity_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.DropEntity.class, cz.proto.access.Ddl.DropEntity.Builder.class);
}
// Construct using cz.proto.access.Ddl.DropEntity.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();
if (identifierBuilder_ == null) {
identifier_ = null;
} else {
identifier_ = null;
identifierBuilder_ = null;
}
ifExists_ = false;
dropTimeMs_ = 0L;
derivedCase_ = 0;
derived_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropEntity_descriptor;
}
@java.lang.Override
public cz.proto.access.Ddl.DropEntity getDefaultInstanceForType() {
return cz.proto.access.Ddl.DropEntity.getDefaultInstance();
}
@java.lang.Override
public cz.proto.access.Ddl.DropEntity build() {
cz.proto.access.Ddl.DropEntity result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.access.Ddl.DropEntity buildPartial() {
cz.proto.access.Ddl.DropEntity result = new cz.proto.access.Ddl.DropEntity(this);
if (identifierBuilder_ == null) {
result.identifier_ = identifier_;
} else {
result.identifier_ = identifierBuilder_.build();
}
result.ifExists_ = ifExists_;
result.dropTimeMs_ = dropTimeMs_;
if (derivedCase_ == 10) {
if (tableBuilder_ == null) {
result.derived_ = derived_;
} else {
result.derived_ = tableBuilder_.build();
}
}
if (derivedCase_ == 11) {
if (viewBuilder_ == null) {
result.derived_ = derived_;
} else {
result.derived_ = viewBuilder_.build();
}
}
if (derivedCase_ == 12) {
if (mvBuilder_ == null) {
result.derived_ = derived_;
} else {
result.derived_ = mvBuilder_.build();
}
}
if (derivedCase_ == 13) {
if (schemaBuilder_ == null) {
result.derived_ = derived_;
} else {
result.derived_ = schemaBuilder_.build();
}
}
if (derivedCase_ == 14) {
if (catalogBuilder_ == null) {
result.derived_ = derived_;
} else {
result.derived_ = catalogBuilder_.build();
}
}
if (derivedCase_ == 15) {
if (userBuilder_ == null) {
result.derived_ = derived_;
} else {
result.derived_ = userBuilder_.build();
}
}
if (derivedCase_ == 16) {
if (roleBuilder_ == null) {
result.derived_ = derived_;
} else {
result.derived_ = roleBuilder_.build();
}
}
if (derivedCase_ == 17) {
if (virtualClusterBuilder_ == null) {
result.derived_ = derived_;
} else {
result.derived_ = virtualClusterBuilder_.build();
}
}
if (derivedCase_ == 18) {
if (shareBuilder_ == null) {
result.derived_ = derived_;
} else {
result.derived_ = shareBuilder_.build();
}
}
if (derivedCase_ == 19) {
if (functionBuilder_ == null) {
result.derived_ = derived_;
} else {
result.derived_ = functionBuilder_.build();
}
}
if (derivedCase_ == 20) {
if (connectionBuilder_ == null) {
result.derived_ = derived_;
} else {
result.derived_ = connectionBuilder_.build();
}
}
if (derivedCase_ == 21) {
if (locationBuilder_ == null) {
result.derived_ = derived_;
} else {
result.derived_ = locationBuilder_.build();
}
}
if (derivedCase_ == 22) {
if (streamTableBuilder_ == null) {
result.derived_ = derived_;
} else {
result.derived_ = streamTableBuilder_.build();
}
}
if (derivedCase_ == 23) {
if (indexBuilder_ == null) {
result.derived_ = derived_;
} else {
result.derived_ = indexBuilder_.build();
}
}
if (derivedCase_ == 24) {
if (volumeBuilder_ == null) {
result.derived_ = derived_;
} else {
result.derived_ = volumeBuilder_.build();
}
}
result.derivedCase_ = derivedCase_;
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.access.Ddl.DropEntity) {
return mergeFrom((cz.proto.access.Ddl.DropEntity)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.access.Ddl.DropEntity other) {
if (other == cz.proto.access.Ddl.DropEntity.getDefaultInstance()) return this;
if (other.hasIdentifier()) {
mergeIdentifier(other.getIdentifier());
}
if (other.getIfExists() != false) {
setIfExists(other.getIfExists());
}
if (other.getDropTimeMs() != 0L) {
setDropTimeMs(other.getDropTimeMs());
}
switch (other.getDerivedCase()) {
case TABLE: {
mergeTable(other.getTable());
break;
}
case VIEW: {
mergeView(other.getView());
break;
}
case MV: {
mergeMv(other.getMv());
break;
}
case SCHEMA: {
mergeSchema(other.getSchema());
break;
}
case CATALOG: {
mergeCatalog(other.getCatalog());
break;
}
case USER: {
mergeUser(other.getUser());
break;
}
case ROLE: {
mergeRole(other.getRole());
break;
}
case VIRTUAL_CLUSTER: {
mergeVirtualCluster(other.getVirtualCluster());
break;
}
case SHARE: {
mergeShare(other.getShare());
break;
}
case FUNCTION: {
mergeFunction(other.getFunction());
break;
}
case CONNECTION: {
mergeConnection(other.getConnection());
break;
}
case LOCATION: {
mergeLocation(other.getLocation());
break;
}
case STREAM_TABLE: {
mergeStreamTable(other.getStreamTable());
break;
}
case INDEX: {
mergeIndex(other.getIndex());
break;
}
case VOLUME: {
mergeVolume(other.getVolume());
break;
}
case DERIVED_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.access.Ddl.DropEntity parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.access.Ddl.DropEntity) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int derivedCase_ = 0;
private java.lang.Object derived_;
public DerivedCase
getDerivedCase() {
return DerivedCase.forNumber(
derivedCase_);
}
public Builder clearDerived() {
derivedCase_ = 0;
derived_ = null;
onChanged();
return this;
}
private cz.proto.ObjectIdentifier identifier_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> identifierBuilder_;
/**
* .cz.proto.ObjectIdentifier identifier = 1;
* @return Whether the identifier field is set.
*/
public boolean hasIdentifier() {
return identifierBuilder_ != null || identifier_ != null;
}
/**
* .cz.proto.ObjectIdentifier identifier = 1;
* @return The identifier.
*/
public cz.proto.ObjectIdentifier getIdentifier() {
if (identifierBuilder_ == null) {
return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_;
} else {
return identifierBuilder_.getMessage();
}
}
/**
* .cz.proto.ObjectIdentifier identifier = 1;
*/
public Builder setIdentifier(cz.proto.ObjectIdentifier value) {
if (identifierBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
identifier_ = value;
onChanged();
} else {
identifierBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.ObjectIdentifier identifier = 1;
*/
public Builder setIdentifier(
cz.proto.ObjectIdentifier.Builder builderForValue) {
if (identifierBuilder_ == null) {
identifier_ = builderForValue.build();
onChanged();
} else {
identifierBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.ObjectIdentifier identifier = 1;
*/
public Builder mergeIdentifier(cz.proto.ObjectIdentifier value) {
if (identifierBuilder_ == null) {
if (identifier_ != null) {
identifier_ =
cz.proto.ObjectIdentifier.newBuilder(identifier_).mergeFrom(value).buildPartial();
} else {
identifier_ = value;
}
onChanged();
} else {
identifierBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.ObjectIdentifier identifier = 1;
*/
public Builder clearIdentifier() {
if (identifierBuilder_ == null) {
identifier_ = null;
onChanged();
} else {
identifier_ = null;
identifierBuilder_ = null;
}
return this;
}
/**
* .cz.proto.ObjectIdentifier identifier = 1;
*/
public cz.proto.ObjectIdentifier.Builder getIdentifierBuilder() {
onChanged();
return getIdentifierFieldBuilder().getBuilder();
}
/**
* .cz.proto.ObjectIdentifier identifier = 1;
*/
public cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder() {
if (identifierBuilder_ != null) {
return identifierBuilder_.getMessageOrBuilder();
} else {
return identifier_ == null ?
cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_;
}
}
/**
* .cz.proto.ObjectIdentifier identifier = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>
getIdentifierFieldBuilder() {
if (identifierBuilder_ == null) {
identifierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>(
getIdentifier(),
getParentForChildren(),
isClean());
identifier_ = null;
}
return identifierBuilder_;
}
private boolean ifExists_ ;
/**
* bool if_exists = 2;
* @return The ifExists.
*/
@java.lang.Override
public boolean getIfExists() {
return ifExists_;
}
/**
* bool if_exists = 2;
* @param value The ifExists to set.
* @return This builder for chaining.
*/
public Builder setIfExists(boolean value) {
ifExists_ = value;
onChanged();
return this;
}
/**
* bool if_exists = 2;
* @return This builder for chaining.
*/
public Builder clearIfExists() {
ifExists_ = false;
onChanged();
return this;
}
private long dropTimeMs_ ;
/**
* int64 drop_time_ms = 3;
* @return The dropTimeMs.
*/
@java.lang.Override
public long getDropTimeMs() {
return dropTimeMs_;
}
/**
* int64 drop_time_ms = 3;
* @param value The dropTimeMs to set.
* @return This builder for chaining.
*/
public Builder setDropTimeMs(long value) {
dropTimeMs_ = value;
onChanged();
return this;
}
/**
* int64 drop_time_ms = 3;
* @return This builder for chaining.
*/
public Builder clearDropTimeMs() {
dropTimeMs_ = 0L;
onChanged();
return this;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropTable, cz.proto.access.Ddl.DropTable.Builder, cz.proto.access.Ddl.DropTableOrBuilder> tableBuilder_;
/**
* .cz.proto.access.DropTable table = 10;
* @return Whether the table field is set.
*/
@java.lang.Override
public boolean hasTable() {
return derivedCase_ == 10;
}
/**
* .cz.proto.access.DropTable table = 10;
* @return The table.
*/
@java.lang.Override
public cz.proto.access.Ddl.DropTable getTable() {
if (tableBuilder_ == null) {
if (derivedCase_ == 10) {
return (cz.proto.access.Ddl.DropTable) derived_;
}
return cz.proto.access.Ddl.DropTable.getDefaultInstance();
} else {
if (derivedCase_ == 10) {
return tableBuilder_.getMessage();
}
return cz.proto.access.Ddl.DropTable.getDefaultInstance();
}
}
/**
* .cz.proto.access.DropTable table = 10;
*/
public Builder setTable(cz.proto.access.Ddl.DropTable value) {
if (tableBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
derived_ = value;
onChanged();
} else {
tableBuilder_.setMessage(value);
}
derivedCase_ = 10;
return this;
}
/**
* .cz.proto.access.DropTable table = 10;
*/
public Builder setTable(
cz.proto.access.Ddl.DropTable.Builder builderForValue) {
if (tableBuilder_ == null) {
derived_ = builderForValue.build();
onChanged();
} else {
tableBuilder_.setMessage(builderForValue.build());
}
derivedCase_ = 10;
return this;
}
/**
* .cz.proto.access.DropTable table = 10;
*/
public Builder mergeTable(cz.proto.access.Ddl.DropTable value) {
if (tableBuilder_ == null) {
if (derivedCase_ == 10 &&
derived_ != cz.proto.access.Ddl.DropTable.getDefaultInstance()) {
derived_ = cz.proto.access.Ddl.DropTable.newBuilder((cz.proto.access.Ddl.DropTable) derived_)
.mergeFrom(value).buildPartial();
} else {
derived_ = value;
}
onChanged();
} else {
if (derivedCase_ == 10) {
tableBuilder_.mergeFrom(value);
}
tableBuilder_.setMessage(value);
}
derivedCase_ = 10;
return this;
}
/**
* .cz.proto.access.DropTable table = 10;
*/
public Builder clearTable() {
if (tableBuilder_ == null) {
if (derivedCase_ == 10) {
derivedCase_ = 0;
derived_ = null;
onChanged();
}
} else {
if (derivedCase_ == 10) {
derivedCase_ = 0;
derived_ = null;
}
tableBuilder_.clear();
}
return this;
}
/**
* .cz.proto.access.DropTable table = 10;
*/
public cz.proto.access.Ddl.DropTable.Builder getTableBuilder() {
return getTableFieldBuilder().getBuilder();
}
/**
* .cz.proto.access.DropTable table = 10;
*/
@java.lang.Override
public cz.proto.access.Ddl.DropTableOrBuilder getTableOrBuilder() {
if ((derivedCase_ == 10) && (tableBuilder_ != null)) {
return tableBuilder_.getMessageOrBuilder();
} else {
if (derivedCase_ == 10) {
return (cz.proto.access.Ddl.DropTable) derived_;
}
return cz.proto.access.Ddl.DropTable.getDefaultInstance();
}
}
/**
* .cz.proto.access.DropTable table = 10;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropTable, cz.proto.access.Ddl.DropTable.Builder, cz.proto.access.Ddl.DropTableOrBuilder>
getTableFieldBuilder() {
if (tableBuilder_ == null) {
if (!(derivedCase_ == 10)) {
derived_ = cz.proto.access.Ddl.DropTable.getDefaultInstance();
}
tableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropTable, cz.proto.access.Ddl.DropTable.Builder, cz.proto.access.Ddl.DropTableOrBuilder>(
(cz.proto.access.Ddl.DropTable) derived_,
getParentForChildren(),
isClean());
derived_ = null;
}
derivedCase_ = 10;
onChanged();;
return tableBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropView, cz.proto.access.Ddl.DropView.Builder, cz.proto.access.Ddl.DropViewOrBuilder> viewBuilder_;
/**
* .cz.proto.access.DropView view = 11;
* @return Whether the view field is set.
*/
@java.lang.Override
public boolean hasView() {
return derivedCase_ == 11;
}
/**
* .cz.proto.access.DropView view = 11;
* @return The view.
*/
@java.lang.Override
public cz.proto.access.Ddl.DropView getView() {
if (viewBuilder_ == null) {
if (derivedCase_ == 11) {
return (cz.proto.access.Ddl.DropView) derived_;
}
return cz.proto.access.Ddl.DropView.getDefaultInstance();
} else {
if (derivedCase_ == 11) {
return viewBuilder_.getMessage();
}
return cz.proto.access.Ddl.DropView.getDefaultInstance();
}
}
/**
* .cz.proto.access.DropView view = 11;
*/
public Builder setView(cz.proto.access.Ddl.DropView value) {
if (viewBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
derived_ = value;
onChanged();
} else {
viewBuilder_.setMessage(value);
}
derivedCase_ = 11;
return this;
}
/**
* .cz.proto.access.DropView view = 11;
*/
public Builder setView(
cz.proto.access.Ddl.DropView.Builder builderForValue) {
if (viewBuilder_ == null) {
derived_ = builderForValue.build();
onChanged();
} else {
viewBuilder_.setMessage(builderForValue.build());
}
derivedCase_ = 11;
return this;
}
/**
* .cz.proto.access.DropView view = 11;
*/
public Builder mergeView(cz.proto.access.Ddl.DropView value) {
if (viewBuilder_ == null) {
if (derivedCase_ == 11 &&
derived_ != cz.proto.access.Ddl.DropView.getDefaultInstance()) {
derived_ = cz.proto.access.Ddl.DropView.newBuilder((cz.proto.access.Ddl.DropView) derived_)
.mergeFrom(value).buildPartial();
} else {
derived_ = value;
}
onChanged();
} else {
if (derivedCase_ == 11) {
viewBuilder_.mergeFrom(value);
}
viewBuilder_.setMessage(value);
}
derivedCase_ = 11;
return this;
}
/**
* .cz.proto.access.DropView view = 11;
*/
public Builder clearView() {
if (viewBuilder_ == null) {
if (derivedCase_ == 11) {
derivedCase_ = 0;
derived_ = null;
onChanged();
}
} else {
if (derivedCase_ == 11) {
derivedCase_ = 0;
derived_ = null;
}
viewBuilder_.clear();
}
return this;
}
/**
* .cz.proto.access.DropView view = 11;
*/
public cz.proto.access.Ddl.DropView.Builder getViewBuilder() {
return getViewFieldBuilder().getBuilder();
}
/**
* .cz.proto.access.DropView view = 11;
*/
@java.lang.Override
public cz.proto.access.Ddl.DropViewOrBuilder getViewOrBuilder() {
if ((derivedCase_ == 11) && (viewBuilder_ != null)) {
return viewBuilder_.getMessageOrBuilder();
} else {
if (derivedCase_ == 11) {
return (cz.proto.access.Ddl.DropView) derived_;
}
return cz.proto.access.Ddl.DropView.getDefaultInstance();
}
}
/**
* .cz.proto.access.DropView view = 11;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropView, cz.proto.access.Ddl.DropView.Builder, cz.proto.access.Ddl.DropViewOrBuilder>
getViewFieldBuilder() {
if (viewBuilder_ == null) {
if (!(derivedCase_ == 11)) {
derived_ = cz.proto.access.Ddl.DropView.getDefaultInstance();
}
viewBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropView, cz.proto.access.Ddl.DropView.Builder, cz.proto.access.Ddl.DropViewOrBuilder>(
(cz.proto.access.Ddl.DropView) derived_,
getParentForChildren(),
isClean());
derived_ = null;
}
derivedCase_ = 11;
onChanged();;
return viewBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropMaterializedView, cz.proto.access.Ddl.DropMaterializedView.Builder, cz.proto.access.Ddl.DropMaterializedViewOrBuilder> mvBuilder_;
/**
* .cz.proto.access.DropMaterializedView mv = 12;
* @return Whether the mv field is set.
*/
@java.lang.Override
public boolean hasMv() {
return derivedCase_ == 12;
}
/**
* .cz.proto.access.DropMaterializedView mv = 12;
* @return The mv.
*/
@java.lang.Override
public cz.proto.access.Ddl.DropMaterializedView getMv() {
if (mvBuilder_ == null) {
if (derivedCase_ == 12) {
return (cz.proto.access.Ddl.DropMaterializedView) derived_;
}
return cz.proto.access.Ddl.DropMaterializedView.getDefaultInstance();
} else {
if (derivedCase_ == 12) {
return mvBuilder_.getMessage();
}
return cz.proto.access.Ddl.DropMaterializedView.getDefaultInstance();
}
}
/**
* .cz.proto.access.DropMaterializedView mv = 12;
*/
public Builder setMv(cz.proto.access.Ddl.DropMaterializedView value) {
if (mvBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
derived_ = value;
onChanged();
} else {
mvBuilder_.setMessage(value);
}
derivedCase_ = 12;
return this;
}
/**
* .cz.proto.access.DropMaterializedView mv = 12;
*/
public Builder setMv(
cz.proto.access.Ddl.DropMaterializedView.Builder builderForValue) {
if (mvBuilder_ == null) {
derived_ = builderForValue.build();
onChanged();
} else {
mvBuilder_.setMessage(builderForValue.build());
}
derivedCase_ = 12;
return this;
}
/**
* .cz.proto.access.DropMaterializedView mv = 12;
*/
public Builder mergeMv(cz.proto.access.Ddl.DropMaterializedView value) {
if (mvBuilder_ == null) {
if (derivedCase_ == 12 &&
derived_ != cz.proto.access.Ddl.DropMaterializedView.getDefaultInstance()) {
derived_ = cz.proto.access.Ddl.DropMaterializedView.newBuilder((cz.proto.access.Ddl.DropMaterializedView) derived_)
.mergeFrom(value).buildPartial();
} else {
derived_ = value;
}
onChanged();
} else {
if (derivedCase_ == 12) {
mvBuilder_.mergeFrom(value);
}
mvBuilder_.setMessage(value);
}
derivedCase_ = 12;
return this;
}
/**
* .cz.proto.access.DropMaterializedView mv = 12;
*/
public Builder clearMv() {
if (mvBuilder_ == null) {
if (derivedCase_ == 12) {
derivedCase_ = 0;
derived_ = null;
onChanged();
}
} else {
if (derivedCase_ == 12) {
derivedCase_ = 0;
derived_ = null;
}
mvBuilder_.clear();
}
return this;
}
/**
* .cz.proto.access.DropMaterializedView mv = 12;
*/
public cz.proto.access.Ddl.DropMaterializedView.Builder getMvBuilder() {
return getMvFieldBuilder().getBuilder();
}
/**
* .cz.proto.access.DropMaterializedView mv = 12;
*/
@java.lang.Override
public cz.proto.access.Ddl.DropMaterializedViewOrBuilder getMvOrBuilder() {
if ((derivedCase_ == 12) && (mvBuilder_ != null)) {
return mvBuilder_.getMessageOrBuilder();
} else {
if (derivedCase_ == 12) {
return (cz.proto.access.Ddl.DropMaterializedView) derived_;
}
return cz.proto.access.Ddl.DropMaterializedView.getDefaultInstance();
}
}
/**
* .cz.proto.access.DropMaterializedView mv = 12;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropMaterializedView, cz.proto.access.Ddl.DropMaterializedView.Builder, cz.proto.access.Ddl.DropMaterializedViewOrBuilder>
getMvFieldBuilder() {
if (mvBuilder_ == null) {
if (!(derivedCase_ == 12)) {
derived_ = cz.proto.access.Ddl.DropMaterializedView.getDefaultInstance();
}
mvBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropMaterializedView, cz.proto.access.Ddl.DropMaterializedView.Builder, cz.proto.access.Ddl.DropMaterializedViewOrBuilder>(
(cz.proto.access.Ddl.DropMaterializedView) derived_,
getParentForChildren(),
isClean());
derived_ = null;
}
derivedCase_ = 12;
onChanged();;
return mvBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropSchema, cz.proto.access.Ddl.DropSchema.Builder, cz.proto.access.Ddl.DropSchemaOrBuilder> schemaBuilder_;
/**
* .cz.proto.access.DropSchema schema = 13;
* @return Whether the schema field is set.
*/
@java.lang.Override
public boolean hasSchema() {
return derivedCase_ == 13;
}
/**
* .cz.proto.access.DropSchema schema = 13;
* @return The schema.
*/
@java.lang.Override
public cz.proto.access.Ddl.DropSchema getSchema() {
if (schemaBuilder_ == null) {
if (derivedCase_ == 13) {
return (cz.proto.access.Ddl.DropSchema) derived_;
}
return cz.proto.access.Ddl.DropSchema.getDefaultInstance();
} else {
if (derivedCase_ == 13) {
return schemaBuilder_.getMessage();
}
return cz.proto.access.Ddl.DropSchema.getDefaultInstance();
}
}
/**
* .cz.proto.access.DropSchema schema = 13;
*/
public Builder setSchema(cz.proto.access.Ddl.DropSchema value) {
if (schemaBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
derived_ = value;
onChanged();
} else {
schemaBuilder_.setMessage(value);
}
derivedCase_ = 13;
return this;
}
/**
* .cz.proto.access.DropSchema schema = 13;
*/
public Builder setSchema(
cz.proto.access.Ddl.DropSchema.Builder builderForValue) {
if (schemaBuilder_ == null) {
derived_ = builderForValue.build();
onChanged();
} else {
schemaBuilder_.setMessage(builderForValue.build());
}
derivedCase_ = 13;
return this;
}
/**
* .cz.proto.access.DropSchema schema = 13;
*/
public Builder mergeSchema(cz.proto.access.Ddl.DropSchema value) {
if (schemaBuilder_ == null) {
if (derivedCase_ == 13 &&
derived_ != cz.proto.access.Ddl.DropSchema.getDefaultInstance()) {
derived_ = cz.proto.access.Ddl.DropSchema.newBuilder((cz.proto.access.Ddl.DropSchema) derived_)
.mergeFrom(value).buildPartial();
} else {
derived_ = value;
}
onChanged();
} else {
if (derivedCase_ == 13) {
schemaBuilder_.mergeFrom(value);
}
schemaBuilder_.setMessage(value);
}
derivedCase_ = 13;
return this;
}
/**
* .cz.proto.access.DropSchema schema = 13;
*/
public Builder clearSchema() {
if (schemaBuilder_ == null) {
if (derivedCase_ == 13) {
derivedCase_ = 0;
derived_ = null;
onChanged();
}
} else {
if (derivedCase_ == 13) {
derivedCase_ = 0;
derived_ = null;
}
schemaBuilder_.clear();
}
return this;
}
/**
* .cz.proto.access.DropSchema schema = 13;
*/
public cz.proto.access.Ddl.DropSchema.Builder getSchemaBuilder() {
return getSchemaFieldBuilder().getBuilder();
}
/**
* .cz.proto.access.DropSchema schema = 13;
*/
@java.lang.Override
public cz.proto.access.Ddl.DropSchemaOrBuilder getSchemaOrBuilder() {
if ((derivedCase_ == 13) && (schemaBuilder_ != null)) {
return schemaBuilder_.getMessageOrBuilder();
} else {
if (derivedCase_ == 13) {
return (cz.proto.access.Ddl.DropSchema) derived_;
}
return cz.proto.access.Ddl.DropSchema.getDefaultInstance();
}
}
/**
* .cz.proto.access.DropSchema schema = 13;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropSchema, cz.proto.access.Ddl.DropSchema.Builder, cz.proto.access.Ddl.DropSchemaOrBuilder>
getSchemaFieldBuilder() {
if (schemaBuilder_ == null) {
if (!(derivedCase_ == 13)) {
derived_ = cz.proto.access.Ddl.DropSchema.getDefaultInstance();
}
schemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropSchema, cz.proto.access.Ddl.DropSchema.Builder, cz.proto.access.Ddl.DropSchemaOrBuilder>(
(cz.proto.access.Ddl.DropSchema) derived_,
getParentForChildren(),
isClean());
derived_ = null;
}
derivedCase_ = 13;
onChanged();;
return schemaBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropCatalog, cz.proto.access.Ddl.DropCatalog.Builder, cz.proto.access.Ddl.DropCatalogOrBuilder> catalogBuilder_;
/**
* .cz.proto.access.DropCatalog catalog = 14;
* @return Whether the catalog field is set.
*/
@java.lang.Override
public boolean hasCatalog() {
return derivedCase_ == 14;
}
/**
* .cz.proto.access.DropCatalog catalog = 14;
* @return The catalog.
*/
@java.lang.Override
public cz.proto.access.Ddl.DropCatalog getCatalog() {
if (catalogBuilder_ == null) {
if (derivedCase_ == 14) {
return (cz.proto.access.Ddl.DropCatalog) derived_;
}
return cz.proto.access.Ddl.DropCatalog.getDefaultInstance();
} else {
if (derivedCase_ == 14) {
return catalogBuilder_.getMessage();
}
return cz.proto.access.Ddl.DropCatalog.getDefaultInstance();
}
}
/**
* .cz.proto.access.DropCatalog catalog = 14;
*/
public Builder setCatalog(cz.proto.access.Ddl.DropCatalog value) {
if (catalogBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
derived_ = value;
onChanged();
} else {
catalogBuilder_.setMessage(value);
}
derivedCase_ = 14;
return this;
}
/**
* .cz.proto.access.DropCatalog catalog = 14;
*/
public Builder setCatalog(
cz.proto.access.Ddl.DropCatalog.Builder builderForValue) {
if (catalogBuilder_ == null) {
derived_ = builderForValue.build();
onChanged();
} else {
catalogBuilder_.setMessage(builderForValue.build());
}
derivedCase_ = 14;
return this;
}
/**
* .cz.proto.access.DropCatalog catalog = 14;
*/
public Builder mergeCatalog(cz.proto.access.Ddl.DropCatalog value) {
if (catalogBuilder_ == null) {
if (derivedCase_ == 14 &&
derived_ != cz.proto.access.Ddl.DropCatalog.getDefaultInstance()) {
derived_ = cz.proto.access.Ddl.DropCatalog.newBuilder((cz.proto.access.Ddl.DropCatalog) derived_)
.mergeFrom(value).buildPartial();
} else {
derived_ = value;
}
onChanged();
} else {
if (derivedCase_ == 14) {
catalogBuilder_.mergeFrom(value);
}
catalogBuilder_.setMessage(value);
}
derivedCase_ = 14;
return this;
}
/**
* .cz.proto.access.DropCatalog catalog = 14;
*/
public Builder clearCatalog() {
if (catalogBuilder_ == null) {
if (derivedCase_ == 14) {
derivedCase_ = 0;
derived_ = null;
onChanged();
}
} else {
if (derivedCase_ == 14) {
derivedCase_ = 0;
derived_ = null;
}
catalogBuilder_.clear();
}
return this;
}
/**
* .cz.proto.access.DropCatalog catalog = 14;
*/
public cz.proto.access.Ddl.DropCatalog.Builder getCatalogBuilder() {
return getCatalogFieldBuilder().getBuilder();
}
/**
* .cz.proto.access.DropCatalog catalog = 14;
*/
@java.lang.Override
public cz.proto.access.Ddl.DropCatalogOrBuilder getCatalogOrBuilder() {
if ((derivedCase_ == 14) && (catalogBuilder_ != null)) {
return catalogBuilder_.getMessageOrBuilder();
} else {
if (derivedCase_ == 14) {
return (cz.proto.access.Ddl.DropCatalog) derived_;
}
return cz.proto.access.Ddl.DropCatalog.getDefaultInstance();
}
}
/**
* .cz.proto.access.DropCatalog catalog = 14;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropCatalog, cz.proto.access.Ddl.DropCatalog.Builder, cz.proto.access.Ddl.DropCatalogOrBuilder>
getCatalogFieldBuilder() {
if (catalogBuilder_ == null) {
if (!(derivedCase_ == 14)) {
derived_ = cz.proto.access.Ddl.DropCatalog.getDefaultInstance();
}
catalogBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropCatalog, cz.proto.access.Ddl.DropCatalog.Builder, cz.proto.access.Ddl.DropCatalogOrBuilder>(
(cz.proto.access.Ddl.DropCatalog) derived_,
getParentForChildren(),
isClean());
derived_ = null;
}
derivedCase_ = 14;
onChanged();;
return catalogBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropUser, cz.proto.access.Ddl.DropUser.Builder, cz.proto.access.Ddl.DropUserOrBuilder> userBuilder_;
/**
* .cz.proto.access.DropUser user = 15;
* @return Whether the user field is set.
*/
@java.lang.Override
public boolean hasUser() {
return derivedCase_ == 15;
}
/**
* .cz.proto.access.DropUser user = 15;
* @return The user.
*/
@java.lang.Override
public cz.proto.access.Ddl.DropUser getUser() {
if (userBuilder_ == null) {
if (derivedCase_ == 15) {
return (cz.proto.access.Ddl.DropUser) derived_;
}
return cz.proto.access.Ddl.DropUser.getDefaultInstance();
} else {
if (derivedCase_ == 15) {
return userBuilder_.getMessage();
}
return cz.proto.access.Ddl.DropUser.getDefaultInstance();
}
}
/**
* .cz.proto.access.DropUser user = 15;
*/
public Builder setUser(cz.proto.access.Ddl.DropUser value) {
if (userBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
derived_ = value;
onChanged();
} else {
userBuilder_.setMessage(value);
}
derivedCase_ = 15;
return this;
}
/**
* .cz.proto.access.DropUser user = 15;
*/
public Builder setUser(
cz.proto.access.Ddl.DropUser.Builder builderForValue) {
if (userBuilder_ == null) {
derived_ = builderForValue.build();
onChanged();
} else {
userBuilder_.setMessage(builderForValue.build());
}
derivedCase_ = 15;
return this;
}
/**
* .cz.proto.access.DropUser user = 15;
*/
public Builder mergeUser(cz.proto.access.Ddl.DropUser value) {
if (userBuilder_ == null) {
if (derivedCase_ == 15 &&
derived_ != cz.proto.access.Ddl.DropUser.getDefaultInstance()) {
derived_ = cz.proto.access.Ddl.DropUser.newBuilder((cz.proto.access.Ddl.DropUser) derived_)
.mergeFrom(value).buildPartial();
} else {
derived_ = value;
}
onChanged();
} else {
if (derivedCase_ == 15) {
userBuilder_.mergeFrom(value);
}
userBuilder_.setMessage(value);
}
derivedCase_ = 15;
return this;
}
/**
* .cz.proto.access.DropUser user = 15;
*/
public Builder clearUser() {
if (userBuilder_ == null) {
if (derivedCase_ == 15) {
derivedCase_ = 0;
derived_ = null;
onChanged();
}
} else {
if (derivedCase_ == 15) {
derivedCase_ = 0;
derived_ = null;
}
userBuilder_.clear();
}
return this;
}
/**
* .cz.proto.access.DropUser user = 15;
*/
public cz.proto.access.Ddl.DropUser.Builder getUserBuilder() {
return getUserFieldBuilder().getBuilder();
}
/**
* .cz.proto.access.DropUser user = 15;
*/
@java.lang.Override
public cz.proto.access.Ddl.DropUserOrBuilder getUserOrBuilder() {
if ((derivedCase_ == 15) && (userBuilder_ != null)) {
return userBuilder_.getMessageOrBuilder();
} else {
if (derivedCase_ == 15) {
return (cz.proto.access.Ddl.DropUser) derived_;
}
return cz.proto.access.Ddl.DropUser.getDefaultInstance();
}
}
/**
* .cz.proto.access.DropUser user = 15;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropUser, cz.proto.access.Ddl.DropUser.Builder, cz.proto.access.Ddl.DropUserOrBuilder>
getUserFieldBuilder() {
if (userBuilder_ == null) {
if (!(derivedCase_ == 15)) {
derived_ = cz.proto.access.Ddl.DropUser.getDefaultInstance();
}
userBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropUser, cz.proto.access.Ddl.DropUser.Builder, cz.proto.access.Ddl.DropUserOrBuilder>(
(cz.proto.access.Ddl.DropUser) derived_,
getParentForChildren(),
isClean());
derived_ = null;
}
derivedCase_ = 15;
onChanged();;
return userBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropRole, cz.proto.access.Ddl.DropRole.Builder, cz.proto.access.Ddl.DropRoleOrBuilder> roleBuilder_;
/**
* .cz.proto.access.DropRole role = 16;
* @return Whether the role field is set.
*/
@java.lang.Override
public boolean hasRole() {
return derivedCase_ == 16;
}
/**
* .cz.proto.access.DropRole role = 16;
* @return The role.
*/
@java.lang.Override
public cz.proto.access.Ddl.DropRole getRole() {
if (roleBuilder_ == null) {
if (derivedCase_ == 16) {
return (cz.proto.access.Ddl.DropRole) derived_;
}
return cz.proto.access.Ddl.DropRole.getDefaultInstance();
} else {
if (derivedCase_ == 16) {
return roleBuilder_.getMessage();
}
return cz.proto.access.Ddl.DropRole.getDefaultInstance();
}
}
/**
* .cz.proto.access.DropRole role = 16;
*/
public Builder setRole(cz.proto.access.Ddl.DropRole value) {
if (roleBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
derived_ = value;
onChanged();
} else {
roleBuilder_.setMessage(value);
}
derivedCase_ = 16;
return this;
}
/**
* .cz.proto.access.DropRole role = 16;
*/
public Builder setRole(
cz.proto.access.Ddl.DropRole.Builder builderForValue) {
if (roleBuilder_ == null) {
derived_ = builderForValue.build();
onChanged();
} else {
roleBuilder_.setMessage(builderForValue.build());
}
derivedCase_ = 16;
return this;
}
/**
* .cz.proto.access.DropRole role = 16;
*/
public Builder mergeRole(cz.proto.access.Ddl.DropRole value) {
if (roleBuilder_ == null) {
if (derivedCase_ == 16 &&
derived_ != cz.proto.access.Ddl.DropRole.getDefaultInstance()) {
derived_ = cz.proto.access.Ddl.DropRole.newBuilder((cz.proto.access.Ddl.DropRole) derived_)
.mergeFrom(value).buildPartial();
} else {
derived_ = value;
}
onChanged();
} else {
if (derivedCase_ == 16) {
roleBuilder_.mergeFrom(value);
}
roleBuilder_.setMessage(value);
}
derivedCase_ = 16;
return this;
}
/**
* .cz.proto.access.DropRole role = 16;
*/
public Builder clearRole() {
if (roleBuilder_ == null) {
if (derivedCase_ == 16) {
derivedCase_ = 0;
derived_ = null;
onChanged();
}
} else {
if (derivedCase_ == 16) {
derivedCase_ = 0;
derived_ = null;
}
roleBuilder_.clear();
}
return this;
}
/**
* .cz.proto.access.DropRole role = 16;
*/
public cz.proto.access.Ddl.DropRole.Builder getRoleBuilder() {
return getRoleFieldBuilder().getBuilder();
}
/**
* .cz.proto.access.DropRole role = 16;
*/
@java.lang.Override
public cz.proto.access.Ddl.DropRoleOrBuilder getRoleOrBuilder() {
if ((derivedCase_ == 16) && (roleBuilder_ != null)) {
return roleBuilder_.getMessageOrBuilder();
} else {
if (derivedCase_ == 16) {
return (cz.proto.access.Ddl.DropRole) derived_;
}
return cz.proto.access.Ddl.DropRole.getDefaultInstance();
}
}
/**
* .cz.proto.access.DropRole role = 16;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropRole, cz.proto.access.Ddl.DropRole.Builder, cz.proto.access.Ddl.DropRoleOrBuilder>
getRoleFieldBuilder() {
if (roleBuilder_ == null) {
if (!(derivedCase_ == 16)) {
derived_ = cz.proto.access.Ddl.DropRole.getDefaultInstance();
}
roleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropRole, cz.proto.access.Ddl.DropRole.Builder, cz.proto.access.Ddl.DropRoleOrBuilder>(
(cz.proto.access.Ddl.DropRole) derived_,
getParentForChildren(),
isClean());
derived_ = null;
}
derivedCase_ = 16;
onChanged();;
return roleBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropVCluster, cz.proto.access.Ddl.DropVCluster.Builder, cz.proto.access.Ddl.DropVClusterOrBuilder> virtualClusterBuilder_;
/**
* .cz.proto.access.DropVCluster virtual_cluster = 17;
* @return Whether the virtualCluster field is set.
*/
@java.lang.Override
public boolean hasVirtualCluster() {
return derivedCase_ == 17;
}
/**
* .cz.proto.access.DropVCluster virtual_cluster = 17;
* @return The virtualCluster.
*/
@java.lang.Override
public cz.proto.access.Ddl.DropVCluster getVirtualCluster() {
if (virtualClusterBuilder_ == null) {
if (derivedCase_ == 17) {
return (cz.proto.access.Ddl.DropVCluster) derived_;
}
return cz.proto.access.Ddl.DropVCluster.getDefaultInstance();
} else {
if (derivedCase_ == 17) {
return virtualClusterBuilder_.getMessage();
}
return cz.proto.access.Ddl.DropVCluster.getDefaultInstance();
}
}
/**
* .cz.proto.access.DropVCluster virtual_cluster = 17;
*/
public Builder setVirtualCluster(cz.proto.access.Ddl.DropVCluster value) {
if (virtualClusterBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
derived_ = value;
onChanged();
} else {
virtualClusterBuilder_.setMessage(value);
}
derivedCase_ = 17;
return this;
}
/**
* .cz.proto.access.DropVCluster virtual_cluster = 17;
*/
public Builder setVirtualCluster(
cz.proto.access.Ddl.DropVCluster.Builder builderForValue) {
if (virtualClusterBuilder_ == null) {
derived_ = builderForValue.build();
onChanged();
} else {
virtualClusterBuilder_.setMessage(builderForValue.build());
}
derivedCase_ = 17;
return this;
}
/**
* .cz.proto.access.DropVCluster virtual_cluster = 17;
*/
public Builder mergeVirtualCluster(cz.proto.access.Ddl.DropVCluster value) {
if (virtualClusterBuilder_ == null) {
if (derivedCase_ == 17 &&
derived_ != cz.proto.access.Ddl.DropVCluster.getDefaultInstance()) {
derived_ = cz.proto.access.Ddl.DropVCluster.newBuilder((cz.proto.access.Ddl.DropVCluster) derived_)
.mergeFrom(value).buildPartial();
} else {
derived_ = value;
}
onChanged();
} else {
if (derivedCase_ == 17) {
virtualClusterBuilder_.mergeFrom(value);
}
virtualClusterBuilder_.setMessage(value);
}
derivedCase_ = 17;
return this;
}
/**
* .cz.proto.access.DropVCluster virtual_cluster = 17;
*/
public Builder clearVirtualCluster() {
if (virtualClusterBuilder_ == null) {
if (derivedCase_ == 17) {
derivedCase_ = 0;
derived_ = null;
onChanged();
}
} else {
if (derivedCase_ == 17) {
derivedCase_ = 0;
derived_ = null;
}
virtualClusterBuilder_.clear();
}
return this;
}
/**
* .cz.proto.access.DropVCluster virtual_cluster = 17;
*/
public cz.proto.access.Ddl.DropVCluster.Builder getVirtualClusterBuilder() {
return getVirtualClusterFieldBuilder().getBuilder();
}
/**
* .cz.proto.access.DropVCluster virtual_cluster = 17;
*/
@java.lang.Override
public cz.proto.access.Ddl.DropVClusterOrBuilder getVirtualClusterOrBuilder() {
if ((derivedCase_ == 17) && (virtualClusterBuilder_ != null)) {
return virtualClusterBuilder_.getMessageOrBuilder();
} else {
if (derivedCase_ == 17) {
return (cz.proto.access.Ddl.DropVCluster) derived_;
}
return cz.proto.access.Ddl.DropVCluster.getDefaultInstance();
}
}
/**
* .cz.proto.access.DropVCluster virtual_cluster = 17;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropVCluster, cz.proto.access.Ddl.DropVCluster.Builder, cz.proto.access.Ddl.DropVClusterOrBuilder>
getVirtualClusterFieldBuilder() {
if (virtualClusterBuilder_ == null) {
if (!(derivedCase_ == 17)) {
derived_ = cz.proto.access.Ddl.DropVCluster.getDefaultInstance();
}
virtualClusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropVCluster, cz.proto.access.Ddl.DropVCluster.Builder, cz.proto.access.Ddl.DropVClusterOrBuilder>(
(cz.proto.access.Ddl.DropVCluster) derived_,
getParentForChildren(),
isClean());
derived_ = null;
}
derivedCase_ = 17;
onChanged();;
return virtualClusterBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropShare, cz.proto.access.Ddl.DropShare.Builder, cz.proto.access.Ddl.DropShareOrBuilder> shareBuilder_;
/**
* .cz.proto.access.DropShare share = 18;
* @return Whether the share field is set.
*/
@java.lang.Override
public boolean hasShare() {
return derivedCase_ == 18;
}
/**
* .cz.proto.access.DropShare share = 18;
* @return The share.
*/
@java.lang.Override
public cz.proto.access.Ddl.DropShare getShare() {
if (shareBuilder_ == null) {
if (derivedCase_ == 18) {
return (cz.proto.access.Ddl.DropShare) derived_;
}
return cz.proto.access.Ddl.DropShare.getDefaultInstance();
} else {
if (derivedCase_ == 18) {
return shareBuilder_.getMessage();
}
return cz.proto.access.Ddl.DropShare.getDefaultInstance();
}
}
/**
* .cz.proto.access.DropShare share = 18;
*/
public Builder setShare(cz.proto.access.Ddl.DropShare value) {
if (shareBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
derived_ = value;
onChanged();
} else {
shareBuilder_.setMessage(value);
}
derivedCase_ = 18;
return this;
}
/**
* .cz.proto.access.DropShare share = 18;
*/
public Builder setShare(
cz.proto.access.Ddl.DropShare.Builder builderForValue) {
if (shareBuilder_ == null) {
derived_ = builderForValue.build();
onChanged();
} else {
shareBuilder_.setMessage(builderForValue.build());
}
derivedCase_ = 18;
return this;
}
/**
* .cz.proto.access.DropShare share = 18;
*/
public Builder mergeShare(cz.proto.access.Ddl.DropShare value) {
if (shareBuilder_ == null) {
if (derivedCase_ == 18 &&
derived_ != cz.proto.access.Ddl.DropShare.getDefaultInstance()) {
derived_ = cz.proto.access.Ddl.DropShare.newBuilder((cz.proto.access.Ddl.DropShare) derived_)
.mergeFrom(value).buildPartial();
} else {
derived_ = value;
}
onChanged();
} else {
if (derivedCase_ == 18) {
shareBuilder_.mergeFrom(value);
}
shareBuilder_.setMessage(value);
}
derivedCase_ = 18;
return this;
}
/**
* .cz.proto.access.DropShare share = 18;
*/
public Builder clearShare() {
if (shareBuilder_ == null) {
if (derivedCase_ == 18) {
derivedCase_ = 0;
derived_ = null;
onChanged();
}
} else {
if (derivedCase_ == 18) {
derivedCase_ = 0;
derived_ = null;
}
shareBuilder_.clear();
}
return this;
}
/**
* .cz.proto.access.DropShare share = 18;
*/
public cz.proto.access.Ddl.DropShare.Builder getShareBuilder() {
return getShareFieldBuilder().getBuilder();
}
/**
* .cz.proto.access.DropShare share = 18;
*/
@java.lang.Override
public cz.proto.access.Ddl.DropShareOrBuilder getShareOrBuilder() {
if ((derivedCase_ == 18) && (shareBuilder_ != null)) {
return shareBuilder_.getMessageOrBuilder();
} else {
if (derivedCase_ == 18) {
return (cz.proto.access.Ddl.DropShare) derived_;
}
return cz.proto.access.Ddl.DropShare.getDefaultInstance();
}
}
/**
* .cz.proto.access.DropShare share = 18;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropShare, cz.proto.access.Ddl.DropShare.Builder, cz.proto.access.Ddl.DropShareOrBuilder>
getShareFieldBuilder() {
if (shareBuilder_ == null) {
if (!(derivedCase_ == 18)) {
derived_ = cz.proto.access.Ddl.DropShare.getDefaultInstance();
}
shareBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropShare, cz.proto.access.Ddl.DropShare.Builder, cz.proto.access.Ddl.DropShareOrBuilder>(
(cz.proto.access.Ddl.DropShare) derived_,
getParentForChildren(),
isClean());
derived_ = null;
}
derivedCase_ = 18;
onChanged();;
return shareBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropFunction, cz.proto.access.Ddl.DropFunction.Builder, cz.proto.access.Ddl.DropFunctionOrBuilder> functionBuilder_;
/**
* .cz.proto.access.DropFunction function = 19;
* @return Whether the function field is set.
*/
@java.lang.Override
public boolean hasFunction() {
return derivedCase_ == 19;
}
/**
* .cz.proto.access.DropFunction function = 19;
* @return The function.
*/
@java.lang.Override
public cz.proto.access.Ddl.DropFunction getFunction() {
if (functionBuilder_ == null) {
if (derivedCase_ == 19) {
return (cz.proto.access.Ddl.DropFunction) derived_;
}
return cz.proto.access.Ddl.DropFunction.getDefaultInstance();
} else {
if (derivedCase_ == 19) {
return functionBuilder_.getMessage();
}
return cz.proto.access.Ddl.DropFunction.getDefaultInstance();
}
}
/**
* .cz.proto.access.DropFunction function = 19;
*/
public Builder setFunction(cz.proto.access.Ddl.DropFunction value) {
if (functionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
derived_ = value;
onChanged();
} else {
functionBuilder_.setMessage(value);
}
derivedCase_ = 19;
return this;
}
/**
* .cz.proto.access.DropFunction function = 19;
*/
public Builder setFunction(
cz.proto.access.Ddl.DropFunction.Builder builderForValue) {
if (functionBuilder_ == null) {
derived_ = builderForValue.build();
onChanged();
} else {
functionBuilder_.setMessage(builderForValue.build());
}
derivedCase_ = 19;
return this;
}
/**
* .cz.proto.access.DropFunction function = 19;
*/
public Builder mergeFunction(cz.proto.access.Ddl.DropFunction value) {
if (functionBuilder_ == null) {
if (derivedCase_ == 19 &&
derived_ != cz.proto.access.Ddl.DropFunction.getDefaultInstance()) {
derived_ = cz.proto.access.Ddl.DropFunction.newBuilder((cz.proto.access.Ddl.DropFunction) derived_)
.mergeFrom(value).buildPartial();
} else {
derived_ = value;
}
onChanged();
} else {
if (derivedCase_ == 19) {
functionBuilder_.mergeFrom(value);
}
functionBuilder_.setMessage(value);
}
derivedCase_ = 19;
return this;
}
/**
* .cz.proto.access.DropFunction function = 19;
*/
public Builder clearFunction() {
if (functionBuilder_ == null) {
if (derivedCase_ == 19) {
derivedCase_ = 0;
derived_ = null;
onChanged();
}
} else {
if (derivedCase_ == 19) {
derivedCase_ = 0;
derived_ = null;
}
functionBuilder_.clear();
}
return this;
}
/**
* .cz.proto.access.DropFunction function = 19;
*/
public cz.proto.access.Ddl.DropFunction.Builder getFunctionBuilder() {
return getFunctionFieldBuilder().getBuilder();
}
/**
* .cz.proto.access.DropFunction function = 19;
*/
@java.lang.Override
public cz.proto.access.Ddl.DropFunctionOrBuilder getFunctionOrBuilder() {
if ((derivedCase_ == 19) && (functionBuilder_ != null)) {
return functionBuilder_.getMessageOrBuilder();
} else {
if (derivedCase_ == 19) {
return (cz.proto.access.Ddl.DropFunction) derived_;
}
return cz.proto.access.Ddl.DropFunction.getDefaultInstance();
}
}
/**
* .cz.proto.access.DropFunction function = 19;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropFunction, cz.proto.access.Ddl.DropFunction.Builder, cz.proto.access.Ddl.DropFunctionOrBuilder>
getFunctionFieldBuilder() {
if (functionBuilder_ == null) {
if (!(derivedCase_ == 19)) {
derived_ = cz.proto.access.Ddl.DropFunction.getDefaultInstance();
}
functionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropFunction, cz.proto.access.Ddl.DropFunction.Builder, cz.proto.access.Ddl.DropFunctionOrBuilder>(
(cz.proto.access.Ddl.DropFunction) derived_,
getParentForChildren(),
isClean());
derived_ = null;
}
derivedCase_ = 19;
onChanged();;
return functionBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropConnection, cz.proto.access.Ddl.DropConnection.Builder, cz.proto.access.Ddl.DropConnectionOrBuilder> connectionBuilder_;
/**
* .cz.proto.access.DropConnection connection = 20;
* @return Whether the connection field is set.
*/
@java.lang.Override
public boolean hasConnection() {
return derivedCase_ == 20;
}
/**
* .cz.proto.access.DropConnection connection = 20;
* @return The connection.
*/
@java.lang.Override
public cz.proto.access.Ddl.DropConnection getConnection() {
if (connectionBuilder_ == null) {
if (derivedCase_ == 20) {
return (cz.proto.access.Ddl.DropConnection) derived_;
}
return cz.proto.access.Ddl.DropConnection.getDefaultInstance();
} else {
if (derivedCase_ == 20) {
return connectionBuilder_.getMessage();
}
return cz.proto.access.Ddl.DropConnection.getDefaultInstance();
}
}
/**
* .cz.proto.access.DropConnection connection = 20;
*/
public Builder setConnection(cz.proto.access.Ddl.DropConnection value) {
if (connectionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
derived_ = value;
onChanged();
} else {
connectionBuilder_.setMessage(value);
}
derivedCase_ = 20;
return this;
}
/**
* .cz.proto.access.DropConnection connection = 20;
*/
public Builder setConnection(
cz.proto.access.Ddl.DropConnection.Builder builderForValue) {
if (connectionBuilder_ == null) {
derived_ = builderForValue.build();
onChanged();
} else {
connectionBuilder_.setMessage(builderForValue.build());
}
derivedCase_ = 20;
return this;
}
/**
* .cz.proto.access.DropConnection connection = 20;
*/
public Builder mergeConnection(cz.proto.access.Ddl.DropConnection value) {
if (connectionBuilder_ == null) {
if (derivedCase_ == 20 &&
derived_ != cz.proto.access.Ddl.DropConnection.getDefaultInstance()) {
derived_ = cz.proto.access.Ddl.DropConnection.newBuilder((cz.proto.access.Ddl.DropConnection) derived_)
.mergeFrom(value).buildPartial();
} else {
derived_ = value;
}
onChanged();
} else {
if (derivedCase_ == 20) {
connectionBuilder_.mergeFrom(value);
}
connectionBuilder_.setMessage(value);
}
derivedCase_ = 20;
return this;
}
/**
* .cz.proto.access.DropConnection connection = 20;
*/
public Builder clearConnection() {
if (connectionBuilder_ == null) {
if (derivedCase_ == 20) {
derivedCase_ = 0;
derived_ = null;
onChanged();
}
} else {
if (derivedCase_ == 20) {
derivedCase_ = 0;
derived_ = null;
}
connectionBuilder_.clear();
}
return this;
}
/**
* .cz.proto.access.DropConnection connection = 20;
*/
public cz.proto.access.Ddl.DropConnection.Builder getConnectionBuilder() {
return getConnectionFieldBuilder().getBuilder();
}
/**
* .cz.proto.access.DropConnection connection = 20;
*/
@java.lang.Override
public cz.proto.access.Ddl.DropConnectionOrBuilder getConnectionOrBuilder() {
if ((derivedCase_ == 20) && (connectionBuilder_ != null)) {
return connectionBuilder_.getMessageOrBuilder();
} else {
if (derivedCase_ == 20) {
return (cz.proto.access.Ddl.DropConnection) derived_;
}
return cz.proto.access.Ddl.DropConnection.getDefaultInstance();
}
}
/**
* .cz.proto.access.DropConnection connection = 20;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropConnection, cz.proto.access.Ddl.DropConnection.Builder, cz.proto.access.Ddl.DropConnectionOrBuilder>
getConnectionFieldBuilder() {
if (connectionBuilder_ == null) {
if (!(derivedCase_ == 20)) {
derived_ = cz.proto.access.Ddl.DropConnection.getDefaultInstance();
}
connectionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropConnection, cz.proto.access.Ddl.DropConnection.Builder, cz.proto.access.Ddl.DropConnectionOrBuilder>(
(cz.proto.access.Ddl.DropConnection) derived_,
getParentForChildren(),
isClean());
derived_ = null;
}
derivedCase_ = 20;
onChanged();;
return connectionBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropLocation, cz.proto.access.Ddl.DropLocation.Builder, cz.proto.access.Ddl.DropLocationOrBuilder> locationBuilder_;
/**
* .cz.proto.access.DropLocation location = 21;
* @return Whether the location field is set.
*/
@java.lang.Override
public boolean hasLocation() {
return derivedCase_ == 21;
}
/**
* .cz.proto.access.DropLocation location = 21;
* @return The location.
*/
@java.lang.Override
public cz.proto.access.Ddl.DropLocation getLocation() {
if (locationBuilder_ == null) {
if (derivedCase_ == 21) {
return (cz.proto.access.Ddl.DropLocation) derived_;
}
return cz.proto.access.Ddl.DropLocation.getDefaultInstance();
} else {
if (derivedCase_ == 21) {
return locationBuilder_.getMessage();
}
return cz.proto.access.Ddl.DropLocation.getDefaultInstance();
}
}
/**
* .cz.proto.access.DropLocation location = 21;
*/
public Builder setLocation(cz.proto.access.Ddl.DropLocation value) {
if (locationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
derived_ = value;
onChanged();
} else {
locationBuilder_.setMessage(value);
}
derivedCase_ = 21;
return this;
}
/**
* .cz.proto.access.DropLocation location = 21;
*/
public Builder setLocation(
cz.proto.access.Ddl.DropLocation.Builder builderForValue) {
if (locationBuilder_ == null) {
derived_ = builderForValue.build();
onChanged();
} else {
locationBuilder_.setMessage(builderForValue.build());
}
derivedCase_ = 21;
return this;
}
/**
* .cz.proto.access.DropLocation location = 21;
*/
public Builder mergeLocation(cz.proto.access.Ddl.DropLocation value) {
if (locationBuilder_ == null) {
if (derivedCase_ == 21 &&
derived_ != cz.proto.access.Ddl.DropLocation.getDefaultInstance()) {
derived_ = cz.proto.access.Ddl.DropLocation.newBuilder((cz.proto.access.Ddl.DropLocation) derived_)
.mergeFrom(value).buildPartial();
} else {
derived_ = value;
}
onChanged();
} else {
if (derivedCase_ == 21) {
locationBuilder_.mergeFrom(value);
}
locationBuilder_.setMessage(value);
}
derivedCase_ = 21;
return this;
}
/**
* .cz.proto.access.DropLocation location = 21;
*/
public Builder clearLocation() {
if (locationBuilder_ == null) {
if (derivedCase_ == 21) {
derivedCase_ = 0;
derived_ = null;
onChanged();
}
} else {
if (derivedCase_ == 21) {
derivedCase_ = 0;
derived_ = null;
}
locationBuilder_.clear();
}
return this;
}
/**
* .cz.proto.access.DropLocation location = 21;
*/
public cz.proto.access.Ddl.DropLocation.Builder getLocationBuilder() {
return getLocationFieldBuilder().getBuilder();
}
/**
* .cz.proto.access.DropLocation location = 21;
*/
@java.lang.Override
public cz.proto.access.Ddl.DropLocationOrBuilder getLocationOrBuilder() {
if ((derivedCase_ == 21) && (locationBuilder_ != null)) {
return locationBuilder_.getMessageOrBuilder();
} else {
if (derivedCase_ == 21) {
return (cz.proto.access.Ddl.DropLocation) derived_;
}
return cz.proto.access.Ddl.DropLocation.getDefaultInstance();
}
}
/**
* .cz.proto.access.DropLocation location = 21;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropLocation, cz.proto.access.Ddl.DropLocation.Builder, cz.proto.access.Ddl.DropLocationOrBuilder>
getLocationFieldBuilder() {
if (locationBuilder_ == null) {
if (!(derivedCase_ == 21)) {
derived_ = cz.proto.access.Ddl.DropLocation.getDefaultInstance();
}
locationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropLocation, cz.proto.access.Ddl.DropLocation.Builder, cz.proto.access.Ddl.DropLocationOrBuilder>(
(cz.proto.access.Ddl.DropLocation) derived_,
getParentForChildren(),
isClean());
derived_ = null;
}
derivedCase_ = 21;
onChanged();;
return locationBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropStreamTable, cz.proto.access.Ddl.DropStreamTable.Builder, cz.proto.access.Ddl.DropStreamTableOrBuilder> streamTableBuilder_;
/**
* .cz.proto.access.DropStreamTable stream_table = 22;
* @return Whether the streamTable field is set.
*/
@java.lang.Override
public boolean hasStreamTable() {
return derivedCase_ == 22;
}
/**
* .cz.proto.access.DropStreamTable stream_table = 22;
* @return The streamTable.
*/
@java.lang.Override
public cz.proto.access.Ddl.DropStreamTable getStreamTable() {
if (streamTableBuilder_ == null) {
if (derivedCase_ == 22) {
return (cz.proto.access.Ddl.DropStreamTable) derived_;
}
return cz.proto.access.Ddl.DropStreamTable.getDefaultInstance();
} else {
if (derivedCase_ == 22) {
return streamTableBuilder_.getMessage();
}
return cz.proto.access.Ddl.DropStreamTable.getDefaultInstance();
}
}
/**
* .cz.proto.access.DropStreamTable stream_table = 22;
*/
public Builder setStreamTable(cz.proto.access.Ddl.DropStreamTable value) {
if (streamTableBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
derived_ = value;
onChanged();
} else {
streamTableBuilder_.setMessage(value);
}
derivedCase_ = 22;
return this;
}
/**
* .cz.proto.access.DropStreamTable stream_table = 22;
*/
public Builder setStreamTable(
cz.proto.access.Ddl.DropStreamTable.Builder builderForValue) {
if (streamTableBuilder_ == null) {
derived_ = builderForValue.build();
onChanged();
} else {
streamTableBuilder_.setMessage(builderForValue.build());
}
derivedCase_ = 22;
return this;
}
/**
* .cz.proto.access.DropStreamTable stream_table = 22;
*/
public Builder mergeStreamTable(cz.proto.access.Ddl.DropStreamTable value) {
if (streamTableBuilder_ == null) {
if (derivedCase_ == 22 &&
derived_ != cz.proto.access.Ddl.DropStreamTable.getDefaultInstance()) {
derived_ = cz.proto.access.Ddl.DropStreamTable.newBuilder((cz.proto.access.Ddl.DropStreamTable) derived_)
.mergeFrom(value).buildPartial();
} else {
derived_ = value;
}
onChanged();
} else {
if (derivedCase_ == 22) {
streamTableBuilder_.mergeFrom(value);
}
streamTableBuilder_.setMessage(value);
}
derivedCase_ = 22;
return this;
}
/**
* .cz.proto.access.DropStreamTable stream_table = 22;
*/
public Builder clearStreamTable() {
if (streamTableBuilder_ == null) {
if (derivedCase_ == 22) {
derivedCase_ = 0;
derived_ = null;
onChanged();
}
} else {
if (derivedCase_ == 22) {
derivedCase_ = 0;
derived_ = null;
}
streamTableBuilder_.clear();
}
return this;
}
/**
* .cz.proto.access.DropStreamTable stream_table = 22;
*/
public cz.proto.access.Ddl.DropStreamTable.Builder getStreamTableBuilder() {
return getStreamTableFieldBuilder().getBuilder();
}
/**
* .cz.proto.access.DropStreamTable stream_table = 22;
*/
@java.lang.Override
public cz.proto.access.Ddl.DropStreamTableOrBuilder getStreamTableOrBuilder() {
if ((derivedCase_ == 22) && (streamTableBuilder_ != null)) {
return streamTableBuilder_.getMessageOrBuilder();
} else {
if (derivedCase_ == 22) {
return (cz.proto.access.Ddl.DropStreamTable) derived_;
}
return cz.proto.access.Ddl.DropStreamTable.getDefaultInstance();
}
}
/**
* .cz.proto.access.DropStreamTable stream_table = 22;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropStreamTable, cz.proto.access.Ddl.DropStreamTable.Builder, cz.proto.access.Ddl.DropStreamTableOrBuilder>
getStreamTableFieldBuilder() {
if (streamTableBuilder_ == null) {
if (!(derivedCase_ == 22)) {
derived_ = cz.proto.access.Ddl.DropStreamTable.getDefaultInstance();
}
streamTableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropStreamTable, cz.proto.access.Ddl.DropStreamTable.Builder, cz.proto.access.Ddl.DropStreamTableOrBuilder>(
(cz.proto.access.Ddl.DropStreamTable) derived_,
getParentForChildren(),
isClean());
derived_ = null;
}
derivedCase_ = 22;
onChanged();;
return streamTableBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropIndex, cz.proto.access.Ddl.DropIndex.Builder, cz.proto.access.Ddl.DropIndexOrBuilder> indexBuilder_;
/**
* .cz.proto.access.DropIndex index = 23;
* @return Whether the index field is set.
*/
@java.lang.Override
public boolean hasIndex() {
return derivedCase_ == 23;
}
/**
* .cz.proto.access.DropIndex index = 23;
* @return The index.
*/
@java.lang.Override
public cz.proto.access.Ddl.DropIndex getIndex() {
if (indexBuilder_ == null) {
if (derivedCase_ == 23) {
return (cz.proto.access.Ddl.DropIndex) derived_;
}
return cz.proto.access.Ddl.DropIndex.getDefaultInstance();
} else {
if (derivedCase_ == 23) {
return indexBuilder_.getMessage();
}
return cz.proto.access.Ddl.DropIndex.getDefaultInstance();
}
}
/**
* .cz.proto.access.DropIndex index = 23;
*/
public Builder setIndex(cz.proto.access.Ddl.DropIndex value) {
if (indexBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
derived_ = value;
onChanged();
} else {
indexBuilder_.setMessage(value);
}
derivedCase_ = 23;
return this;
}
/**
* .cz.proto.access.DropIndex index = 23;
*/
public Builder setIndex(
cz.proto.access.Ddl.DropIndex.Builder builderForValue) {
if (indexBuilder_ == null) {
derived_ = builderForValue.build();
onChanged();
} else {
indexBuilder_.setMessage(builderForValue.build());
}
derivedCase_ = 23;
return this;
}
/**
* .cz.proto.access.DropIndex index = 23;
*/
public Builder mergeIndex(cz.proto.access.Ddl.DropIndex value) {
if (indexBuilder_ == null) {
if (derivedCase_ == 23 &&
derived_ != cz.proto.access.Ddl.DropIndex.getDefaultInstance()) {
derived_ = cz.proto.access.Ddl.DropIndex.newBuilder((cz.proto.access.Ddl.DropIndex) derived_)
.mergeFrom(value).buildPartial();
} else {
derived_ = value;
}
onChanged();
} else {
if (derivedCase_ == 23) {
indexBuilder_.mergeFrom(value);
}
indexBuilder_.setMessage(value);
}
derivedCase_ = 23;
return this;
}
/**
* .cz.proto.access.DropIndex index = 23;
*/
public Builder clearIndex() {
if (indexBuilder_ == null) {
if (derivedCase_ == 23) {
derivedCase_ = 0;
derived_ = null;
onChanged();
}
} else {
if (derivedCase_ == 23) {
derivedCase_ = 0;
derived_ = null;
}
indexBuilder_.clear();
}
return this;
}
/**
* .cz.proto.access.DropIndex index = 23;
*/
public cz.proto.access.Ddl.DropIndex.Builder getIndexBuilder() {
return getIndexFieldBuilder().getBuilder();
}
/**
* .cz.proto.access.DropIndex index = 23;
*/
@java.lang.Override
public cz.proto.access.Ddl.DropIndexOrBuilder getIndexOrBuilder() {
if ((derivedCase_ == 23) && (indexBuilder_ != null)) {
return indexBuilder_.getMessageOrBuilder();
} else {
if (derivedCase_ == 23) {
return (cz.proto.access.Ddl.DropIndex) derived_;
}
return cz.proto.access.Ddl.DropIndex.getDefaultInstance();
}
}
/**
* .cz.proto.access.DropIndex index = 23;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropIndex, cz.proto.access.Ddl.DropIndex.Builder, cz.proto.access.Ddl.DropIndexOrBuilder>
getIndexFieldBuilder() {
if (indexBuilder_ == null) {
if (!(derivedCase_ == 23)) {
derived_ = cz.proto.access.Ddl.DropIndex.getDefaultInstance();
}
indexBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropIndex, cz.proto.access.Ddl.DropIndex.Builder, cz.proto.access.Ddl.DropIndexOrBuilder>(
(cz.proto.access.Ddl.DropIndex) derived_,
getParentForChildren(),
isClean());
derived_ = null;
}
derivedCase_ = 23;
onChanged();;
return indexBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropVolume, cz.proto.access.Ddl.DropVolume.Builder, cz.proto.access.Ddl.DropVolumeOrBuilder> volumeBuilder_;
/**
* .cz.proto.access.DropVolume volume = 24;
* @return Whether the volume field is set.
*/
@java.lang.Override
public boolean hasVolume() {
return derivedCase_ == 24;
}
/**
* .cz.proto.access.DropVolume volume = 24;
* @return The volume.
*/
@java.lang.Override
public cz.proto.access.Ddl.DropVolume getVolume() {
if (volumeBuilder_ == null) {
if (derivedCase_ == 24) {
return (cz.proto.access.Ddl.DropVolume) derived_;
}
return cz.proto.access.Ddl.DropVolume.getDefaultInstance();
} else {
if (derivedCase_ == 24) {
return volumeBuilder_.getMessage();
}
return cz.proto.access.Ddl.DropVolume.getDefaultInstance();
}
}
/**
* .cz.proto.access.DropVolume volume = 24;
*/
public Builder setVolume(cz.proto.access.Ddl.DropVolume value) {
if (volumeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
derived_ = value;
onChanged();
} else {
volumeBuilder_.setMessage(value);
}
derivedCase_ = 24;
return this;
}
/**
* .cz.proto.access.DropVolume volume = 24;
*/
public Builder setVolume(
cz.proto.access.Ddl.DropVolume.Builder builderForValue) {
if (volumeBuilder_ == null) {
derived_ = builderForValue.build();
onChanged();
} else {
volumeBuilder_.setMessage(builderForValue.build());
}
derivedCase_ = 24;
return this;
}
/**
* .cz.proto.access.DropVolume volume = 24;
*/
public Builder mergeVolume(cz.proto.access.Ddl.DropVolume value) {
if (volumeBuilder_ == null) {
if (derivedCase_ == 24 &&
derived_ != cz.proto.access.Ddl.DropVolume.getDefaultInstance()) {
derived_ = cz.proto.access.Ddl.DropVolume.newBuilder((cz.proto.access.Ddl.DropVolume) derived_)
.mergeFrom(value).buildPartial();
} else {
derived_ = value;
}
onChanged();
} else {
if (derivedCase_ == 24) {
volumeBuilder_.mergeFrom(value);
}
volumeBuilder_.setMessage(value);
}
derivedCase_ = 24;
return this;
}
/**
* .cz.proto.access.DropVolume volume = 24;
*/
public Builder clearVolume() {
if (volumeBuilder_ == null) {
if (derivedCase_ == 24) {
derivedCase_ = 0;
derived_ = null;
onChanged();
}
} else {
if (derivedCase_ == 24) {
derivedCase_ = 0;
derived_ = null;
}
volumeBuilder_.clear();
}
return this;
}
/**
* .cz.proto.access.DropVolume volume = 24;
*/
public cz.proto.access.Ddl.DropVolume.Builder getVolumeBuilder() {
return getVolumeFieldBuilder().getBuilder();
}
/**
* .cz.proto.access.DropVolume volume = 24;
*/
@java.lang.Override
public cz.proto.access.Ddl.DropVolumeOrBuilder getVolumeOrBuilder() {
if ((derivedCase_ == 24) && (volumeBuilder_ != null)) {
return volumeBuilder_.getMessageOrBuilder();
} else {
if (derivedCase_ == 24) {
return (cz.proto.access.Ddl.DropVolume) derived_;
}
return cz.proto.access.Ddl.DropVolume.getDefaultInstance();
}
}
/**
* .cz.proto.access.DropVolume volume = 24;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropVolume, cz.proto.access.Ddl.DropVolume.Builder, cz.proto.access.Ddl.DropVolumeOrBuilder>
getVolumeFieldBuilder() {
if (volumeBuilder_ == null) {
if (!(derivedCase_ == 24)) {
derived_ = cz.proto.access.Ddl.DropVolume.getDefaultInstance();
}
volumeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.DropVolume, cz.proto.access.Ddl.DropVolume.Builder, cz.proto.access.Ddl.DropVolumeOrBuilder>(
(cz.proto.access.Ddl.DropVolume) derived_,
getParentForChildren(),
isClean());
derived_ = null;
}
derivedCase_ = 24;
onChanged();;
return volumeBuilder_;
}
@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.access.DropEntity)
}
// @@protoc_insertion_point(class_scope:cz.proto.access.DropEntity)
private static final cz.proto.access.Ddl.DropEntity DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.access.Ddl.DropEntity();
}
public static cz.proto.access.Ddl.DropEntity getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DropEntity parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DropEntity(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.access.Ddl.DropEntity getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DropTableOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.access.DropTable)
com.google.protobuf.MessageOrBuilder {
/**
* bool purge = 1;
* @return The purge.
*/
boolean getPurge();
}
/**
* Protobuf type {@code cz.proto.access.DropTable}
*/
public static final class DropTable extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.access.DropTable)
DropTableOrBuilder {
private static final long serialVersionUID = 0L;
// Use DropTable.newBuilder() to construct.
private DropTable(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DropTable() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DropTable();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DropTable(
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 8: {
purge_ = input.readBool();
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.access.Ddl.internal_static_cz_proto_access_DropTable_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropTable_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.DropTable.class, cz.proto.access.Ddl.DropTable.Builder.class);
}
public static final int PURGE_FIELD_NUMBER = 1;
private boolean purge_;
/**
* bool purge = 1;
* @return The purge.
*/
@java.lang.Override
public boolean getPurge() {
return purge_;
}
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 (purge_ != false) {
output.writeBool(1, purge_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (purge_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, purge_);
}
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.access.Ddl.DropTable)) {
return super.equals(obj);
}
cz.proto.access.Ddl.DropTable other = (cz.proto.access.Ddl.DropTable) obj;
if (getPurge()
!= other.getPurge()) 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) + PURGE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getPurge());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.access.Ddl.DropTable parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropTable parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.DropTable parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropTable 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.access.Ddl.DropTable parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropTable parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.DropTable parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropTable 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.access.Ddl.DropTable parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropTable 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.access.Ddl.DropTable parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropTable 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.access.Ddl.DropTable 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.access.DropTable}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.access.DropTable)
cz.proto.access.Ddl.DropTableOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropTable_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropTable_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.DropTable.class, cz.proto.access.Ddl.DropTable.Builder.class);
}
// Construct using cz.proto.access.Ddl.DropTable.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();
purge_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropTable_descriptor;
}
@java.lang.Override
public cz.proto.access.Ddl.DropTable getDefaultInstanceForType() {
return cz.proto.access.Ddl.DropTable.getDefaultInstance();
}
@java.lang.Override
public cz.proto.access.Ddl.DropTable build() {
cz.proto.access.Ddl.DropTable result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.access.Ddl.DropTable buildPartial() {
cz.proto.access.Ddl.DropTable result = new cz.proto.access.Ddl.DropTable(this);
result.purge_ = purge_;
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.access.Ddl.DropTable) {
return mergeFrom((cz.proto.access.Ddl.DropTable)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.access.Ddl.DropTable other) {
if (other == cz.proto.access.Ddl.DropTable.getDefaultInstance()) return this;
if (other.getPurge() != false) {
setPurge(other.getPurge());
}
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.access.Ddl.DropTable parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.access.Ddl.DropTable) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private boolean purge_ ;
/**
* bool purge = 1;
* @return The purge.
*/
@java.lang.Override
public boolean getPurge() {
return purge_;
}
/**
* bool purge = 1;
* @param value The purge to set.
* @return This builder for chaining.
*/
public Builder setPurge(boolean value) {
purge_ = value;
onChanged();
return this;
}
/**
* bool purge = 1;
* @return This builder for chaining.
*/
public Builder clearPurge() {
purge_ = false;
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.access.DropTable)
}
// @@protoc_insertion_point(class_scope:cz.proto.access.DropTable)
private static final cz.proto.access.Ddl.DropTable DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.access.Ddl.DropTable();
}
public static cz.proto.access.Ddl.DropTable getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DropTable parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DropTable(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.access.Ddl.DropTable getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DropStreamTableOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.access.DropStreamTable)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code cz.proto.access.DropStreamTable}
*/
public static final class DropStreamTable extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.access.DropStreamTable)
DropStreamTableOrBuilder {
private static final long serialVersionUID = 0L;
// Use DropStreamTable.newBuilder() to construct.
private DropStreamTable(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DropStreamTable() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DropStreamTable();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DropStreamTable(
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;
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.access.Ddl.internal_static_cz_proto_access_DropStreamTable_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropStreamTable_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.DropStreamTable.class, cz.proto.access.Ddl.DropStreamTable.Builder.class);
}
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 {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
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.access.Ddl.DropStreamTable)) {
return super.equals(obj);
}
cz.proto.access.Ddl.DropStreamTable other = (cz.proto.access.Ddl.DropStreamTable) obj;
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 = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.access.Ddl.DropStreamTable parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropStreamTable parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.DropStreamTable parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropStreamTable 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.access.Ddl.DropStreamTable parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropStreamTable parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.DropStreamTable parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropStreamTable 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.access.Ddl.DropStreamTable parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropStreamTable 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.access.Ddl.DropStreamTable parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropStreamTable 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.access.Ddl.DropStreamTable 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.access.DropStreamTable}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.access.DropStreamTable)
cz.proto.access.Ddl.DropStreamTableOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropStreamTable_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropStreamTable_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.DropStreamTable.class, cz.proto.access.Ddl.DropStreamTable.Builder.class);
}
// Construct using cz.proto.access.Ddl.DropStreamTable.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();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropStreamTable_descriptor;
}
@java.lang.Override
public cz.proto.access.Ddl.DropStreamTable getDefaultInstanceForType() {
return cz.proto.access.Ddl.DropStreamTable.getDefaultInstance();
}
@java.lang.Override
public cz.proto.access.Ddl.DropStreamTable build() {
cz.proto.access.Ddl.DropStreamTable result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.access.Ddl.DropStreamTable buildPartial() {
cz.proto.access.Ddl.DropStreamTable result = new cz.proto.access.Ddl.DropStreamTable(this);
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.access.Ddl.DropStreamTable) {
return mergeFrom((cz.proto.access.Ddl.DropStreamTable)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.access.Ddl.DropStreamTable other) {
if (other == cz.proto.access.Ddl.DropStreamTable.getDefaultInstance()) return this;
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.access.Ddl.DropStreamTable parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.access.Ddl.DropStreamTable) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
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.access.DropStreamTable)
}
// @@protoc_insertion_point(class_scope:cz.proto.access.DropStreamTable)
private static final cz.proto.access.Ddl.DropStreamTable DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.access.Ddl.DropStreamTable();
}
public static cz.proto.access.Ddl.DropStreamTable getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DropStreamTable parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DropStreamTable(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.access.Ddl.DropStreamTable getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DropSchemaOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.access.DropSchema)
com.google.protobuf.MessageOrBuilder {
/**
* bool cascade = 1;
* @return The cascade.
*/
boolean getCascade();
}
/**
* Protobuf type {@code cz.proto.access.DropSchema}
*/
public static final class DropSchema extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.access.DropSchema)
DropSchemaOrBuilder {
private static final long serialVersionUID = 0L;
// Use DropSchema.newBuilder() to construct.
private DropSchema(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DropSchema() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DropSchema();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DropSchema(
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 8: {
cascade_ = input.readBool();
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.access.Ddl.internal_static_cz_proto_access_DropSchema_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropSchema_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.DropSchema.class, cz.proto.access.Ddl.DropSchema.Builder.class);
}
public static final int CASCADE_FIELD_NUMBER = 1;
private boolean cascade_;
/**
* bool cascade = 1;
* @return The cascade.
*/
@java.lang.Override
public boolean getCascade() {
return cascade_;
}
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 (cascade_ != false) {
output.writeBool(1, cascade_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (cascade_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, cascade_);
}
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.access.Ddl.DropSchema)) {
return super.equals(obj);
}
cz.proto.access.Ddl.DropSchema other = (cz.proto.access.Ddl.DropSchema) obj;
if (getCascade()
!= other.getCascade()) 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) + CASCADE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getCascade());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.access.Ddl.DropSchema parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropSchema parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.DropSchema parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropSchema 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.access.Ddl.DropSchema parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropSchema parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.DropSchema parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropSchema 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.access.Ddl.DropSchema parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropSchema 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.access.Ddl.DropSchema parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropSchema 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.access.Ddl.DropSchema 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.access.DropSchema}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.access.DropSchema)
cz.proto.access.Ddl.DropSchemaOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropSchema_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropSchema_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.DropSchema.class, cz.proto.access.Ddl.DropSchema.Builder.class);
}
// Construct using cz.proto.access.Ddl.DropSchema.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();
cascade_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropSchema_descriptor;
}
@java.lang.Override
public cz.proto.access.Ddl.DropSchema getDefaultInstanceForType() {
return cz.proto.access.Ddl.DropSchema.getDefaultInstance();
}
@java.lang.Override
public cz.proto.access.Ddl.DropSchema build() {
cz.proto.access.Ddl.DropSchema result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.access.Ddl.DropSchema buildPartial() {
cz.proto.access.Ddl.DropSchema result = new cz.proto.access.Ddl.DropSchema(this);
result.cascade_ = cascade_;
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.access.Ddl.DropSchema) {
return mergeFrom((cz.proto.access.Ddl.DropSchema)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.access.Ddl.DropSchema other) {
if (other == cz.proto.access.Ddl.DropSchema.getDefaultInstance()) return this;
if (other.getCascade() != false) {
setCascade(other.getCascade());
}
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.access.Ddl.DropSchema parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.access.Ddl.DropSchema) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private boolean cascade_ ;
/**
* bool cascade = 1;
* @return The cascade.
*/
@java.lang.Override
public boolean getCascade() {
return cascade_;
}
/**
* bool cascade = 1;
* @param value The cascade to set.
* @return This builder for chaining.
*/
public Builder setCascade(boolean value) {
cascade_ = value;
onChanged();
return this;
}
/**
* bool cascade = 1;
* @return This builder for chaining.
*/
public Builder clearCascade() {
cascade_ = false;
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.access.DropSchema)
}
// @@protoc_insertion_point(class_scope:cz.proto.access.DropSchema)
private static final cz.proto.access.Ddl.DropSchema DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.access.Ddl.DropSchema();
}
public static cz.proto.access.Ddl.DropSchema getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DropSchema parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DropSchema(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.access.Ddl.DropSchema getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DropShareOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.access.DropShare)
com.google.protobuf.MessageOrBuilder {
/**
* bool cascade = 1;
* @return The cascade.
*/
boolean getCascade();
}
/**
* Protobuf type {@code cz.proto.access.DropShare}
*/
public static final class DropShare extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.access.DropShare)
DropShareOrBuilder {
private static final long serialVersionUID = 0L;
// Use DropShare.newBuilder() to construct.
private DropShare(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DropShare() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DropShare();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DropShare(
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 8: {
cascade_ = input.readBool();
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.access.Ddl.internal_static_cz_proto_access_DropShare_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropShare_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.DropShare.class, cz.proto.access.Ddl.DropShare.Builder.class);
}
public static final int CASCADE_FIELD_NUMBER = 1;
private boolean cascade_;
/**
* bool cascade = 1;
* @return The cascade.
*/
@java.lang.Override
public boolean getCascade() {
return cascade_;
}
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 (cascade_ != false) {
output.writeBool(1, cascade_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (cascade_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, cascade_);
}
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.access.Ddl.DropShare)) {
return super.equals(obj);
}
cz.proto.access.Ddl.DropShare other = (cz.proto.access.Ddl.DropShare) obj;
if (getCascade()
!= other.getCascade()) 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) + CASCADE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getCascade());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.access.Ddl.DropShare parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropShare parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.DropShare parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropShare 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.access.Ddl.DropShare parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropShare parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.DropShare parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropShare 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.access.Ddl.DropShare parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropShare 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.access.Ddl.DropShare parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropShare 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.access.Ddl.DropShare 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.access.DropShare}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.access.DropShare)
cz.proto.access.Ddl.DropShareOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropShare_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropShare_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.DropShare.class, cz.proto.access.Ddl.DropShare.Builder.class);
}
// Construct using cz.proto.access.Ddl.DropShare.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();
cascade_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropShare_descriptor;
}
@java.lang.Override
public cz.proto.access.Ddl.DropShare getDefaultInstanceForType() {
return cz.proto.access.Ddl.DropShare.getDefaultInstance();
}
@java.lang.Override
public cz.proto.access.Ddl.DropShare build() {
cz.proto.access.Ddl.DropShare result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.access.Ddl.DropShare buildPartial() {
cz.proto.access.Ddl.DropShare result = new cz.proto.access.Ddl.DropShare(this);
result.cascade_ = cascade_;
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.access.Ddl.DropShare) {
return mergeFrom((cz.proto.access.Ddl.DropShare)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.access.Ddl.DropShare other) {
if (other == cz.proto.access.Ddl.DropShare.getDefaultInstance()) return this;
if (other.getCascade() != false) {
setCascade(other.getCascade());
}
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.access.Ddl.DropShare parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.access.Ddl.DropShare) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private boolean cascade_ ;
/**
* bool cascade = 1;
* @return The cascade.
*/
@java.lang.Override
public boolean getCascade() {
return cascade_;
}
/**
* bool cascade = 1;
* @param value The cascade to set.
* @return This builder for chaining.
*/
public Builder setCascade(boolean value) {
cascade_ = value;
onChanged();
return this;
}
/**
* bool cascade = 1;
* @return This builder for chaining.
*/
public Builder clearCascade() {
cascade_ = false;
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.access.DropShare)
}
// @@protoc_insertion_point(class_scope:cz.proto.access.DropShare)
private static final cz.proto.access.Ddl.DropShare DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.access.Ddl.DropShare();
}
public static cz.proto.access.Ddl.DropShare getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DropShare parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DropShare(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.access.Ddl.DropShare getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DropCatalogOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.access.DropCatalog)
com.google.protobuf.MessageOrBuilder {
/**
* bool cascade = 1;
* @return The cascade.
*/
boolean getCascade();
}
/**
* Protobuf type {@code cz.proto.access.DropCatalog}
*/
public static final class DropCatalog extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.access.DropCatalog)
DropCatalogOrBuilder {
private static final long serialVersionUID = 0L;
// Use DropCatalog.newBuilder() to construct.
private DropCatalog(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DropCatalog() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DropCatalog();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DropCatalog(
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 8: {
cascade_ = input.readBool();
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.access.Ddl.internal_static_cz_proto_access_DropCatalog_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropCatalog_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.DropCatalog.class, cz.proto.access.Ddl.DropCatalog.Builder.class);
}
public static final int CASCADE_FIELD_NUMBER = 1;
private boolean cascade_;
/**
* bool cascade = 1;
* @return The cascade.
*/
@java.lang.Override
public boolean getCascade() {
return cascade_;
}
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 (cascade_ != false) {
output.writeBool(1, cascade_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (cascade_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, cascade_);
}
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.access.Ddl.DropCatalog)) {
return super.equals(obj);
}
cz.proto.access.Ddl.DropCatalog other = (cz.proto.access.Ddl.DropCatalog) obj;
if (getCascade()
!= other.getCascade()) 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) + CASCADE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getCascade());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.access.Ddl.DropCatalog parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropCatalog parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.DropCatalog parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropCatalog 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.access.Ddl.DropCatalog parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropCatalog parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.DropCatalog parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropCatalog 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.access.Ddl.DropCatalog parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropCatalog 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.access.Ddl.DropCatalog parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropCatalog 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.access.Ddl.DropCatalog 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.access.DropCatalog}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.access.DropCatalog)
cz.proto.access.Ddl.DropCatalogOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropCatalog_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropCatalog_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.DropCatalog.class, cz.proto.access.Ddl.DropCatalog.Builder.class);
}
// Construct using cz.proto.access.Ddl.DropCatalog.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();
cascade_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropCatalog_descriptor;
}
@java.lang.Override
public cz.proto.access.Ddl.DropCatalog getDefaultInstanceForType() {
return cz.proto.access.Ddl.DropCatalog.getDefaultInstance();
}
@java.lang.Override
public cz.proto.access.Ddl.DropCatalog build() {
cz.proto.access.Ddl.DropCatalog result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.access.Ddl.DropCatalog buildPartial() {
cz.proto.access.Ddl.DropCatalog result = new cz.proto.access.Ddl.DropCatalog(this);
result.cascade_ = cascade_;
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.access.Ddl.DropCatalog) {
return mergeFrom((cz.proto.access.Ddl.DropCatalog)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.access.Ddl.DropCatalog other) {
if (other == cz.proto.access.Ddl.DropCatalog.getDefaultInstance()) return this;
if (other.getCascade() != false) {
setCascade(other.getCascade());
}
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.access.Ddl.DropCatalog parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.access.Ddl.DropCatalog) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private boolean cascade_ ;
/**
* bool cascade = 1;
* @return The cascade.
*/
@java.lang.Override
public boolean getCascade() {
return cascade_;
}
/**
* bool cascade = 1;
* @param value The cascade to set.
* @return This builder for chaining.
*/
public Builder setCascade(boolean value) {
cascade_ = value;
onChanged();
return this;
}
/**
* bool cascade = 1;
* @return This builder for chaining.
*/
public Builder clearCascade() {
cascade_ = false;
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.access.DropCatalog)
}
// @@protoc_insertion_point(class_scope:cz.proto.access.DropCatalog)
private static final cz.proto.access.Ddl.DropCatalog DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.access.Ddl.DropCatalog();
}
public static cz.proto.access.Ddl.DropCatalog getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DropCatalog parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DropCatalog(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.access.Ddl.DropCatalog getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DropViewOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.access.DropView)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code cz.proto.access.DropView}
*/
public static final class DropView extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.access.DropView)
DropViewOrBuilder {
private static final long serialVersionUID = 0L;
// Use DropView.newBuilder() to construct.
private DropView(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DropView() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DropView();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DropView(
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;
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.access.Ddl.internal_static_cz_proto_access_DropView_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropView_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.DropView.class, cz.proto.access.Ddl.DropView.Builder.class);
}
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 {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
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.access.Ddl.DropView)) {
return super.equals(obj);
}
cz.proto.access.Ddl.DropView other = (cz.proto.access.Ddl.DropView) obj;
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 = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.access.Ddl.DropView parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropView parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.DropView parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropView 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.access.Ddl.DropView parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropView parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.DropView parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropView 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.access.Ddl.DropView parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropView 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.access.Ddl.DropView parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropView 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.access.Ddl.DropView 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.access.DropView}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.access.DropView)
cz.proto.access.Ddl.DropViewOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropView_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropView_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.DropView.class, cz.proto.access.Ddl.DropView.Builder.class);
}
// Construct using cz.proto.access.Ddl.DropView.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();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropView_descriptor;
}
@java.lang.Override
public cz.proto.access.Ddl.DropView getDefaultInstanceForType() {
return cz.proto.access.Ddl.DropView.getDefaultInstance();
}
@java.lang.Override
public cz.proto.access.Ddl.DropView build() {
cz.proto.access.Ddl.DropView result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.access.Ddl.DropView buildPartial() {
cz.proto.access.Ddl.DropView result = new cz.proto.access.Ddl.DropView(this);
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.access.Ddl.DropView) {
return mergeFrom((cz.proto.access.Ddl.DropView)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.access.Ddl.DropView other) {
if (other == cz.proto.access.Ddl.DropView.getDefaultInstance()) return this;
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.access.Ddl.DropView parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.access.Ddl.DropView) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
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.access.DropView)
}
// @@protoc_insertion_point(class_scope:cz.proto.access.DropView)
private static final cz.proto.access.Ddl.DropView DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.access.Ddl.DropView();
}
public static cz.proto.access.Ddl.DropView getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DropView parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DropView(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.access.Ddl.DropView getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DropMaterializedViewOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.access.DropMaterializedView)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code cz.proto.access.DropMaterializedView}
*/
public static final class DropMaterializedView extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.access.DropMaterializedView)
DropMaterializedViewOrBuilder {
private static final long serialVersionUID = 0L;
// Use DropMaterializedView.newBuilder() to construct.
private DropMaterializedView(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DropMaterializedView() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DropMaterializedView();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DropMaterializedView(
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;
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.access.Ddl.internal_static_cz_proto_access_DropMaterializedView_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropMaterializedView_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.DropMaterializedView.class, cz.proto.access.Ddl.DropMaterializedView.Builder.class);
}
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 {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
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.access.Ddl.DropMaterializedView)) {
return super.equals(obj);
}
cz.proto.access.Ddl.DropMaterializedView other = (cz.proto.access.Ddl.DropMaterializedView) obj;
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 = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.access.Ddl.DropMaterializedView parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropMaterializedView parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.DropMaterializedView parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropMaterializedView 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.access.Ddl.DropMaterializedView parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropMaterializedView parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.DropMaterializedView parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropMaterializedView 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.access.Ddl.DropMaterializedView parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropMaterializedView 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.access.Ddl.DropMaterializedView parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropMaterializedView 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.access.Ddl.DropMaterializedView 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.access.DropMaterializedView}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.access.DropMaterializedView)
cz.proto.access.Ddl.DropMaterializedViewOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropMaterializedView_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropMaterializedView_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.DropMaterializedView.class, cz.proto.access.Ddl.DropMaterializedView.Builder.class);
}
// Construct using cz.proto.access.Ddl.DropMaterializedView.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();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropMaterializedView_descriptor;
}
@java.lang.Override
public cz.proto.access.Ddl.DropMaterializedView getDefaultInstanceForType() {
return cz.proto.access.Ddl.DropMaterializedView.getDefaultInstance();
}
@java.lang.Override
public cz.proto.access.Ddl.DropMaterializedView build() {
cz.proto.access.Ddl.DropMaterializedView result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.access.Ddl.DropMaterializedView buildPartial() {
cz.proto.access.Ddl.DropMaterializedView result = new cz.proto.access.Ddl.DropMaterializedView(this);
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.access.Ddl.DropMaterializedView) {
return mergeFrom((cz.proto.access.Ddl.DropMaterializedView)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.access.Ddl.DropMaterializedView other) {
if (other == cz.proto.access.Ddl.DropMaterializedView.getDefaultInstance()) return this;
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.access.Ddl.DropMaterializedView parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.access.Ddl.DropMaterializedView) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
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.access.DropMaterializedView)
}
// @@protoc_insertion_point(class_scope:cz.proto.access.DropMaterializedView)
private static final cz.proto.access.Ddl.DropMaterializedView DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.access.Ddl.DropMaterializedView();
}
public static cz.proto.access.Ddl.DropMaterializedView getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DropMaterializedView parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DropMaterializedView(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.access.Ddl.DropMaterializedView getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DropUserOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.access.DropUser)
com.google.protobuf.MessageOrBuilder {
/**
* optional int64 user_id = 1;
* @return Whether the userId field is set.
*/
boolean hasUserId();
/**
* optional int64 user_id = 1;
* @return The userId.
*/
long getUserId();
}
/**
* Protobuf type {@code cz.proto.access.DropUser}
*/
public static final class DropUser extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.access.DropUser)
DropUserOrBuilder {
private static final long serialVersionUID = 0L;
// Use DropUser.newBuilder() to construct.
private DropUser(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DropUser() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DropUser();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DropUser(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
bitField0_ |= 0x00000001;
userId_ = 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 {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropUser_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropUser_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.DropUser.class, cz.proto.access.Ddl.DropUser.Builder.class);
}
private int bitField0_;
public static final int USER_ID_FIELD_NUMBER = 1;
private long userId_;
/**
* optional int64 user_id = 1;
* @return Whether the userId field is set.
*/
@java.lang.Override
public boolean hasUserId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 user_id = 1;
* @return The userId.
*/
@java.lang.Override
public long getUserId() {
return userId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, userId_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, userId_);
}
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.access.Ddl.DropUser)) {
return super.equals(obj);
}
cz.proto.access.Ddl.DropUser other = (cz.proto.access.Ddl.DropUser) obj;
if (hasUserId() != other.hasUserId()) return false;
if (hasUserId()) {
if (getUserId()
!= other.getUserId()) 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 (hasUserId()) {
hash = (37 * hash) + USER_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getUserId());
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.access.Ddl.DropUser parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropUser parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.DropUser parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropUser 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.access.Ddl.DropUser parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropUser parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.DropUser parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropUser 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.access.Ddl.DropUser parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropUser 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.access.Ddl.DropUser parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropUser 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.access.Ddl.DropUser 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.access.DropUser}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.access.DropUser)
cz.proto.access.Ddl.DropUserOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropUser_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropUser_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.DropUser.class, cz.proto.access.Ddl.DropUser.Builder.class);
}
// Construct using cz.proto.access.Ddl.DropUser.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();
userId_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropUser_descriptor;
}
@java.lang.Override
public cz.proto.access.Ddl.DropUser getDefaultInstanceForType() {
return cz.proto.access.Ddl.DropUser.getDefaultInstance();
}
@java.lang.Override
public cz.proto.access.Ddl.DropUser build() {
cz.proto.access.Ddl.DropUser result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.access.Ddl.DropUser buildPartial() {
cz.proto.access.Ddl.DropUser result = new cz.proto.access.Ddl.DropUser(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.userId_ = userId_;
to_bitField0_ |= 0x00000001;
}
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.access.Ddl.DropUser) {
return mergeFrom((cz.proto.access.Ddl.DropUser)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.access.Ddl.DropUser other) {
if (other == cz.proto.access.Ddl.DropUser.getDefaultInstance()) return this;
if (other.hasUserId()) {
setUserId(other.getUserId());
}
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.access.Ddl.DropUser parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.access.Ddl.DropUser) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private long userId_ ;
/**
* optional int64 user_id = 1;
* @return Whether the userId field is set.
*/
@java.lang.Override
public boolean hasUserId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 user_id = 1;
* @return The userId.
*/
@java.lang.Override
public long getUserId() {
return userId_;
}
/**
* optional int64 user_id = 1;
* @param value The userId to set.
* @return This builder for chaining.
*/
public Builder setUserId(long value) {
bitField0_ |= 0x00000001;
userId_ = value;
onChanged();
return this;
}
/**
* optional int64 user_id = 1;
* @return This builder for chaining.
*/
public Builder clearUserId() {
bitField0_ = (bitField0_ & ~0x00000001);
userId_ = 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.access.DropUser)
}
// @@protoc_insertion_point(class_scope:cz.proto.access.DropUser)
private static final cz.proto.access.Ddl.DropUser DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.access.Ddl.DropUser();
}
public static cz.proto.access.Ddl.DropUser getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DropUser parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DropUser(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.access.Ddl.DropUser getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DropRoleOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.access.DropRole)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code cz.proto.access.DropRole}
*/
public static final class DropRole extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.access.DropRole)
DropRoleOrBuilder {
private static final long serialVersionUID = 0L;
// Use DropRole.newBuilder() to construct.
private DropRole(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DropRole() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DropRole();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DropRole(
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;
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.access.Ddl.internal_static_cz_proto_access_DropRole_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropRole_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.DropRole.class, cz.proto.access.Ddl.DropRole.Builder.class);
}
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 {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
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.access.Ddl.DropRole)) {
return super.equals(obj);
}
cz.proto.access.Ddl.DropRole other = (cz.proto.access.Ddl.DropRole) obj;
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 = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.access.Ddl.DropRole parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropRole parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.DropRole parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropRole 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.access.Ddl.DropRole parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropRole parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.DropRole parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropRole 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.access.Ddl.DropRole parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropRole 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.access.Ddl.DropRole parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropRole 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.access.Ddl.DropRole 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.access.DropRole}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.access.DropRole)
cz.proto.access.Ddl.DropRoleOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropRole_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropRole_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.DropRole.class, cz.proto.access.Ddl.DropRole.Builder.class);
}
// Construct using cz.proto.access.Ddl.DropRole.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();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropRole_descriptor;
}
@java.lang.Override
public cz.proto.access.Ddl.DropRole getDefaultInstanceForType() {
return cz.proto.access.Ddl.DropRole.getDefaultInstance();
}
@java.lang.Override
public cz.proto.access.Ddl.DropRole build() {
cz.proto.access.Ddl.DropRole result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.access.Ddl.DropRole buildPartial() {
cz.proto.access.Ddl.DropRole result = new cz.proto.access.Ddl.DropRole(this);
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.access.Ddl.DropRole) {
return mergeFrom((cz.proto.access.Ddl.DropRole)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.access.Ddl.DropRole other) {
if (other == cz.proto.access.Ddl.DropRole.getDefaultInstance()) return this;
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.access.Ddl.DropRole parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.access.Ddl.DropRole) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
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.access.DropRole)
}
// @@protoc_insertion_point(class_scope:cz.proto.access.DropRole)
private static final cz.proto.access.Ddl.DropRole DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.access.Ddl.DropRole();
}
public static cz.proto.access.Ddl.DropRole getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DropRole parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DropRole(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.access.Ddl.DropRole getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DropVClusterOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.access.DropVCluster)
com.google.protobuf.MessageOrBuilder {
/**
* int64 workspace_id = 1;
* @return The workspaceId.
*/
long getWorkspaceId();
/**
* int64 vc_id = 2;
* @return The vcId.
*/
long getVcId();
/**
* bool force = 3;
* @return The force.
*/
boolean getForce();
}
/**
* Protobuf type {@code cz.proto.access.DropVCluster}
*/
public static final class DropVCluster extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.access.DropVCluster)
DropVClusterOrBuilder {
private static final long serialVersionUID = 0L;
// Use DropVCluster.newBuilder() to construct.
private DropVCluster(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DropVCluster() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DropVCluster();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DropVCluster(
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 8: {
workspaceId_ = input.readInt64();
break;
}
case 16: {
vcId_ = input.readInt64();
break;
}
case 24: {
force_ = input.readBool();
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.access.Ddl.internal_static_cz_proto_access_DropVCluster_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropVCluster_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.DropVCluster.class, cz.proto.access.Ddl.DropVCluster.Builder.class);
}
public static final int WORKSPACE_ID_FIELD_NUMBER = 1;
private long workspaceId_;
/**
* int64 workspace_id = 1;
* @return The workspaceId.
*/
@java.lang.Override
public long getWorkspaceId() {
return workspaceId_;
}
public static final int VC_ID_FIELD_NUMBER = 2;
private long vcId_;
/**
* int64 vc_id = 2;
* @return The vcId.
*/
@java.lang.Override
public long getVcId() {
return vcId_;
}
public static final int FORCE_FIELD_NUMBER = 3;
private boolean force_;
/**
* bool force = 3;
* @return The force.
*/
@java.lang.Override
public boolean getForce() {
return force_;
}
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 (workspaceId_ != 0L) {
output.writeInt64(1, workspaceId_);
}
if (vcId_ != 0L) {
output.writeInt64(2, vcId_);
}
if (force_ != false) {
output.writeBool(3, force_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (workspaceId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, workspaceId_);
}
if (vcId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, vcId_);
}
if (force_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(3, force_);
}
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.access.Ddl.DropVCluster)) {
return super.equals(obj);
}
cz.proto.access.Ddl.DropVCluster other = (cz.proto.access.Ddl.DropVCluster) obj;
if (getWorkspaceId()
!= other.getWorkspaceId()) return false;
if (getVcId()
!= other.getVcId()) return false;
if (getForce()
!= other.getForce()) 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) + WORKSPACE_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getWorkspaceId());
hash = (37 * hash) + VC_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getVcId());
hash = (37 * hash) + FORCE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getForce());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.access.Ddl.DropVCluster parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropVCluster parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.DropVCluster parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropVCluster 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.access.Ddl.DropVCluster parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropVCluster parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.DropVCluster parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropVCluster 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.access.Ddl.DropVCluster parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropVCluster 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.access.Ddl.DropVCluster parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropVCluster 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.access.Ddl.DropVCluster 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.access.DropVCluster}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.access.DropVCluster)
cz.proto.access.Ddl.DropVClusterOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropVCluster_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropVCluster_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.DropVCluster.class, cz.proto.access.Ddl.DropVCluster.Builder.class);
}
// Construct using cz.proto.access.Ddl.DropVCluster.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();
workspaceId_ = 0L;
vcId_ = 0L;
force_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropVCluster_descriptor;
}
@java.lang.Override
public cz.proto.access.Ddl.DropVCluster getDefaultInstanceForType() {
return cz.proto.access.Ddl.DropVCluster.getDefaultInstance();
}
@java.lang.Override
public cz.proto.access.Ddl.DropVCluster build() {
cz.proto.access.Ddl.DropVCluster result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.access.Ddl.DropVCluster buildPartial() {
cz.proto.access.Ddl.DropVCluster result = new cz.proto.access.Ddl.DropVCluster(this);
result.workspaceId_ = workspaceId_;
result.vcId_ = vcId_;
result.force_ = force_;
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.access.Ddl.DropVCluster) {
return mergeFrom((cz.proto.access.Ddl.DropVCluster)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.access.Ddl.DropVCluster other) {
if (other == cz.proto.access.Ddl.DropVCluster.getDefaultInstance()) return this;
if (other.getWorkspaceId() != 0L) {
setWorkspaceId(other.getWorkspaceId());
}
if (other.getVcId() != 0L) {
setVcId(other.getVcId());
}
if (other.getForce() != false) {
setForce(other.getForce());
}
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.access.Ddl.DropVCluster parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.access.Ddl.DropVCluster) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private long workspaceId_ ;
/**
* int64 workspace_id = 1;
* @return The workspaceId.
*/
@java.lang.Override
public long getWorkspaceId() {
return workspaceId_;
}
/**
* int64 workspace_id = 1;
* @param value The workspaceId to set.
* @return This builder for chaining.
*/
public Builder setWorkspaceId(long value) {
workspaceId_ = value;
onChanged();
return this;
}
/**
* int64 workspace_id = 1;
* @return This builder for chaining.
*/
public Builder clearWorkspaceId() {
workspaceId_ = 0L;
onChanged();
return this;
}
private long vcId_ ;
/**
* int64 vc_id = 2;
* @return The vcId.
*/
@java.lang.Override
public long getVcId() {
return vcId_;
}
/**
* int64 vc_id = 2;
* @param value The vcId to set.
* @return This builder for chaining.
*/
public Builder setVcId(long value) {
vcId_ = value;
onChanged();
return this;
}
/**
* int64 vc_id = 2;
* @return This builder for chaining.
*/
public Builder clearVcId() {
vcId_ = 0L;
onChanged();
return this;
}
private boolean force_ ;
/**
* bool force = 3;
* @return The force.
*/
@java.lang.Override
public boolean getForce() {
return force_;
}
/**
* bool force = 3;
* @param value The force to set.
* @return This builder for chaining.
*/
public Builder setForce(boolean value) {
force_ = value;
onChanged();
return this;
}
/**
* bool force = 3;
* @return This builder for chaining.
*/
public Builder clearForce() {
force_ = false;
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.access.DropVCluster)
}
// @@protoc_insertion_point(class_scope:cz.proto.access.DropVCluster)
private static final cz.proto.access.Ddl.DropVCluster DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.access.Ddl.DropVCluster();
}
public static cz.proto.access.Ddl.DropVCluster getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DropVCluster parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DropVCluster(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.access.Ddl.DropVCluster getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DropFunctionOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.access.DropFunction)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code cz.proto.access.DropFunction}
*/
public static final class DropFunction extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.access.DropFunction)
DropFunctionOrBuilder {
private static final long serialVersionUID = 0L;
// Use DropFunction.newBuilder() to construct.
private DropFunction(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DropFunction() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DropFunction();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DropFunction(
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;
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.access.Ddl.internal_static_cz_proto_access_DropFunction_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropFunction_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.DropFunction.class, cz.proto.access.Ddl.DropFunction.Builder.class);
}
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 {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
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.access.Ddl.DropFunction)) {
return super.equals(obj);
}
cz.proto.access.Ddl.DropFunction other = (cz.proto.access.Ddl.DropFunction) obj;
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 = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.access.Ddl.DropFunction parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropFunction parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.DropFunction parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropFunction 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.access.Ddl.DropFunction parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropFunction parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.DropFunction parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropFunction 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.access.Ddl.DropFunction parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropFunction 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.access.Ddl.DropFunction parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropFunction 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.access.Ddl.DropFunction 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.access.DropFunction}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.access.DropFunction)
cz.proto.access.Ddl.DropFunctionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropFunction_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropFunction_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.DropFunction.class, cz.proto.access.Ddl.DropFunction.Builder.class);
}
// Construct using cz.proto.access.Ddl.DropFunction.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();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropFunction_descriptor;
}
@java.lang.Override
public cz.proto.access.Ddl.DropFunction getDefaultInstanceForType() {
return cz.proto.access.Ddl.DropFunction.getDefaultInstance();
}
@java.lang.Override
public cz.proto.access.Ddl.DropFunction build() {
cz.proto.access.Ddl.DropFunction result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.access.Ddl.DropFunction buildPartial() {
cz.proto.access.Ddl.DropFunction result = new cz.proto.access.Ddl.DropFunction(this);
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.access.Ddl.DropFunction) {
return mergeFrom((cz.proto.access.Ddl.DropFunction)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.access.Ddl.DropFunction other) {
if (other == cz.proto.access.Ddl.DropFunction.getDefaultInstance()) return this;
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.access.Ddl.DropFunction parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.access.Ddl.DropFunction) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
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.access.DropFunction)
}
// @@protoc_insertion_point(class_scope:cz.proto.access.DropFunction)
private static final cz.proto.access.Ddl.DropFunction DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.access.Ddl.DropFunction();
}
public static cz.proto.access.Ddl.DropFunction getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DropFunction parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DropFunction(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.access.Ddl.DropFunction getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DropConnectionOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.access.DropConnection)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code cz.proto.access.DropConnection}
*/
public static final class DropConnection extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.access.DropConnection)
DropConnectionOrBuilder {
private static final long serialVersionUID = 0L;
// Use DropConnection.newBuilder() to construct.
private DropConnection(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DropConnection() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DropConnection();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DropConnection(
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;
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.access.Ddl.internal_static_cz_proto_access_DropConnection_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropConnection_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.DropConnection.class, cz.proto.access.Ddl.DropConnection.Builder.class);
}
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 {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
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.access.Ddl.DropConnection)) {
return super.equals(obj);
}
cz.proto.access.Ddl.DropConnection other = (cz.proto.access.Ddl.DropConnection) obj;
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 = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.access.Ddl.DropConnection parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropConnection parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.DropConnection parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropConnection 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.access.Ddl.DropConnection parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropConnection parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.DropConnection parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropConnection 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.access.Ddl.DropConnection parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropConnection 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.access.Ddl.DropConnection parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropConnection 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.access.Ddl.DropConnection 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.access.DropConnection}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.access.DropConnection)
cz.proto.access.Ddl.DropConnectionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropConnection_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropConnection_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.DropConnection.class, cz.proto.access.Ddl.DropConnection.Builder.class);
}
// Construct using cz.proto.access.Ddl.DropConnection.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();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropConnection_descriptor;
}
@java.lang.Override
public cz.proto.access.Ddl.DropConnection getDefaultInstanceForType() {
return cz.proto.access.Ddl.DropConnection.getDefaultInstance();
}
@java.lang.Override
public cz.proto.access.Ddl.DropConnection build() {
cz.proto.access.Ddl.DropConnection result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.access.Ddl.DropConnection buildPartial() {
cz.proto.access.Ddl.DropConnection result = new cz.proto.access.Ddl.DropConnection(this);
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.access.Ddl.DropConnection) {
return mergeFrom((cz.proto.access.Ddl.DropConnection)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.access.Ddl.DropConnection other) {
if (other == cz.proto.access.Ddl.DropConnection.getDefaultInstance()) return this;
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.access.Ddl.DropConnection parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.access.Ddl.DropConnection) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
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.access.DropConnection)
}
// @@protoc_insertion_point(class_scope:cz.proto.access.DropConnection)
private static final cz.proto.access.Ddl.DropConnection DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.access.Ddl.DropConnection();
}
public static cz.proto.access.Ddl.DropConnection getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DropConnection parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DropConnection(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.access.Ddl.DropConnection getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DropLocationOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.access.DropLocation)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code cz.proto.access.DropLocation}
*/
public static final class DropLocation extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.access.DropLocation)
DropLocationOrBuilder {
private static final long serialVersionUID = 0L;
// Use DropLocation.newBuilder() to construct.
private DropLocation(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DropLocation() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DropLocation();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DropLocation(
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;
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.access.Ddl.internal_static_cz_proto_access_DropLocation_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropLocation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.DropLocation.class, cz.proto.access.Ddl.DropLocation.Builder.class);
}
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 {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
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.access.Ddl.DropLocation)) {
return super.equals(obj);
}
cz.proto.access.Ddl.DropLocation other = (cz.proto.access.Ddl.DropLocation) obj;
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 = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.access.Ddl.DropLocation parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropLocation parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.DropLocation parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropLocation 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.access.Ddl.DropLocation parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropLocation parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.DropLocation parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropLocation 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.access.Ddl.DropLocation parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropLocation 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.access.Ddl.DropLocation parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropLocation 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.access.Ddl.DropLocation 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.access.DropLocation}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.access.DropLocation)
cz.proto.access.Ddl.DropLocationOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropLocation_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropLocation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.DropLocation.class, cz.proto.access.Ddl.DropLocation.Builder.class);
}
// Construct using cz.proto.access.Ddl.DropLocation.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();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropLocation_descriptor;
}
@java.lang.Override
public cz.proto.access.Ddl.DropLocation getDefaultInstanceForType() {
return cz.proto.access.Ddl.DropLocation.getDefaultInstance();
}
@java.lang.Override
public cz.proto.access.Ddl.DropLocation build() {
cz.proto.access.Ddl.DropLocation result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.access.Ddl.DropLocation buildPartial() {
cz.proto.access.Ddl.DropLocation result = new cz.proto.access.Ddl.DropLocation(this);
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.access.Ddl.DropLocation) {
return mergeFrom((cz.proto.access.Ddl.DropLocation)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.access.Ddl.DropLocation other) {
if (other == cz.proto.access.Ddl.DropLocation.getDefaultInstance()) return this;
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.access.Ddl.DropLocation parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.access.Ddl.DropLocation) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
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.access.DropLocation)
}
// @@protoc_insertion_point(class_scope:cz.proto.access.DropLocation)
private static final cz.proto.access.Ddl.DropLocation DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.access.Ddl.DropLocation();
}
public static cz.proto.access.Ddl.DropLocation getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DropLocation parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DropLocation(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.access.Ddl.DropLocation getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DropIndexOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.access.DropIndex)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code cz.proto.access.DropIndex}
*/
public static final class DropIndex extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.access.DropIndex)
DropIndexOrBuilder {
private static final long serialVersionUID = 0L;
// Use DropIndex.newBuilder() to construct.
private DropIndex(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DropIndex() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DropIndex();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DropIndex(
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;
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.access.Ddl.internal_static_cz_proto_access_DropIndex_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropIndex_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.DropIndex.class, cz.proto.access.Ddl.DropIndex.Builder.class);
}
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 {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
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.access.Ddl.DropIndex)) {
return super.equals(obj);
}
cz.proto.access.Ddl.DropIndex other = (cz.proto.access.Ddl.DropIndex) obj;
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 = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.access.Ddl.DropIndex parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropIndex parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.DropIndex parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropIndex 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.access.Ddl.DropIndex parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropIndex parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.DropIndex parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropIndex 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.access.Ddl.DropIndex parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropIndex 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.access.Ddl.DropIndex parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropIndex 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.access.Ddl.DropIndex 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.access.DropIndex}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.access.DropIndex)
cz.proto.access.Ddl.DropIndexOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropIndex_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropIndex_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.DropIndex.class, cz.proto.access.Ddl.DropIndex.Builder.class);
}
// Construct using cz.proto.access.Ddl.DropIndex.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();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropIndex_descriptor;
}
@java.lang.Override
public cz.proto.access.Ddl.DropIndex getDefaultInstanceForType() {
return cz.proto.access.Ddl.DropIndex.getDefaultInstance();
}
@java.lang.Override
public cz.proto.access.Ddl.DropIndex build() {
cz.proto.access.Ddl.DropIndex result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.access.Ddl.DropIndex buildPartial() {
cz.proto.access.Ddl.DropIndex result = new cz.proto.access.Ddl.DropIndex(this);
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.access.Ddl.DropIndex) {
return mergeFrom((cz.proto.access.Ddl.DropIndex)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.access.Ddl.DropIndex other) {
if (other == cz.proto.access.Ddl.DropIndex.getDefaultInstance()) return this;
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.access.Ddl.DropIndex parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.access.Ddl.DropIndex) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
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.access.DropIndex)
}
// @@protoc_insertion_point(class_scope:cz.proto.access.DropIndex)
private static final cz.proto.access.Ddl.DropIndex DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.access.Ddl.DropIndex();
}
public static cz.proto.access.Ddl.DropIndex getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DropIndex parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DropIndex(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.access.Ddl.DropIndex getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DropVolumeOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.access.DropVolume)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code cz.proto.access.DropVolume}
*/
public static final class DropVolume extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.access.DropVolume)
DropVolumeOrBuilder {
private static final long serialVersionUID = 0L;
// Use DropVolume.newBuilder() to construct.
private DropVolume(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DropVolume() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DropVolume();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DropVolume(
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;
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.access.Ddl.internal_static_cz_proto_access_DropVolume_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropVolume_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.DropVolume.class, cz.proto.access.Ddl.DropVolume.Builder.class);
}
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 {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
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.access.Ddl.DropVolume)) {
return super.equals(obj);
}
cz.proto.access.Ddl.DropVolume other = (cz.proto.access.Ddl.DropVolume) obj;
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 = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.access.Ddl.DropVolume parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropVolume parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.DropVolume parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropVolume 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.access.Ddl.DropVolume parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.DropVolume parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.DropVolume parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropVolume 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.access.Ddl.DropVolume parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropVolume 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.access.Ddl.DropVolume parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.DropVolume 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.access.Ddl.DropVolume 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.access.DropVolume}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.access.DropVolume)
cz.proto.access.Ddl.DropVolumeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropVolume_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropVolume_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.DropVolume.class, cz.proto.access.Ddl.DropVolume.Builder.class);
}
// Construct using cz.proto.access.Ddl.DropVolume.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();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_DropVolume_descriptor;
}
@java.lang.Override
public cz.proto.access.Ddl.DropVolume getDefaultInstanceForType() {
return cz.proto.access.Ddl.DropVolume.getDefaultInstance();
}
@java.lang.Override
public cz.proto.access.Ddl.DropVolume build() {
cz.proto.access.Ddl.DropVolume result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.access.Ddl.DropVolume buildPartial() {
cz.proto.access.Ddl.DropVolume result = new cz.proto.access.Ddl.DropVolume(this);
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.access.Ddl.DropVolume) {
return mergeFrom((cz.proto.access.Ddl.DropVolume)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.access.Ddl.DropVolume other) {
if (other == cz.proto.access.Ddl.DropVolume.getDefaultInstance()) return this;
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.access.Ddl.DropVolume parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.access.Ddl.DropVolume) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
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.access.DropVolume)
}
// @@protoc_insertion_point(class_scope:cz.proto.access.DropVolume)
private static final cz.proto.access.Ddl.DropVolume DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.access.Ddl.DropVolume();
}
public static cz.proto.access.Ddl.DropVolume getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DropVolume parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DropVolume(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.access.Ddl.DropVolume getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface UndropEntityOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.access.UndropEntity)
com.google.protobuf.MessageOrBuilder {
/**
* .cz.proto.ObjectIdentifier identifier = 1;
* @return Whether the identifier field is set.
*/
boolean hasIdentifier();
/**
* .cz.proto.ObjectIdentifier identifier = 1;
* @return The identifier.
*/
cz.proto.ObjectIdentifier getIdentifier();
/**
* .cz.proto.ObjectIdentifier identifier = 1;
*/
cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder();
}
/**
* Protobuf type {@code cz.proto.access.UndropEntity}
*/
public static final class UndropEntity extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.access.UndropEntity)
UndropEntityOrBuilder {
private static final long serialVersionUID = 0L;
// Use UndropEntity.newBuilder() to construct.
private UndropEntity(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private UndropEntity() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new UndropEntity();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private UndropEntity(
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 10: {
cz.proto.ObjectIdentifier.Builder subBuilder = null;
if (identifier_ != null) {
subBuilder = identifier_.toBuilder();
}
identifier_ = input.readMessage(cz.proto.ObjectIdentifier.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(identifier_);
identifier_ = 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.access.Ddl.internal_static_cz_proto_access_UndropEntity_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_UndropEntity_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.UndropEntity.class, cz.proto.access.Ddl.UndropEntity.Builder.class);
}
public static final int IDENTIFIER_FIELD_NUMBER = 1;
private cz.proto.ObjectIdentifier identifier_;
/**
* .cz.proto.ObjectIdentifier identifier = 1;
* @return Whether the identifier field is set.
*/
@java.lang.Override
public boolean hasIdentifier() {
return identifier_ != null;
}
/**
* .cz.proto.ObjectIdentifier identifier = 1;
* @return The identifier.
*/
@java.lang.Override
public cz.proto.ObjectIdentifier getIdentifier() {
return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_;
}
/**
* .cz.proto.ObjectIdentifier identifier = 1;
*/
@java.lang.Override
public cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder() {
return getIdentifier();
}
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 (identifier_ != null) {
output.writeMessage(1, getIdentifier());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (identifier_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getIdentifier());
}
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.access.Ddl.UndropEntity)) {
return super.equals(obj);
}
cz.proto.access.Ddl.UndropEntity other = (cz.proto.access.Ddl.UndropEntity) obj;
if (hasIdentifier() != other.hasIdentifier()) return false;
if (hasIdentifier()) {
if (!getIdentifier()
.equals(other.getIdentifier())) 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 (hasIdentifier()) {
hash = (37 * hash) + IDENTIFIER_FIELD_NUMBER;
hash = (53 * hash) + getIdentifier().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.access.Ddl.UndropEntity parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.UndropEntity parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.UndropEntity parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.UndropEntity 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.access.Ddl.UndropEntity parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.UndropEntity parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.UndropEntity parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.UndropEntity 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.access.Ddl.UndropEntity parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.UndropEntity 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.access.Ddl.UndropEntity parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.UndropEntity 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.access.Ddl.UndropEntity 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.access.UndropEntity}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.access.UndropEntity)
cz.proto.access.Ddl.UndropEntityOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_UndropEntity_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_UndropEntity_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.UndropEntity.class, cz.proto.access.Ddl.UndropEntity.Builder.class);
}
// Construct using cz.proto.access.Ddl.UndropEntity.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();
if (identifierBuilder_ == null) {
identifier_ = null;
} else {
identifier_ = null;
identifierBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_UndropEntity_descriptor;
}
@java.lang.Override
public cz.proto.access.Ddl.UndropEntity getDefaultInstanceForType() {
return cz.proto.access.Ddl.UndropEntity.getDefaultInstance();
}
@java.lang.Override
public cz.proto.access.Ddl.UndropEntity build() {
cz.proto.access.Ddl.UndropEntity result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.access.Ddl.UndropEntity buildPartial() {
cz.proto.access.Ddl.UndropEntity result = new cz.proto.access.Ddl.UndropEntity(this);
if (identifierBuilder_ == null) {
result.identifier_ = identifier_;
} else {
result.identifier_ = identifierBuilder_.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.access.Ddl.UndropEntity) {
return mergeFrom((cz.proto.access.Ddl.UndropEntity)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.access.Ddl.UndropEntity other) {
if (other == cz.proto.access.Ddl.UndropEntity.getDefaultInstance()) return this;
if (other.hasIdentifier()) {
mergeIdentifier(other.getIdentifier());
}
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.access.Ddl.UndropEntity parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.access.Ddl.UndropEntity) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private cz.proto.ObjectIdentifier identifier_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> identifierBuilder_;
/**
* .cz.proto.ObjectIdentifier identifier = 1;
* @return Whether the identifier field is set.
*/
public boolean hasIdentifier() {
return identifierBuilder_ != null || identifier_ != null;
}
/**
* .cz.proto.ObjectIdentifier identifier = 1;
* @return The identifier.
*/
public cz.proto.ObjectIdentifier getIdentifier() {
if (identifierBuilder_ == null) {
return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_;
} else {
return identifierBuilder_.getMessage();
}
}
/**
* .cz.proto.ObjectIdentifier identifier = 1;
*/
public Builder setIdentifier(cz.proto.ObjectIdentifier value) {
if (identifierBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
identifier_ = value;
onChanged();
} else {
identifierBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.ObjectIdentifier identifier = 1;
*/
public Builder setIdentifier(
cz.proto.ObjectIdentifier.Builder builderForValue) {
if (identifierBuilder_ == null) {
identifier_ = builderForValue.build();
onChanged();
} else {
identifierBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.ObjectIdentifier identifier = 1;
*/
public Builder mergeIdentifier(cz.proto.ObjectIdentifier value) {
if (identifierBuilder_ == null) {
if (identifier_ != null) {
identifier_ =
cz.proto.ObjectIdentifier.newBuilder(identifier_).mergeFrom(value).buildPartial();
} else {
identifier_ = value;
}
onChanged();
} else {
identifierBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.ObjectIdentifier identifier = 1;
*/
public Builder clearIdentifier() {
if (identifierBuilder_ == null) {
identifier_ = null;
onChanged();
} else {
identifier_ = null;
identifierBuilder_ = null;
}
return this;
}
/**
* .cz.proto.ObjectIdentifier identifier = 1;
*/
public cz.proto.ObjectIdentifier.Builder getIdentifierBuilder() {
onChanged();
return getIdentifierFieldBuilder().getBuilder();
}
/**
* .cz.proto.ObjectIdentifier identifier = 1;
*/
public cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder() {
if (identifierBuilder_ != null) {
return identifierBuilder_.getMessageOrBuilder();
} else {
return identifier_ == null ?
cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_;
}
}
/**
* .cz.proto.ObjectIdentifier identifier = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>
getIdentifierFieldBuilder() {
if (identifierBuilder_ == null) {
identifierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>(
getIdentifier(),
getParentForChildren(),
isClean());
identifier_ = null;
}
return identifierBuilder_;
}
@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.access.UndropEntity)
}
// @@protoc_insertion_point(class_scope:cz.proto.access.UndropEntity)
private static final cz.proto.access.Ddl.UndropEntity DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.access.Ddl.UndropEntity();
}
public static cz.proto.access.Ddl.UndropEntity getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public UndropEntity parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new UndropEntity(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.access.Ddl.UndropEntity getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AlterRoleOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.access.AlterRole)
com.google.protobuf.MessageOrBuilder {
/**
* optional string comment = 2;
* @return Whether the comment field is set.
*/
boolean hasComment();
/**
* optional string comment = 2;
* @return The comment.
*/
java.lang.String getComment();
/**
* optional string comment = 2;
* @return The bytes for comment.
*/
com.google.protobuf.ByteString
getCommentBytes();
/**
* optional string alias = 3;
* @return Whether the alias field is set.
*/
boolean hasAlias();
/**
* optional string alias = 3;
* @return The alias.
*/
java.lang.String getAlias();
/**
* optional string alias = 3;
* @return The bytes for alias.
*/
com.google.protobuf.ByteString
getAliasBytes();
/**
* optional string new_name = 4;
* @return Whether the newName field is set.
*/
boolean hasNewName();
/**
* optional string new_name = 4;
* @return The newName.
*/
java.lang.String getNewName();
/**
* optional string new_name = 4;
* @return The bytes for newName.
*/
com.google.protobuf.ByteString
getNewNameBytes();
/**
* repeated .cz.proto.Property properties = 5;
*/
java.util.List
getPropertiesList();
/**
* repeated .cz.proto.Property properties = 5;
*/
cz.proto.PropertyOuterClass.Property getProperties(int index);
/**
* repeated .cz.proto.Property properties = 5;
*/
int getPropertiesCount();
/**
* repeated .cz.proto.Property properties = 5;
*/
java.util.List extends cz.proto.PropertyOuterClass.PropertyOrBuilder>
getPropertiesOrBuilderList();
/**
* repeated .cz.proto.Property properties = 5;
*/
cz.proto.PropertyOuterClass.PropertyOrBuilder getPropertiesOrBuilder(
int index);
}
/**
* Protobuf type {@code cz.proto.access.AlterRole}
*/
public static final class AlterRole extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.access.AlterRole)
AlterRoleOrBuilder {
private static final long serialVersionUID = 0L;
// Use AlterRole.newBuilder() to construct.
private AlterRole(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AlterRole() {
comment_ = "";
alias_ = "";
newName_ = "";
properties_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AlterRole();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AlterRole(
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 18: {
java.lang.String s = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
comment_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
alias_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
newName_ = s;
break;
}
case 42: {
if (!((mutable_bitField0_ & 0x00000008) != 0)) {
properties_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
properties_.add(
input.readMessage(cz.proto.PropertyOuterClass.Property.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_ & 0x00000008) != 0)) {
properties_ = java.util.Collections.unmodifiableList(properties_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterRole_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterRole_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.AlterRole.class, cz.proto.access.Ddl.AlterRole.Builder.class);
}
private int bitField0_;
public static final int COMMENT_FIELD_NUMBER = 2;
private volatile java.lang.Object comment_;
/**
* optional string comment = 2;
* @return Whether the comment field is set.
*/
@java.lang.Override
public boolean hasComment() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string comment = 2;
* @return The comment.
*/
@java.lang.Override
public java.lang.String getComment() {
java.lang.Object ref = comment_;
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();
comment_ = s;
return s;
}
}
/**
* optional string comment = 2;
* @return The bytes for comment.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCommentBytes() {
java.lang.Object ref = comment_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
comment_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ALIAS_FIELD_NUMBER = 3;
private volatile java.lang.Object alias_;
/**
* optional string alias = 3;
* @return Whether the alias field is set.
*/
@java.lang.Override
public boolean hasAlias() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string alias = 3;
* @return The alias.
*/
@java.lang.Override
public java.lang.String getAlias() {
java.lang.Object ref = alias_;
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();
alias_ = s;
return s;
}
}
/**
* optional string alias = 3;
* @return The bytes for alias.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAliasBytes() {
java.lang.Object ref = alias_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
alias_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NEW_NAME_FIELD_NUMBER = 4;
private volatile java.lang.Object newName_;
/**
* optional string new_name = 4;
* @return Whether the newName field is set.
*/
@java.lang.Override
public boolean hasNewName() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string new_name = 4;
* @return The newName.
*/
@java.lang.Override
public java.lang.String getNewName() {
java.lang.Object ref = newName_;
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();
newName_ = s;
return s;
}
}
/**
* optional string new_name = 4;
* @return The bytes for newName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNewNameBytes() {
java.lang.Object ref = newName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
newName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PROPERTIES_FIELD_NUMBER = 5;
private java.util.List properties_;
/**
* repeated .cz.proto.Property properties = 5;
*/
@java.lang.Override
public java.util.List getPropertiesList() {
return properties_;
}
/**
* repeated .cz.proto.Property properties = 5;
*/
@java.lang.Override
public java.util.List extends cz.proto.PropertyOuterClass.PropertyOrBuilder>
getPropertiesOrBuilderList() {
return properties_;
}
/**
* repeated .cz.proto.Property properties = 5;
*/
@java.lang.Override
public int getPropertiesCount() {
return properties_.size();
}
/**
* repeated .cz.proto.Property properties = 5;
*/
@java.lang.Override
public cz.proto.PropertyOuterClass.Property getProperties(int index) {
return properties_.get(index);
}
/**
* repeated .cz.proto.Property properties = 5;
*/
@java.lang.Override
public cz.proto.PropertyOuterClass.PropertyOrBuilder getPropertiesOrBuilder(
int index) {
return properties_.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 {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, comment_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, alias_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, newName_);
}
for (int i = 0; i < properties_.size(); i++) {
output.writeMessage(5, properties_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, comment_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, alias_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, newName_);
}
for (int i = 0; i < properties_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, properties_.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.access.Ddl.AlterRole)) {
return super.equals(obj);
}
cz.proto.access.Ddl.AlterRole other = (cz.proto.access.Ddl.AlterRole) obj;
if (hasComment() != other.hasComment()) return false;
if (hasComment()) {
if (!getComment()
.equals(other.getComment())) return false;
}
if (hasAlias() != other.hasAlias()) return false;
if (hasAlias()) {
if (!getAlias()
.equals(other.getAlias())) return false;
}
if (hasNewName() != other.hasNewName()) return false;
if (hasNewName()) {
if (!getNewName()
.equals(other.getNewName())) return false;
}
if (!getPropertiesList()
.equals(other.getPropertiesList())) 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 (hasComment()) {
hash = (37 * hash) + COMMENT_FIELD_NUMBER;
hash = (53 * hash) + getComment().hashCode();
}
if (hasAlias()) {
hash = (37 * hash) + ALIAS_FIELD_NUMBER;
hash = (53 * hash) + getAlias().hashCode();
}
if (hasNewName()) {
hash = (37 * hash) + NEW_NAME_FIELD_NUMBER;
hash = (53 * hash) + getNewName().hashCode();
}
if (getPropertiesCount() > 0) {
hash = (37 * hash) + PROPERTIES_FIELD_NUMBER;
hash = (53 * hash) + getPropertiesList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.access.Ddl.AlterRole parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.AlterRole parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.AlterRole parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.AlterRole 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.access.Ddl.AlterRole parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.AlterRole parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.AlterRole parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.AlterRole 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.access.Ddl.AlterRole parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.AlterRole 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.access.Ddl.AlterRole parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.AlterRole 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.access.Ddl.AlterRole 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.access.AlterRole}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.access.AlterRole)
cz.proto.access.Ddl.AlterRoleOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterRole_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterRole_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.AlterRole.class, cz.proto.access.Ddl.AlterRole.Builder.class);
}
// Construct using cz.proto.access.Ddl.AlterRole.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getPropertiesFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
comment_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
alias_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
newName_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
if (propertiesBuilder_ == null) {
properties_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
} else {
propertiesBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterRole_descriptor;
}
@java.lang.Override
public cz.proto.access.Ddl.AlterRole getDefaultInstanceForType() {
return cz.proto.access.Ddl.AlterRole.getDefaultInstance();
}
@java.lang.Override
public cz.proto.access.Ddl.AlterRole build() {
cz.proto.access.Ddl.AlterRole result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.access.Ddl.AlterRole buildPartial() {
cz.proto.access.Ddl.AlterRole result = new cz.proto.access.Ddl.AlterRole(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
to_bitField0_ |= 0x00000001;
}
result.comment_ = comment_;
if (((from_bitField0_ & 0x00000002) != 0)) {
to_bitField0_ |= 0x00000002;
}
result.alias_ = alias_;
if (((from_bitField0_ & 0x00000004) != 0)) {
to_bitField0_ |= 0x00000004;
}
result.newName_ = newName_;
if (propertiesBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0)) {
properties_ = java.util.Collections.unmodifiableList(properties_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.properties_ = properties_;
} else {
result.properties_ = propertiesBuilder_.build();
}
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.access.Ddl.AlterRole) {
return mergeFrom((cz.proto.access.Ddl.AlterRole)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.access.Ddl.AlterRole other) {
if (other == cz.proto.access.Ddl.AlterRole.getDefaultInstance()) return this;
if (other.hasComment()) {
bitField0_ |= 0x00000001;
comment_ = other.comment_;
onChanged();
}
if (other.hasAlias()) {
bitField0_ |= 0x00000002;
alias_ = other.alias_;
onChanged();
}
if (other.hasNewName()) {
bitField0_ |= 0x00000004;
newName_ = other.newName_;
onChanged();
}
if (propertiesBuilder_ == null) {
if (!other.properties_.isEmpty()) {
if (properties_.isEmpty()) {
properties_ = other.properties_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensurePropertiesIsMutable();
properties_.addAll(other.properties_);
}
onChanged();
}
} else {
if (!other.properties_.isEmpty()) {
if (propertiesBuilder_.isEmpty()) {
propertiesBuilder_.dispose();
propertiesBuilder_ = null;
properties_ = other.properties_;
bitField0_ = (bitField0_ & ~0x00000008);
propertiesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getPropertiesFieldBuilder() : null;
} else {
propertiesBuilder_.addAllMessages(other.properties_);
}
}
}
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.access.Ddl.AlterRole parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.access.Ddl.AlterRole) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object comment_ = "";
/**
* optional string comment = 2;
* @return Whether the comment field is set.
*/
public boolean hasComment() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string comment = 2;
* @return The comment.
*/
public java.lang.String getComment() {
java.lang.Object ref = comment_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
comment_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string comment = 2;
* @return The bytes for comment.
*/
public com.google.protobuf.ByteString
getCommentBytes() {
java.lang.Object ref = comment_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
comment_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string comment = 2;
* @param value The comment to set.
* @return This builder for chaining.
*/
public Builder setComment(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
comment_ = value;
onChanged();
return this;
}
/**
* optional string comment = 2;
* @return This builder for chaining.
*/
public Builder clearComment() {
bitField0_ = (bitField0_ & ~0x00000001);
comment_ = getDefaultInstance().getComment();
onChanged();
return this;
}
/**
* optional string comment = 2;
* @param value The bytes for comment to set.
* @return This builder for chaining.
*/
public Builder setCommentBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
bitField0_ |= 0x00000001;
comment_ = value;
onChanged();
return this;
}
private java.lang.Object alias_ = "";
/**
* optional string alias = 3;
* @return Whether the alias field is set.
*/
public boolean hasAlias() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string alias = 3;
* @return The alias.
*/
public java.lang.String getAlias() {
java.lang.Object ref = alias_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
alias_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string alias = 3;
* @return The bytes for alias.
*/
public com.google.protobuf.ByteString
getAliasBytes() {
java.lang.Object ref = alias_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
alias_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string alias = 3;
* @param value The alias to set.
* @return This builder for chaining.
*/
public Builder setAlias(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
alias_ = value;
onChanged();
return this;
}
/**
* optional string alias = 3;
* @return This builder for chaining.
*/
public Builder clearAlias() {
bitField0_ = (bitField0_ & ~0x00000002);
alias_ = getDefaultInstance().getAlias();
onChanged();
return this;
}
/**
* optional string alias = 3;
* @param value The bytes for alias to set.
* @return This builder for chaining.
*/
public Builder setAliasBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
bitField0_ |= 0x00000002;
alias_ = value;
onChanged();
return this;
}
private java.lang.Object newName_ = "";
/**
* optional string new_name = 4;
* @return Whether the newName field is set.
*/
public boolean hasNewName() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string new_name = 4;
* @return The newName.
*/
public java.lang.String getNewName() {
java.lang.Object ref = newName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
newName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string new_name = 4;
* @return The bytes for newName.
*/
public com.google.protobuf.ByteString
getNewNameBytes() {
java.lang.Object ref = newName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
newName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string new_name = 4;
* @param value The newName to set.
* @return This builder for chaining.
*/
public Builder setNewName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
newName_ = value;
onChanged();
return this;
}
/**
* optional string new_name = 4;
* @return This builder for chaining.
*/
public Builder clearNewName() {
bitField0_ = (bitField0_ & ~0x00000004);
newName_ = getDefaultInstance().getNewName();
onChanged();
return this;
}
/**
* optional string new_name = 4;
* @param value The bytes for newName to set.
* @return This builder for chaining.
*/
public Builder setNewNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
bitField0_ |= 0x00000004;
newName_ = value;
onChanged();
return this;
}
private java.util.List properties_ =
java.util.Collections.emptyList();
private void ensurePropertiesIsMutable() {
if (!((bitField0_ & 0x00000008) != 0)) {
properties_ = new java.util.ArrayList(properties_);
bitField0_ |= 0x00000008;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.PropertyOuterClass.Property, cz.proto.PropertyOuterClass.Property.Builder, cz.proto.PropertyOuterClass.PropertyOrBuilder> propertiesBuilder_;
/**
* repeated .cz.proto.Property properties = 5;
*/
public java.util.List getPropertiesList() {
if (propertiesBuilder_ == null) {
return java.util.Collections.unmodifiableList(properties_);
} else {
return propertiesBuilder_.getMessageList();
}
}
/**
* repeated .cz.proto.Property properties = 5;
*/
public int getPropertiesCount() {
if (propertiesBuilder_ == null) {
return properties_.size();
} else {
return propertiesBuilder_.getCount();
}
}
/**
* repeated .cz.proto.Property properties = 5;
*/
public cz.proto.PropertyOuterClass.Property getProperties(int index) {
if (propertiesBuilder_ == null) {
return properties_.get(index);
} else {
return propertiesBuilder_.getMessage(index);
}
}
/**
* repeated .cz.proto.Property properties = 5;
*/
public Builder setProperties(
int index, cz.proto.PropertyOuterClass.Property value) {
if (propertiesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePropertiesIsMutable();
properties_.set(index, value);
onChanged();
} else {
propertiesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.Property properties = 5;
*/
public Builder setProperties(
int index, cz.proto.PropertyOuterClass.Property.Builder builderForValue) {
if (propertiesBuilder_ == null) {
ensurePropertiesIsMutable();
properties_.set(index, builderForValue.build());
onChanged();
} else {
propertiesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.Property properties = 5;
*/
public Builder addProperties(cz.proto.PropertyOuterClass.Property value) {
if (propertiesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePropertiesIsMutable();
properties_.add(value);
onChanged();
} else {
propertiesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .cz.proto.Property properties = 5;
*/
public Builder addProperties(
int index, cz.proto.PropertyOuterClass.Property value) {
if (propertiesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePropertiesIsMutable();
properties_.add(index, value);
onChanged();
} else {
propertiesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.Property properties = 5;
*/
public Builder addProperties(
cz.proto.PropertyOuterClass.Property.Builder builderForValue) {
if (propertiesBuilder_ == null) {
ensurePropertiesIsMutable();
properties_.add(builderForValue.build());
onChanged();
} else {
propertiesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.Property properties = 5;
*/
public Builder addProperties(
int index, cz.proto.PropertyOuterClass.Property.Builder builderForValue) {
if (propertiesBuilder_ == null) {
ensurePropertiesIsMutable();
properties_.add(index, builderForValue.build());
onChanged();
} else {
propertiesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.Property properties = 5;
*/
public Builder addAllProperties(
java.lang.Iterable extends cz.proto.PropertyOuterClass.Property> values) {
if (propertiesBuilder_ == null) {
ensurePropertiesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, properties_);
onChanged();
} else {
propertiesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .cz.proto.Property properties = 5;
*/
public Builder clearProperties() {
if (propertiesBuilder_ == null) {
properties_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
propertiesBuilder_.clear();
}
return this;
}
/**
* repeated .cz.proto.Property properties = 5;
*/
public Builder removeProperties(int index) {
if (propertiesBuilder_ == null) {
ensurePropertiesIsMutable();
properties_.remove(index);
onChanged();
} else {
propertiesBuilder_.remove(index);
}
return this;
}
/**
* repeated .cz.proto.Property properties = 5;
*/
public cz.proto.PropertyOuterClass.Property.Builder getPropertiesBuilder(
int index) {
return getPropertiesFieldBuilder().getBuilder(index);
}
/**
* repeated .cz.proto.Property properties = 5;
*/
public cz.proto.PropertyOuterClass.PropertyOrBuilder getPropertiesOrBuilder(
int index) {
if (propertiesBuilder_ == null) {
return properties_.get(index); } else {
return propertiesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .cz.proto.Property properties = 5;
*/
public java.util.List extends cz.proto.PropertyOuterClass.PropertyOrBuilder>
getPropertiesOrBuilderList() {
if (propertiesBuilder_ != null) {
return propertiesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(properties_);
}
}
/**
* repeated .cz.proto.Property properties = 5;
*/
public cz.proto.PropertyOuterClass.Property.Builder addPropertiesBuilder() {
return getPropertiesFieldBuilder().addBuilder(
cz.proto.PropertyOuterClass.Property.getDefaultInstance());
}
/**
* repeated .cz.proto.Property properties = 5;
*/
public cz.proto.PropertyOuterClass.Property.Builder addPropertiesBuilder(
int index) {
return getPropertiesFieldBuilder().addBuilder(
index, cz.proto.PropertyOuterClass.Property.getDefaultInstance());
}
/**
* repeated .cz.proto.Property properties = 5;
*/
public java.util.List
getPropertiesBuilderList() {
return getPropertiesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.PropertyOuterClass.Property, cz.proto.PropertyOuterClass.Property.Builder, cz.proto.PropertyOuterClass.PropertyOrBuilder>
getPropertiesFieldBuilder() {
if (propertiesBuilder_ == null) {
propertiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.PropertyOuterClass.Property, cz.proto.PropertyOuterClass.Property.Builder, cz.proto.PropertyOuterClass.PropertyOrBuilder>(
properties_,
((bitField0_ & 0x00000008) != 0),
getParentForChildren(),
isClean());
properties_ = null;
}
return propertiesBuilder_;
}
@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.access.AlterRole)
}
// @@protoc_insertion_point(class_scope:cz.proto.access.AlterRole)
private static final cz.proto.access.Ddl.AlterRole DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.access.Ddl.AlterRole();
}
public static cz.proto.access.Ddl.AlterRole getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public AlterRole parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AlterRole(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.access.Ddl.AlterRole getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AlterJobOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.access.AlterJob)
com.google.protobuf.MessageOrBuilder {
/**
* .cz.proto.JobHistory history = 2;
* @return Whether the history field is set.
*/
boolean hasHistory();
/**
* .cz.proto.JobHistory history = 2;
* @return The history.
*/
cz.proto.JobHistory getHistory();
/**
* .cz.proto.JobHistory history = 2;
*/
cz.proto.JobHistoryOrBuilder getHistoryOrBuilder();
/**
* optional .cz.proto.JobStatus status = 3;
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* optional .cz.proto.JobStatus status = 3;
* @return The enum numeric value on the wire for status.
*/
int getStatusValue();
/**
* optional .cz.proto.JobStatus status = 3;
* @return The status.
*/
cz.proto.JobStatus getStatus();
/**
* optional int64 end_time = 4;
* @return Whether the endTime field is set.
*/
boolean hasEndTime();
/**
* optional int64 end_time = 4;
* @return The endTime.
*/
long getEndTime();
/**
* optional string result = 5;
* @return Whether the result field is set.
*/
boolean hasResult();
/**
* optional string result = 5;
* @return The result.
*/
java.lang.String getResult();
/**
* optional string result = 5;
* @return The bytes for result.
*/
com.google.protobuf.ByteString
getResultBytes();
/**
* .cz.proto.JobSummaryLocation summary = 6;
* @return Whether the summary field is set.
*/
boolean hasSummary();
/**
* .cz.proto.JobSummaryLocation summary = 6;
* @return The summary.
*/
cz.proto.JobSummaryLocation getSummary();
/**
* .cz.proto.JobSummaryLocation summary = 6;
*/
cz.proto.JobSummaryLocationOrBuilder getSummaryOrBuilder();
/**
* optional bool cancel = 7;
* @return Whether the cancel field is set.
*/
boolean hasCancel();
/**
* optional bool cancel = 7;
* @return The cancel.
*/
boolean getCancel();
}
/**
* Protobuf type {@code cz.proto.access.AlterJob}
*/
public static final class AlterJob extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.access.AlterJob)
AlterJobOrBuilder {
private static final long serialVersionUID = 0L;
// Use AlterJob.newBuilder() to construct.
private AlterJob(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AlterJob() {
status_ = 0;
result_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AlterJob();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AlterJob(
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 18: {
cz.proto.JobHistory.Builder subBuilder = null;
if (history_ != null) {
subBuilder = history_.toBuilder();
}
history_ = input.readMessage(cz.proto.JobHistory.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(history_);
history_ = subBuilder.buildPartial();
}
break;
}
case 24: {
int rawValue = input.readEnum();
bitField0_ |= 0x00000001;
status_ = rawValue;
break;
}
case 32: {
bitField0_ |= 0x00000002;
endTime_ = input.readInt64();
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
result_ = s;
break;
}
case 50: {
cz.proto.JobSummaryLocation.Builder subBuilder = null;
if (summary_ != null) {
subBuilder = summary_.toBuilder();
}
summary_ = input.readMessage(cz.proto.JobSummaryLocation.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(summary_);
summary_ = subBuilder.buildPartial();
}
break;
}
case 56: {
bitField0_ |= 0x00000008;
cancel_ = input.readBool();
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.access.Ddl.internal_static_cz_proto_access_AlterJob_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterJob_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.AlterJob.class, cz.proto.access.Ddl.AlterJob.Builder.class);
}
private int bitField0_;
public static final int HISTORY_FIELD_NUMBER = 2;
private cz.proto.JobHistory history_;
/**
* .cz.proto.JobHistory history = 2;
* @return Whether the history field is set.
*/
@java.lang.Override
public boolean hasHistory() {
return history_ != null;
}
/**
* .cz.proto.JobHistory history = 2;
* @return The history.
*/
@java.lang.Override
public cz.proto.JobHistory getHistory() {
return history_ == null ? cz.proto.JobHistory.getDefaultInstance() : history_;
}
/**
* .cz.proto.JobHistory history = 2;
*/
@java.lang.Override
public cz.proto.JobHistoryOrBuilder getHistoryOrBuilder() {
return getHistory();
}
public static final int STATUS_FIELD_NUMBER = 3;
private int status_;
/**
* optional .cz.proto.JobStatus status = 3;
* @return Whether the status field is set.
*/
@java.lang.Override public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .cz.proto.JobStatus status = 3;
* @return The enum numeric value on the wire for status.
*/
@java.lang.Override public int getStatusValue() {
return status_;
}
/**
* optional .cz.proto.JobStatus status = 3;
* @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 END_TIME_FIELD_NUMBER = 4;
private long endTime_;
/**
* optional int64 end_time = 4;
* @return Whether the endTime field is set.
*/
@java.lang.Override
public boolean hasEndTime() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int64 end_time = 4;
* @return The endTime.
*/
@java.lang.Override
public long getEndTime() {
return endTime_;
}
public static final int RESULT_FIELD_NUMBER = 5;
private volatile java.lang.Object result_;
/**
* optional string result = 5;
* @return Whether the result field is set.
*/
@java.lang.Override
public boolean hasResult() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string result = 5;
* @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;
}
}
/**
* optional string result = 5;
* @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 SUMMARY_FIELD_NUMBER = 6;
private cz.proto.JobSummaryLocation summary_;
/**
* .cz.proto.JobSummaryLocation summary = 6;
* @return Whether the summary field is set.
*/
@java.lang.Override
public boolean hasSummary() {
return summary_ != null;
}
/**
* .cz.proto.JobSummaryLocation summary = 6;
* @return The summary.
*/
@java.lang.Override
public cz.proto.JobSummaryLocation getSummary() {
return summary_ == null ? cz.proto.JobSummaryLocation.getDefaultInstance() : summary_;
}
/**
* .cz.proto.JobSummaryLocation summary = 6;
*/
@java.lang.Override
public cz.proto.JobSummaryLocationOrBuilder getSummaryOrBuilder() {
return getSummary();
}
public static final int CANCEL_FIELD_NUMBER = 7;
private boolean cancel_;
/**
* optional bool cancel = 7;
* @return Whether the cancel field is set.
*/
@java.lang.Override
public boolean hasCancel() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional bool cancel = 7;
* @return The cancel.
*/
@java.lang.Override
public boolean getCancel() {
return cancel_;
}
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 (history_ != null) {
output.writeMessage(2, getHistory());
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeEnum(3, status_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(4, endTime_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, result_);
}
if (summary_ != null) {
output.writeMessage(6, getSummary());
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeBool(7, cancel_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (history_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getHistory());
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(3, status_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, endTime_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, result_);
}
if (summary_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getSummary());
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(7, cancel_);
}
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.access.Ddl.AlterJob)) {
return super.equals(obj);
}
cz.proto.access.Ddl.AlterJob other = (cz.proto.access.Ddl.AlterJob) obj;
if (hasHistory() != other.hasHistory()) return false;
if (hasHistory()) {
if (!getHistory()
.equals(other.getHistory())) return false;
}
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (status_ != other.status_) return false;
}
if (hasEndTime() != other.hasEndTime()) return false;
if (hasEndTime()) {
if (getEndTime()
!= other.getEndTime()) return false;
}
if (hasResult() != other.hasResult()) return false;
if (hasResult()) {
if (!getResult()
.equals(other.getResult())) return false;
}
if (hasSummary() != other.hasSummary()) return false;
if (hasSummary()) {
if (!getSummary()
.equals(other.getSummary())) return false;
}
if (hasCancel() != other.hasCancel()) return false;
if (hasCancel()) {
if (getCancel()
!= other.getCancel()) 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 (hasHistory()) {
hash = (37 * hash) + HISTORY_FIELD_NUMBER;
hash = (53 * hash) + getHistory().hashCode();
}
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + status_;
}
if (hasEndTime()) {
hash = (37 * hash) + END_TIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getEndTime());
}
if (hasResult()) {
hash = (37 * hash) + RESULT_FIELD_NUMBER;
hash = (53 * hash) + getResult().hashCode();
}
if (hasSummary()) {
hash = (37 * hash) + SUMMARY_FIELD_NUMBER;
hash = (53 * hash) + getSummary().hashCode();
}
if (hasCancel()) {
hash = (37 * hash) + CANCEL_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getCancel());
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.access.Ddl.AlterJob parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.AlterJob parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.AlterJob parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.AlterJob 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.access.Ddl.AlterJob parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.AlterJob parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.AlterJob parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.AlterJob 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.access.Ddl.AlterJob parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.AlterJob 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.access.Ddl.AlterJob parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.AlterJob 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.access.Ddl.AlterJob 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.access.AlterJob}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.access.AlterJob)
cz.proto.access.Ddl.AlterJobOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterJob_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterJob_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.AlterJob.class, cz.proto.access.Ddl.AlterJob.Builder.class);
}
// Construct using cz.proto.access.Ddl.AlterJob.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();
if (historyBuilder_ == null) {
history_ = null;
} else {
history_ = null;
historyBuilder_ = null;
}
status_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
endTime_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
result_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
if (summaryBuilder_ == null) {
summary_ = null;
} else {
summary_ = null;
summaryBuilder_ = null;
}
cancel_ = false;
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterJob_descriptor;
}
@java.lang.Override
public cz.proto.access.Ddl.AlterJob getDefaultInstanceForType() {
return cz.proto.access.Ddl.AlterJob.getDefaultInstance();
}
@java.lang.Override
public cz.proto.access.Ddl.AlterJob build() {
cz.proto.access.Ddl.AlterJob result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.access.Ddl.AlterJob buildPartial() {
cz.proto.access.Ddl.AlterJob result = new cz.proto.access.Ddl.AlterJob(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (historyBuilder_ == null) {
result.history_ = history_;
} else {
result.history_ = historyBuilder_.build();
}
if (((from_bitField0_ & 0x00000001) != 0)) {
to_bitField0_ |= 0x00000001;
}
result.status_ = status_;
if (((from_bitField0_ & 0x00000002) != 0)) {
result.endTime_ = endTime_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
to_bitField0_ |= 0x00000004;
}
result.result_ = result_;
if (summaryBuilder_ == null) {
result.summary_ = summary_;
} else {
result.summary_ = summaryBuilder_.build();
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.cancel_ = cancel_;
to_bitField0_ |= 0x00000008;
}
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.access.Ddl.AlterJob) {
return mergeFrom((cz.proto.access.Ddl.AlterJob)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.access.Ddl.AlterJob other) {
if (other == cz.proto.access.Ddl.AlterJob.getDefaultInstance()) return this;
if (other.hasHistory()) {
mergeHistory(other.getHistory());
}
if (other.hasStatus()) {
setStatus(other.getStatus());
}
if (other.hasEndTime()) {
setEndTime(other.getEndTime());
}
if (other.hasResult()) {
bitField0_ |= 0x00000004;
result_ = other.result_;
onChanged();
}
if (other.hasSummary()) {
mergeSummary(other.getSummary());
}
if (other.hasCancel()) {
setCancel(other.getCancel());
}
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.access.Ddl.AlterJob parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.access.Ddl.AlterJob) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private cz.proto.JobHistory history_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.JobHistory, cz.proto.JobHistory.Builder, cz.proto.JobHistoryOrBuilder> historyBuilder_;
/**
* .cz.proto.JobHistory history = 2;
* @return Whether the history field is set.
*/
public boolean hasHistory() {
return historyBuilder_ != null || history_ != null;
}
/**
* .cz.proto.JobHistory history = 2;
* @return The history.
*/
public cz.proto.JobHistory getHistory() {
if (historyBuilder_ == null) {
return history_ == null ? cz.proto.JobHistory.getDefaultInstance() : history_;
} else {
return historyBuilder_.getMessage();
}
}
/**
* .cz.proto.JobHistory history = 2;
*/
public Builder setHistory(cz.proto.JobHistory value) {
if (historyBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
history_ = value;
onChanged();
} else {
historyBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.JobHistory history = 2;
*/
public Builder setHistory(
cz.proto.JobHistory.Builder builderForValue) {
if (historyBuilder_ == null) {
history_ = builderForValue.build();
onChanged();
} else {
historyBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.JobHistory history = 2;
*/
public Builder mergeHistory(cz.proto.JobHistory value) {
if (historyBuilder_ == null) {
if (history_ != null) {
history_ =
cz.proto.JobHistory.newBuilder(history_).mergeFrom(value).buildPartial();
} else {
history_ = value;
}
onChanged();
} else {
historyBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.JobHistory history = 2;
*/
public Builder clearHistory() {
if (historyBuilder_ == null) {
history_ = null;
onChanged();
} else {
history_ = null;
historyBuilder_ = null;
}
return this;
}
/**
* .cz.proto.JobHistory history = 2;
*/
public cz.proto.JobHistory.Builder getHistoryBuilder() {
onChanged();
return getHistoryFieldBuilder().getBuilder();
}
/**
* .cz.proto.JobHistory history = 2;
*/
public cz.proto.JobHistoryOrBuilder getHistoryOrBuilder() {
if (historyBuilder_ != null) {
return historyBuilder_.getMessageOrBuilder();
} else {
return history_ == null ?
cz.proto.JobHistory.getDefaultInstance() : history_;
}
}
/**
* .cz.proto.JobHistory history = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.JobHistory, cz.proto.JobHistory.Builder, cz.proto.JobHistoryOrBuilder>
getHistoryFieldBuilder() {
if (historyBuilder_ == null) {
historyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.JobHistory, cz.proto.JobHistory.Builder, cz.proto.JobHistoryOrBuilder>(
getHistory(),
getParentForChildren(),
isClean());
history_ = null;
}
return historyBuilder_;
}
private int status_ = 0;
/**
* optional .cz.proto.JobStatus status = 3;
* @return Whether the status field is set.
*/
@java.lang.Override public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .cz.proto.JobStatus status = 3;
* @return The enum numeric value on the wire for status.
*/
@java.lang.Override public int getStatusValue() {
return status_;
}
/**
* optional .cz.proto.JobStatus status = 3;
* @param value The enum numeric value on the wire for status to set.
* @return This builder for chaining.
*/
public Builder setStatusValue(int value) {
bitField0_ |= 0x00000001;
status_ = value;
onChanged();
return this;
}
/**
* optional .cz.proto.JobStatus status = 3;
* @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;
}
/**
* optional .cz.proto.JobStatus status = 3;
* @param value The status to set.
* @return This builder for chaining.
*/
public Builder setStatus(cz.proto.JobStatus value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
status_ = value.getNumber();
onChanged();
return this;
}
/**
* optional .cz.proto.JobStatus status = 3;
* @return This builder for chaining.
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = 0;
onChanged();
return this;
}
private long endTime_ ;
/**
* optional int64 end_time = 4;
* @return Whether the endTime field is set.
*/
@java.lang.Override
public boolean hasEndTime() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int64 end_time = 4;
* @return The endTime.
*/
@java.lang.Override
public long getEndTime() {
return endTime_;
}
/**
* optional int64 end_time = 4;
* @param value The endTime to set.
* @return This builder for chaining.
*/
public Builder setEndTime(long value) {
bitField0_ |= 0x00000002;
endTime_ = value;
onChanged();
return this;
}
/**
* optional int64 end_time = 4;
* @return This builder for chaining.
*/
public Builder clearEndTime() {
bitField0_ = (bitField0_ & ~0x00000002);
endTime_ = 0L;
onChanged();
return this;
}
private java.lang.Object result_ = "";
/**
* optional string result = 5;
* @return Whether the result field is set.
*/
public boolean hasResult() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string result = 5;
* @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;
}
}
/**
* optional string result = 5;
* @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;
}
}
/**
* optional string result = 5;
* @param value The result to set.
* @return This builder for chaining.
*/
public Builder setResult(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
result_ = value;
onChanged();
return this;
}
/**
* optional string result = 5;
* @return This builder for chaining.
*/
public Builder clearResult() {
bitField0_ = (bitField0_ & ~0x00000004);
result_ = getDefaultInstance().getResult();
onChanged();
return this;
}
/**
* optional string result = 5;
* @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);
bitField0_ |= 0x00000004;
result_ = value;
onChanged();
return this;
}
private cz.proto.JobSummaryLocation summary_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.JobSummaryLocation, cz.proto.JobSummaryLocation.Builder, cz.proto.JobSummaryLocationOrBuilder> summaryBuilder_;
/**
* .cz.proto.JobSummaryLocation summary = 6;
* @return Whether the summary field is set.
*/
public boolean hasSummary() {
return summaryBuilder_ != null || summary_ != null;
}
/**
* .cz.proto.JobSummaryLocation summary = 6;
* @return The summary.
*/
public cz.proto.JobSummaryLocation getSummary() {
if (summaryBuilder_ == null) {
return summary_ == null ? cz.proto.JobSummaryLocation.getDefaultInstance() : summary_;
} else {
return summaryBuilder_.getMessage();
}
}
/**
* .cz.proto.JobSummaryLocation summary = 6;
*/
public Builder setSummary(cz.proto.JobSummaryLocation value) {
if (summaryBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
summary_ = value;
onChanged();
} else {
summaryBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.JobSummaryLocation summary = 6;
*/
public Builder setSummary(
cz.proto.JobSummaryLocation.Builder builderForValue) {
if (summaryBuilder_ == null) {
summary_ = builderForValue.build();
onChanged();
} else {
summaryBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.JobSummaryLocation summary = 6;
*/
public Builder mergeSummary(cz.proto.JobSummaryLocation value) {
if (summaryBuilder_ == null) {
if (summary_ != null) {
summary_ =
cz.proto.JobSummaryLocation.newBuilder(summary_).mergeFrom(value).buildPartial();
} else {
summary_ = value;
}
onChanged();
} else {
summaryBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.JobSummaryLocation summary = 6;
*/
public Builder clearSummary() {
if (summaryBuilder_ == null) {
summary_ = null;
onChanged();
} else {
summary_ = null;
summaryBuilder_ = null;
}
return this;
}
/**
* .cz.proto.JobSummaryLocation summary = 6;
*/
public cz.proto.JobSummaryLocation.Builder getSummaryBuilder() {
onChanged();
return getSummaryFieldBuilder().getBuilder();
}
/**
* .cz.proto.JobSummaryLocation summary = 6;
*/
public cz.proto.JobSummaryLocationOrBuilder getSummaryOrBuilder() {
if (summaryBuilder_ != null) {
return summaryBuilder_.getMessageOrBuilder();
} else {
return summary_ == null ?
cz.proto.JobSummaryLocation.getDefaultInstance() : summary_;
}
}
/**
* .cz.proto.JobSummaryLocation summary = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.JobSummaryLocation, cz.proto.JobSummaryLocation.Builder, cz.proto.JobSummaryLocationOrBuilder>
getSummaryFieldBuilder() {
if (summaryBuilder_ == null) {
summaryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.JobSummaryLocation, cz.proto.JobSummaryLocation.Builder, cz.proto.JobSummaryLocationOrBuilder>(
getSummary(),
getParentForChildren(),
isClean());
summary_ = null;
}
return summaryBuilder_;
}
private boolean cancel_ ;
/**
* optional bool cancel = 7;
* @return Whether the cancel field is set.
*/
@java.lang.Override
public boolean hasCancel() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional bool cancel = 7;
* @return The cancel.
*/
@java.lang.Override
public boolean getCancel() {
return cancel_;
}
/**
* optional bool cancel = 7;
* @param value The cancel to set.
* @return This builder for chaining.
*/
public Builder setCancel(boolean value) {
bitField0_ |= 0x00000008;
cancel_ = value;
onChanged();
return this;
}
/**
* optional bool cancel = 7;
* @return This builder for chaining.
*/
public Builder clearCancel() {
bitField0_ = (bitField0_ & ~0x00000008);
cancel_ = false;
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.access.AlterJob)
}
// @@protoc_insertion_point(class_scope:cz.proto.access.AlterJob)
private static final cz.proto.access.Ddl.AlterJob DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.access.Ddl.AlterJob();
}
public static cz.proto.access.Ddl.AlterJob getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public AlterJob parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AlterJob(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.access.Ddl.AlterJob getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AlterVClusterOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.access.AlterVCluster)
com.google.protobuf.MessageOrBuilder {
/**
* optional int64 vc_id = 1;
* @return Whether the vcId field is set.
*/
boolean hasVcId();
/**
* optional int64 vc_id = 1;
* @return The vcId.
*/
long getVcId();
/**
* optional int64 workspace_id = 2;
* @return Whether the workspaceId field is set.
*/
boolean hasWorkspaceId();
/**
* optional int64 workspace_id = 2;
* @return The workspaceId.
*/
long getWorkspaceId();
/**
* optional .com.clickzetta.rm.VirtualClusterProperties properties = 3;
* @return Whether the properties field is set.
*/
boolean hasProperties();
/**
* optional .com.clickzetta.rm.VirtualClusterProperties properties = 3;
* @return The properties.
*/
com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties getProperties();
/**
* optional .com.clickzetta.rm.VirtualClusterProperties properties = 3;
*/
com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterPropertiesOrBuilder getPropertiesOrBuilder();
/**
* optional .com.clickzetta.rm.VirtualClusterStateInfo state = 4;
* @return Whether the state field is set.
*/
boolean hasState();
/**
* optional .com.clickzetta.rm.VirtualClusterStateInfo state = 4;
* @return The state.
*/
com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo getState();
/**
* optional .com.clickzetta.rm.VirtualClusterStateInfo state = 4;
*/
com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfoOrBuilder getStateOrBuilder();
/**
* repeated string unset_tags = 5;
* @return A list containing the unsetTags.
*/
java.util.List
getUnsetTagsList();
/**
* repeated string unset_tags = 5;
* @return The count of unsetTags.
*/
int getUnsetTagsCount();
/**
* repeated string unset_tags = 5;
* @param index The index of the element to return.
* @return The unsetTags at the given index.
*/
java.lang.String getUnsetTags(int index);
/**
* repeated string unset_tags = 5;
* @param index The index of the value to return.
* @return The bytes of the unsetTags at the given index.
*/
com.google.protobuf.ByteString
getUnsetTagsBytes(int index);
}
/**
* Protobuf type {@code cz.proto.access.AlterVCluster}
*/
public static final class AlterVCluster extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.access.AlterVCluster)
AlterVClusterOrBuilder {
private static final long serialVersionUID = 0L;
// Use AlterVCluster.newBuilder() to construct.
private AlterVCluster(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AlterVCluster() {
unsetTags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AlterVCluster();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AlterVCluster(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
bitField0_ |= 0x00000001;
vcId_ = input.readInt64();
break;
}
case 16: {
bitField0_ |= 0x00000002;
workspaceId_ = input.readInt64();
break;
}
case 26: {
com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties.Builder subBuilder = null;
if (((bitField0_ & 0x00000004) != 0)) {
subBuilder = properties_.toBuilder();
}
properties_ = input.readMessage(com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(properties_);
properties_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000004;
break;
}
case 34: {
com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo.Builder subBuilder = null;
if (((bitField0_ & 0x00000008) != 0)) {
subBuilder = state_.toBuilder();
}
state_ = input.readMessage(com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(state_);
state_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000008;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000010) != 0)) {
unsetTags_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000010;
}
unsetTags_.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_ & 0x00000010) != 0)) {
unsetTags_ = unsetTags_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterVCluster_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterVCluster_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.AlterVCluster.class, cz.proto.access.Ddl.AlterVCluster.Builder.class);
}
private int bitField0_;
public static final int VC_ID_FIELD_NUMBER = 1;
private long vcId_;
/**
* optional int64 vc_id = 1;
* @return Whether the vcId field is set.
*/
@java.lang.Override
public boolean hasVcId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 vc_id = 1;
* @return The vcId.
*/
@java.lang.Override
public long getVcId() {
return vcId_;
}
public static final int WORKSPACE_ID_FIELD_NUMBER = 2;
private long workspaceId_;
/**
* optional int64 workspace_id = 2;
* @return Whether the workspaceId field is set.
*/
@java.lang.Override
public boolean hasWorkspaceId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int64 workspace_id = 2;
* @return The workspaceId.
*/
@java.lang.Override
public long getWorkspaceId() {
return workspaceId_;
}
public static final int PROPERTIES_FIELD_NUMBER = 3;
private com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties properties_;
/**
* optional .com.clickzetta.rm.VirtualClusterProperties properties = 3;
* @return Whether the properties field is set.
*/
@java.lang.Override
public boolean hasProperties() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional .com.clickzetta.rm.VirtualClusterProperties properties = 3;
* @return The properties.
*/
@java.lang.Override
public com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties getProperties() {
return properties_ == null ? com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties.getDefaultInstance() : properties_;
}
/**
* optional .com.clickzetta.rm.VirtualClusterProperties properties = 3;
*/
@java.lang.Override
public com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterPropertiesOrBuilder getPropertiesOrBuilder() {
return properties_ == null ? com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties.getDefaultInstance() : properties_;
}
public static final int STATE_FIELD_NUMBER = 4;
private com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo state_;
/**
* optional .com.clickzetta.rm.VirtualClusterStateInfo state = 4;
* @return Whether the state field is set.
*/
@java.lang.Override
public boolean hasState() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional .com.clickzetta.rm.VirtualClusterStateInfo state = 4;
* @return The state.
*/
@java.lang.Override
public com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo getState() {
return state_ == null ? com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo.getDefaultInstance() : state_;
}
/**
* optional .com.clickzetta.rm.VirtualClusterStateInfo state = 4;
*/
@java.lang.Override
public com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfoOrBuilder getStateOrBuilder() {
return state_ == null ? com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo.getDefaultInstance() : state_;
}
public static final int UNSET_TAGS_FIELD_NUMBER = 5;
private com.google.protobuf.LazyStringList unsetTags_;
/**
* repeated string unset_tags = 5;
* @return A list containing the unsetTags.
*/
public com.google.protobuf.ProtocolStringList
getUnsetTagsList() {
return unsetTags_;
}
/**
* repeated string unset_tags = 5;
* @return The count of unsetTags.
*/
public int getUnsetTagsCount() {
return unsetTags_.size();
}
/**
* repeated string unset_tags = 5;
* @param index The index of the element to return.
* @return The unsetTags at the given index.
*/
public java.lang.String getUnsetTags(int index) {
return unsetTags_.get(index);
}
/**
* repeated string unset_tags = 5;
* @param index The index of the value to return.
* @return The bytes of the unsetTags at the given index.
*/
public com.google.protobuf.ByteString
getUnsetTagsBytes(int index) {
return unsetTags_.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 {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, vcId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, workspaceId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(3, getProperties());
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeMessage(4, getState());
}
for (int i = 0; i < unsetTags_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, unsetTags_.getRaw(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, vcId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, workspaceId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getProperties());
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getState());
}
{
int dataSize = 0;
for (int i = 0; i < unsetTags_.size(); i++) {
dataSize += computeStringSizeNoTag(unsetTags_.getRaw(i));
}
size += dataSize;
size += 1 * getUnsetTagsList().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.access.Ddl.AlterVCluster)) {
return super.equals(obj);
}
cz.proto.access.Ddl.AlterVCluster other = (cz.proto.access.Ddl.AlterVCluster) obj;
if (hasVcId() != other.hasVcId()) return false;
if (hasVcId()) {
if (getVcId()
!= other.getVcId()) return false;
}
if (hasWorkspaceId() != other.hasWorkspaceId()) return false;
if (hasWorkspaceId()) {
if (getWorkspaceId()
!= other.getWorkspaceId()) return false;
}
if (hasProperties() != other.hasProperties()) return false;
if (hasProperties()) {
if (!getProperties()
.equals(other.getProperties())) return false;
}
if (hasState() != other.hasState()) return false;
if (hasState()) {
if (!getState()
.equals(other.getState())) return false;
}
if (!getUnsetTagsList()
.equals(other.getUnsetTagsList())) 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 (hasVcId()) {
hash = (37 * hash) + VC_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getVcId());
}
if (hasWorkspaceId()) {
hash = (37 * hash) + WORKSPACE_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getWorkspaceId());
}
if (hasProperties()) {
hash = (37 * hash) + PROPERTIES_FIELD_NUMBER;
hash = (53 * hash) + getProperties().hashCode();
}
if (hasState()) {
hash = (37 * hash) + STATE_FIELD_NUMBER;
hash = (53 * hash) + getState().hashCode();
}
if (getUnsetTagsCount() > 0) {
hash = (37 * hash) + UNSET_TAGS_FIELD_NUMBER;
hash = (53 * hash) + getUnsetTagsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.access.Ddl.AlterVCluster parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.AlterVCluster parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.AlterVCluster parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.AlterVCluster 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.access.Ddl.AlterVCluster parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.AlterVCluster parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.AlterVCluster parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.AlterVCluster 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.access.Ddl.AlterVCluster parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.AlterVCluster 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.access.Ddl.AlterVCluster parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.AlterVCluster 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.access.Ddl.AlterVCluster 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.access.AlterVCluster}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.access.AlterVCluster)
cz.proto.access.Ddl.AlterVClusterOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterVCluster_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterVCluster_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.AlterVCluster.class, cz.proto.access.Ddl.AlterVCluster.Builder.class);
}
// Construct using cz.proto.access.Ddl.AlterVCluster.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getPropertiesFieldBuilder();
getStateFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
vcId_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
workspaceId_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
if (propertiesBuilder_ == null) {
properties_ = null;
} else {
propertiesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
if (stateBuilder_ == null) {
state_ = null;
} else {
stateBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
unsetTags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterVCluster_descriptor;
}
@java.lang.Override
public cz.proto.access.Ddl.AlterVCluster getDefaultInstanceForType() {
return cz.proto.access.Ddl.AlterVCluster.getDefaultInstance();
}
@java.lang.Override
public cz.proto.access.Ddl.AlterVCluster build() {
cz.proto.access.Ddl.AlterVCluster result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.access.Ddl.AlterVCluster buildPartial() {
cz.proto.access.Ddl.AlterVCluster result = new cz.proto.access.Ddl.AlterVCluster(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.vcId_ = vcId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.workspaceId_ = workspaceId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
if (propertiesBuilder_ == null) {
result.properties_ = properties_;
} else {
result.properties_ = propertiesBuilder_.build();
}
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
if (stateBuilder_ == null) {
result.state_ = state_;
} else {
result.state_ = stateBuilder_.build();
}
to_bitField0_ |= 0x00000008;
}
if (((bitField0_ & 0x00000010) != 0)) {
unsetTags_ = unsetTags_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000010);
}
result.unsetTags_ = unsetTags_;
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.access.Ddl.AlterVCluster) {
return mergeFrom((cz.proto.access.Ddl.AlterVCluster)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.access.Ddl.AlterVCluster other) {
if (other == cz.proto.access.Ddl.AlterVCluster.getDefaultInstance()) return this;
if (other.hasVcId()) {
setVcId(other.getVcId());
}
if (other.hasWorkspaceId()) {
setWorkspaceId(other.getWorkspaceId());
}
if (other.hasProperties()) {
mergeProperties(other.getProperties());
}
if (other.hasState()) {
mergeState(other.getState());
}
if (!other.unsetTags_.isEmpty()) {
if (unsetTags_.isEmpty()) {
unsetTags_ = other.unsetTags_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureUnsetTagsIsMutable();
unsetTags_.addAll(other.unsetTags_);
}
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.access.Ddl.AlterVCluster parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.access.Ddl.AlterVCluster) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private long vcId_ ;
/**
* optional int64 vc_id = 1;
* @return Whether the vcId field is set.
*/
@java.lang.Override
public boolean hasVcId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 vc_id = 1;
* @return The vcId.
*/
@java.lang.Override
public long getVcId() {
return vcId_;
}
/**
* optional int64 vc_id = 1;
* @param value The vcId to set.
* @return This builder for chaining.
*/
public Builder setVcId(long value) {
bitField0_ |= 0x00000001;
vcId_ = value;
onChanged();
return this;
}
/**
* optional int64 vc_id = 1;
* @return This builder for chaining.
*/
public Builder clearVcId() {
bitField0_ = (bitField0_ & ~0x00000001);
vcId_ = 0L;
onChanged();
return this;
}
private long workspaceId_ ;
/**
* optional int64 workspace_id = 2;
* @return Whether the workspaceId field is set.
*/
@java.lang.Override
public boolean hasWorkspaceId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int64 workspace_id = 2;
* @return The workspaceId.
*/
@java.lang.Override
public long getWorkspaceId() {
return workspaceId_;
}
/**
* optional int64 workspace_id = 2;
* @param value The workspaceId to set.
* @return This builder for chaining.
*/
public Builder setWorkspaceId(long value) {
bitField0_ |= 0x00000002;
workspaceId_ = value;
onChanged();
return this;
}
/**
* optional int64 workspace_id = 2;
* @return This builder for chaining.
*/
public Builder clearWorkspaceId() {
bitField0_ = (bitField0_ & ~0x00000002);
workspaceId_ = 0L;
onChanged();
return this;
}
private com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties properties_;
private com.google.protobuf.SingleFieldBuilderV3<
com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties, com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties.Builder, com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterPropertiesOrBuilder> propertiesBuilder_;
/**
* optional .com.clickzetta.rm.VirtualClusterProperties properties = 3;
* @return Whether the properties field is set.
*/
public boolean hasProperties() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional .com.clickzetta.rm.VirtualClusterProperties properties = 3;
* @return The properties.
*/
public com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties getProperties() {
if (propertiesBuilder_ == null) {
return properties_ == null ? com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties.getDefaultInstance() : properties_;
} else {
return propertiesBuilder_.getMessage();
}
}
/**
* optional .com.clickzetta.rm.VirtualClusterProperties properties = 3;
*/
public Builder setProperties(com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties value) {
if (propertiesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
properties_ = value;
onChanged();
} else {
propertiesBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .com.clickzetta.rm.VirtualClusterProperties properties = 3;
*/
public Builder setProperties(
com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties.Builder builderForValue) {
if (propertiesBuilder_ == null) {
properties_ = builderForValue.build();
onChanged();
} else {
propertiesBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .com.clickzetta.rm.VirtualClusterProperties properties = 3;
*/
public Builder mergeProperties(com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties value) {
if (propertiesBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
properties_ != null &&
properties_ != com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties.getDefaultInstance()) {
properties_ =
com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties.newBuilder(properties_).mergeFrom(value).buildPartial();
} else {
properties_ = value;
}
onChanged();
} else {
propertiesBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .com.clickzetta.rm.VirtualClusterProperties properties = 3;
*/
public Builder clearProperties() {
if (propertiesBuilder_ == null) {
properties_ = null;
onChanged();
} else {
propertiesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
/**
* optional .com.clickzetta.rm.VirtualClusterProperties properties = 3;
*/
public com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties.Builder getPropertiesBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getPropertiesFieldBuilder().getBuilder();
}
/**
* optional .com.clickzetta.rm.VirtualClusterProperties properties = 3;
*/
public com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterPropertiesOrBuilder getPropertiesOrBuilder() {
if (propertiesBuilder_ != null) {
return propertiesBuilder_.getMessageOrBuilder();
} else {
return properties_ == null ?
com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties.getDefaultInstance() : properties_;
}
}
/**
* optional .com.clickzetta.rm.VirtualClusterProperties properties = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties, com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties.Builder, com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterPropertiesOrBuilder>
getPropertiesFieldBuilder() {
if (propertiesBuilder_ == null) {
propertiesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties, com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties.Builder, com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterPropertiesOrBuilder>(
getProperties(),
getParentForChildren(),
isClean());
properties_ = null;
}
return propertiesBuilder_;
}
private com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo state_;
private com.google.protobuf.SingleFieldBuilderV3<
com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo, com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo.Builder, com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfoOrBuilder> stateBuilder_;
/**
* optional .com.clickzetta.rm.VirtualClusterStateInfo state = 4;
* @return Whether the state field is set.
*/
public boolean hasState() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional .com.clickzetta.rm.VirtualClusterStateInfo state = 4;
* @return The state.
*/
public com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo getState() {
if (stateBuilder_ == null) {
return state_ == null ? com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo.getDefaultInstance() : state_;
} else {
return stateBuilder_.getMessage();
}
}
/**
* optional .com.clickzetta.rm.VirtualClusterStateInfo state = 4;
*/
public Builder setState(com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo value) {
if (stateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
state_ = value;
onChanged();
} else {
stateBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .com.clickzetta.rm.VirtualClusterStateInfo state = 4;
*/
public Builder setState(
com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo.Builder builderForValue) {
if (stateBuilder_ == null) {
state_ = builderForValue.build();
onChanged();
} else {
stateBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .com.clickzetta.rm.VirtualClusterStateInfo state = 4;
*/
public Builder mergeState(com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo value) {
if (stateBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0) &&
state_ != null &&
state_ != com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo.getDefaultInstance()) {
state_ =
com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo.newBuilder(state_).mergeFrom(value).buildPartial();
} else {
state_ = value;
}
onChanged();
} else {
stateBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .com.clickzetta.rm.VirtualClusterStateInfo state = 4;
*/
public Builder clearState() {
if (stateBuilder_ == null) {
state_ = null;
onChanged();
} else {
stateBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
/**
* optional .com.clickzetta.rm.VirtualClusterStateInfo state = 4;
*/
public com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo.Builder getStateBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getStateFieldBuilder().getBuilder();
}
/**
* optional .com.clickzetta.rm.VirtualClusterStateInfo state = 4;
*/
public com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfoOrBuilder getStateOrBuilder() {
if (stateBuilder_ != null) {
return stateBuilder_.getMessageOrBuilder();
} else {
return state_ == null ?
com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo.getDefaultInstance() : state_;
}
}
/**
* optional .com.clickzetta.rm.VirtualClusterStateInfo state = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo, com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo.Builder, com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfoOrBuilder>
getStateFieldBuilder() {
if (stateBuilder_ == null) {
stateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo, com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo.Builder, com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfoOrBuilder>(
getState(),
getParentForChildren(),
isClean());
state_ = null;
}
return stateBuilder_;
}
private com.google.protobuf.LazyStringList unsetTags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureUnsetTagsIsMutable() {
if (!((bitField0_ & 0x00000010) != 0)) {
unsetTags_ = new com.google.protobuf.LazyStringArrayList(unsetTags_);
bitField0_ |= 0x00000010;
}
}
/**
* repeated string unset_tags = 5;
* @return A list containing the unsetTags.
*/
public com.google.protobuf.ProtocolStringList
getUnsetTagsList() {
return unsetTags_.getUnmodifiableView();
}
/**
* repeated string unset_tags = 5;
* @return The count of unsetTags.
*/
public int getUnsetTagsCount() {
return unsetTags_.size();
}
/**
* repeated string unset_tags = 5;
* @param index The index of the element to return.
* @return The unsetTags at the given index.
*/
public java.lang.String getUnsetTags(int index) {
return unsetTags_.get(index);
}
/**
* repeated string unset_tags = 5;
* @param index The index of the value to return.
* @return The bytes of the unsetTags at the given index.
*/
public com.google.protobuf.ByteString
getUnsetTagsBytes(int index) {
return unsetTags_.getByteString(index);
}
/**
* repeated string unset_tags = 5;
* @param index The index to set the value at.
* @param value The unsetTags to set.
* @return This builder for chaining.
*/
public Builder setUnsetTags(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureUnsetTagsIsMutable();
unsetTags_.set(index, value);
onChanged();
return this;
}
/**
* repeated string unset_tags = 5;
* @param value The unsetTags to add.
* @return This builder for chaining.
*/
public Builder addUnsetTags(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureUnsetTagsIsMutable();
unsetTags_.add(value);
onChanged();
return this;
}
/**
* repeated string unset_tags = 5;
* @param values The unsetTags to add.
* @return This builder for chaining.
*/
public Builder addAllUnsetTags(
java.lang.Iterable values) {
ensureUnsetTagsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, unsetTags_);
onChanged();
return this;
}
/**
* repeated string unset_tags = 5;
* @return This builder for chaining.
*/
public Builder clearUnsetTags() {
unsetTags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
* repeated string unset_tags = 5;
* @param value The bytes of the unsetTags to add.
* @return This builder for chaining.
*/
public Builder addUnsetTagsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureUnsetTagsIsMutable();
unsetTags_.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.access.AlterVCluster)
}
// @@protoc_insertion_point(class_scope:cz.proto.access.AlterVCluster)
private static final cz.proto.access.Ddl.AlterVCluster DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.access.Ddl.AlterVCluster();
}
public static cz.proto.access.Ddl.AlterVCluster getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public AlterVCluster parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AlterVCluster(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.access.Ddl.AlterVCluster getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AlterUserOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.access.AlterUser)
com.google.protobuf.MessageOrBuilder {
/**
* optional int64 user_id = 1;
* @return Whether the userId field is set.
*/
boolean hasUserId();
/**
* optional int64 user_id = 1;
* @return The userId.
*/
long getUserId();
/**
* optional string default_vc = 2;
* @return Whether the defaultVc field is set.
*/
boolean hasDefaultVc();
/**
* optional string default_vc = 2;
* @return The defaultVc.
*/
java.lang.String getDefaultVc();
/**
* optional string default_vc = 2;
* @return The bytes for defaultVc.
*/
com.google.protobuf.ByteString
getDefaultVcBytes();
/**
* optional string default_schema = 3;
* @return Whether the defaultSchema field is set.
*/
boolean hasDefaultSchema();
/**
* optional string default_schema = 3;
* @return The defaultSchema.
*/
java.lang.String getDefaultSchema();
/**
* optional string default_schema = 3;
* @return The bytes for defaultSchema.
*/
com.google.protobuf.ByteString
getDefaultSchemaBytes();
}
/**
* Protobuf type {@code cz.proto.access.AlterUser}
*/
public static final class AlterUser extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.access.AlterUser)
AlterUserOrBuilder {
private static final long serialVersionUID = 0L;
// Use AlterUser.newBuilder() to construct.
private AlterUser(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AlterUser() {
defaultVc_ = "";
defaultSchema_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AlterUser();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AlterUser(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
bitField0_ |= 0x00000001;
userId_ = input.readInt64();
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
defaultVc_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
defaultSchema_ = 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.access.Ddl.internal_static_cz_proto_access_AlterUser_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterUser_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.AlterUser.class, cz.proto.access.Ddl.AlterUser.Builder.class);
}
private int bitField0_;
public static final int USER_ID_FIELD_NUMBER = 1;
private long userId_;
/**
* optional int64 user_id = 1;
* @return Whether the userId field is set.
*/
@java.lang.Override
public boolean hasUserId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 user_id = 1;
* @return The userId.
*/
@java.lang.Override
public long getUserId() {
return userId_;
}
public static final int DEFAULT_VC_FIELD_NUMBER = 2;
private volatile java.lang.Object defaultVc_;
/**
* optional string default_vc = 2;
* @return Whether the defaultVc field is set.
*/
@java.lang.Override
public boolean hasDefaultVc() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string default_vc = 2;
* @return The defaultVc.
*/
@java.lang.Override
public java.lang.String getDefaultVc() {
java.lang.Object ref = defaultVc_;
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();
defaultVc_ = s;
return s;
}
}
/**
* optional string default_vc = 2;
* @return The bytes for defaultVc.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDefaultVcBytes() {
java.lang.Object ref = defaultVc_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
defaultVc_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DEFAULT_SCHEMA_FIELD_NUMBER = 3;
private volatile java.lang.Object defaultSchema_;
/**
* optional string default_schema = 3;
* @return Whether the defaultSchema field is set.
*/
@java.lang.Override
public boolean hasDefaultSchema() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string default_schema = 3;
* @return The defaultSchema.
*/
@java.lang.Override
public java.lang.String getDefaultSchema() {
java.lang.Object ref = defaultSchema_;
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();
defaultSchema_ = s;
return s;
}
}
/**
* optional string default_schema = 3;
* @return The bytes for defaultSchema.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDefaultSchemaBytes() {
java.lang.Object ref = defaultSchema_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
defaultSchema_ = 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 {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, userId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, defaultVc_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, defaultSchema_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, userId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, defaultVc_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, defaultSchema_);
}
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.access.Ddl.AlterUser)) {
return super.equals(obj);
}
cz.proto.access.Ddl.AlterUser other = (cz.proto.access.Ddl.AlterUser) obj;
if (hasUserId() != other.hasUserId()) return false;
if (hasUserId()) {
if (getUserId()
!= other.getUserId()) return false;
}
if (hasDefaultVc() != other.hasDefaultVc()) return false;
if (hasDefaultVc()) {
if (!getDefaultVc()
.equals(other.getDefaultVc())) return false;
}
if (hasDefaultSchema() != other.hasDefaultSchema()) return false;
if (hasDefaultSchema()) {
if (!getDefaultSchema()
.equals(other.getDefaultSchema())) 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 (hasUserId()) {
hash = (37 * hash) + USER_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getUserId());
}
if (hasDefaultVc()) {
hash = (37 * hash) + DEFAULT_VC_FIELD_NUMBER;
hash = (53 * hash) + getDefaultVc().hashCode();
}
if (hasDefaultSchema()) {
hash = (37 * hash) + DEFAULT_SCHEMA_FIELD_NUMBER;
hash = (53 * hash) + getDefaultSchema().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.access.Ddl.AlterUser parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.AlterUser parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.AlterUser parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.AlterUser 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.access.Ddl.AlterUser parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.AlterUser parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.AlterUser parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.AlterUser 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.access.Ddl.AlterUser parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.AlterUser 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.access.Ddl.AlterUser parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.AlterUser 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.access.Ddl.AlterUser 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.access.AlterUser}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.access.AlterUser)
cz.proto.access.Ddl.AlterUserOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterUser_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterUser_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.AlterUser.class, cz.proto.access.Ddl.AlterUser.Builder.class);
}
// Construct using cz.proto.access.Ddl.AlterUser.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();
userId_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
defaultVc_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
defaultSchema_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterUser_descriptor;
}
@java.lang.Override
public cz.proto.access.Ddl.AlterUser getDefaultInstanceForType() {
return cz.proto.access.Ddl.AlterUser.getDefaultInstance();
}
@java.lang.Override
public cz.proto.access.Ddl.AlterUser build() {
cz.proto.access.Ddl.AlterUser result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.access.Ddl.AlterUser buildPartial() {
cz.proto.access.Ddl.AlterUser result = new cz.proto.access.Ddl.AlterUser(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.userId_ = userId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
to_bitField0_ |= 0x00000002;
}
result.defaultVc_ = defaultVc_;
if (((from_bitField0_ & 0x00000004) != 0)) {
to_bitField0_ |= 0x00000004;
}
result.defaultSchema_ = defaultSchema_;
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.access.Ddl.AlterUser) {
return mergeFrom((cz.proto.access.Ddl.AlterUser)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.access.Ddl.AlterUser other) {
if (other == cz.proto.access.Ddl.AlterUser.getDefaultInstance()) return this;
if (other.hasUserId()) {
setUserId(other.getUserId());
}
if (other.hasDefaultVc()) {
bitField0_ |= 0x00000002;
defaultVc_ = other.defaultVc_;
onChanged();
}
if (other.hasDefaultSchema()) {
bitField0_ |= 0x00000004;
defaultSchema_ = other.defaultSchema_;
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.access.Ddl.AlterUser parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.access.Ddl.AlterUser) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private long userId_ ;
/**
* optional int64 user_id = 1;
* @return Whether the userId field is set.
*/
@java.lang.Override
public boolean hasUserId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 user_id = 1;
* @return The userId.
*/
@java.lang.Override
public long getUserId() {
return userId_;
}
/**
* optional int64 user_id = 1;
* @param value The userId to set.
* @return This builder for chaining.
*/
public Builder setUserId(long value) {
bitField0_ |= 0x00000001;
userId_ = value;
onChanged();
return this;
}
/**
* optional int64 user_id = 1;
* @return This builder for chaining.
*/
public Builder clearUserId() {
bitField0_ = (bitField0_ & ~0x00000001);
userId_ = 0L;
onChanged();
return this;
}
private java.lang.Object defaultVc_ = "";
/**
* optional string default_vc = 2;
* @return Whether the defaultVc field is set.
*/
public boolean hasDefaultVc() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string default_vc = 2;
* @return The defaultVc.
*/
public java.lang.String getDefaultVc() {
java.lang.Object ref = defaultVc_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
defaultVc_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string default_vc = 2;
* @return The bytes for defaultVc.
*/
public com.google.protobuf.ByteString
getDefaultVcBytes() {
java.lang.Object ref = defaultVc_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
defaultVc_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string default_vc = 2;
* @param value The defaultVc to set.
* @return This builder for chaining.
*/
public Builder setDefaultVc(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
defaultVc_ = value;
onChanged();
return this;
}
/**
* optional string default_vc = 2;
* @return This builder for chaining.
*/
public Builder clearDefaultVc() {
bitField0_ = (bitField0_ & ~0x00000002);
defaultVc_ = getDefaultInstance().getDefaultVc();
onChanged();
return this;
}
/**
* optional string default_vc = 2;
* @param value The bytes for defaultVc to set.
* @return This builder for chaining.
*/
public Builder setDefaultVcBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
bitField0_ |= 0x00000002;
defaultVc_ = value;
onChanged();
return this;
}
private java.lang.Object defaultSchema_ = "";
/**
* optional string default_schema = 3;
* @return Whether the defaultSchema field is set.
*/
public boolean hasDefaultSchema() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string default_schema = 3;
* @return The defaultSchema.
*/
public java.lang.String getDefaultSchema() {
java.lang.Object ref = defaultSchema_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
defaultSchema_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string default_schema = 3;
* @return The bytes for defaultSchema.
*/
public com.google.protobuf.ByteString
getDefaultSchemaBytes() {
java.lang.Object ref = defaultSchema_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
defaultSchema_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string default_schema = 3;
* @param value The defaultSchema to set.
* @return This builder for chaining.
*/
public Builder setDefaultSchema(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
defaultSchema_ = value;
onChanged();
return this;
}
/**
* optional string default_schema = 3;
* @return This builder for chaining.
*/
public Builder clearDefaultSchema() {
bitField0_ = (bitField0_ & ~0x00000004);
defaultSchema_ = getDefaultInstance().getDefaultSchema();
onChanged();
return this;
}
/**
* optional string default_schema = 3;
* @param value The bytes for defaultSchema to set.
* @return This builder for chaining.
*/
public Builder setDefaultSchemaBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
bitField0_ |= 0x00000004;
defaultSchema_ = 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.access.AlterUser)
}
// @@protoc_insertion_point(class_scope:cz.proto.access.AlterUser)
private static final cz.proto.access.Ddl.AlterUser DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.access.Ddl.AlterUser();
}
public static cz.proto.access.Ddl.AlterUser getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public AlterUser parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AlterUser(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.access.Ddl.AlterUser getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TruncateEntityOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.access.TruncateEntity)
com.google.protobuf.MessageOrBuilder {
/**
* .cz.proto.access.TruncateTable table = 10;
* @return Whether the table field is set.
*/
boolean hasTable();
/**
* .cz.proto.access.TruncateTable table = 10;
* @return The table.
*/
cz.proto.access.Ddl.TruncateTable getTable();
/**
* .cz.proto.access.TruncateTable table = 10;
*/
cz.proto.access.Ddl.TruncateTableOrBuilder getTableOrBuilder();
public cz.proto.access.Ddl.TruncateEntity.DerivedCase getDerivedCase();
}
/**
* Protobuf type {@code cz.proto.access.TruncateEntity}
*/
public static final class TruncateEntity extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.access.TruncateEntity)
TruncateEntityOrBuilder {
private static final long serialVersionUID = 0L;
// Use TruncateEntity.newBuilder() to construct.
private TruncateEntity(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private TruncateEntity() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TruncateEntity();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TruncateEntity(
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 82: {
cz.proto.access.Ddl.TruncateTable.Builder subBuilder = null;
if (derivedCase_ == 10) {
subBuilder = ((cz.proto.access.Ddl.TruncateTable) derived_).toBuilder();
}
derived_ =
input.readMessage(cz.proto.access.Ddl.TruncateTable.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.access.Ddl.TruncateTable) derived_);
derived_ = subBuilder.buildPartial();
}
derivedCase_ = 10;
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.access.Ddl.internal_static_cz_proto_access_TruncateEntity_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_TruncateEntity_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.TruncateEntity.class, cz.proto.access.Ddl.TruncateEntity.Builder.class);
}
private int derivedCase_ = 0;
private java.lang.Object derived_;
public enum DerivedCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
TABLE(10),
DERIVED_NOT_SET(0);
private final int value;
private DerivedCase(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 DerivedCase valueOf(int value) {
return forNumber(value);
}
public static DerivedCase forNumber(int value) {
switch (value) {
case 10: return TABLE;
case 0: return DERIVED_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public DerivedCase
getDerivedCase() {
return DerivedCase.forNumber(
derivedCase_);
}
public static final int TABLE_FIELD_NUMBER = 10;
/**
* .cz.proto.access.TruncateTable table = 10;
* @return Whether the table field is set.
*/
@java.lang.Override
public boolean hasTable() {
return derivedCase_ == 10;
}
/**
* .cz.proto.access.TruncateTable table = 10;
* @return The table.
*/
@java.lang.Override
public cz.proto.access.Ddl.TruncateTable getTable() {
if (derivedCase_ == 10) {
return (cz.proto.access.Ddl.TruncateTable) derived_;
}
return cz.proto.access.Ddl.TruncateTable.getDefaultInstance();
}
/**
* .cz.proto.access.TruncateTable table = 10;
*/
@java.lang.Override
public cz.proto.access.Ddl.TruncateTableOrBuilder getTableOrBuilder() {
if (derivedCase_ == 10) {
return (cz.proto.access.Ddl.TruncateTable) derived_;
}
return cz.proto.access.Ddl.TruncateTable.getDefaultInstance();
}
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 (derivedCase_ == 10) {
output.writeMessage(10, (cz.proto.access.Ddl.TruncateTable) derived_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (derivedCase_ == 10) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, (cz.proto.access.Ddl.TruncateTable) derived_);
}
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.access.Ddl.TruncateEntity)) {
return super.equals(obj);
}
cz.proto.access.Ddl.TruncateEntity other = (cz.proto.access.Ddl.TruncateEntity) obj;
if (!getDerivedCase().equals(other.getDerivedCase())) return false;
switch (derivedCase_) {
case 10:
if (!getTable()
.equals(other.getTable())) 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();
switch (derivedCase_) {
case 10:
hash = (37 * hash) + TABLE_FIELD_NUMBER;
hash = (53 * hash) + getTable().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.access.Ddl.TruncateEntity parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.TruncateEntity parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.TruncateEntity parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.TruncateEntity 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.access.Ddl.TruncateEntity parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.access.Ddl.TruncateEntity parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.access.Ddl.TruncateEntity parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.TruncateEntity 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.access.Ddl.TruncateEntity parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.TruncateEntity 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.access.Ddl.TruncateEntity parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.access.Ddl.TruncateEntity 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.access.Ddl.TruncateEntity 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.access.TruncateEntity}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.access.TruncateEntity)
cz.proto.access.Ddl.TruncateEntityOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_TruncateEntity_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_TruncateEntity_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.access.Ddl.TruncateEntity.class, cz.proto.access.Ddl.TruncateEntity.Builder.class);
}
// Construct using cz.proto.access.Ddl.TruncateEntity.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();
derivedCase_ = 0;
derived_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.access.Ddl.internal_static_cz_proto_access_TruncateEntity_descriptor;
}
@java.lang.Override
public cz.proto.access.Ddl.TruncateEntity getDefaultInstanceForType() {
return cz.proto.access.Ddl.TruncateEntity.getDefaultInstance();
}
@java.lang.Override
public cz.proto.access.Ddl.TruncateEntity build() {
cz.proto.access.Ddl.TruncateEntity result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.access.Ddl.TruncateEntity buildPartial() {
cz.proto.access.Ddl.TruncateEntity result = new cz.proto.access.Ddl.TruncateEntity(this);
if (derivedCase_ == 10) {
if (tableBuilder_ == null) {
result.derived_ = derived_;
} else {
result.derived_ = tableBuilder_.build();
}
}
result.derivedCase_ = derivedCase_;
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.access.Ddl.TruncateEntity) {
return mergeFrom((cz.proto.access.Ddl.TruncateEntity)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.access.Ddl.TruncateEntity other) {
if (other == cz.proto.access.Ddl.TruncateEntity.getDefaultInstance()) return this;
switch (other.getDerivedCase()) {
case TABLE: {
mergeTable(other.getTable());
break;
}
case DERIVED_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.access.Ddl.TruncateEntity parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.access.Ddl.TruncateEntity) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int derivedCase_ = 0;
private java.lang.Object derived_;
public DerivedCase
getDerivedCase() {
return DerivedCase.forNumber(
derivedCase_);
}
public Builder clearDerived() {
derivedCase_ = 0;
derived_ = null;
onChanged();
return this;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.TruncateTable, cz.proto.access.Ddl.TruncateTable.Builder, cz.proto.access.Ddl.TruncateTableOrBuilder> tableBuilder_;
/**
* .cz.proto.access.TruncateTable table = 10;
* @return Whether the table field is set.
*/
@java.lang.Override
public boolean hasTable() {
return derivedCase_ == 10;
}
/**
* .cz.proto.access.TruncateTable table = 10;
* @return The table.
*/
@java.lang.Override
public cz.proto.access.Ddl.TruncateTable getTable() {
if (tableBuilder_ == null) {
if (derivedCase_ == 10) {
return (cz.proto.access.Ddl.TruncateTable) derived_;
}
return cz.proto.access.Ddl.TruncateTable.getDefaultInstance();
} else {
if (derivedCase_ == 10) {
return tableBuilder_.getMessage();
}
return cz.proto.access.Ddl.TruncateTable.getDefaultInstance();
}
}
/**
* .cz.proto.access.TruncateTable table = 10;
*/
public Builder setTable(cz.proto.access.Ddl.TruncateTable value) {
if (tableBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
derived_ = value;
onChanged();
} else {
tableBuilder_.setMessage(value);
}
derivedCase_ = 10;
return this;
}
/**
* .cz.proto.access.TruncateTable table = 10;
*/
public Builder setTable(
cz.proto.access.Ddl.TruncateTable.Builder builderForValue) {
if (tableBuilder_ == null) {
derived_ = builderForValue.build();
onChanged();
} else {
tableBuilder_.setMessage(builderForValue.build());
}
derivedCase_ = 10;
return this;
}
/**
* .cz.proto.access.TruncateTable table = 10;
*/
public Builder mergeTable(cz.proto.access.Ddl.TruncateTable value) {
if (tableBuilder_ == null) {
if (derivedCase_ == 10 &&
derived_ != cz.proto.access.Ddl.TruncateTable.getDefaultInstance()) {
derived_ = cz.proto.access.Ddl.TruncateTable.newBuilder((cz.proto.access.Ddl.TruncateTable) derived_)
.mergeFrom(value).buildPartial();
} else {
derived_ = value;
}
onChanged();
} else {
if (derivedCase_ == 10) {
tableBuilder_.mergeFrom(value);
}
tableBuilder_.setMessage(value);
}
derivedCase_ = 10;
return this;
}
/**
* .cz.proto.access.TruncateTable table = 10;
*/
public Builder clearTable() {
if (tableBuilder_ == null) {
if (derivedCase_ == 10) {
derivedCase_ = 0;
derived_ = null;
onChanged();
}
} else {
if (derivedCase_ == 10) {
derivedCase_ = 0;
derived_ = null;
}
tableBuilder_.clear();
}
return this;
}
/**
* .cz.proto.access.TruncateTable table = 10;
*/
public cz.proto.access.Ddl.TruncateTable.Builder getTableBuilder() {
return getTableFieldBuilder().getBuilder();
}
/**
* .cz.proto.access.TruncateTable table = 10;
*/
@java.lang.Override
public cz.proto.access.Ddl.TruncateTableOrBuilder getTableOrBuilder() {
if ((derivedCase_ == 10) && (tableBuilder_ != null)) {
return tableBuilder_.getMessageOrBuilder();
} else {
if (derivedCase_ == 10) {
return (cz.proto.access.Ddl.TruncateTable) derived_;
}
return cz.proto.access.Ddl.TruncateTable.getDefaultInstance();
}
}
/**
* .cz.proto.access.TruncateTable table = 10;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.TruncateTable, cz.proto.access.Ddl.TruncateTable.Builder, cz.proto.access.Ddl.TruncateTableOrBuilder>
getTableFieldBuilder() {
if (tableBuilder_ == null) {
if (!(derivedCase_ == 10)) {
derived_ = cz.proto.access.Ddl.TruncateTable.getDefaultInstance();
}
tableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.access.Ddl.TruncateTable, cz.proto.access.Ddl.TruncateTable.Builder, cz.proto.access.Ddl.TruncateTableOrBuilder>(
(cz.proto.access.Ddl.TruncateTable) derived_,
getParentForChildren(),
isClean());
derived_ = null;
}
derivedCase_ = 10;
onChanged();;
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.access.TruncateEntity)
}
// @@protoc_insertion_point(class_scope:cz.proto.access.TruncateEntity)
private static final cz.proto.access.Ddl.TruncateEntity DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.access.Ddl.TruncateEntity();
}
public static cz.proto.access.Ddl.TruncateEntity getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser