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

cz.proto.MetadataEntity Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: metadata_entity.proto

package cz.proto;

public final class MetadataEntity {
  private MetadataEntity() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface EntityOrBuilder extends
      // @@protoc_insertion_point(interface_extends:cz.proto.Entity)
      com.google.protobuf.MessageOrBuilder {

    /**
     * optional .cz.proto.ObjectIdentifier identifier = 1;
     * @return Whether the identifier field is set.
     */
    boolean hasIdentifier();
    /**
     * optional .cz.proto.ObjectIdentifier identifier = 1;
     * @return The identifier.
     */
    cz.proto.ObjectIdentifier getIdentifier();
    /**
     * optional .cz.proto.ObjectIdentifier identifier = 1;
     */
    cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder();

    /**
     * int64 creator = 2;
     * @return The creator.
     */
    long getCreator();

    /**
     * .cz.proto.PrincipalType creator_type = 3;
     * @return The enum numeric value on the wire for creatorType.
     */
    int getCreatorTypeValue();
    /**
     * .cz.proto.PrincipalType creator_type = 3;
     * @return The creatorType.
     */
    cz.proto.PrincipalType getCreatorType();

    /**
     * optional string comment = 4;
     * @return Whether the comment field is set.
     */
    boolean hasComment();
    /**
     * optional string comment = 4;
     * @return The comment.
     */
    java.lang.String getComment();
    /**
     * optional string comment = 4;
     * @return The bytes for comment.
     */
    com.google.protobuf.ByteString
        getCommentBytes();

    /**
     * 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 
        getPropertiesOrBuilderList();
    /**
     * repeated .cz.proto.Property properties = 5;
     */
    cz.proto.PropertyOuterClass.PropertyOrBuilder getPropertiesOrBuilder(
        int index);

    /**
     * int64 create_time = 6;
     * @return The createTime.
     */
    long getCreateTime();

    /**
     * int64 last_modify_time = 7;
     * @return The lastModifyTime.
     */
    long getLastModifyTime();

    /**
     * .cz.proto.ObjectState.Type state = 8;
     * @return The enum numeric value on the wire for state.
     */
    int getStateValue();
    /**
     * .cz.proto.ObjectState.Type state = 8;
     * @return The state.
     */
    cz.proto.ObjectState.Type getState();

    /**
     * .cz.proto.Entity.Category category = 9;
     * @return The enum numeric value on the wire for category.
     */
    int getCategoryValue();
    /**
     * .cz.proto.Entity.Category category = 9;
     * @return The category.
     */
    cz.proto.MetadataEntity.Entity.Category getCategory();

    /**
     * .cz.proto.Workspace workspace = 10;
     * @return Whether the workspace field is set.
     */
    boolean hasWorkspace();
    /**
     * .cz.proto.Workspace workspace = 10;
     * @return The workspace.
     */
    cz.proto.WorkspaceMeta.Workspace getWorkspace();
    /**
     * .cz.proto.Workspace workspace = 10;
     */
    cz.proto.WorkspaceMeta.WorkspaceOrBuilder getWorkspaceOrBuilder();

    /**
     * .cz.proto.Schema schema = 11;
     * @return Whether the schema field is set.
     */
    boolean hasSchema();
    /**
     * .cz.proto.Schema schema = 11;
     * @return The schema.
     */
    cz.proto.SchemaOuterClass.Schema getSchema();
    /**
     * .cz.proto.Schema schema = 11;
     */
    cz.proto.SchemaOuterClass.SchemaOrBuilder getSchemaOrBuilder();

    /**
     * .cz.proto.TableMeta table = 12;
     * @return Whether the table field is set.
     */
    boolean hasTable();
    /**
     * .cz.proto.TableMeta table = 12;
     * @return The table.
     */
    cz.proto.TableMeta getTable();
    /**
     * .cz.proto.TableMeta table = 12;
     */
    cz.proto.TableMetaOrBuilder getTableOrBuilder();

    /**
     * .cz.proto.User user = 13;
     * @return Whether the user field is set.
     */
    boolean hasUser();
    /**
     * .cz.proto.User user = 13;
     * @return The user.
     */
    cz.proto.AccountOuterClass.User getUser();
    /**
     * .cz.proto.User user = 13;
     */
    cz.proto.AccountOuterClass.UserOrBuilder getUserOrBuilder();

    /**
     * .cz.proto.Role role = 14;
     * @return Whether the role field is set.
     */
    boolean hasRole();
    /**
     * .cz.proto.Role role = 14;
     * @return The role.
     */
    cz.proto.RoleMeta.Role getRole();
    /**
     * .cz.proto.Role role = 14;
     */
    cz.proto.RoleMeta.RoleOrBuilder getRoleOrBuilder();

    /**
     * .cz.proto.JobMeta job = 15;
     * @return Whether the job field is set.
     */
    boolean hasJob();
    /**
     * .cz.proto.JobMeta job = 15;
     * @return The job.
     */
    cz.proto.JobMeta getJob();
    /**
     * .cz.proto.JobMeta job = 15;
     */
    cz.proto.JobMetaOrBuilder getJobOrBuilder();

    /**
     * .cz.proto.VirtualClusterMeta virtual_cluster = 16;
     * @return Whether the virtualCluster field is set.
     */
    boolean hasVirtualCluster();
    /**
     * .cz.proto.VirtualClusterMeta virtual_cluster = 16;
     * @return The virtualCluster.
     */
    cz.proto.VirtualClusterMetaOuterClass.VirtualClusterMeta getVirtualCluster();
    /**
     * .cz.proto.VirtualClusterMeta virtual_cluster = 16;
     */
    cz.proto.VirtualClusterMetaOuterClass.VirtualClusterMetaOrBuilder getVirtualClusterOrBuilder();

    /**
     * .cz.proto.FileMetaData file = 17;
     * @return Whether the file field is set.
     */
    boolean hasFile();
    /**
     * .cz.proto.FileMetaData file = 17;
     * @return The file.
     */
    cz.proto.FileMetaData getFile();
    /**
     * .cz.proto.FileMetaData file = 17;
     */
    cz.proto.FileMetaDataOrBuilder getFileOrBuilder();

    /**
     * .com.clickzetta.rm.VirtualClusterSizeSpec virtual_cluster_size_spec = 18;
     * @return Whether the virtualClusterSizeSpec field is set.
     */
    boolean hasVirtualClusterSizeSpec();
    /**
     * .com.clickzetta.rm.VirtualClusterSizeSpec virtual_cluster_size_spec = 18;
     * @return The virtualClusterSizeSpec.
     */
    com.clickzetta.rm.VirtualClusterSize.VirtualClusterSizeSpec getVirtualClusterSizeSpec();
    /**
     * .com.clickzetta.rm.VirtualClusterSizeSpec virtual_cluster_size_spec = 18;
     */
    com.clickzetta.rm.VirtualClusterSize.VirtualClusterSizeSpecOrBuilder getVirtualClusterSizeSpecOrBuilder();

    /**
     * .cz.proto.Share share = 19;
     * @return Whether the share field is set.
     */
    boolean hasShare();
    /**
     * .cz.proto.Share share = 19;
     * @return The share.
     */
    cz.proto.ShareMeta.Share getShare();
    /**
     * .cz.proto.Share share = 19;
     */
    cz.proto.ShareMeta.ShareOrBuilder getShareOrBuilder();

    /**
     * .cz.proto.Function function = 20;
     * @return Whether the function field is set.
     */
    boolean hasFunction();
    /**
     * .cz.proto.Function function = 20;
     * @return The function.
     */
    cz.proto.FunctionMeta.Function getFunction();
    /**
     * .cz.proto.Function function = 20;
     */
    cz.proto.FunctionMeta.FunctionOrBuilder getFunctionOrBuilder();

    /**
     * .cz.proto.Connection connection = 21;
     * @return Whether the connection field is set.
     */
    boolean hasConnection();
    /**
     * .cz.proto.Connection connection = 21;
     * @return The connection.
     */
    cz.proto.ConnectionMeta.Connection getConnection();
    /**
     * .cz.proto.Connection connection = 21;
     */
    cz.proto.ConnectionMeta.ConnectionOrBuilder getConnectionOrBuilder();

    /**
     * .cz.proto.NetworkPolicy network_policy = 22;
     * @return Whether the networkPolicy field is set.
     */
    boolean hasNetworkPolicy();
    /**
     * .cz.proto.NetworkPolicy network_policy = 22;
     * @return The networkPolicy.
     */
    cz.proto.NetworkPolicyOuterClass.NetworkPolicy getNetworkPolicy();
    /**
     * .cz.proto.NetworkPolicy network_policy = 22;
     */
    cz.proto.NetworkPolicyOuterClass.NetworkPolicyOrBuilder getNetworkPolicyOrBuilder();

    /**
     * .cz.proto.Index index = 23;
     * @return Whether the index field is set.
     */
    boolean hasIndex();
    /**
     * .cz.proto.Index index = 23;
     * @return The index.
     */
    cz.proto.Index getIndex();
    /**
     * .cz.proto.Index index = 23;
     */
    cz.proto.IndexOrBuilder getIndexOrBuilder();

    /**
     * .cz.proto.StorageLocation location = 24;
     * @return Whether the location field is set.
     */
    boolean hasLocation();
    /**
     * .cz.proto.StorageLocation location = 24;
     * @return The location.
     */
    cz.proto.StorageLocationOuterClass.StorageLocation getLocation();
    /**
     * .cz.proto.StorageLocation location = 24;
     */
    cz.proto.StorageLocationOuterClass.StorageLocationOrBuilder getLocationOrBuilder();

    /**
     * .cz.proto.Partition partition = 25;
     * @return Whether the partition field is set.
     */
    boolean hasPartition();
    /**
     * .cz.proto.Partition partition = 25;
     * @return The partition.
     */
    cz.proto.Partition getPartition();
    /**
     * .cz.proto.Partition partition = 25;
     */
    cz.proto.PartitionOrBuilder getPartitionOrBuilder();

    public cz.proto.MetadataEntity.Entity.EntityCase getEntityCase();
  }
  /**
   * Protobuf type {@code cz.proto.Entity}
   */
  public static final class Entity extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:cz.proto.Entity)
      EntityOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use Entity.newBuilder() to construct.
    private Entity(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private Entity() {
      creatorType_ = 0;
      comment_ = "";
      properties_ = java.util.Collections.emptyList();
      state_ = 0;
      category_ = 0;
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new Entity();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private Entity(
        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: {
              cz.proto.ObjectIdentifier.Builder subBuilder = null;
              if (((bitField0_ & 0x00000001) != 0)) {
                subBuilder = identifier_.toBuilder();
              }
              identifier_ = input.readMessage(cz.proto.ObjectIdentifier.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(identifier_);
                identifier_ = subBuilder.buildPartial();
              }
              bitField0_ |= 0x00000001;
              break;
            }
            case 16: {

              creator_ = input.readInt64();
              break;
            }
            case 24: {
              int rawValue = input.readEnum();

              creatorType_ = rawValue;
              break;
            }
            case 34: {
              java.lang.String s = input.readStringRequireUtf8();
              bitField0_ |= 0x00000002;
              comment_ = s;
              break;
            }
            case 42: {
              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
                properties_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000004;
              }
              properties_.add(
                  input.readMessage(cz.proto.PropertyOuterClass.Property.parser(), extensionRegistry));
              break;
            }
            case 48: {

              createTime_ = input.readInt64();
              break;
            }
            case 56: {

              lastModifyTime_ = input.readInt64();
              break;
            }
            case 64: {
              int rawValue = input.readEnum();

              state_ = rawValue;
              break;
            }
            case 72: {
              int rawValue = input.readEnum();

              category_ = rawValue;
              break;
            }
            case 82: {
              cz.proto.WorkspaceMeta.Workspace.Builder subBuilder = null;
              if (entityCase_ == 10) {
                subBuilder = ((cz.proto.WorkspaceMeta.Workspace) entity_).toBuilder();
              }
              entity_ =
                  input.readMessage(cz.proto.WorkspaceMeta.Workspace.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((cz.proto.WorkspaceMeta.Workspace) entity_);
                entity_ = subBuilder.buildPartial();
              }
              entityCase_ = 10;
              break;
            }
            case 90: {
              cz.proto.SchemaOuterClass.Schema.Builder subBuilder = null;
              if (entityCase_ == 11) {
                subBuilder = ((cz.proto.SchemaOuterClass.Schema) entity_).toBuilder();
              }
              entity_ =
                  input.readMessage(cz.proto.SchemaOuterClass.Schema.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((cz.proto.SchemaOuterClass.Schema) entity_);
                entity_ = subBuilder.buildPartial();
              }
              entityCase_ = 11;
              break;
            }
            case 98: {
              cz.proto.TableMeta.Builder subBuilder = null;
              if (entityCase_ == 12) {
                subBuilder = ((cz.proto.TableMeta) entity_).toBuilder();
              }
              entity_ =
                  input.readMessage(cz.proto.TableMeta.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((cz.proto.TableMeta) entity_);
                entity_ = subBuilder.buildPartial();
              }
              entityCase_ = 12;
              break;
            }
            case 106: {
              cz.proto.AccountOuterClass.User.Builder subBuilder = null;
              if (entityCase_ == 13) {
                subBuilder = ((cz.proto.AccountOuterClass.User) entity_).toBuilder();
              }
              entity_ =
                  input.readMessage(cz.proto.AccountOuterClass.User.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((cz.proto.AccountOuterClass.User) entity_);
                entity_ = subBuilder.buildPartial();
              }
              entityCase_ = 13;
              break;
            }
            case 114: {
              cz.proto.RoleMeta.Role.Builder subBuilder = null;
              if (entityCase_ == 14) {
                subBuilder = ((cz.proto.RoleMeta.Role) entity_).toBuilder();
              }
              entity_ =
                  input.readMessage(cz.proto.RoleMeta.Role.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((cz.proto.RoleMeta.Role) entity_);
                entity_ = subBuilder.buildPartial();
              }
              entityCase_ = 14;
              break;
            }
            case 122: {
              cz.proto.JobMeta.Builder subBuilder = null;
              if (entityCase_ == 15) {
                subBuilder = ((cz.proto.JobMeta) entity_).toBuilder();
              }
              entity_ =
                  input.readMessage(cz.proto.JobMeta.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((cz.proto.JobMeta) entity_);
                entity_ = subBuilder.buildPartial();
              }
              entityCase_ = 15;
              break;
            }
            case 130: {
              cz.proto.VirtualClusterMetaOuterClass.VirtualClusterMeta.Builder subBuilder = null;
              if (entityCase_ == 16) {
                subBuilder = ((cz.proto.VirtualClusterMetaOuterClass.VirtualClusterMeta) entity_).toBuilder();
              }
              entity_ =
                  input.readMessage(cz.proto.VirtualClusterMetaOuterClass.VirtualClusterMeta.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((cz.proto.VirtualClusterMetaOuterClass.VirtualClusterMeta) entity_);
                entity_ = subBuilder.buildPartial();
              }
              entityCase_ = 16;
              break;
            }
            case 138: {
              cz.proto.FileMetaData.Builder subBuilder = null;
              if (entityCase_ == 17) {
                subBuilder = ((cz.proto.FileMetaData) entity_).toBuilder();
              }
              entity_ =
                  input.readMessage(cz.proto.FileMetaData.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((cz.proto.FileMetaData) entity_);
                entity_ = subBuilder.buildPartial();
              }
              entityCase_ = 17;
              break;
            }
            case 146: {
              com.clickzetta.rm.VirtualClusterSize.VirtualClusterSizeSpec.Builder subBuilder = null;
              if (entityCase_ == 18) {
                subBuilder = ((com.clickzetta.rm.VirtualClusterSize.VirtualClusterSizeSpec) entity_).toBuilder();
              }
              entity_ =
                  input.readMessage(com.clickzetta.rm.VirtualClusterSize.VirtualClusterSizeSpec.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((com.clickzetta.rm.VirtualClusterSize.VirtualClusterSizeSpec) entity_);
                entity_ = subBuilder.buildPartial();
              }
              entityCase_ = 18;
              break;
            }
            case 154: {
              cz.proto.ShareMeta.Share.Builder subBuilder = null;
              if (entityCase_ == 19) {
                subBuilder = ((cz.proto.ShareMeta.Share) entity_).toBuilder();
              }
              entity_ =
                  input.readMessage(cz.proto.ShareMeta.Share.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((cz.proto.ShareMeta.Share) entity_);
                entity_ = subBuilder.buildPartial();
              }
              entityCase_ = 19;
              break;
            }
            case 162: {
              cz.proto.FunctionMeta.Function.Builder subBuilder = null;
              if (entityCase_ == 20) {
                subBuilder = ((cz.proto.FunctionMeta.Function) entity_).toBuilder();
              }
              entity_ =
                  input.readMessage(cz.proto.FunctionMeta.Function.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((cz.proto.FunctionMeta.Function) entity_);
                entity_ = subBuilder.buildPartial();
              }
              entityCase_ = 20;
              break;
            }
            case 170: {
              cz.proto.ConnectionMeta.Connection.Builder subBuilder = null;
              if (entityCase_ == 21) {
                subBuilder = ((cz.proto.ConnectionMeta.Connection) entity_).toBuilder();
              }
              entity_ =
                  input.readMessage(cz.proto.ConnectionMeta.Connection.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((cz.proto.ConnectionMeta.Connection) entity_);
                entity_ = subBuilder.buildPartial();
              }
              entityCase_ = 21;
              break;
            }
            case 178: {
              cz.proto.NetworkPolicyOuterClass.NetworkPolicy.Builder subBuilder = null;
              if (entityCase_ == 22) {
                subBuilder = ((cz.proto.NetworkPolicyOuterClass.NetworkPolicy) entity_).toBuilder();
              }
              entity_ =
                  input.readMessage(cz.proto.NetworkPolicyOuterClass.NetworkPolicy.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((cz.proto.NetworkPolicyOuterClass.NetworkPolicy) entity_);
                entity_ = subBuilder.buildPartial();
              }
              entityCase_ = 22;
              break;
            }
            case 186: {
              cz.proto.Index.Builder subBuilder = null;
              if (entityCase_ == 23) {
                subBuilder = ((cz.proto.Index) entity_).toBuilder();
              }
              entity_ =
                  input.readMessage(cz.proto.Index.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((cz.proto.Index) entity_);
                entity_ = subBuilder.buildPartial();
              }
              entityCase_ = 23;
              break;
            }
            case 194: {
              cz.proto.StorageLocationOuterClass.StorageLocation.Builder subBuilder = null;
              if (entityCase_ == 24) {
                subBuilder = ((cz.proto.StorageLocationOuterClass.StorageLocation) entity_).toBuilder();
              }
              entity_ =
                  input.readMessage(cz.proto.StorageLocationOuterClass.StorageLocation.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((cz.proto.StorageLocationOuterClass.StorageLocation) entity_);
                entity_ = subBuilder.buildPartial();
              }
              entityCase_ = 24;
              break;
            }
            case 202: {
              cz.proto.Partition.Builder subBuilder = null;
              if (entityCase_ == 25) {
                subBuilder = ((cz.proto.Partition) entity_).toBuilder();
              }
              entity_ =
                  input.readMessage(cz.proto.Partition.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((cz.proto.Partition) entity_);
                entity_ = subBuilder.buildPartial();
              }
              entityCase_ = 25;
              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_ & 0x00000004) != 0)) {
          properties_ = java.util.Collections.unmodifiableList(properties_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return cz.proto.MetadataEntity.internal_static_cz_proto_Entity_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return cz.proto.MetadataEntity.internal_static_cz_proto_Entity_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              cz.proto.MetadataEntity.Entity.class, cz.proto.MetadataEntity.Entity.Builder.class);
    }

    /**
     * Protobuf enum {@code cz.proto.Entity.Category}
     */
    public enum Category
        implements com.google.protobuf.ProtocolMessageEnum {
      /**
       * MANAGED = 0;
       */
      MANAGED(0),
      /**
       * EXTERNAL = 1;
       */
      EXTERNAL(1),
      /**
       * SHARED = 2;
       */
      SHARED(2),
      UNRECOGNIZED(-1),
      ;

      /**
       * MANAGED = 0;
       */
      public static final int MANAGED_VALUE = 0;
      /**
       * EXTERNAL = 1;
       */
      public static final int EXTERNAL_VALUE = 1;
      /**
       * SHARED = 2;
       */
      public static final int SHARED_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 Category 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 Category forNumber(int value) {
        switch (value) {
          case 0: return MANAGED;
          case 1: return EXTERNAL;
          case 2: return SHARED;
          default: return null;
        }
      }

      public static com.google.protobuf.Internal.EnumLiteMap
          internalGetValueMap() {
        return internalValueMap;
      }
      private static final com.google.protobuf.Internal.EnumLiteMap<
          Category> internalValueMap =
            new com.google.protobuf.Internal.EnumLiteMap() {
              public Category findValueByNumber(int number) {
                return Category.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.MetadataEntity.Entity.getDescriptor().getEnumTypes().get(0);
      }

      private static final Category[] VALUES = values();

      public static Category 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 Category(int value) {
        this.value = value;
      }

      // @@protoc_insertion_point(enum_scope:cz.proto.Entity.Category)
    }

    private int bitField0_;
    private int entityCase_ = 0;
    private java.lang.Object entity_;
    public enum EntityCase
        implements com.google.protobuf.Internal.EnumLite,
            com.google.protobuf.AbstractMessage.InternalOneOfEnum {
      WORKSPACE(10),
      SCHEMA(11),
      TABLE(12),
      USER(13),
      ROLE(14),
      JOB(15),
      VIRTUAL_CLUSTER(16),
      FILE(17),
      VIRTUAL_CLUSTER_SIZE_SPEC(18),
      SHARE(19),
      FUNCTION(20),
      CONNECTION(21),
      NETWORK_POLICY(22),
      INDEX(23),
      LOCATION(24),
      PARTITION(25),
      ENTITY_NOT_SET(0);
      private final int value;
      private EntityCase(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 EntityCase valueOf(int value) {
        return forNumber(value);
      }

      public static EntityCase forNumber(int value) {
        switch (value) {
          case 10: return WORKSPACE;
          case 11: return SCHEMA;
          case 12: return TABLE;
          case 13: return USER;
          case 14: return ROLE;
          case 15: return JOB;
          case 16: return VIRTUAL_CLUSTER;
          case 17: return FILE;
          case 18: return VIRTUAL_CLUSTER_SIZE_SPEC;
          case 19: return SHARE;
          case 20: return FUNCTION;
          case 21: return CONNECTION;
          case 22: return NETWORK_POLICY;
          case 23: return INDEX;
          case 24: return LOCATION;
          case 25: return PARTITION;
          case 0: return ENTITY_NOT_SET;
          default: return null;
        }
      }
      public int getNumber() {
        return this.value;
      }
    };

    public EntityCase
    getEntityCase() {
      return EntityCase.forNumber(
          entityCase_);
    }

    public static final int IDENTIFIER_FIELD_NUMBER = 1;
    private cz.proto.ObjectIdentifier identifier_;
    /**
     * optional .cz.proto.ObjectIdentifier identifier = 1;
     * @return Whether the identifier field is set.
     */
    @java.lang.Override
    public boolean hasIdentifier() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * optional .cz.proto.ObjectIdentifier identifier = 1;
     * @return The identifier.
     */
    @java.lang.Override
    public cz.proto.ObjectIdentifier getIdentifier() {
      return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_;
    }
    /**
     * optional .cz.proto.ObjectIdentifier identifier = 1;
     */
    @java.lang.Override
    public cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder() {
      return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_;
    }

    public static final int CREATOR_FIELD_NUMBER = 2;
    private long creator_;
    /**
     * int64 creator = 2;
     * @return The creator.
     */
    @java.lang.Override
    public long getCreator() {
      return creator_;
    }

    public static final int CREATOR_TYPE_FIELD_NUMBER = 3;
    private int creatorType_;
    /**
     * .cz.proto.PrincipalType creator_type = 3;
     * @return The enum numeric value on the wire for creatorType.
     */
    @java.lang.Override public int getCreatorTypeValue() {
      return creatorType_;
    }
    /**
     * .cz.proto.PrincipalType creator_type = 3;
     * @return The creatorType.
     */
    @java.lang.Override public cz.proto.PrincipalType getCreatorType() {
      @SuppressWarnings("deprecation")
      cz.proto.PrincipalType result = cz.proto.PrincipalType.valueOf(creatorType_);
      return result == null ? cz.proto.PrincipalType.UNRECOGNIZED : result;
    }

    public static final int COMMENT_FIELD_NUMBER = 4;
    private volatile java.lang.Object comment_;
    /**
     * optional string comment = 4;
     * @return Whether the comment field is set.
     */
    @java.lang.Override
    public boolean hasComment() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * optional string comment = 4;
     * @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 = 4;
     * @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 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 
        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);
    }

    public static final int CREATE_TIME_FIELD_NUMBER = 6;
    private long createTime_;
    /**
     * int64 create_time = 6;
     * @return The createTime.
     */
    @java.lang.Override
    public long getCreateTime() {
      return createTime_;
    }

    public static final int LAST_MODIFY_TIME_FIELD_NUMBER = 7;
    private long lastModifyTime_;
    /**
     * int64 last_modify_time = 7;
     * @return The lastModifyTime.
     */
    @java.lang.Override
    public long getLastModifyTime() {
      return lastModifyTime_;
    }

    public static final int STATE_FIELD_NUMBER = 8;
    private int state_;
    /**
     * .cz.proto.ObjectState.Type state = 8;
     * @return The enum numeric value on the wire for state.
     */
    @java.lang.Override public int getStateValue() {
      return state_;
    }
    /**
     * .cz.proto.ObjectState.Type state = 8;
     * @return The state.
     */
    @java.lang.Override public cz.proto.ObjectState.Type getState() {
      @SuppressWarnings("deprecation")
      cz.proto.ObjectState.Type result = cz.proto.ObjectState.Type.valueOf(state_);
      return result == null ? cz.proto.ObjectState.Type.UNRECOGNIZED : result;
    }

    public static final int CATEGORY_FIELD_NUMBER = 9;
    private int category_;
    /**
     * .cz.proto.Entity.Category category = 9;
     * @return The enum numeric value on the wire for category.
     */
    @java.lang.Override public int getCategoryValue() {
      return category_;
    }
    /**
     * .cz.proto.Entity.Category category = 9;
     * @return The category.
     */
    @java.lang.Override public cz.proto.MetadataEntity.Entity.Category getCategory() {
      @SuppressWarnings("deprecation")
      cz.proto.MetadataEntity.Entity.Category result = cz.proto.MetadataEntity.Entity.Category.valueOf(category_);
      return result == null ? cz.proto.MetadataEntity.Entity.Category.UNRECOGNIZED : result;
    }

    public static final int WORKSPACE_FIELD_NUMBER = 10;
    /**
     * .cz.proto.Workspace workspace = 10;
     * @return Whether the workspace field is set.
     */
    @java.lang.Override
    public boolean hasWorkspace() {
      return entityCase_ == 10;
    }
    /**
     * .cz.proto.Workspace workspace = 10;
     * @return The workspace.
     */
    @java.lang.Override
    public cz.proto.WorkspaceMeta.Workspace getWorkspace() {
      if (entityCase_ == 10) {
         return (cz.proto.WorkspaceMeta.Workspace) entity_;
      }
      return cz.proto.WorkspaceMeta.Workspace.getDefaultInstance();
    }
    /**
     * .cz.proto.Workspace workspace = 10;
     */
    @java.lang.Override
    public cz.proto.WorkspaceMeta.WorkspaceOrBuilder getWorkspaceOrBuilder() {
      if (entityCase_ == 10) {
         return (cz.proto.WorkspaceMeta.Workspace) entity_;
      }
      return cz.proto.WorkspaceMeta.Workspace.getDefaultInstance();
    }

    public static final int SCHEMA_FIELD_NUMBER = 11;
    /**
     * .cz.proto.Schema schema = 11;
     * @return Whether the schema field is set.
     */
    @java.lang.Override
    public boolean hasSchema() {
      return entityCase_ == 11;
    }
    /**
     * .cz.proto.Schema schema = 11;
     * @return The schema.
     */
    @java.lang.Override
    public cz.proto.SchemaOuterClass.Schema getSchema() {
      if (entityCase_ == 11) {
         return (cz.proto.SchemaOuterClass.Schema) entity_;
      }
      return cz.proto.SchemaOuterClass.Schema.getDefaultInstance();
    }
    /**
     * .cz.proto.Schema schema = 11;
     */
    @java.lang.Override
    public cz.proto.SchemaOuterClass.SchemaOrBuilder getSchemaOrBuilder() {
      if (entityCase_ == 11) {
         return (cz.proto.SchemaOuterClass.Schema) entity_;
      }
      return cz.proto.SchemaOuterClass.Schema.getDefaultInstance();
    }

    public static final int TABLE_FIELD_NUMBER = 12;
    /**
     * .cz.proto.TableMeta table = 12;
     * @return Whether the table field is set.
     */
    @java.lang.Override
    public boolean hasTable() {
      return entityCase_ == 12;
    }
    /**
     * .cz.proto.TableMeta table = 12;
     * @return The table.
     */
    @java.lang.Override
    public cz.proto.TableMeta getTable() {
      if (entityCase_ == 12) {
         return (cz.proto.TableMeta) entity_;
      }
      return cz.proto.TableMeta.getDefaultInstance();
    }
    /**
     * .cz.proto.TableMeta table = 12;
     */
    @java.lang.Override
    public cz.proto.TableMetaOrBuilder getTableOrBuilder() {
      if (entityCase_ == 12) {
         return (cz.proto.TableMeta) entity_;
      }
      return cz.proto.TableMeta.getDefaultInstance();
    }

    public static final int USER_FIELD_NUMBER = 13;
    /**
     * .cz.proto.User user = 13;
     * @return Whether the user field is set.
     */
    @java.lang.Override
    public boolean hasUser() {
      return entityCase_ == 13;
    }
    /**
     * .cz.proto.User user = 13;
     * @return The user.
     */
    @java.lang.Override
    public cz.proto.AccountOuterClass.User getUser() {
      if (entityCase_ == 13) {
         return (cz.proto.AccountOuterClass.User) entity_;
      }
      return cz.proto.AccountOuterClass.User.getDefaultInstance();
    }
    /**
     * .cz.proto.User user = 13;
     */
    @java.lang.Override
    public cz.proto.AccountOuterClass.UserOrBuilder getUserOrBuilder() {
      if (entityCase_ == 13) {
         return (cz.proto.AccountOuterClass.User) entity_;
      }
      return cz.proto.AccountOuterClass.User.getDefaultInstance();
    }

    public static final int ROLE_FIELD_NUMBER = 14;
    /**
     * .cz.proto.Role role = 14;
     * @return Whether the role field is set.
     */
    @java.lang.Override
    public boolean hasRole() {
      return entityCase_ == 14;
    }
    /**
     * .cz.proto.Role role = 14;
     * @return The role.
     */
    @java.lang.Override
    public cz.proto.RoleMeta.Role getRole() {
      if (entityCase_ == 14) {
         return (cz.proto.RoleMeta.Role) entity_;
      }
      return cz.proto.RoleMeta.Role.getDefaultInstance();
    }
    /**
     * .cz.proto.Role role = 14;
     */
    @java.lang.Override
    public cz.proto.RoleMeta.RoleOrBuilder getRoleOrBuilder() {
      if (entityCase_ == 14) {
         return (cz.proto.RoleMeta.Role) entity_;
      }
      return cz.proto.RoleMeta.Role.getDefaultInstance();
    }

    public static final int JOB_FIELD_NUMBER = 15;
    /**
     * .cz.proto.JobMeta job = 15;
     * @return Whether the job field is set.
     */
    @java.lang.Override
    public boolean hasJob() {
      return entityCase_ == 15;
    }
    /**
     * .cz.proto.JobMeta job = 15;
     * @return The job.
     */
    @java.lang.Override
    public cz.proto.JobMeta getJob() {
      if (entityCase_ == 15) {
         return (cz.proto.JobMeta) entity_;
      }
      return cz.proto.JobMeta.getDefaultInstance();
    }
    /**
     * .cz.proto.JobMeta job = 15;
     */
    @java.lang.Override
    public cz.proto.JobMetaOrBuilder getJobOrBuilder() {
      if (entityCase_ == 15) {
         return (cz.proto.JobMeta) entity_;
      }
      return cz.proto.JobMeta.getDefaultInstance();
    }

    public static final int VIRTUAL_CLUSTER_FIELD_NUMBER = 16;
    /**
     * .cz.proto.VirtualClusterMeta virtual_cluster = 16;
     * @return Whether the virtualCluster field is set.
     */
    @java.lang.Override
    public boolean hasVirtualCluster() {
      return entityCase_ == 16;
    }
    /**
     * .cz.proto.VirtualClusterMeta virtual_cluster = 16;
     * @return The virtualCluster.
     */
    @java.lang.Override
    public cz.proto.VirtualClusterMetaOuterClass.VirtualClusterMeta getVirtualCluster() {
      if (entityCase_ == 16) {
         return (cz.proto.VirtualClusterMetaOuterClass.VirtualClusterMeta) entity_;
      }
      return cz.proto.VirtualClusterMetaOuterClass.VirtualClusterMeta.getDefaultInstance();
    }
    /**
     * .cz.proto.VirtualClusterMeta virtual_cluster = 16;
     */
    @java.lang.Override
    public cz.proto.VirtualClusterMetaOuterClass.VirtualClusterMetaOrBuilder getVirtualClusterOrBuilder() {
      if (entityCase_ == 16) {
         return (cz.proto.VirtualClusterMetaOuterClass.VirtualClusterMeta) entity_;
      }
      return cz.proto.VirtualClusterMetaOuterClass.VirtualClusterMeta.getDefaultInstance();
    }

    public static final int FILE_FIELD_NUMBER = 17;
    /**
     * .cz.proto.FileMetaData file = 17;
     * @return Whether the file field is set.
     */
    @java.lang.Override
    public boolean hasFile() {
      return entityCase_ == 17;
    }
    /**
     * .cz.proto.FileMetaData file = 17;
     * @return The file.
     */
    @java.lang.Override
    public cz.proto.FileMetaData getFile() {
      if (entityCase_ == 17) {
         return (cz.proto.FileMetaData) entity_;
      }
      return cz.proto.FileMetaData.getDefaultInstance();
    }
    /**
     * .cz.proto.FileMetaData file = 17;
     */
    @java.lang.Override
    public cz.proto.FileMetaDataOrBuilder getFileOrBuilder() {
      if (entityCase_ == 17) {
         return (cz.proto.FileMetaData) entity_;
      }
      return cz.proto.FileMetaData.getDefaultInstance();
    }

    public static final int VIRTUAL_CLUSTER_SIZE_SPEC_FIELD_NUMBER = 18;
    /**
     * .com.clickzetta.rm.VirtualClusterSizeSpec virtual_cluster_size_spec = 18;
     * @return Whether the virtualClusterSizeSpec field is set.
     */
    @java.lang.Override
    public boolean hasVirtualClusterSizeSpec() {
      return entityCase_ == 18;
    }
    /**
     * .com.clickzetta.rm.VirtualClusterSizeSpec virtual_cluster_size_spec = 18;
     * @return The virtualClusterSizeSpec.
     */
    @java.lang.Override
    public com.clickzetta.rm.VirtualClusterSize.VirtualClusterSizeSpec getVirtualClusterSizeSpec() {
      if (entityCase_ == 18) {
         return (com.clickzetta.rm.VirtualClusterSize.VirtualClusterSizeSpec) entity_;
      }
      return com.clickzetta.rm.VirtualClusterSize.VirtualClusterSizeSpec.getDefaultInstance();
    }
    /**
     * .com.clickzetta.rm.VirtualClusterSizeSpec virtual_cluster_size_spec = 18;
     */
    @java.lang.Override
    public com.clickzetta.rm.VirtualClusterSize.VirtualClusterSizeSpecOrBuilder getVirtualClusterSizeSpecOrBuilder() {
      if (entityCase_ == 18) {
         return (com.clickzetta.rm.VirtualClusterSize.VirtualClusterSizeSpec) entity_;
      }
      return com.clickzetta.rm.VirtualClusterSize.VirtualClusterSizeSpec.getDefaultInstance();
    }

    public static final int SHARE_FIELD_NUMBER = 19;
    /**
     * .cz.proto.Share share = 19;
     * @return Whether the share field is set.
     */
    @java.lang.Override
    public boolean hasShare() {
      return entityCase_ == 19;
    }
    /**
     * .cz.proto.Share share = 19;
     * @return The share.
     */
    @java.lang.Override
    public cz.proto.ShareMeta.Share getShare() {
      if (entityCase_ == 19) {
         return (cz.proto.ShareMeta.Share) entity_;
      }
      return cz.proto.ShareMeta.Share.getDefaultInstance();
    }
    /**
     * .cz.proto.Share share = 19;
     */
    @java.lang.Override
    public cz.proto.ShareMeta.ShareOrBuilder getShareOrBuilder() {
      if (entityCase_ == 19) {
         return (cz.proto.ShareMeta.Share) entity_;
      }
      return cz.proto.ShareMeta.Share.getDefaultInstance();
    }

    public static final int FUNCTION_FIELD_NUMBER = 20;
    /**
     * .cz.proto.Function function = 20;
     * @return Whether the function field is set.
     */
    @java.lang.Override
    public boolean hasFunction() {
      return entityCase_ == 20;
    }
    /**
     * .cz.proto.Function function = 20;
     * @return The function.
     */
    @java.lang.Override
    public cz.proto.FunctionMeta.Function getFunction() {
      if (entityCase_ == 20) {
         return (cz.proto.FunctionMeta.Function) entity_;
      }
      return cz.proto.FunctionMeta.Function.getDefaultInstance();
    }
    /**
     * .cz.proto.Function function = 20;
     */
    @java.lang.Override
    public cz.proto.FunctionMeta.FunctionOrBuilder getFunctionOrBuilder() {
      if (entityCase_ == 20) {
         return (cz.proto.FunctionMeta.Function) entity_;
      }
      return cz.proto.FunctionMeta.Function.getDefaultInstance();
    }

    public static final int CONNECTION_FIELD_NUMBER = 21;
    /**
     * .cz.proto.Connection connection = 21;
     * @return Whether the connection field is set.
     */
    @java.lang.Override
    public boolean hasConnection() {
      return entityCase_ == 21;
    }
    /**
     * .cz.proto.Connection connection = 21;
     * @return The connection.
     */
    @java.lang.Override
    public cz.proto.ConnectionMeta.Connection getConnection() {
      if (entityCase_ == 21) {
         return (cz.proto.ConnectionMeta.Connection) entity_;
      }
      return cz.proto.ConnectionMeta.Connection.getDefaultInstance();
    }
    /**
     * .cz.proto.Connection connection = 21;
     */
    @java.lang.Override
    public cz.proto.ConnectionMeta.ConnectionOrBuilder getConnectionOrBuilder() {
      if (entityCase_ == 21) {
         return (cz.proto.ConnectionMeta.Connection) entity_;
      }
      return cz.proto.ConnectionMeta.Connection.getDefaultInstance();
    }

    public static final int NETWORK_POLICY_FIELD_NUMBER = 22;
    /**
     * .cz.proto.NetworkPolicy network_policy = 22;
     * @return Whether the networkPolicy field is set.
     */
    @java.lang.Override
    public boolean hasNetworkPolicy() {
      return entityCase_ == 22;
    }
    /**
     * .cz.proto.NetworkPolicy network_policy = 22;
     * @return The networkPolicy.
     */
    @java.lang.Override
    public cz.proto.NetworkPolicyOuterClass.NetworkPolicy getNetworkPolicy() {
      if (entityCase_ == 22) {
         return (cz.proto.NetworkPolicyOuterClass.NetworkPolicy) entity_;
      }
      return cz.proto.NetworkPolicyOuterClass.NetworkPolicy.getDefaultInstance();
    }
    /**
     * .cz.proto.NetworkPolicy network_policy = 22;
     */
    @java.lang.Override
    public cz.proto.NetworkPolicyOuterClass.NetworkPolicyOrBuilder getNetworkPolicyOrBuilder() {
      if (entityCase_ == 22) {
         return (cz.proto.NetworkPolicyOuterClass.NetworkPolicy) entity_;
      }
      return cz.proto.NetworkPolicyOuterClass.NetworkPolicy.getDefaultInstance();
    }

    public static final int INDEX_FIELD_NUMBER = 23;
    /**
     * .cz.proto.Index index = 23;
     * @return Whether the index field is set.
     */
    @java.lang.Override
    public boolean hasIndex() {
      return entityCase_ == 23;
    }
    /**
     * .cz.proto.Index index = 23;
     * @return The index.
     */
    @java.lang.Override
    public cz.proto.Index getIndex() {
      if (entityCase_ == 23) {
         return (cz.proto.Index) entity_;
      }
      return cz.proto.Index.getDefaultInstance();
    }
    /**
     * .cz.proto.Index index = 23;
     */
    @java.lang.Override
    public cz.proto.IndexOrBuilder getIndexOrBuilder() {
      if (entityCase_ == 23) {
         return (cz.proto.Index) entity_;
      }
      return cz.proto.Index.getDefaultInstance();
    }

    public static final int LOCATION_FIELD_NUMBER = 24;
    /**
     * .cz.proto.StorageLocation location = 24;
     * @return Whether the location field is set.
     */
    @java.lang.Override
    public boolean hasLocation() {
      return entityCase_ == 24;
    }
    /**
     * .cz.proto.StorageLocation location = 24;
     * @return The location.
     */
    @java.lang.Override
    public cz.proto.StorageLocationOuterClass.StorageLocation getLocation() {
      if (entityCase_ == 24) {
         return (cz.proto.StorageLocationOuterClass.StorageLocation) entity_;
      }
      return cz.proto.StorageLocationOuterClass.StorageLocation.getDefaultInstance();
    }
    /**
     * .cz.proto.StorageLocation location = 24;
     */
    @java.lang.Override
    public cz.proto.StorageLocationOuterClass.StorageLocationOrBuilder getLocationOrBuilder() {
      if (entityCase_ == 24) {
         return (cz.proto.StorageLocationOuterClass.StorageLocation) entity_;
      }
      return cz.proto.StorageLocationOuterClass.StorageLocation.getDefaultInstance();
    }

    public static final int PARTITION_FIELD_NUMBER = 25;
    /**
     * .cz.proto.Partition partition = 25;
     * @return Whether the partition field is set.
     */
    @java.lang.Override
    public boolean hasPartition() {
      return entityCase_ == 25;
    }
    /**
     * .cz.proto.Partition partition = 25;
     * @return The partition.
     */
    @java.lang.Override
    public cz.proto.Partition getPartition() {
      if (entityCase_ == 25) {
         return (cz.proto.Partition) entity_;
      }
      return cz.proto.Partition.getDefaultInstance();
    }
    /**
     * .cz.proto.Partition partition = 25;
     */
    @java.lang.Override
    public cz.proto.PartitionOrBuilder getPartitionOrBuilder() {
      if (entityCase_ == 25) {
         return (cz.proto.Partition) entity_;
      }
      return cz.proto.Partition.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 (((bitField0_ & 0x00000001) != 0)) {
        output.writeMessage(1, getIdentifier());
      }
      if (creator_ != 0L) {
        output.writeInt64(2, creator_);
      }
      if (creatorType_ != cz.proto.PrincipalType.PT_USER.getNumber()) {
        output.writeEnum(3, creatorType_);
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 4, comment_);
      }
      for (int i = 0; i < properties_.size(); i++) {
        output.writeMessage(5, properties_.get(i));
      }
      if (createTime_ != 0L) {
        output.writeInt64(6, createTime_);
      }
      if (lastModifyTime_ != 0L) {
        output.writeInt64(7, lastModifyTime_);
      }
      if (state_ != cz.proto.ObjectState.Type.ONLINE.getNumber()) {
        output.writeEnum(8, state_);
      }
      if (category_ != cz.proto.MetadataEntity.Entity.Category.MANAGED.getNumber()) {
        output.writeEnum(9, category_);
      }
      if (entityCase_ == 10) {
        output.writeMessage(10, (cz.proto.WorkspaceMeta.Workspace) entity_);
      }
      if (entityCase_ == 11) {
        output.writeMessage(11, (cz.proto.SchemaOuterClass.Schema) entity_);
      }
      if (entityCase_ == 12) {
        output.writeMessage(12, (cz.proto.TableMeta) entity_);
      }
      if (entityCase_ == 13) {
        output.writeMessage(13, (cz.proto.AccountOuterClass.User) entity_);
      }
      if (entityCase_ == 14) {
        output.writeMessage(14, (cz.proto.RoleMeta.Role) entity_);
      }
      if (entityCase_ == 15) {
        output.writeMessage(15, (cz.proto.JobMeta) entity_);
      }
      if (entityCase_ == 16) {
        output.writeMessage(16, (cz.proto.VirtualClusterMetaOuterClass.VirtualClusterMeta) entity_);
      }
      if (entityCase_ == 17) {
        output.writeMessage(17, (cz.proto.FileMetaData) entity_);
      }
      if (entityCase_ == 18) {
        output.writeMessage(18, (com.clickzetta.rm.VirtualClusterSize.VirtualClusterSizeSpec) entity_);
      }
      if (entityCase_ == 19) {
        output.writeMessage(19, (cz.proto.ShareMeta.Share) entity_);
      }
      if (entityCase_ == 20) {
        output.writeMessage(20, (cz.proto.FunctionMeta.Function) entity_);
      }
      if (entityCase_ == 21) {
        output.writeMessage(21, (cz.proto.ConnectionMeta.Connection) entity_);
      }
      if (entityCase_ == 22) {
        output.writeMessage(22, (cz.proto.NetworkPolicyOuterClass.NetworkPolicy) entity_);
      }
      if (entityCase_ == 23) {
        output.writeMessage(23, (cz.proto.Index) entity_);
      }
      if (entityCase_ == 24) {
        output.writeMessage(24, (cz.proto.StorageLocationOuterClass.StorageLocation) entity_);
      }
      if (entityCase_ == 25) {
        output.writeMessage(25, (cz.proto.Partition) entity_);
      }
      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
          .computeMessageSize(1, getIdentifier());
      }
      if (creator_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(2, creator_);
      }
      if (creatorType_ != cz.proto.PrincipalType.PT_USER.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(3, creatorType_);
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, comment_);
      }
      for (int i = 0; i < properties_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(5, properties_.get(i));
      }
      if (createTime_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(6, createTime_);
      }
      if (lastModifyTime_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(7, lastModifyTime_);
      }
      if (state_ != cz.proto.ObjectState.Type.ONLINE.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(8, state_);
      }
      if (category_ != cz.proto.MetadataEntity.Entity.Category.MANAGED.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(9, category_);
      }
      if (entityCase_ == 10) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(10, (cz.proto.WorkspaceMeta.Workspace) entity_);
      }
      if (entityCase_ == 11) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(11, (cz.proto.SchemaOuterClass.Schema) entity_);
      }
      if (entityCase_ == 12) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(12, (cz.proto.TableMeta) entity_);
      }
      if (entityCase_ == 13) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(13, (cz.proto.AccountOuterClass.User) entity_);
      }
      if (entityCase_ == 14) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(14, (cz.proto.RoleMeta.Role) entity_);
      }
      if (entityCase_ == 15) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(15, (cz.proto.JobMeta) entity_);
      }
      if (entityCase_ == 16) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(16, (cz.proto.VirtualClusterMetaOuterClass.VirtualClusterMeta) entity_);
      }
      if (entityCase_ == 17) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(17, (cz.proto.FileMetaData) entity_);
      }
      if (entityCase_ == 18) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(18, (com.clickzetta.rm.VirtualClusterSize.VirtualClusterSizeSpec) entity_);
      }
      if (entityCase_ == 19) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(19, (cz.proto.ShareMeta.Share) entity_);
      }
      if (entityCase_ == 20) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(20, (cz.proto.FunctionMeta.Function) entity_);
      }
      if (entityCase_ == 21) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(21, (cz.proto.ConnectionMeta.Connection) entity_);
      }
      if (entityCase_ == 22) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(22, (cz.proto.NetworkPolicyOuterClass.NetworkPolicy) entity_);
      }
      if (entityCase_ == 23) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(23, (cz.proto.Index) entity_);
      }
      if (entityCase_ == 24) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(24, (cz.proto.StorageLocationOuterClass.StorageLocation) entity_);
      }
      if (entityCase_ == 25) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(25, (cz.proto.Partition) entity_);
      }
      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.MetadataEntity.Entity)) {
        return super.equals(obj);
      }
      cz.proto.MetadataEntity.Entity other = (cz.proto.MetadataEntity.Entity) obj;

      if (hasIdentifier() != other.hasIdentifier()) return false;
      if (hasIdentifier()) {
        if (!getIdentifier()
            .equals(other.getIdentifier())) return false;
      }
      if (getCreator()
          != other.getCreator()) return false;
      if (creatorType_ != other.creatorType_) return false;
      if (hasComment() != other.hasComment()) return false;
      if (hasComment()) {
        if (!getComment()
            .equals(other.getComment())) return false;
      }
      if (!getPropertiesList()
          .equals(other.getPropertiesList())) return false;
      if (getCreateTime()
          != other.getCreateTime()) return false;
      if (getLastModifyTime()
          != other.getLastModifyTime()) return false;
      if (state_ != other.state_) return false;
      if (category_ != other.category_) return false;
      if (!getEntityCase().equals(other.getEntityCase())) return false;
      switch (entityCase_) {
        case 10:
          if (!getWorkspace()
              .equals(other.getWorkspace())) return false;
          break;
        case 11:
          if (!getSchema()
              .equals(other.getSchema())) return false;
          break;
        case 12:
          if (!getTable()
              .equals(other.getTable())) return false;
          break;
        case 13:
          if (!getUser()
              .equals(other.getUser())) return false;
          break;
        case 14:
          if (!getRole()
              .equals(other.getRole())) return false;
          break;
        case 15:
          if (!getJob()
              .equals(other.getJob())) return false;
          break;
        case 16:
          if (!getVirtualCluster()
              .equals(other.getVirtualCluster())) return false;
          break;
        case 17:
          if (!getFile()
              .equals(other.getFile())) return false;
          break;
        case 18:
          if (!getVirtualClusterSizeSpec()
              .equals(other.getVirtualClusterSizeSpec())) return false;
          break;
        case 19:
          if (!getShare()
              .equals(other.getShare())) return false;
          break;
        case 20:
          if (!getFunction()
              .equals(other.getFunction())) return false;
          break;
        case 21:
          if (!getConnection()
              .equals(other.getConnection())) return false;
          break;
        case 22:
          if (!getNetworkPolicy()
              .equals(other.getNetworkPolicy())) return false;
          break;
        case 23:
          if (!getIndex()
              .equals(other.getIndex())) return false;
          break;
        case 24:
          if (!getLocation()
              .equals(other.getLocation())) return false;
          break;
        case 25:
          if (!getPartition()
              .equals(other.getPartition())) 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) + CREATOR_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getCreator());
      hash = (37 * hash) + CREATOR_TYPE_FIELD_NUMBER;
      hash = (53 * hash) + creatorType_;
      if (hasComment()) {
        hash = (37 * hash) + COMMENT_FIELD_NUMBER;
        hash = (53 * hash) + getComment().hashCode();
      }
      if (getPropertiesCount() > 0) {
        hash = (37 * hash) + PROPERTIES_FIELD_NUMBER;
        hash = (53 * hash) + getPropertiesList().hashCode();
      }
      hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getCreateTime());
      hash = (37 * hash) + LAST_MODIFY_TIME_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getLastModifyTime());
      hash = (37 * hash) + STATE_FIELD_NUMBER;
      hash = (53 * hash) + state_;
      hash = (37 * hash) + CATEGORY_FIELD_NUMBER;
      hash = (53 * hash) + category_;
      switch (entityCase_) {
        case 10:
          hash = (37 * hash) + WORKSPACE_FIELD_NUMBER;
          hash = (53 * hash) + getWorkspace().hashCode();
          break;
        case 11:
          hash = (37 * hash) + SCHEMA_FIELD_NUMBER;
          hash = (53 * hash) + getSchema().hashCode();
          break;
        case 12:
          hash = (37 * hash) + TABLE_FIELD_NUMBER;
          hash = (53 * hash) + getTable().hashCode();
          break;
        case 13:
          hash = (37 * hash) + USER_FIELD_NUMBER;
          hash = (53 * hash) + getUser().hashCode();
          break;
        case 14:
          hash = (37 * hash) + ROLE_FIELD_NUMBER;
          hash = (53 * hash) + getRole().hashCode();
          break;
        case 15:
          hash = (37 * hash) + JOB_FIELD_NUMBER;
          hash = (53 * hash) + getJob().hashCode();
          break;
        case 16:
          hash = (37 * hash) + VIRTUAL_CLUSTER_FIELD_NUMBER;
          hash = (53 * hash) + getVirtualCluster().hashCode();
          break;
        case 17:
          hash = (37 * hash) + FILE_FIELD_NUMBER;
          hash = (53 * hash) + getFile().hashCode();
          break;
        case 18:
          hash = (37 * hash) + VIRTUAL_CLUSTER_SIZE_SPEC_FIELD_NUMBER;
          hash = (53 * hash) + getVirtualClusterSizeSpec().hashCode();
          break;
        case 19:
          hash = (37 * hash) + SHARE_FIELD_NUMBER;
          hash = (53 * hash) + getShare().hashCode();
          break;
        case 20:
          hash = (37 * hash) + FUNCTION_FIELD_NUMBER;
          hash = (53 * hash) + getFunction().hashCode();
          break;
        case 21:
          hash = (37 * hash) + CONNECTION_FIELD_NUMBER;
          hash = (53 * hash) + getConnection().hashCode();
          break;
        case 22:
          hash = (37 * hash) + NETWORK_POLICY_FIELD_NUMBER;
          hash = (53 * hash) + getNetworkPolicy().hashCode();
          break;
        case 23:
          hash = (37 * hash) + INDEX_FIELD_NUMBER;
          hash = (53 * hash) + getIndex().hashCode();
          break;
        case 24:
          hash = (37 * hash) + LOCATION_FIELD_NUMBER;
          hash = (53 * hash) + getLocation().hashCode();
          break;
        case 25:
          hash = (37 * hash) + PARTITION_FIELD_NUMBER;
          hash = (53 * hash) + getPartition().hashCode();
          break;
        case 0:
        default:
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static cz.proto.MetadataEntity.Entity parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cz.proto.MetadataEntity.Entity parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static cz.proto.MetadataEntity.Entity parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cz.proto.MetadataEntity.Entity 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.MetadataEntity.Entity parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cz.proto.MetadataEntity.Entity parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static cz.proto.MetadataEntity.Entity parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static cz.proto.MetadataEntity.Entity 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.MetadataEntity.Entity parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static cz.proto.MetadataEntity.Entity 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.MetadataEntity.Entity parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static cz.proto.MetadataEntity.Entity 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.MetadataEntity.Entity 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.Entity}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:cz.proto.Entity)
        cz.proto.MetadataEntity.EntityOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return cz.proto.MetadataEntity.internal_static_cz_proto_Entity_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return cz.proto.MetadataEntity.internal_static_cz_proto_Entity_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                cz.proto.MetadataEntity.Entity.class, cz.proto.MetadataEntity.Entity.Builder.class);
      }

      // Construct using cz.proto.MetadataEntity.Entity.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getIdentifierFieldBuilder();
          getPropertiesFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (identifierBuilder_ == null) {
          identifier_ = null;
        } else {
          identifierBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000001);
        creator_ = 0L;

        creatorType_ = 0;

        comment_ = "";
        bitField0_ = (bitField0_ & ~0x00000002);
        if (propertiesBuilder_ == null) {
          properties_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000004);
        } else {
          propertiesBuilder_.clear();
        }
        createTime_ = 0L;

        lastModifyTime_ = 0L;

        state_ = 0;

        category_ = 0;

        entityCase_ = 0;
        entity_ = null;
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return cz.proto.MetadataEntity.internal_static_cz_proto_Entity_descriptor;
      }

      @java.lang.Override
      public cz.proto.MetadataEntity.Entity getDefaultInstanceForType() {
        return cz.proto.MetadataEntity.Entity.getDefaultInstance();
      }

      @java.lang.Override
      public cz.proto.MetadataEntity.Entity build() {
        cz.proto.MetadataEntity.Entity result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public cz.proto.MetadataEntity.Entity buildPartial() {
        cz.proto.MetadataEntity.Entity result = new cz.proto.MetadataEntity.Entity(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          if (identifierBuilder_ == null) {
            result.identifier_ = identifier_;
          } else {
            result.identifier_ = identifierBuilder_.build();
          }
          to_bitField0_ |= 0x00000001;
        }
        result.creator_ = creator_;
        result.creatorType_ = creatorType_;
        if (((from_bitField0_ & 0x00000002) != 0)) {
          to_bitField0_ |= 0x00000002;
        }
        result.comment_ = comment_;
        if (propertiesBuilder_ == null) {
          if (((bitField0_ & 0x00000004) != 0)) {
            properties_ = java.util.Collections.unmodifiableList(properties_);
            bitField0_ = (bitField0_ & ~0x00000004);
          }
          result.properties_ = properties_;
        } else {
          result.properties_ = propertiesBuilder_.build();
        }
        result.createTime_ = createTime_;
        result.lastModifyTime_ = lastModifyTime_;
        result.state_ = state_;
        result.category_ = category_;
        if (entityCase_ == 10) {
          if (workspaceBuilder_ == null) {
            result.entity_ = entity_;
          } else {
            result.entity_ = workspaceBuilder_.build();
          }
        }
        if (entityCase_ == 11) {
          if (schemaBuilder_ == null) {
            result.entity_ = entity_;
          } else {
            result.entity_ = schemaBuilder_.build();
          }
        }
        if (entityCase_ == 12) {
          if (tableBuilder_ == null) {
            result.entity_ = entity_;
          } else {
            result.entity_ = tableBuilder_.build();
          }
        }
        if (entityCase_ == 13) {
          if (userBuilder_ == null) {
            result.entity_ = entity_;
          } else {
            result.entity_ = userBuilder_.build();
          }
        }
        if (entityCase_ == 14) {
          if (roleBuilder_ == null) {
            result.entity_ = entity_;
          } else {
            result.entity_ = roleBuilder_.build();
          }
        }
        if (entityCase_ == 15) {
          if (jobBuilder_ == null) {
            result.entity_ = entity_;
          } else {
            result.entity_ = jobBuilder_.build();
          }
        }
        if (entityCase_ == 16) {
          if (virtualClusterBuilder_ == null) {
            result.entity_ = entity_;
          } else {
            result.entity_ = virtualClusterBuilder_.build();
          }
        }
        if (entityCase_ == 17) {
          if (fileBuilder_ == null) {
            result.entity_ = entity_;
          } else {
            result.entity_ = fileBuilder_.build();
          }
        }
        if (entityCase_ == 18) {
          if (virtualClusterSizeSpecBuilder_ == null) {
            result.entity_ = entity_;
          } else {
            result.entity_ = virtualClusterSizeSpecBuilder_.build();
          }
        }
        if (entityCase_ == 19) {
          if (shareBuilder_ == null) {
            result.entity_ = entity_;
          } else {
            result.entity_ = shareBuilder_.build();
          }
        }
        if (entityCase_ == 20) {
          if (functionBuilder_ == null) {
            result.entity_ = entity_;
          } else {
            result.entity_ = functionBuilder_.build();
          }
        }
        if (entityCase_ == 21) {
          if (connectionBuilder_ == null) {
            result.entity_ = entity_;
          } else {
            result.entity_ = connectionBuilder_.build();
          }
        }
        if (entityCase_ == 22) {
          if (networkPolicyBuilder_ == null) {
            result.entity_ = entity_;
          } else {
            result.entity_ = networkPolicyBuilder_.build();
          }
        }
        if (entityCase_ == 23) {
          if (indexBuilder_ == null) {
            result.entity_ = entity_;
          } else {
            result.entity_ = indexBuilder_.build();
          }
        }
        if (entityCase_ == 24) {
          if (locationBuilder_ == null) {
            result.entity_ = entity_;
          } else {
            result.entity_ = locationBuilder_.build();
          }
        }
        if (entityCase_ == 25) {
          if (partitionBuilder_ == null) {
            result.entity_ = entity_;
          } else {
            result.entity_ = partitionBuilder_.build();
          }
        }
        result.bitField0_ = to_bitField0_;
        result.entityCase_ = entityCase_;
        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.MetadataEntity.Entity) {
          return mergeFrom((cz.proto.MetadataEntity.Entity)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(cz.proto.MetadataEntity.Entity other) {
        if (other == cz.proto.MetadataEntity.Entity.getDefaultInstance()) return this;
        if (other.hasIdentifier()) {
          mergeIdentifier(other.getIdentifier());
        }
        if (other.getCreator() != 0L) {
          setCreator(other.getCreator());
        }
        if (other.creatorType_ != 0) {
          setCreatorTypeValue(other.getCreatorTypeValue());
        }
        if (other.hasComment()) {
          bitField0_ |= 0x00000002;
          comment_ = other.comment_;
          onChanged();
        }
        if (propertiesBuilder_ == null) {
          if (!other.properties_.isEmpty()) {
            if (properties_.isEmpty()) {
              properties_ = other.properties_;
              bitField0_ = (bitField0_ & ~0x00000004);
            } else {
              ensurePropertiesIsMutable();
              properties_.addAll(other.properties_);
            }
            onChanged();
          }
        } else {
          if (!other.properties_.isEmpty()) {
            if (propertiesBuilder_.isEmpty()) {
              propertiesBuilder_.dispose();
              propertiesBuilder_ = null;
              properties_ = other.properties_;
              bitField0_ = (bitField0_ & ~0x00000004);
              propertiesBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getPropertiesFieldBuilder() : null;
            } else {
              propertiesBuilder_.addAllMessages(other.properties_);
            }
          }
        }
        if (other.getCreateTime() != 0L) {
          setCreateTime(other.getCreateTime());
        }
        if (other.getLastModifyTime() != 0L) {
          setLastModifyTime(other.getLastModifyTime());
        }
        if (other.state_ != 0) {
          setStateValue(other.getStateValue());
        }
        if (other.category_ != 0) {
          setCategoryValue(other.getCategoryValue());
        }
        switch (other.getEntityCase()) {
          case WORKSPACE: {
            mergeWorkspace(other.getWorkspace());
            break;
          }
          case SCHEMA: {
            mergeSchema(other.getSchema());
            break;
          }
          case TABLE: {
            mergeTable(other.getTable());
            break;
          }
          case USER: {
            mergeUser(other.getUser());
            break;
          }
          case ROLE: {
            mergeRole(other.getRole());
            break;
          }
          case JOB: {
            mergeJob(other.getJob());
            break;
          }
          case VIRTUAL_CLUSTER: {
            mergeVirtualCluster(other.getVirtualCluster());
            break;
          }
          case FILE: {
            mergeFile(other.getFile());
            break;
          }
          case VIRTUAL_CLUSTER_SIZE_SPEC: {
            mergeVirtualClusterSizeSpec(other.getVirtualClusterSizeSpec());
            break;
          }
          case SHARE: {
            mergeShare(other.getShare());
            break;
          }
          case FUNCTION: {
            mergeFunction(other.getFunction());
            break;
          }
          case CONNECTION: {
            mergeConnection(other.getConnection());
            break;
          }
          case NETWORK_POLICY: {
            mergeNetworkPolicy(other.getNetworkPolicy());
            break;
          }
          case INDEX: {
            mergeIndex(other.getIndex());
            break;
          }
          case LOCATION: {
            mergeLocation(other.getLocation());
            break;
          }
          case PARTITION: {
            mergePartition(other.getPartition());
            break;
          }
          case ENTITY_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.MetadataEntity.Entity parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (cz.proto.MetadataEntity.Entity) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int entityCase_ = 0;
      private java.lang.Object entity_;
      public EntityCase
          getEntityCase() {
        return EntityCase.forNumber(
            entityCase_);
      }

      public Builder clearEntity() {
        entityCase_ = 0;
        entity_ = null;
        onChanged();
        return this;
      }

      private int bitField0_;

      private cz.proto.ObjectIdentifier identifier_;
      private com.google.protobuf.SingleFieldBuilderV3<
          cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> identifierBuilder_;
      /**
       * optional .cz.proto.ObjectIdentifier identifier = 1;
       * @return Whether the identifier field is set.
       */
      public boolean hasIdentifier() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * optional .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();
        }
      }
      /**
       * optional .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);
        }
        bitField0_ |= 0x00000001;
        return this;
      }
      /**
       * optional .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());
        }
        bitField0_ |= 0x00000001;
        return this;
      }
      /**
       * optional .cz.proto.ObjectIdentifier identifier = 1;
       */
      public Builder mergeIdentifier(cz.proto.ObjectIdentifier value) {
        if (identifierBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0) &&
              identifier_ != null &&
              identifier_ != cz.proto.ObjectIdentifier.getDefaultInstance()) {
            identifier_ =
              cz.proto.ObjectIdentifier.newBuilder(identifier_).mergeFrom(value).buildPartial();
          } else {
            identifier_ = value;
          }
          onChanged();
        } else {
          identifierBuilder_.mergeFrom(value);
        }
        bitField0_ |= 0x00000001;
        return this;
      }
      /**
       * optional .cz.proto.ObjectIdentifier identifier = 1;
       */
      public Builder clearIdentifier() {
        if (identifierBuilder_ == null) {
          identifier_ = null;
          onChanged();
        } else {
          identifierBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000001);
        return this;
      }
      /**
       * optional .cz.proto.ObjectIdentifier identifier = 1;
       */
      public cz.proto.ObjectIdentifier.Builder getIdentifierBuilder() {
        bitField0_ |= 0x00000001;
        onChanged();
        return getIdentifierFieldBuilder().getBuilder();
      }
      /**
       * optional .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_;
        }
      }
      /**
       * optional .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 long creator_ ;
      /**
       * int64 creator = 2;
       * @return The creator.
       */
      @java.lang.Override
      public long getCreator() {
        return creator_;
      }
      /**
       * int64 creator = 2;
       * @param value The creator to set.
       * @return This builder for chaining.
       */
      public Builder setCreator(long value) {
        
        creator_ = value;
        onChanged();
        return this;
      }
      /**
       * int64 creator = 2;
       * @return This builder for chaining.
       */
      public Builder clearCreator() {
        
        creator_ = 0L;
        onChanged();
        return this;
      }

      private int creatorType_ = 0;
      /**
       * .cz.proto.PrincipalType creator_type = 3;
       * @return The enum numeric value on the wire for creatorType.
       */
      @java.lang.Override public int getCreatorTypeValue() {
        return creatorType_;
      }
      /**
       * .cz.proto.PrincipalType creator_type = 3;
       * @param value The enum numeric value on the wire for creatorType to set.
       * @return This builder for chaining.
       */
      public Builder setCreatorTypeValue(int value) {
        
        creatorType_ = value;
        onChanged();
        return this;
      }
      /**
       * .cz.proto.PrincipalType creator_type = 3;
       * @return The creatorType.
       */
      @java.lang.Override
      public cz.proto.PrincipalType getCreatorType() {
        @SuppressWarnings("deprecation")
        cz.proto.PrincipalType result = cz.proto.PrincipalType.valueOf(creatorType_);
        return result == null ? cz.proto.PrincipalType.UNRECOGNIZED : result;
      }
      /**
       * .cz.proto.PrincipalType creator_type = 3;
       * @param value The creatorType to set.
       * @return This builder for chaining.
       */
      public Builder setCreatorType(cz.proto.PrincipalType value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        creatorType_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * .cz.proto.PrincipalType creator_type = 3;
       * @return This builder for chaining.
       */
      public Builder clearCreatorType() {
        
        creatorType_ = 0;
        onChanged();
        return this;
      }

      private java.lang.Object comment_ = "";
      /**
       * optional string comment = 4;
       * @return Whether the comment field is set.
       */
      public boolean hasComment() {
        return ((bitField0_ & 0x00000002) != 0);
      }
      /**
       * optional string comment = 4;
       * @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 = 4;
       * @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 = 4;
       * @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_ |= 0x00000002;
        comment_ = value;
        onChanged();
        return this;
      }
      /**
       * optional string comment = 4;
       * @return This builder for chaining.
       */
      public Builder clearComment() {
        bitField0_ = (bitField0_ & ~0x00000002);
        comment_ = getDefaultInstance().getComment();
        onChanged();
        return this;
      }
      /**
       * optional string comment = 4;
       * @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_ |= 0x00000002;
        comment_ = value;
        onChanged();
        return this;
      }

      private java.util.List properties_ =
        java.util.Collections.emptyList();
      private void ensurePropertiesIsMutable() {
        if (!((bitField0_ & 0x00000004) != 0)) {
          properties_ = new java.util.ArrayList(properties_);
          bitField0_ |= 0x00000004;
         }
      }

      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 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_ & ~0x00000004);
          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 
           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_ & 0x00000004) != 0),
                  getParentForChildren(),
                  isClean());
          properties_ = null;
        }
        return propertiesBuilder_;
      }

      private long createTime_ ;
      /**
       * int64 create_time = 6;
       * @return The createTime.
       */
      @java.lang.Override
      public long getCreateTime() {
        return createTime_;
      }
      /**
       * int64 create_time = 6;
       * @param value The createTime to set.
       * @return This builder for chaining.
       */
      public Builder setCreateTime(long value) {
        
        createTime_ = value;
        onChanged();
        return this;
      }
      /**
       * int64 create_time = 6;
       * @return This builder for chaining.
       */
      public Builder clearCreateTime() {
        
        createTime_ = 0L;
        onChanged();
        return this;
      }

      private long lastModifyTime_ ;
      /**
       * int64 last_modify_time = 7;
       * @return The lastModifyTime.
       */
      @java.lang.Override
      public long getLastModifyTime() {
        return lastModifyTime_;
      }
      /**
       * int64 last_modify_time = 7;
       * @param value The lastModifyTime to set.
       * @return This builder for chaining.
       */
      public Builder setLastModifyTime(long value) {
        
        lastModifyTime_ = value;
        onChanged();
        return this;
      }
      /**
       * int64 last_modify_time = 7;
       * @return This builder for chaining.
       */
      public Builder clearLastModifyTime() {
        
        lastModifyTime_ = 0L;
        onChanged();
        return this;
      }

      private int state_ = 0;
      /**
       * .cz.proto.ObjectState.Type state = 8;
       * @return The enum numeric value on the wire for state.
       */
      @java.lang.Override public int getStateValue() {
        return state_;
      }
      /**
       * .cz.proto.ObjectState.Type state = 8;
       * @param value The enum numeric value on the wire for state to set.
       * @return This builder for chaining.
       */
      public Builder setStateValue(int value) {
        
        state_ = value;
        onChanged();
        return this;
      }
      /**
       * .cz.proto.ObjectState.Type state = 8;
       * @return The state.
       */
      @java.lang.Override
      public cz.proto.ObjectState.Type getState() {
        @SuppressWarnings("deprecation")
        cz.proto.ObjectState.Type result = cz.proto.ObjectState.Type.valueOf(state_);
        return result == null ? cz.proto.ObjectState.Type.UNRECOGNIZED : result;
      }
      /**
       * .cz.proto.ObjectState.Type state = 8;
       * @param value The state to set.
       * @return This builder for chaining.
       */
      public Builder setState(cz.proto.ObjectState.Type value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        state_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * .cz.proto.ObjectState.Type state = 8;
       * @return This builder for chaining.
       */
      public Builder clearState() {
        
        state_ = 0;
        onChanged();
        return this;
      }

      private int category_ = 0;
      /**
       * .cz.proto.Entity.Category category = 9;
       * @return The enum numeric value on the wire for category.
       */
      @java.lang.Override public int getCategoryValue() {
        return category_;
      }
      /**
       * .cz.proto.Entity.Category category = 9;
       * @param value The enum numeric value on the wire for category to set.
       * @return This builder for chaining.
       */
      public Builder setCategoryValue(int value) {
        
        category_ = value;
        onChanged();
        return this;
      }
      /**
       * .cz.proto.Entity.Category category = 9;
       * @return The category.
       */
      @java.lang.Override
      public cz.proto.MetadataEntity.Entity.Category getCategory() {
        @SuppressWarnings("deprecation")
        cz.proto.MetadataEntity.Entity.Category result = cz.proto.MetadataEntity.Entity.Category.valueOf(category_);
        return result == null ? cz.proto.MetadataEntity.Entity.Category.UNRECOGNIZED : result;
      }
      /**
       * .cz.proto.Entity.Category category = 9;
       * @param value The category to set.
       * @return This builder for chaining.
       */
      public Builder setCategory(cz.proto.MetadataEntity.Entity.Category value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        category_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * .cz.proto.Entity.Category category = 9;
       * @return This builder for chaining.
       */
      public Builder clearCategory() {
        
        category_ = 0;
        onChanged();
        return this;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          cz.proto.WorkspaceMeta.Workspace, cz.proto.WorkspaceMeta.Workspace.Builder, cz.proto.WorkspaceMeta.WorkspaceOrBuilder> workspaceBuilder_;
      /**
       * .cz.proto.Workspace workspace = 10;
       * @return Whether the workspace field is set.
       */
      @java.lang.Override
      public boolean hasWorkspace() {
        return entityCase_ == 10;
      }
      /**
       * .cz.proto.Workspace workspace = 10;
       * @return The workspace.
       */
      @java.lang.Override
      public cz.proto.WorkspaceMeta.Workspace getWorkspace() {
        if (workspaceBuilder_ == null) {
          if (entityCase_ == 10) {
            return (cz.proto.WorkspaceMeta.Workspace) entity_;
          }
          return cz.proto.WorkspaceMeta.Workspace.getDefaultInstance();
        } else {
          if (entityCase_ == 10) {
            return workspaceBuilder_.getMessage();
          }
          return cz.proto.WorkspaceMeta.Workspace.getDefaultInstance();
        }
      }
      /**
       * .cz.proto.Workspace workspace = 10;
       */
      public Builder setWorkspace(cz.proto.WorkspaceMeta.Workspace value) {
        if (workspaceBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          entity_ = value;
          onChanged();
        } else {
          workspaceBuilder_.setMessage(value);
        }
        entityCase_ = 10;
        return this;
      }
      /**
       * .cz.proto.Workspace workspace = 10;
       */
      public Builder setWorkspace(
          cz.proto.WorkspaceMeta.Workspace.Builder builderForValue) {
        if (workspaceBuilder_ == null) {
          entity_ = builderForValue.build();
          onChanged();
        } else {
          workspaceBuilder_.setMessage(builderForValue.build());
        }
        entityCase_ = 10;
        return this;
      }
      /**
       * .cz.proto.Workspace workspace = 10;
       */
      public Builder mergeWorkspace(cz.proto.WorkspaceMeta.Workspace value) {
        if (workspaceBuilder_ == null) {
          if (entityCase_ == 10 &&
              entity_ != cz.proto.WorkspaceMeta.Workspace.getDefaultInstance()) {
            entity_ = cz.proto.WorkspaceMeta.Workspace.newBuilder((cz.proto.WorkspaceMeta.Workspace) entity_)
                .mergeFrom(value).buildPartial();
          } else {
            entity_ = value;
          }
          onChanged();
        } else {
          if (entityCase_ == 10) {
            workspaceBuilder_.mergeFrom(value);
          }
          workspaceBuilder_.setMessage(value);
        }
        entityCase_ = 10;
        return this;
      }
      /**
       * .cz.proto.Workspace workspace = 10;
       */
      public Builder clearWorkspace() {
        if (workspaceBuilder_ == null) {
          if (entityCase_ == 10) {
            entityCase_ = 0;
            entity_ = null;
            onChanged();
          }
        } else {
          if (entityCase_ == 10) {
            entityCase_ = 0;
            entity_ = null;
          }
          workspaceBuilder_.clear();
        }
        return this;
      }
      /**
       * .cz.proto.Workspace workspace = 10;
       */
      public cz.proto.WorkspaceMeta.Workspace.Builder getWorkspaceBuilder() {
        return getWorkspaceFieldBuilder().getBuilder();
      }
      /**
       * .cz.proto.Workspace workspace = 10;
       */
      @java.lang.Override
      public cz.proto.WorkspaceMeta.WorkspaceOrBuilder getWorkspaceOrBuilder() {
        if ((entityCase_ == 10) && (workspaceBuilder_ != null)) {
          return workspaceBuilder_.getMessageOrBuilder();
        } else {
          if (entityCase_ == 10) {
            return (cz.proto.WorkspaceMeta.Workspace) entity_;
          }
          return cz.proto.WorkspaceMeta.Workspace.getDefaultInstance();
        }
      }
      /**
       * .cz.proto.Workspace workspace = 10;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          cz.proto.WorkspaceMeta.Workspace, cz.proto.WorkspaceMeta.Workspace.Builder, cz.proto.WorkspaceMeta.WorkspaceOrBuilder> 
          getWorkspaceFieldBuilder() {
        if (workspaceBuilder_ == null) {
          if (!(entityCase_ == 10)) {
            entity_ = cz.proto.WorkspaceMeta.Workspace.getDefaultInstance();
          }
          workspaceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              cz.proto.WorkspaceMeta.Workspace, cz.proto.WorkspaceMeta.Workspace.Builder, cz.proto.WorkspaceMeta.WorkspaceOrBuilder>(
                  (cz.proto.WorkspaceMeta.Workspace) entity_,
                  getParentForChildren(),
                  isClean());
          entity_ = null;
        }
        entityCase_ = 10;
        onChanged();;
        return workspaceBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          cz.proto.SchemaOuterClass.Schema, cz.proto.SchemaOuterClass.Schema.Builder, cz.proto.SchemaOuterClass.SchemaOrBuilder> schemaBuilder_;
      /**
       * .cz.proto.Schema schema = 11;
       * @return Whether the schema field is set.
       */
      @java.lang.Override
      public boolean hasSchema() {
        return entityCase_ == 11;
      }
      /**
       * .cz.proto.Schema schema = 11;
       * @return The schema.
       */
      @java.lang.Override
      public cz.proto.SchemaOuterClass.Schema getSchema() {
        if (schemaBuilder_ == null) {
          if (entityCase_ == 11) {
            return (cz.proto.SchemaOuterClass.Schema) entity_;
          }
          return cz.proto.SchemaOuterClass.Schema.getDefaultInstance();
        } else {
          if (entityCase_ == 11) {
            return schemaBuilder_.getMessage();
          }
          return cz.proto.SchemaOuterClass.Schema.getDefaultInstance();
        }
      }
      /**
       * .cz.proto.Schema schema = 11;
       */
      public Builder setSchema(cz.proto.SchemaOuterClass.Schema value) {
        if (schemaBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          entity_ = value;
          onChanged();
        } else {
          schemaBuilder_.setMessage(value);
        }
        entityCase_ = 11;
        return this;
      }
      /**
       * .cz.proto.Schema schema = 11;
       */
      public Builder setSchema(
          cz.proto.SchemaOuterClass.Schema.Builder builderForValue) {
        if (schemaBuilder_ == null) {
          entity_ = builderForValue.build();
          onChanged();
        } else {
          schemaBuilder_.setMessage(builderForValue.build());
        }
        entityCase_ = 11;
        return this;
      }
      /**
       * .cz.proto.Schema schema = 11;
       */
      public Builder mergeSchema(cz.proto.SchemaOuterClass.Schema value) {
        if (schemaBuilder_ == null) {
          if (entityCase_ == 11 &&
              entity_ != cz.proto.SchemaOuterClass.Schema.getDefaultInstance()) {
            entity_ = cz.proto.SchemaOuterClass.Schema.newBuilder((cz.proto.SchemaOuterClass.Schema) entity_)
                .mergeFrom(value).buildPartial();
          } else {
            entity_ = value;
          }
          onChanged();
        } else {
          if (entityCase_ == 11) {
            schemaBuilder_.mergeFrom(value);
          }
          schemaBuilder_.setMessage(value);
        }
        entityCase_ = 11;
        return this;
      }
      /**
       * .cz.proto.Schema schema = 11;
       */
      public Builder clearSchema() {
        if (schemaBuilder_ == null) {
          if (entityCase_ == 11) {
            entityCase_ = 0;
            entity_ = null;
            onChanged();
          }
        } else {
          if (entityCase_ == 11) {
            entityCase_ = 0;
            entity_ = null;
          }
          schemaBuilder_.clear();
        }
        return this;
      }
      /**
       * .cz.proto.Schema schema = 11;
       */
      public cz.proto.SchemaOuterClass.Schema.Builder getSchemaBuilder() {
        return getSchemaFieldBuilder().getBuilder();
      }
      /**
       * .cz.proto.Schema schema = 11;
       */
      @java.lang.Override
      public cz.proto.SchemaOuterClass.SchemaOrBuilder getSchemaOrBuilder() {
        if ((entityCase_ == 11) && (schemaBuilder_ != null)) {
          return schemaBuilder_.getMessageOrBuilder();
        } else {
          if (entityCase_ == 11) {
            return (cz.proto.SchemaOuterClass.Schema) entity_;
          }
          return cz.proto.SchemaOuterClass.Schema.getDefaultInstance();
        }
      }
      /**
       * .cz.proto.Schema schema = 11;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          cz.proto.SchemaOuterClass.Schema, cz.proto.SchemaOuterClass.Schema.Builder, cz.proto.SchemaOuterClass.SchemaOrBuilder> 
          getSchemaFieldBuilder() {
        if (schemaBuilder_ == null) {
          if (!(entityCase_ == 11)) {
            entity_ = cz.proto.SchemaOuterClass.Schema.getDefaultInstance();
          }
          schemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              cz.proto.SchemaOuterClass.Schema, cz.proto.SchemaOuterClass.Schema.Builder, cz.proto.SchemaOuterClass.SchemaOrBuilder>(
                  (cz.proto.SchemaOuterClass.Schema) entity_,
                  getParentForChildren(),
                  isClean());
          entity_ = null;
        }
        entityCase_ = 11;
        onChanged();;
        return schemaBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          cz.proto.TableMeta, cz.proto.TableMeta.Builder, cz.proto.TableMetaOrBuilder> tableBuilder_;
      /**
       * .cz.proto.TableMeta table = 12;
       * @return Whether the table field is set.
       */
      @java.lang.Override
      public boolean hasTable() {
        return entityCase_ == 12;
      }
      /**
       * .cz.proto.TableMeta table = 12;
       * @return The table.
       */
      @java.lang.Override
      public cz.proto.TableMeta getTable() {
        if (tableBuilder_ == null) {
          if (entityCase_ == 12) {
            return (cz.proto.TableMeta) entity_;
          }
          return cz.proto.TableMeta.getDefaultInstance();
        } else {
          if (entityCase_ == 12) {
            return tableBuilder_.getMessage();
          }
          return cz.proto.TableMeta.getDefaultInstance();
        }
      }
      /**
       * .cz.proto.TableMeta table = 12;
       */
      public Builder setTable(cz.proto.TableMeta value) {
        if (tableBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          entity_ = value;
          onChanged();
        } else {
          tableBuilder_.setMessage(value);
        }
        entityCase_ = 12;
        return this;
      }
      /**
       * .cz.proto.TableMeta table = 12;
       */
      public Builder setTable(
          cz.proto.TableMeta.Builder builderForValue) {
        if (tableBuilder_ == null) {
          entity_ = builderForValue.build();
          onChanged();
        } else {
          tableBuilder_.setMessage(builderForValue.build());
        }
        entityCase_ = 12;
        return this;
      }
      /**
       * .cz.proto.TableMeta table = 12;
       */
      public Builder mergeTable(cz.proto.TableMeta value) {
        if (tableBuilder_ == null) {
          if (entityCase_ == 12 &&
              entity_ != cz.proto.TableMeta.getDefaultInstance()) {
            entity_ = cz.proto.TableMeta.newBuilder((cz.proto.TableMeta) entity_)
                .mergeFrom(value).buildPartial();
          } else {
            entity_ = value;
          }
          onChanged();
        } else {
          if (entityCase_ == 12) {
            tableBuilder_.mergeFrom(value);
          }
          tableBuilder_.setMessage(value);
        }
        entityCase_ = 12;
        return this;
      }
      /**
       * .cz.proto.TableMeta table = 12;
       */
      public Builder clearTable() {
        if (tableBuilder_ == null) {
          if (entityCase_ == 12) {
            entityCase_ = 0;
            entity_ = null;
            onChanged();
          }
        } else {
          if (entityCase_ == 12) {
            entityCase_ = 0;
            entity_ = null;
          }
          tableBuilder_.clear();
        }
        return this;
      }
      /**
       * .cz.proto.TableMeta table = 12;
       */
      public cz.proto.TableMeta.Builder getTableBuilder() {
        return getTableFieldBuilder().getBuilder();
      }
      /**
       * .cz.proto.TableMeta table = 12;
       */
      @java.lang.Override
      public cz.proto.TableMetaOrBuilder getTableOrBuilder() {
        if ((entityCase_ == 12) && (tableBuilder_ != null)) {
          return tableBuilder_.getMessageOrBuilder();
        } else {
          if (entityCase_ == 12) {
            return (cz.proto.TableMeta) entity_;
          }
          return cz.proto.TableMeta.getDefaultInstance();
        }
      }
      /**
       * .cz.proto.TableMeta table = 12;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          cz.proto.TableMeta, cz.proto.TableMeta.Builder, cz.proto.TableMetaOrBuilder> 
          getTableFieldBuilder() {
        if (tableBuilder_ == null) {
          if (!(entityCase_ == 12)) {
            entity_ = cz.proto.TableMeta.getDefaultInstance();
          }
          tableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              cz.proto.TableMeta, cz.proto.TableMeta.Builder, cz.proto.TableMetaOrBuilder>(
                  (cz.proto.TableMeta) entity_,
                  getParentForChildren(),
                  isClean());
          entity_ = null;
        }
        entityCase_ = 12;
        onChanged();;
        return tableBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          cz.proto.AccountOuterClass.User, cz.proto.AccountOuterClass.User.Builder, cz.proto.AccountOuterClass.UserOrBuilder> userBuilder_;
      /**
       * .cz.proto.User user = 13;
       * @return Whether the user field is set.
       */
      @java.lang.Override
      public boolean hasUser() {
        return entityCase_ == 13;
      }
      /**
       * .cz.proto.User user = 13;
       * @return The user.
       */
      @java.lang.Override
      public cz.proto.AccountOuterClass.User getUser() {
        if (userBuilder_ == null) {
          if (entityCase_ == 13) {
            return (cz.proto.AccountOuterClass.User) entity_;
          }
          return cz.proto.AccountOuterClass.User.getDefaultInstance();
        } else {
          if (entityCase_ == 13) {
            return userBuilder_.getMessage();
          }
          return cz.proto.AccountOuterClass.User.getDefaultInstance();
        }
      }
      /**
       * .cz.proto.User user = 13;
       */
      public Builder setUser(cz.proto.AccountOuterClass.User value) {
        if (userBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          entity_ = value;
          onChanged();
        } else {
          userBuilder_.setMessage(value);
        }
        entityCase_ = 13;
        return this;
      }
      /**
       * .cz.proto.User user = 13;
       */
      public Builder setUser(
          cz.proto.AccountOuterClass.User.Builder builderForValue) {
        if (userBuilder_ == null) {
          entity_ = builderForValue.build();
          onChanged();
        } else {
          userBuilder_.setMessage(builderForValue.build());
        }
        entityCase_ = 13;
        return this;
      }
      /**
       * .cz.proto.User user = 13;
       */
      public Builder mergeUser(cz.proto.AccountOuterClass.User value) {
        if (userBuilder_ == null) {
          if (entityCase_ == 13 &&
              entity_ != cz.proto.AccountOuterClass.User.getDefaultInstance()) {
            entity_ = cz.proto.AccountOuterClass.User.newBuilder((cz.proto.AccountOuterClass.User) entity_)
                .mergeFrom(value).buildPartial();
          } else {
            entity_ = value;
          }
          onChanged();
        } else {
          if (entityCase_ == 13) {
            userBuilder_.mergeFrom(value);
          }
          userBuilder_.setMessage(value);
        }
        entityCase_ = 13;
        return this;
      }
      /**
       * .cz.proto.User user = 13;
       */
      public Builder clearUser() {
        if (userBuilder_ == null) {
          if (entityCase_ == 13) {
            entityCase_ = 0;
            entity_ = null;
            onChanged();
          }
        } else {
          if (entityCase_ == 13) {
            entityCase_ = 0;
            entity_ = null;
          }
          userBuilder_.clear();
        }
        return this;
      }
      /**
       * .cz.proto.User user = 13;
       */
      public cz.proto.AccountOuterClass.User.Builder getUserBuilder() {
        return getUserFieldBuilder().getBuilder();
      }
      /**
       * .cz.proto.User user = 13;
       */
      @java.lang.Override
      public cz.proto.AccountOuterClass.UserOrBuilder getUserOrBuilder() {
        if ((entityCase_ == 13) && (userBuilder_ != null)) {
          return userBuilder_.getMessageOrBuilder();
        } else {
          if (entityCase_ == 13) {
            return (cz.proto.AccountOuterClass.User) entity_;
          }
          return cz.proto.AccountOuterClass.User.getDefaultInstance();
        }
      }
      /**
       * .cz.proto.User user = 13;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          cz.proto.AccountOuterClass.User, cz.proto.AccountOuterClass.User.Builder, cz.proto.AccountOuterClass.UserOrBuilder> 
          getUserFieldBuilder() {
        if (userBuilder_ == null) {
          if (!(entityCase_ == 13)) {
            entity_ = cz.proto.AccountOuterClass.User.getDefaultInstance();
          }
          userBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              cz.proto.AccountOuterClass.User, cz.proto.AccountOuterClass.User.Builder, cz.proto.AccountOuterClass.UserOrBuilder>(
                  (cz.proto.AccountOuterClass.User) entity_,
                  getParentForChildren(),
                  isClean());
          entity_ = null;
        }
        entityCase_ = 13;
        onChanged();;
        return userBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          cz.proto.RoleMeta.Role, cz.proto.RoleMeta.Role.Builder, cz.proto.RoleMeta.RoleOrBuilder> roleBuilder_;
      /**
       * .cz.proto.Role role = 14;
       * @return Whether the role field is set.
       */
      @java.lang.Override
      public boolean hasRole() {
        return entityCase_ == 14;
      }
      /**
       * .cz.proto.Role role = 14;
       * @return The role.
       */
      @java.lang.Override
      public cz.proto.RoleMeta.Role getRole() {
        if (roleBuilder_ == null) {
          if (entityCase_ == 14) {
            return (cz.proto.RoleMeta.Role) entity_;
          }
          return cz.proto.RoleMeta.Role.getDefaultInstance();
        } else {
          if (entityCase_ == 14) {
            return roleBuilder_.getMessage();
          }
          return cz.proto.RoleMeta.Role.getDefaultInstance();
        }
      }
      /**
       * .cz.proto.Role role = 14;
       */
      public Builder setRole(cz.proto.RoleMeta.Role value) {
        if (roleBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          entity_ = value;
          onChanged();
        } else {
          roleBuilder_.setMessage(value);
        }
        entityCase_ = 14;
        return this;
      }
      /**
       * .cz.proto.Role role = 14;
       */
      public Builder setRole(
          cz.proto.RoleMeta.Role.Builder builderForValue) {
        if (roleBuilder_ == null) {
          entity_ = builderForValue.build();
          onChanged();
        } else {
          roleBuilder_.setMessage(builderForValue.build());
        }
        entityCase_ = 14;
        return this;
      }
      /**
       * .cz.proto.Role role = 14;
       */
      public Builder mergeRole(cz.proto.RoleMeta.Role value) {
        if (roleBuilder_ == null) {
          if (entityCase_ == 14 &&
              entity_ != cz.proto.RoleMeta.Role.getDefaultInstance()) {
            entity_ = cz.proto.RoleMeta.Role.newBuilder((cz.proto.RoleMeta.Role) entity_)
                .mergeFrom(value).buildPartial();
          } else {
            entity_ = value;
          }
          onChanged();
        } else {
          if (entityCase_ == 14) {
            roleBuilder_.mergeFrom(value);
          }
          roleBuilder_.setMessage(value);
        }
        entityCase_ = 14;
        return this;
      }
      /**
       * .cz.proto.Role role = 14;
       */
      public Builder clearRole() {
        if (roleBuilder_ == null) {
          if (entityCase_ == 14) {
            entityCase_ = 0;
            entity_ = null;
            onChanged();
          }
        } else {
          if (entityCase_ == 14) {
            entityCase_ = 0;
            entity_ = null;
          }
          roleBuilder_.clear();
        }
        return this;
      }
      /**
       * .cz.proto.Role role = 14;
       */
      public cz.proto.RoleMeta.Role.Builder getRoleBuilder() {
        return getRoleFieldBuilder().getBuilder();
      }
      /**
       * .cz.proto.Role role = 14;
       */
      @java.lang.Override
      public cz.proto.RoleMeta.RoleOrBuilder getRoleOrBuilder() {
        if ((entityCase_ == 14) && (roleBuilder_ != null)) {
          return roleBuilder_.getMessageOrBuilder();
        } else {
          if (entityCase_ == 14) {
            return (cz.proto.RoleMeta.Role) entity_;
          }
          return cz.proto.RoleMeta.Role.getDefaultInstance();
        }
      }
      /**
       * .cz.proto.Role role = 14;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          cz.proto.RoleMeta.Role, cz.proto.RoleMeta.Role.Builder, cz.proto.RoleMeta.RoleOrBuilder> 
          getRoleFieldBuilder() {
        if (roleBuilder_ == null) {
          if (!(entityCase_ == 14)) {
            entity_ = cz.proto.RoleMeta.Role.getDefaultInstance();
          }
          roleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              cz.proto.RoleMeta.Role, cz.proto.RoleMeta.Role.Builder, cz.proto.RoleMeta.RoleOrBuilder>(
                  (cz.proto.RoleMeta.Role) entity_,
                  getParentForChildren(),
                  isClean());
          entity_ = null;
        }
        entityCase_ = 14;
        onChanged();;
        return roleBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          cz.proto.JobMeta, cz.proto.JobMeta.Builder, cz.proto.JobMetaOrBuilder> jobBuilder_;
      /**
       * .cz.proto.JobMeta job = 15;
       * @return Whether the job field is set.
       */
      @java.lang.Override
      public boolean hasJob() {
        return entityCase_ == 15;
      }
      /**
       * .cz.proto.JobMeta job = 15;
       * @return The job.
       */
      @java.lang.Override
      public cz.proto.JobMeta getJob() {
        if (jobBuilder_ == null) {
          if (entityCase_ == 15) {
            return (cz.proto.JobMeta) entity_;
          }
          return cz.proto.JobMeta.getDefaultInstance();
        } else {
          if (entityCase_ == 15) {
            return jobBuilder_.getMessage();
          }
          return cz.proto.JobMeta.getDefaultInstance();
        }
      }
      /**
       * .cz.proto.JobMeta job = 15;
       */
      public Builder setJob(cz.proto.JobMeta value) {
        if (jobBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          entity_ = value;
          onChanged();
        } else {
          jobBuilder_.setMessage(value);
        }
        entityCase_ = 15;
        return this;
      }
      /**
       * .cz.proto.JobMeta job = 15;
       */
      public Builder setJob(
          cz.proto.JobMeta.Builder builderForValue) {
        if (jobBuilder_ == null) {
          entity_ = builderForValue.build();
          onChanged();
        } else {
          jobBuilder_.setMessage(builderForValue.build());
        }
        entityCase_ = 15;
        return this;
      }
      /**
       * .cz.proto.JobMeta job = 15;
       */
      public Builder mergeJob(cz.proto.JobMeta value) {
        if (jobBuilder_ == null) {
          if (entityCase_ == 15 &&
              entity_ != cz.proto.JobMeta.getDefaultInstance()) {
            entity_ = cz.proto.JobMeta.newBuilder((cz.proto.JobMeta) entity_)
                .mergeFrom(value).buildPartial();
          } else {
            entity_ = value;
          }
          onChanged();
        } else {
          if (entityCase_ == 15) {
            jobBuilder_.mergeFrom(value);
          }
          jobBuilder_.setMessage(value);
        }
        entityCase_ = 15;
        return this;
      }
      /**
       * .cz.proto.JobMeta job = 15;
       */
      public Builder clearJob() {
        if (jobBuilder_ == null) {
          if (entityCase_ == 15) {
            entityCase_ = 0;
            entity_ = null;
            onChanged();
          }
        } else {
          if (entityCase_ == 15) {
            entityCase_ = 0;
            entity_ = null;
          }
          jobBuilder_.clear();
        }
        return this;
      }
      /**
       * .cz.proto.JobMeta job = 15;
       */
      public cz.proto.JobMeta.Builder getJobBuilder() {
        return getJobFieldBuilder().getBuilder();
      }
      /**
       * .cz.proto.JobMeta job = 15;
       */
      @java.lang.Override
      public cz.proto.JobMetaOrBuilder getJobOrBuilder() {
        if ((entityCase_ == 15) && (jobBuilder_ != null)) {
          return jobBuilder_.getMessageOrBuilder();
        } else {
          if (entityCase_ == 15) {
            return (cz.proto.JobMeta) entity_;
          }
          return cz.proto.JobMeta.getDefaultInstance();
        }
      }
      /**
       * .cz.proto.JobMeta job = 15;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          cz.proto.JobMeta, cz.proto.JobMeta.Builder, cz.proto.JobMetaOrBuilder> 
          getJobFieldBuilder() {
        if (jobBuilder_ == null) {
          if (!(entityCase_ == 15)) {
            entity_ = cz.proto.JobMeta.getDefaultInstance();
          }
          jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              cz.proto.JobMeta, cz.proto.JobMeta.Builder, cz.proto.JobMetaOrBuilder>(
                  (cz.proto.JobMeta) entity_,
                  getParentForChildren(),
                  isClean());
          entity_ = null;
        }
        entityCase_ = 15;
        onChanged();;
        return jobBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          cz.proto.VirtualClusterMetaOuterClass.VirtualClusterMeta, cz.proto.VirtualClusterMetaOuterClass.VirtualClusterMeta.Builder, cz.proto.VirtualClusterMetaOuterClass.VirtualClusterMetaOrBuilder> virtualClusterBuilder_;
      /**
       * .cz.proto.VirtualClusterMeta virtual_cluster = 16;
       * @return Whether the virtualCluster field is set.
       */
      @java.lang.Override
      public boolean hasVirtualCluster() {
        return entityCase_ == 16;
      }
      /**
       * .cz.proto.VirtualClusterMeta virtual_cluster = 16;
       * @return The virtualCluster.
       */
      @java.lang.Override
      public cz.proto.VirtualClusterMetaOuterClass.VirtualClusterMeta getVirtualCluster() {
        if (virtualClusterBuilder_ == null) {
          if (entityCase_ == 16) {
            return (cz.proto.VirtualClusterMetaOuterClass.VirtualClusterMeta) entity_;
          }
          return cz.proto.VirtualClusterMetaOuterClass.VirtualClusterMeta.getDefaultInstance();
        } else {
          if (entityCase_ == 16) {
            return virtualClusterBuilder_.getMessage();
          }
          return cz.proto.VirtualClusterMetaOuterClass.VirtualClusterMeta.getDefaultInstance();
        }
      }
      /**
       * .cz.proto.VirtualClusterMeta virtual_cluster = 16;
       */
      public Builder setVirtualCluster(cz.proto.VirtualClusterMetaOuterClass.VirtualClusterMeta value) {
        if (virtualClusterBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          entity_ = value;
          onChanged();
        } else {
          virtualClusterBuilder_.setMessage(value);
        }
        entityCase_ = 16;
        return this;
      }
      /**
       * .cz.proto.VirtualClusterMeta virtual_cluster = 16;
       */
      public Builder setVirtualCluster(
          cz.proto.VirtualClusterMetaOuterClass.VirtualClusterMeta.Builder builderForValue) {
        if (virtualClusterBuilder_ == null) {
          entity_ = builderForValue.build();
          onChanged();
        } else {
          virtualClusterBuilder_.setMessage(builderForValue.build());
        }
        entityCase_ = 16;
        return this;
      }
      /**
       * .cz.proto.VirtualClusterMeta virtual_cluster = 16;
       */
      public Builder mergeVirtualCluster(cz.proto.VirtualClusterMetaOuterClass.VirtualClusterMeta value) {
        if (virtualClusterBuilder_ == null) {
          if (entityCase_ == 16 &&
              entity_ != cz.proto.VirtualClusterMetaOuterClass.VirtualClusterMeta.getDefaultInstance()) {
            entity_ = cz.proto.VirtualClusterMetaOuterClass.VirtualClusterMeta.newBuilder((cz.proto.VirtualClusterMetaOuterClass.VirtualClusterMeta) entity_)
                .mergeFrom(value).buildPartial();
          } else {
            entity_ = value;
          }
          onChanged();
        } else {
          if (entityCase_ == 16) {
            virtualClusterBuilder_.mergeFrom(value);
          }
          virtualClusterBuilder_.setMessage(value);
        }
        entityCase_ = 16;
        return this;
      }
      /**
       * .cz.proto.VirtualClusterMeta virtual_cluster = 16;
       */
      public Builder clearVirtualCluster() {
        if (virtualClusterBuilder_ == null) {
          if (entityCase_ == 16) {
            entityCase_ = 0;
            entity_ = null;
            onChanged();
          }
        } else {
          if (entityCase_ == 16) {
            entityCase_ = 0;
            entity_ = null;
          }
          virtualClusterBuilder_.clear();
        }
        return this;
      }
      /**
       * .cz.proto.VirtualClusterMeta virtual_cluster = 16;
       */
      public cz.proto.VirtualClusterMetaOuterClass.VirtualClusterMeta.Builder getVirtualClusterBuilder() {
        return getVirtualClusterFieldBuilder().getBuilder();
      }
      /**
       * .cz.proto.VirtualClusterMeta virtual_cluster = 16;
       */
      @java.lang.Override
      public cz.proto.VirtualClusterMetaOuterClass.VirtualClusterMetaOrBuilder getVirtualClusterOrBuilder() {
        if ((entityCase_ == 16) && (virtualClusterBuilder_ != null)) {
          return virtualClusterBuilder_.getMessageOrBuilder();
        } else {
          if (entityCase_ == 16) {
            return (cz.proto.VirtualClusterMetaOuterClass.VirtualClusterMeta) entity_;
          }
          return cz.proto.VirtualClusterMetaOuterClass.VirtualClusterMeta.getDefaultInstance();
        }
      }
      /**
       * .cz.proto.VirtualClusterMeta virtual_cluster = 16;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          cz.proto.VirtualClusterMetaOuterClass.VirtualClusterMeta, cz.proto.VirtualClusterMetaOuterClass.VirtualClusterMeta.Builder, cz.proto.VirtualClusterMetaOuterClass.VirtualClusterMetaOrBuilder> 
          getVirtualClusterFieldBuilder() {
        if (virtualClusterBuilder_ == null) {
          if (!(entityCase_ == 16)) {
            entity_ = cz.proto.VirtualClusterMetaOuterClass.VirtualClusterMeta.getDefaultInstance();
          }
          virtualClusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              cz.proto.VirtualClusterMetaOuterClass.VirtualClusterMeta, cz.proto.VirtualClusterMetaOuterClass.VirtualClusterMeta.Builder, cz.proto.VirtualClusterMetaOuterClass.VirtualClusterMetaOrBuilder>(
                  (cz.proto.VirtualClusterMetaOuterClass.VirtualClusterMeta) entity_,
                  getParentForChildren(),
                  isClean());
          entity_ = null;
        }
        entityCase_ = 16;
        onChanged();;
        return virtualClusterBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          cz.proto.FileMetaData, cz.proto.FileMetaData.Builder, cz.proto.FileMetaDataOrBuilder> fileBuilder_;
      /**
       * .cz.proto.FileMetaData file = 17;
       * @return Whether the file field is set.
       */
      @java.lang.Override
      public boolean hasFile() {
        return entityCase_ == 17;
      }
      /**
       * .cz.proto.FileMetaData file = 17;
       * @return The file.
       */
      @java.lang.Override
      public cz.proto.FileMetaData getFile() {
        if (fileBuilder_ == null) {
          if (entityCase_ == 17) {
            return (cz.proto.FileMetaData) entity_;
          }
          return cz.proto.FileMetaData.getDefaultInstance();
        } else {
          if (entityCase_ == 17) {
            return fileBuilder_.getMessage();
          }
          return cz.proto.FileMetaData.getDefaultInstance();
        }
      }
      /**
       * .cz.proto.FileMetaData file = 17;
       */
      public Builder setFile(cz.proto.FileMetaData value) {
        if (fileBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          entity_ = value;
          onChanged();
        } else {
          fileBuilder_.setMessage(value);
        }
        entityCase_ = 17;
        return this;
      }
      /**
       * .cz.proto.FileMetaData file = 17;
       */
      public Builder setFile(
          cz.proto.FileMetaData.Builder builderForValue) {
        if (fileBuilder_ == null) {
          entity_ = builderForValue.build();
          onChanged();
        } else {
          fileBuilder_.setMessage(builderForValue.build());
        }
        entityCase_ = 17;
        return this;
      }
      /**
       * .cz.proto.FileMetaData file = 17;
       */
      public Builder mergeFile(cz.proto.FileMetaData value) {
        if (fileBuilder_ == null) {
          if (entityCase_ == 17 &&
              entity_ != cz.proto.FileMetaData.getDefaultInstance()) {
            entity_ = cz.proto.FileMetaData.newBuilder((cz.proto.FileMetaData) entity_)
                .mergeFrom(value).buildPartial();
          } else {
            entity_ = value;
          }
          onChanged();
        } else {
          if (entityCase_ == 17) {
            fileBuilder_.mergeFrom(value);
          }
          fileBuilder_.setMessage(value);
        }
        entityCase_ = 17;
        return this;
      }
      /**
       * .cz.proto.FileMetaData file = 17;
       */
      public Builder clearFile() {
        if (fileBuilder_ == null) {
          if (entityCase_ == 17) {
            entityCase_ = 0;
            entity_ = null;
            onChanged();
          }
        } else {
          if (entityCase_ == 17) {
            entityCase_ = 0;
            entity_ = null;
          }
          fileBuilder_.clear();
        }
        return this;
      }
      /**
       * .cz.proto.FileMetaData file = 17;
       */
      public cz.proto.FileMetaData.Builder getFileBuilder() {
        return getFileFieldBuilder().getBuilder();
      }
      /**
       * .cz.proto.FileMetaData file = 17;
       */
      @java.lang.Override
      public cz.proto.FileMetaDataOrBuilder getFileOrBuilder() {
        if ((entityCase_ == 17) && (fileBuilder_ != null)) {
          return fileBuilder_.getMessageOrBuilder();
        } else {
          if (entityCase_ == 17) {
            return (cz.proto.FileMetaData) entity_;
          }
          return cz.proto.FileMetaData.getDefaultInstance();
        }
      }
      /**
       * .cz.proto.FileMetaData file = 17;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          cz.proto.FileMetaData, cz.proto.FileMetaData.Builder, cz.proto.FileMetaDataOrBuilder> 
          getFileFieldBuilder() {
        if (fileBuilder_ == null) {
          if (!(entityCase_ == 17)) {
            entity_ = cz.proto.FileMetaData.getDefaultInstance();
          }
          fileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              cz.proto.FileMetaData, cz.proto.FileMetaData.Builder, cz.proto.FileMetaDataOrBuilder>(
                  (cz.proto.FileMetaData) entity_,
                  getParentForChildren(),
                  isClean());
          entity_ = null;
        }
        entityCase_ = 17;
        onChanged();;
        return fileBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          com.clickzetta.rm.VirtualClusterSize.VirtualClusterSizeSpec, com.clickzetta.rm.VirtualClusterSize.VirtualClusterSizeSpec.Builder, com.clickzetta.rm.VirtualClusterSize.VirtualClusterSizeSpecOrBuilder> virtualClusterSizeSpecBuilder_;
      /**
       * .com.clickzetta.rm.VirtualClusterSizeSpec virtual_cluster_size_spec = 18;
       * @return Whether the virtualClusterSizeSpec field is set.
       */
      @java.lang.Override
      public boolean hasVirtualClusterSizeSpec() {
        return entityCase_ == 18;
      }
      /**
       * .com.clickzetta.rm.VirtualClusterSizeSpec virtual_cluster_size_spec = 18;
       * @return The virtualClusterSizeSpec.
       */
      @java.lang.Override
      public com.clickzetta.rm.VirtualClusterSize.VirtualClusterSizeSpec getVirtualClusterSizeSpec() {
        if (virtualClusterSizeSpecBuilder_ == null) {
          if (entityCase_ == 18) {
            return (com.clickzetta.rm.VirtualClusterSize.VirtualClusterSizeSpec) entity_;
          }
          return com.clickzetta.rm.VirtualClusterSize.VirtualClusterSizeSpec.getDefaultInstance();
        } else {
          if (entityCase_ == 18) {
            return virtualClusterSizeSpecBuilder_.getMessage();
          }
          return com.clickzetta.rm.VirtualClusterSize.VirtualClusterSizeSpec.getDefaultInstance();
        }
      }
      /**
       * .com.clickzetta.rm.VirtualClusterSizeSpec virtual_cluster_size_spec = 18;
       */
      public Builder setVirtualClusterSizeSpec(com.clickzetta.rm.VirtualClusterSize.VirtualClusterSizeSpec value) {
        if (virtualClusterSizeSpecBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          entity_ = value;
          onChanged();
        } else {
          virtualClusterSizeSpecBuilder_.setMessage(value);
        }
        entityCase_ = 18;
        return this;
      }
      /**
       * .com.clickzetta.rm.VirtualClusterSizeSpec virtual_cluster_size_spec = 18;
       */
      public Builder setVirtualClusterSizeSpec(
          com.clickzetta.rm.VirtualClusterSize.VirtualClusterSizeSpec.Builder builderForValue) {
        if (virtualClusterSizeSpecBuilder_ == null) {
          entity_ = builderForValue.build();
          onChanged();
        } else {
          virtualClusterSizeSpecBuilder_.setMessage(builderForValue.build());
        }
        entityCase_ = 18;
        return this;
      }
      /**
       * .com.clickzetta.rm.VirtualClusterSizeSpec virtual_cluster_size_spec = 18;
       */
      public Builder mergeVirtualClusterSizeSpec(com.clickzetta.rm.VirtualClusterSize.VirtualClusterSizeSpec value) {
        if (virtualClusterSizeSpecBuilder_ == null) {
          if (entityCase_ == 18 &&
              entity_ != com.clickzetta.rm.VirtualClusterSize.VirtualClusterSizeSpec.getDefaultInstance()) {
            entity_ = com.clickzetta.rm.VirtualClusterSize.VirtualClusterSizeSpec.newBuilder((com.clickzetta.rm.VirtualClusterSize.VirtualClusterSizeSpec) entity_)
                .mergeFrom(value).buildPartial();
          } else {
            entity_ = value;
          }
          onChanged();
        } else {
          if (entityCase_ == 18) {
            virtualClusterSizeSpecBuilder_.mergeFrom(value);
          }
          virtualClusterSizeSpecBuilder_.setMessage(value);
        }
        entityCase_ = 18;
        return this;
      }
      /**
       * .com.clickzetta.rm.VirtualClusterSizeSpec virtual_cluster_size_spec = 18;
       */
      public Builder clearVirtualClusterSizeSpec() {
        if (virtualClusterSizeSpecBuilder_ == null) {
          if (entityCase_ == 18) {
            entityCase_ = 0;
            entity_ = null;
            onChanged();
          }
        } else {
          if (entityCase_ == 18) {
            entityCase_ = 0;
            entity_ = null;
          }
          virtualClusterSizeSpecBuilder_.clear();
        }
        return this;
      }
      /**
       * .com.clickzetta.rm.VirtualClusterSizeSpec virtual_cluster_size_spec = 18;
       */
      public com.clickzetta.rm.VirtualClusterSize.VirtualClusterSizeSpec.Builder getVirtualClusterSizeSpecBuilder() {
        return getVirtualClusterSizeSpecFieldBuilder().getBuilder();
      }
      /**
       * .com.clickzetta.rm.VirtualClusterSizeSpec virtual_cluster_size_spec = 18;
       */
      @java.lang.Override
      public com.clickzetta.rm.VirtualClusterSize.VirtualClusterSizeSpecOrBuilder getVirtualClusterSizeSpecOrBuilder() {
        if ((entityCase_ == 18) && (virtualClusterSizeSpecBuilder_ != null)) {
          return virtualClusterSizeSpecBuilder_.getMessageOrBuilder();
        } else {
          if (entityCase_ == 18) {
            return (com.clickzetta.rm.VirtualClusterSize.VirtualClusterSizeSpec) entity_;
          }
          return com.clickzetta.rm.VirtualClusterSize.VirtualClusterSizeSpec.getDefaultInstance();
        }
      }
      /**
       * .com.clickzetta.rm.VirtualClusterSizeSpec virtual_cluster_size_spec = 18;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          com.clickzetta.rm.VirtualClusterSize.VirtualClusterSizeSpec, com.clickzetta.rm.VirtualClusterSize.VirtualClusterSizeSpec.Builder, com.clickzetta.rm.VirtualClusterSize.VirtualClusterSizeSpecOrBuilder> 
          getVirtualClusterSizeSpecFieldBuilder() {
        if (virtualClusterSizeSpecBuilder_ == null) {
          if (!(entityCase_ == 18)) {
            entity_ = com.clickzetta.rm.VirtualClusterSize.VirtualClusterSizeSpec.getDefaultInstance();
          }
          virtualClusterSizeSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              com.clickzetta.rm.VirtualClusterSize.VirtualClusterSizeSpec, com.clickzetta.rm.VirtualClusterSize.VirtualClusterSizeSpec.Builder, com.clickzetta.rm.VirtualClusterSize.VirtualClusterSizeSpecOrBuilder>(
                  (com.clickzetta.rm.VirtualClusterSize.VirtualClusterSizeSpec) entity_,
                  getParentForChildren(),
                  isClean());
          entity_ = null;
        }
        entityCase_ = 18;
        onChanged();;
        return virtualClusterSizeSpecBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          cz.proto.ShareMeta.Share, cz.proto.ShareMeta.Share.Builder, cz.proto.ShareMeta.ShareOrBuilder> shareBuilder_;
      /**
       * .cz.proto.Share share = 19;
       * @return Whether the share field is set.
       */
      @java.lang.Override
      public boolean hasShare() {
        return entityCase_ == 19;
      }
      /**
       * .cz.proto.Share share = 19;
       * @return The share.
       */
      @java.lang.Override
      public cz.proto.ShareMeta.Share getShare() {
        if (shareBuilder_ == null) {
          if (entityCase_ == 19) {
            return (cz.proto.ShareMeta.Share) entity_;
          }
          return cz.proto.ShareMeta.Share.getDefaultInstance();
        } else {
          if (entityCase_ == 19) {
            return shareBuilder_.getMessage();
          }
          return cz.proto.ShareMeta.Share.getDefaultInstance();
        }
      }
      /**
       * .cz.proto.Share share = 19;
       */
      public Builder setShare(cz.proto.ShareMeta.Share value) {
        if (shareBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          entity_ = value;
          onChanged();
        } else {
          shareBuilder_.setMessage(value);
        }
        entityCase_ = 19;
        return this;
      }
      /**
       * .cz.proto.Share share = 19;
       */
      public Builder setShare(
          cz.proto.ShareMeta.Share.Builder builderForValue) {
        if (shareBuilder_ == null) {
          entity_ = builderForValue.build();
          onChanged();
        } else {
          shareBuilder_.setMessage(builderForValue.build());
        }
        entityCase_ = 19;
        return this;
      }
      /**
       * .cz.proto.Share share = 19;
       */
      public Builder mergeShare(cz.proto.ShareMeta.Share value) {
        if (shareBuilder_ == null) {
          if (entityCase_ == 19 &&
              entity_ != cz.proto.ShareMeta.Share.getDefaultInstance()) {
            entity_ = cz.proto.ShareMeta.Share.newBuilder((cz.proto.ShareMeta.Share) entity_)
                .mergeFrom(value).buildPartial();
          } else {
            entity_ = value;
          }
          onChanged();
        } else {
          if (entityCase_ == 19) {
            shareBuilder_.mergeFrom(value);
          }
          shareBuilder_.setMessage(value);
        }
        entityCase_ = 19;
        return this;
      }
      /**
       * .cz.proto.Share share = 19;
       */
      public Builder clearShare() {
        if (shareBuilder_ == null) {
          if (entityCase_ == 19) {
            entityCase_ = 0;
            entity_ = null;
            onChanged();
          }
        } else {
          if (entityCase_ == 19) {
            entityCase_ = 0;
            entity_ = null;
          }
          shareBuilder_.clear();
        }
        return this;
      }
      /**
       * .cz.proto.Share share = 19;
       */
      public cz.proto.ShareMeta.Share.Builder getShareBuilder() {
        return getShareFieldBuilder().getBuilder();
      }
      /**
       * .cz.proto.Share share = 19;
       */
      @java.lang.Override
      public cz.proto.ShareMeta.ShareOrBuilder getShareOrBuilder() {
        if ((entityCase_ == 19) && (shareBuilder_ != null)) {
          return shareBuilder_.getMessageOrBuilder();
        } else {
          if (entityCase_ == 19) {
            return (cz.proto.ShareMeta.Share) entity_;
          }
          return cz.proto.ShareMeta.Share.getDefaultInstance();
        }
      }
      /**
       * .cz.proto.Share share = 19;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          cz.proto.ShareMeta.Share, cz.proto.ShareMeta.Share.Builder, cz.proto.ShareMeta.ShareOrBuilder> 
          getShareFieldBuilder() {
        if (shareBuilder_ == null) {
          if (!(entityCase_ == 19)) {
            entity_ = cz.proto.ShareMeta.Share.getDefaultInstance();
          }
          shareBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              cz.proto.ShareMeta.Share, cz.proto.ShareMeta.Share.Builder, cz.proto.ShareMeta.ShareOrBuilder>(
                  (cz.proto.ShareMeta.Share) entity_,
                  getParentForChildren(),
                  isClean());
          entity_ = null;
        }
        entityCase_ = 19;
        onChanged();;
        return shareBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          cz.proto.FunctionMeta.Function, cz.proto.FunctionMeta.Function.Builder, cz.proto.FunctionMeta.FunctionOrBuilder> functionBuilder_;
      /**
       * .cz.proto.Function function = 20;
       * @return Whether the function field is set.
       */
      @java.lang.Override
      public boolean hasFunction() {
        return entityCase_ == 20;
      }
      /**
       * .cz.proto.Function function = 20;
       * @return The function.
       */
      @java.lang.Override
      public cz.proto.FunctionMeta.Function getFunction() {
        if (functionBuilder_ == null) {
          if (entityCase_ == 20) {
            return (cz.proto.FunctionMeta.Function) entity_;
          }
          return cz.proto.FunctionMeta.Function.getDefaultInstance();
        } else {
          if (entityCase_ == 20) {
            return functionBuilder_.getMessage();
          }
          return cz.proto.FunctionMeta.Function.getDefaultInstance();
        }
      }
      /**
       * .cz.proto.Function function = 20;
       */
      public Builder setFunction(cz.proto.FunctionMeta.Function value) {
        if (functionBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          entity_ = value;
          onChanged();
        } else {
          functionBuilder_.setMessage(value);
        }
        entityCase_ = 20;
        return this;
      }
      /**
       * .cz.proto.Function function = 20;
       */
      public Builder setFunction(
          cz.proto.FunctionMeta.Function.Builder builderForValue) {
        if (functionBuilder_ == null) {
          entity_ = builderForValue.build();
          onChanged();
        } else {
          functionBuilder_.setMessage(builderForValue.build());
        }
        entityCase_ = 20;
        return this;
      }
      /**
       * .cz.proto.Function function = 20;
       */
      public Builder mergeFunction(cz.proto.FunctionMeta.Function value) {
        if (functionBuilder_ == null) {
          if (entityCase_ == 20 &&
              entity_ != cz.proto.FunctionMeta.Function.getDefaultInstance()) {
            entity_ = cz.proto.FunctionMeta.Function.newBuilder((cz.proto.FunctionMeta.Function) entity_)
                .mergeFrom(value).buildPartial();
          } else {
            entity_ = value;
          }
          onChanged();
        } else {
          if (entityCase_ == 20) {
            functionBuilder_.mergeFrom(value);
          }
          functionBuilder_.setMessage(value);
        }
        entityCase_ = 20;
        return this;
      }
      /**
       * .cz.proto.Function function = 20;
       */
      public Builder clearFunction() {
        if (functionBuilder_ == null) {
          if (entityCase_ == 20) {
            entityCase_ = 0;
            entity_ = null;
            onChanged();
          }
        } else {
          if (entityCase_ == 20) {
            entityCase_ = 0;
            entity_ = null;
          }
          functionBuilder_.clear();
        }
        return this;
      }
      /**
       * .cz.proto.Function function = 20;
       */
      public cz.proto.FunctionMeta.Function.Builder getFunctionBuilder() {
        return getFunctionFieldBuilder().getBuilder();
      }
      /**
       * .cz.proto.Function function = 20;
       */
      @java.lang.Override
      public cz.proto.FunctionMeta.FunctionOrBuilder getFunctionOrBuilder() {
        if ((entityCase_ == 20) && (functionBuilder_ != null)) {
          return functionBuilder_.getMessageOrBuilder();
        } else {
          if (entityCase_ == 20) {
            return (cz.proto.FunctionMeta.Function) entity_;
          }
          return cz.proto.FunctionMeta.Function.getDefaultInstance();
        }
      }
      /**
       * .cz.proto.Function function = 20;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          cz.proto.FunctionMeta.Function, cz.proto.FunctionMeta.Function.Builder, cz.proto.FunctionMeta.FunctionOrBuilder> 
          getFunctionFieldBuilder() {
        if (functionBuilder_ == null) {
          if (!(entityCase_ == 20)) {
            entity_ = cz.proto.FunctionMeta.Function.getDefaultInstance();
          }
          functionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              cz.proto.FunctionMeta.Function, cz.proto.FunctionMeta.Function.Builder, cz.proto.FunctionMeta.FunctionOrBuilder>(
                  (cz.proto.FunctionMeta.Function) entity_,
                  getParentForChildren(),
                  isClean());
          entity_ = null;
        }
        entityCase_ = 20;
        onChanged();;
        return functionBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          cz.proto.ConnectionMeta.Connection, cz.proto.ConnectionMeta.Connection.Builder, cz.proto.ConnectionMeta.ConnectionOrBuilder> connectionBuilder_;
      /**
       * .cz.proto.Connection connection = 21;
       * @return Whether the connection field is set.
       */
      @java.lang.Override
      public boolean hasConnection() {
        return entityCase_ == 21;
      }
      /**
       * .cz.proto.Connection connection = 21;
       * @return The connection.
       */
      @java.lang.Override
      public cz.proto.ConnectionMeta.Connection getConnection() {
        if (connectionBuilder_ == null) {
          if (entityCase_ == 21) {
            return (cz.proto.ConnectionMeta.Connection) entity_;
          }
          return cz.proto.ConnectionMeta.Connection.getDefaultInstance();
        } else {
          if (entityCase_ == 21) {
            return connectionBuilder_.getMessage();
          }
          return cz.proto.ConnectionMeta.Connection.getDefaultInstance();
        }
      }
      /**
       * .cz.proto.Connection connection = 21;
       */
      public Builder setConnection(cz.proto.ConnectionMeta.Connection value) {
        if (connectionBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          entity_ = value;
          onChanged();
        } else {
          connectionBuilder_.setMessage(value);
        }
        entityCase_ = 21;
        return this;
      }
      /**
       * .cz.proto.Connection connection = 21;
       */
      public Builder setConnection(
          cz.proto.ConnectionMeta.Connection.Builder builderForValue) {
        if (connectionBuilder_ == null) {
          entity_ = builderForValue.build();
          onChanged();
        } else {
          connectionBuilder_.setMessage(builderForValue.build());
        }
        entityCase_ = 21;
        return this;
      }
      /**
       * .cz.proto.Connection connection = 21;
       */
      public Builder mergeConnection(cz.proto.ConnectionMeta.Connection value) {
        if (connectionBuilder_ == null) {
          if (entityCase_ == 21 &&
              entity_ != cz.proto.ConnectionMeta.Connection.getDefaultInstance()) {
            entity_ = cz.proto.ConnectionMeta.Connection.newBuilder((cz.proto.ConnectionMeta.Connection) entity_)
                .mergeFrom(value).buildPartial();
          } else {
            entity_ = value;
          }
          onChanged();
        } else {
          if (entityCase_ == 21) {
            connectionBuilder_.mergeFrom(value);
          }
          connectionBuilder_.setMessage(value);
        }
        entityCase_ = 21;
        return this;
      }
      /**
       * .cz.proto.Connection connection = 21;
       */
      public Builder clearConnection() {
        if (connectionBuilder_ == null) {
          if (entityCase_ == 21) {
            entityCase_ = 0;
            entity_ = null;
            onChanged();
          }
        } else {
          if (entityCase_ == 21) {
            entityCase_ = 0;
            entity_ = null;
          }
          connectionBuilder_.clear();
        }
        return this;
      }
      /**
       * .cz.proto.Connection connection = 21;
       */
      public cz.proto.ConnectionMeta.Connection.Builder getConnectionBuilder() {
        return getConnectionFieldBuilder().getBuilder();
      }
      /**
       * .cz.proto.Connection connection = 21;
       */
      @java.lang.Override
      public cz.proto.ConnectionMeta.ConnectionOrBuilder getConnectionOrBuilder() {
        if ((entityCase_ == 21) && (connectionBuilder_ != null)) {
          return connectionBuilder_.getMessageOrBuilder();
        } else {
          if (entityCase_ == 21) {
            return (cz.proto.ConnectionMeta.Connection) entity_;
          }
          return cz.proto.ConnectionMeta.Connection.getDefaultInstance();
        }
      }
      /**
       * .cz.proto.Connection connection = 21;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          cz.proto.ConnectionMeta.Connection, cz.proto.ConnectionMeta.Connection.Builder, cz.proto.ConnectionMeta.ConnectionOrBuilder> 
          getConnectionFieldBuilder() {
        if (connectionBuilder_ == null) {
          if (!(entityCase_ == 21)) {
            entity_ = cz.proto.ConnectionMeta.Connection.getDefaultInstance();
          }
          connectionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              cz.proto.ConnectionMeta.Connection, cz.proto.ConnectionMeta.Connection.Builder, cz.proto.ConnectionMeta.ConnectionOrBuilder>(
                  (cz.proto.ConnectionMeta.Connection) entity_,
                  getParentForChildren(),
                  isClean());
          entity_ = null;
        }
        entityCase_ = 21;
        onChanged();;
        return connectionBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          cz.proto.NetworkPolicyOuterClass.NetworkPolicy, cz.proto.NetworkPolicyOuterClass.NetworkPolicy.Builder, cz.proto.NetworkPolicyOuterClass.NetworkPolicyOrBuilder> networkPolicyBuilder_;
      /**
       * .cz.proto.NetworkPolicy network_policy = 22;
       * @return Whether the networkPolicy field is set.
       */
      @java.lang.Override
      public boolean hasNetworkPolicy() {
        return entityCase_ == 22;
      }
      /**
       * .cz.proto.NetworkPolicy network_policy = 22;
       * @return The networkPolicy.
       */
      @java.lang.Override
      public cz.proto.NetworkPolicyOuterClass.NetworkPolicy getNetworkPolicy() {
        if (networkPolicyBuilder_ == null) {
          if (entityCase_ == 22) {
            return (cz.proto.NetworkPolicyOuterClass.NetworkPolicy) entity_;
          }
          return cz.proto.NetworkPolicyOuterClass.NetworkPolicy.getDefaultInstance();
        } else {
          if (entityCase_ == 22) {
            return networkPolicyBuilder_.getMessage();
          }
          return cz.proto.NetworkPolicyOuterClass.NetworkPolicy.getDefaultInstance();
        }
      }
      /**
       * .cz.proto.NetworkPolicy network_policy = 22;
       */
      public Builder setNetworkPolicy(cz.proto.NetworkPolicyOuterClass.NetworkPolicy value) {
        if (networkPolicyBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          entity_ = value;
          onChanged();
        } else {
          networkPolicyBuilder_.setMessage(value);
        }
        entityCase_ = 22;
        return this;
      }
      /**
       * .cz.proto.NetworkPolicy network_policy = 22;
       */
      public Builder setNetworkPolicy(
          cz.proto.NetworkPolicyOuterClass.NetworkPolicy.Builder builderForValue) {
        if (networkPolicyBuilder_ == null) {
          entity_ = builderForValue.build();
          onChanged();
        } else {
          networkPolicyBuilder_.setMessage(builderForValue.build());
        }
        entityCase_ = 22;
        return this;
      }
      /**
       * .cz.proto.NetworkPolicy network_policy = 22;
       */
      public Builder mergeNetworkPolicy(cz.proto.NetworkPolicyOuterClass.NetworkPolicy value) {
        if (networkPolicyBuilder_ == null) {
          if (entityCase_ == 22 &&
              entity_ != cz.proto.NetworkPolicyOuterClass.NetworkPolicy.getDefaultInstance()) {
            entity_ = cz.proto.NetworkPolicyOuterClass.NetworkPolicy.newBuilder((cz.proto.NetworkPolicyOuterClass.NetworkPolicy) entity_)
                .mergeFrom(value).buildPartial();
          } else {
            entity_ = value;
          }
          onChanged();
        } else {
          if (entityCase_ == 22) {
            networkPolicyBuilder_.mergeFrom(value);
          }
          networkPolicyBuilder_.setMessage(value);
        }
        entityCase_ = 22;
        return this;
      }
      /**
       * .cz.proto.NetworkPolicy network_policy = 22;
       */
      public Builder clearNetworkPolicy() {
        if (networkPolicyBuilder_ == null) {
          if (entityCase_ == 22) {
            entityCase_ = 0;
            entity_ = null;
            onChanged();
          }
        } else {
          if (entityCase_ == 22) {
            entityCase_ = 0;
            entity_ = null;
          }
          networkPolicyBuilder_.clear();
        }
        return this;
      }
      /**
       * .cz.proto.NetworkPolicy network_policy = 22;
       */
      public cz.proto.NetworkPolicyOuterClass.NetworkPolicy.Builder getNetworkPolicyBuilder() {
        return getNetworkPolicyFieldBuilder().getBuilder();
      }
      /**
       * .cz.proto.NetworkPolicy network_policy = 22;
       */
      @java.lang.Override
      public cz.proto.NetworkPolicyOuterClass.NetworkPolicyOrBuilder getNetworkPolicyOrBuilder() {
        if ((entityCase_ == 22) && (networkPolicyBuilder_ != null)) {
          return networkPolicyBuilder_.getMessageOrBuilder();
        } else {
          if (entityCase_ == 22) {
            return (cz.proto.NetworkPolicyOuterClass.NetworkPolicy) entity_;
          }
          return cz.proto.NetworkPolicyOuterClass.NetworkPolicy.getDefaultInstance();
        }
      }
      /**
       * .cz.proto.NetworkPolicy network_policy = 22;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          cz.proto.NetworkPolicyOuterClass.NetworkPolicy, cz.proto.NetworkPolicyOuterClass.NetworkPolicy.Builder, cz.proto.NetworkPolicyOuterClass.NetworkPolicyOrBuilder> 
          getNetworkPolicyFieldBuilder() {
        if (networkPolicyBuilder_ == null) {
          if (!(entityCase_ == 22)) {
            entity_ = cz.proto.NetworkPolicyOuterClass.NetworkPolicy.getDefaultInstance();
          }
          networkPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              cz.proto.NetworkPolicyOuterClass.NetworkPolicy, cz.proto.NetworkPolicyOuterClass.NetworkPolicy.Builder, cz.proto.NetworkPolicyOuterClass.NetworkPolicyOrBuilder>(
                  (cz.proto.NetworkPolicyOuterClass.NetworkPolicy) entity_,
                  getParentForChildren(),
                  isClean());
          entity_ = null;
        }
        entityCase_ = 22;
        onChanged();;
        return networkPolicyBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          cz.proto.Index, cz.proto.Index.Builder, cz.proto.IndexOrBuilder> indexBuilder_;
      /**
       * .cz.proto.Index index = 23;
       * @return Whether the index field is set.
       */
      @java.lang.Override
      public boolean hasIndex() {
        return entityCase_ == 23;
      }
      /**
       * .cz.proto.Index index = 23;
       * @return The index.
       */
      @java.lang.Override
      public cz.proto.Index getIndex() {
        if (indexBuilder_ == null) {
          if (entityCase_ == 23) {
            return (cz.proto.Index) entity_;
          }
          return cz.proto.Index.getDefaultInstance();
        } else {
          if (entityCase_ == 23) {
            return indexBuilder_.getMessage();
          }
          return cz.proto.Index.getDefaultInstance();
        }
      }
      /**
       * .cz.proto.Index index = 23;
       */
      public Builder setIndex(cz.proto.Index value) {
        if (indexBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          entity_ = value;
          onChanged();
        } else {
          indexBuilder_.setMessage(value);
        }
        entityCase_ = 23;
        return this;
      }
      /**
       * .cz.proto.Index index = 23;
       */
      public Builder setIndex(
          cz.proto.Index.Builder builderForValue) {
        if (indexBuilder_ == null) {
          entity_ = builderForValue.build();
          onChanged();
        } else {
          indexBuilder_.setMessage(builderForValue.build());
        }
        entityCase_ = 23;
        return this;
      }
      /**
       * .cz.proto.Index index = 23;
       */
      public Builder mergeIndex(cz.proto.Index value) {
        if (indexBuilder_ == null) {
          if (entityCase_ == 23 &&
              entity_ != cz.proto.Index.getDefaultInstance()) {
            entity_ = cz.proto.Index.newBuilder((cz.proto.Index) entity_)
                .mergeFrom(value).buildPartial();
          } else {
            entity_ = value;
          }
          onChanged();
        } else {
          if (entityCase_ == 23) {
            indexBuilder_.mergeFrom(value);
          }
          indexBuilder_.setMessage(value);
        }
        entityCase_ = 23;
        return this;
      }
      /**
       * .cz.proto.Index index = 23;
       */
      public Builder clearIndex() {
        if (indexBuilder_ == null) {
          if (entityCase_ == 23) {
            entityCase_ = 0;
            entity_ = null;
            onChanged();
          }
        } else {
          if (entityCase_ == 23) {
            entityCase_ = 0;
            entity_ = null;
          }
          indexBuilder_.clear();
        }
        return this;
      }
      /**
       * .cz.proto.Index index = 23;
       */
      public cz.proto.Index.Builder getIndexBuilder() {
        return getIndexFieldBuilder().getBuilder();
      }
      /**
       * .cz.proto.Index index = 23;
       */
      @java.lang.Override
      public cz.proto.IndexOrBuilder getIndexOrBuilder() {
        if ((entityCase_ == 23) && (indexBuilder_ != null)) {
          return indexBuilder_.getMessageOrBuilder();
        } else {
          if (entityCase_ == 23) {
            return (cz.proto.Index) entity_;
          }
          return cz.proto.Index.getDefaultInstance();
        }
      }
      /**
       * .cz.proto.Index index = 23;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          cz.proto.Index, cz.proto.Index.Builder, cz.proto.IndexOrBuilder> 
          getIndexFieldBuilder() {
        if (indexBuilder_ == null) {
          if (!(entityCase_ == 23)) {
            entity_ = cz.proto.Index.getDefaultInstance();
          }
          indexBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              cz.proto.Index, cz.proto.Index.Builder, cz.proto.IndexOrBuilder>(
                  (cz.proto.Index) entity_,
                  getParentForChildren(),
                  isClean());
          entity_ = null;
        }
        entityCase_ = 23;
        onChanged();;
        return indexBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          cz.proto.StorageLocationOuterClass.StorageLocation, cz.proto.StorageLocationOuterClass.StorageLocation.Builder, cz.proto.StorageLocationOuterClass.StorageLocationOrBuilder> locationBuilder_;
      /**
       * .cz.proto.StorageLocation location = 24;
       * @return Whether the location field is set.
       */
      @java.lang.Override
      public boolean hasLocation() {
        return entityCase_ == 24;
      }
      /**
       * .cz.proto.StorageLocation location = 24;
       * @return The location.
       */
      @java.lang.Override
      public cz.proto.StorageLocationOuterClass.StorageLocation getLocation() {
        if (locationBuilder_ == null) {
          if (entityCase_ == 24) {
            return (cz.proto.StorageLocationOuterClass.StorageLocation) entity_;
          }
          return cz.proto.StorageLocationOuterClass.StorageLocation.getDefaultInstance();
        } else {
          if (entityCase_ == 24) {
            return locationBuilder_.getMessage();
          }
          return cz.proto.StorageLocationOuterClass.StorageLocation.getDefaultInstance();
        }
      }
      /**
       * .cz.proto.StorageLocation location = 24;
       */
      public Builder setLocation(cz.proto.StorageLocationOuterClass.StorageLocation value) {
        if (locationBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          entity_ = value;
          onChanged();
        } else {
          locationBuilder_.setMessage(value);
        }
        entityCase_ = 24;
        return this;
      }
      /**
       * .cz.proto.StorageLocation location = 24;
       */
      public Builder setLocation(
          cz.proto.StorageLocationOuterClass.StorageLocation.Builder builderForValue) {
        if (locationBuilder_ == null) {
          entity_ = builderForValue.build();
          onChanged();
        } else {
          locationBuilder_.setMessage(builderForValue.build());
        }
        entityCase_ = 24;
        return this;
      }
      /**
       * .cz.proto.StorageLocation location = 24;
       */
      public Builder mergeLocation(cz.proto.StorageLocationOuterClass.StorageLocation value) {
        if (locationBuilder_ == null) {
          if (entityCase_ == 24 &&
              entity_ != cz.proto.StorageLocationOuterClass.StorageLocation.getDefaultInstance()) {
            entity_ = cz.proto.StorageLocationOuterClass.StorageLocation.newBuilder((cz.proto.StorageLocationOuterClass.StorageLocation) entity_)
                .mergeFrom(value).buildPartial();
          } else {
            entity_ = value;
          }
          onChanged();
        } else {
          if (entityCase_ == 24) {
            locationBuilder_.mergeFrom(value);
          }
          locationBuilder_.setMessage(value);
        }
        entityCase_ = 24;
        return this;
      }
      /**
       * .cz.proto.StorageLocation location = 24;
       */
      public Builder clearLocation() {
        if (locationBuilder_ == null) {
          if (entityCase_ == 24) {
            entityCase_ = 0;
            entity_ = null;
            onChanged();
          }
        } else {
          if (entityCase_ == 24) {
            entityCase_ = 0;
            entity_ = null;
          }
          locationBuilder_.clear();
        }
        return this;
      }
      /**
       * .cz.proto.StorageLocation location = 24;
       */
      public cz.proto.StorageLocationOuterClass.StorageLocation.Builder getLocationBuilder() {
        return getLocationFieldBuilder().getBuilder();
      }
      /**
       * .cz.proto.StorageLocation location = 24;
       */
      @java.lang.Override
      public cz.proto.StorageLocationOuterClass.StorageLocationOrBuilder getLocationOrBuilder() {
        if ((entityCase_ == 24) && (locationBuilder_ != null)) {
          return locationBuilder_.getMessageOrBuilder();
        } else {
          if (entityCase_ == 24) {
            return (cz.proto.StorageLocationOuterClass.StorageLocation) entity_;
          }
          return cz.proto.StorageLocationOuterClass.StorageLocation.getDefaultInstance();
        }
      }
      /**
       * .cz.proto.StorageLocation location = 24;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          cz.proto.StorageLocationOuterClass.StorageLocation, cz.proto.StorageLocationOuterClass.StorageLocation.Builder, cz.proto.StorageLocationOuterClass.StorageLocationOrBuilder> 
          getLocationFieldBuilder() {
        if (locationBuilder_ == null) {
          if (!(entityCase_ == 24)) {
            entity_ = cz.proto.StorageLocationOuterClass.StorageLocation.getDefaultInstance();
          }
          locationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              cz.proto.StorageLocationOuterClass.StorageLocation, cz.proto.StorageLocationOuterClass.StorageLocation.Builder, cz.proto.StorageLocationOuterClass.StorageLocationOrBuilder>(
                  (cz.proto.StorageLocationOuterClass.StorageLocation) entity_,
                  getParentForChildren(),
                  isClean());
          entity_ = null;
        }
        entityCase_ = 24;
        onChanged();;
        return locationBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          cz.proto.Partition, cz.proto.Partition.Builder, cz.proto.PartitionOrBuilder> partitionBuilder_;
      /**
       * .cz.proto.Partition partition = 25;
       * @return Whether the partition field is set.
       */
      @java.lang.Override
      public boolean hasPartition() {
        return entityCase_ == 25;
      }
      /**
       * .cz.proto.Partition partition = 25;
       * @return The partition.
       */
      @java.lang.Override
      public cz.proto.Partition getPartition() {
        if (partitionBuilder_ == null) {
          if (entityCase_ == 25) {
            return (cz.proto.Partition) entity_;
          }
          return cz.proto.Partition.getDefaultInstance();
        } else {
          if (entityCase_ == 25) {
            return partitionBuilder_.getMessage();
          }
          return cz.proto.Partition.getDefaultInstance();
        }
      }
      /**
       * .cz.proto.Partition partition = 25;
       */
      public Builder setPartition(cz.proto.Partition value) {
        if (partitionBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          entity_ = value;
          onChanged();
        } else {
          partitionBuilder_.setMessage(value);
        }
        entityCase_ = 25;
        return this;
      }
      /**
       * .cz.proto.Partition partition = 25;
       */
      public Builder setPartition(
          cz.proto.Partition.Builder builderForValue) {
        if (partitionBuilder_ == null) {
          entity_ = builderForValue.build();
          onChanged();
        } else {
          partitionBuilder_.setMessage(builderForValue.build());
        }
        entityCase_ = 25;
        return this;
      }
      /**
       * .cz.proto.Partition partition = 25;
       */
      public Builder mergePartition(cz.proto.Partition value) {
        if (partitionBuilder_ == null) {
          if (entityCase_ == 25 &&
              entity_ != cz.proto.Partition.getDefaultInstance()) {
            entity_ = cz.proto.Partition.newBuilder((cz.proto.Partition) entity_)
                .mergeFrom(value).buildPartial();
          } else {
            entity_ = value;
          }
          onChanged();
        } else {
          if (entityCase_ == 25) {
            partitionBuilder_.mergeFrom(value);
          }
          partitionBuilder_.setMessage(value);
        }
        entityCase_ = 25;
        return this;
      }
      /**
       * .cz.proto.Partition partition = 25;
       */
      public Builder clearPartition() {
        if (partitionBuilder_ == null) {
          if (entityCase_ == 25) {
            entityCase_ = 0;
            entity_ = null;
            onChanged();
          }
        } else {
          if (entityCase_ == 25) {
            entityCase_ = 0;
            entity_ = null;
          }
          partitionBuilder_.clear();
        }
        return this;
      }
      /**
       * .cz.proto.Partition partition = 25;
       */
      public cz.proto.Partition.Builder getPartitionBuilder() {
        return getPartitionFieldBuilder().getBuilder();
      }
      /**
       * .cz.proto.Partition partition = 25;
       */
      @java.lang.Override
      public cz.proto.PartitionOrBuilder getPartitionOrBuilder() {
        if ((entityCase_ == 25) && (partitionBuilder_ != null)) {
          return partitionBuilder_.getMessageOrBuilder();
        } else {
          if (entityCase_ == 25) {
            return (cz.proto.Partition) entity_;
          }
          return cz.proto.Partition.getDefaultInstance();
        }
      }
      /**
       * .cz.proto.Partition partition = 25;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          cz.proto.Partition, cz.proto.Partition.Builder, cz.proto.PartitionOrBuilder> 
          getPartitionFieldBuilder() {
        if (partitionBuilder_ == null) {
          if (!(entityCase_ == 25)) {
            entity_ = cz.proto.Partition.getDefaultInstance();
          }
          partitionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              cz.proto.Partition, cz.proto.Partition.Builder, cz.proto.PartitionOrBuilder>(
                  (cz.proto.Partition) entity_,
                  getParentForChildren(),
                  isClean());
          entity_ = null;
        }
        entityCase_ = 25;
        onChanged();;
        return partitionBuilder_;
      }
      @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.Entity)
    }

    // @@protoc_insertion_point(class_scope:cz.proto.Entity)
    private static final cz.proto.MetadataEntity.Entity DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new cz.proto.MetadataEntity.Entity();
    }

    public static cz.proto.MetadataEntity.Entity getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public Entity parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new Entity(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.MetadataEntity.Entity getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface EntityListOrBuilder extends
      // @@protoc_insertion_point(interface_extends:cz.proto.EntityList)
      com.google.protobuf.MessageOrBuilder {

    /**
     * repeated .cz.proto.Entity entities = 1;
     */
    java.util.List 
        getEntitiesList();
    /**
     * repeated .cz.proto.Entity entities = 1;
     */
    cz.proto.MetadataEntity.Entity getEntities(int index);
    /**
     * repeated .cz.proto.Entity entities = 1;
     */
    int getEntitiesCount();
    /**
     * repeated .cz.proto.Entity entities = 1;
     */
    java.util.List 
        getEntitiesOrBuilderList();
    /**
     * repeated .cz.proto.Entity entities = 1;
     */
    cz.proto.MetadataEntity.EntityOrBuilder getEntitiesOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code cz.proto.EntityList}
   */
  public static final class EntityList extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:cz.proto.EntityList)
      EntityListOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use EntityList.newBuilder() to construct.
    private EntityList(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private EntityList() {
      entities_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new EntityList();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private EntityList(
        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)) {
                entities_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000001;
              }
              entities_.add(
                  input.readMessage(cz.proto.MetadataEntity.Entity.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)) {
          entities_ = java.util.Collections.unmodifiableList(entities_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return cz.proto.MetadataEntity.internal_static_cz_proto_EntityList_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return cz.proto.MetadataEntity.internal_static_cz_proto_EntityList_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              cz.proto.MetadataEntity.EntityList.class, cz.proto.MetadataEntity.EntityList.Builder.class);
    }

    public static final int ENTITIES_FIELD_NUMBER = 1;
    private java.util.List entities_;
    /**
     * repeated .cz.proto.Entity entities = 1;
     */
    @java.lang.Override
    public java.util.List getEntitiesList() {
      return entities_;
    }
    /**
     * repeated .cz.proto.Entity entities = 1;
     */
    @java.lang.Override
    public java.util.List 
        getEntitiesOrBuilderList() {
      return entities_;
    }
    /**
     * repeated .cz.proto.Entity entities = 1;
     */
    @java.lang.Override
    public int getEntitiesCount() {
      return entities_.size();
    }
    /**
     * repeated .cz.proto.Entity entities = 1;
     */
    @java.lang.Override
    public cz.proto.MetadataEntity.Entity getEntities(int index) {
      return entities_.get(index);
    }
    /**
     * repeated .cz.proto.Entity entities = 1;
     */
    @java.lang.Override
    public cz.proto.MetadataEntity.EntityOrBuilder getEntitiesOrBuilder(
        int index) {
      return entities_.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 < entities_.size(); i++) {
        output.writeMessage(1, entities_.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 < entities_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, entities_.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.MetadataEntity.EntityList)) {
        return super.equals(obj);
      }
      cz.proto.MetadataEntity.EntityList other = (cz.proto.MetadataEntity.EntityList) obj;

      if (!getEntitiesList()
          .equals(other.getEntitiesList())) 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 (getEntitiesCount() > 0) {
        hash = (37 * hash) + ENTITIES_FIELD_NUMBER;
        hash = (53 * hash) + getEntitiesList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static cz.proto.MetadataEntity.EntityList parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cz.proto.MetadataEntity.EntityList parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static cz.proto.MetadataEntity.EntityList parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cz.proto.MetadataEntity.EntityList 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.MetadataEntity.EntityList parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cz.proto.MetadataEntity.EntityList parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static cz.proto.MetadataEntity.EntityList parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static cz.proto.MetadataEntity.EntityList 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.MetadataEntity.EntityList parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static cz.proto.MetadataEntity.EntityList 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.MetadataEntity.EntityList parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static cz.proto.MetadataEntity.EntityList 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.MetadataEntity.EntityList 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.EntityList}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:cz.proto.EntityList)
        cz.proto.MetadataEntity.EntityListOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return cz.proto.MetadataEntity.internal_static_cz_proto_EntityList_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return cz.proto.MetadataEntity.internal_static_cz_proto_EntityList_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                cz.proto.MetadataEntity.EntityList.class, cz.proto.MetadataEntity.EntityList.Builder.class);
      }

      // Construct using cz.proto.MetadataEntity.EntityList.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getEntitiesFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (entitiesBuilder_ == null) {
          entities_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          entitiesBuilder_.clear();
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return cz.proto.MetadataEntity.internal_static_cz_proto_EntityList_descriptor;
      }

      @java.lang.Override
      public cz.proto.MetadataEntity.EntityList getDefaultInstanceForType() {
        return cz.proto.MetadataEntity.EntityList.getDefaultInstance();
      }

      @java.lang.Override
      public cz.proto.MetadataEntity.EntityList build() {
        cz.proto.MetadataEntity.EntityList result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public cz.proto.MetadataEntity.EntityList buildPartial() {
        cz.proto.MetadataEntity.EntityList result = new cz.proto.MetadataEntity.EntityList(this);
        int from_bitField0_ = bitField0_;
        if (entitiesBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            entities_ = java.util.Collections.unmodifiableList(entities_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.entities_ = entities_;
        } else {
          result.entities_ = entitiesBuilder_.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.MetadataEntity.EntityList) {
          return mergeFrom((cz.proto.MetadataEntity.EntityList)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(cz.proto.MetadataEntity.EntityList other) {
        if (other == cz.proto.MetadataEntity.EntityList.getDefaultInstance()) return this;
        if (entitiesBuilder_ == null) {
          if (!other.entities_.isEmpty()) {
            if (entities_.isEmpty()) {
              entities_ = other.entities_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureEntitiesIsMutable();
              entities_.addAll(other.entities_);
            }
            onChanged();
          }
        } else {
          if (!other.entities_.isEmpty()) {
            if (entitiesBuilder_.isEmpty()) {
              entitiesBuilder_.dispose();
              entitiesBuilder_ = null;
              entities_ = other.entities_;
              bitField0_ = (bitField0_ & ~0x00000001);
              entitiesBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getEntitiesFieldBuilder() : null;
            } else {
              entitiesBuilder_.addAllMessages(other.entities_);
            }
          }
        }
        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.MetadataEntity.EntityList parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (cz.proto.MetadataEntity.EntityList) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.util.List entities_ =
        java.util.Collections.emptyList();
      private void ensureEntitiesIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          entities_ = new java.util.ArrayList(entities_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder> entitiesBuilder_;

      /**
       * repeated .cz.proto.Entity entities = 1;
       */
      public java.util.List getEntitiesList() {
        if (entitiesBuilder_ == null) {
          return java.util.Collections.unmodifiableList(entities_);
        } else {
          return entitiesBuilder_.getMessageList();
        }
      }
      /**
       * repeated .cz.proto.Entity entities = 1;
       */
      public int getEntitiesCount() {
        if (entitiesBuilder_ == null) {
          return entities_.size();
        } else {
          return entitiesBuilder_.getCount();
        }
      }
      /**
       * repeated .cz.proto.Entity entities = 1;
       */
      public cz.proto.MetadataEntity.Entity getEntities(int index) {
        if (entitiesBuilder_ == null) {
          return entities_.get(index);
        } else {
          return entitiesBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .cz.proto.Entity entities = 1;
       */
      public Builder setEntities(
          int index, cz.proto.MetadataEntity.Entity value) {
        if (entitiesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureEntitiesIsMutable();
          entities_.set(index, value);
          onChanged();
        } else {
          entitiesBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .cz.proto.Entity entities = 1;
       */
      public Builder setEntities(
          int index, cz.proto.MetadataEntity.Entity.Builder builderForValue) {
        if (entitiesBuilder_ == null) {
          ensureEntitiesIsMutable();
          entities_.set(index, builderForValue.build());
          onChanged();
        } else {
          entitiesBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .cz.proto.Entity entities = 1;
       */
      public Builder addEntities(cz.proto.MetadataEntity.Entity value) {
        if (entitiesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureEntitiesIsMutable();
          entities_.add(value);
          onChanged();
        } else {
          entitiesBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .cz.proto.Entity entities = 1;
       */
      public Builder addEntities(
          int index, cz.proto.MetadataEntity.Entity value) {
        if (entitiesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureEntitiesIsMutable();
          entities_.add(index, value);
          onChanged();
        } else {
          entitiesBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .cz.proto.Entity entities = 1;
       */
      public Builder addEntities(
          cz.proto.MetadataEntity.Entity.Builder builderForValue) {
        if (entitiesBuilder_ == null) {
          ensureEntitiesIsMutable();
          entities_.add(builderForValue.build());
          onChanged();
        } else {
          entitiesBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .cz.proto.Entity entities = 1;
       */
      public Builder addEntities(
          int index, cz.proto.MetadataEntity.Entity.Builder builderForValue) {
        if (entitiesBuilder_ == null) {
          ensureEntitiesIsMutable();
          entities_.add(index, builderForValue.build());
          onChanged();
        } else {
          entitiesBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .cz.proto.Entity entities = 1;
       */
      public Builder addAllEntities(
          java.lang.Iterable values) {
        if (entitiesBuilder_ == null) {
          ensureEntitiesIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, entities_);
          onChanged();
        } else {
          entitiesBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .cz.proto.Entity entities = 1;
       */
      public Builder clearEntities() {
        if (entitiesBuilder_ == null) {
          entities_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          entitiesBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .cz.proto.Entity entities = 1;
       */
      public Builder removeEntities(int index) {
        if (entitiesBuilder_ == null) {
          ensureEntitiesIsMutable();
          entities_.remove(index);
          onChanged();
        } else {
          entitiesBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .cz.proto.Entity entities = 1;
       */
      public cz.proto.MetadataEntity.Entity.Builder getEntitiesBuilder(
          int index) {
        return getEntitiesFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .cz.proto.Entity entities = 1;
       */
      public cz.proto.MetadataEntity.EntityOrBuilder getEntitiesOrBuilder(
          int index) {
        if (entitiesBuilder_ == null) {
          return entities_.get(index);  } else {
          return entitiesBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .cz.proto.Entity entities = 1;
       */
      public java.util.List 
           getEntitiesOrBuilderList() {
        if (entitiesBuilder_ != null) {
          return entitiesBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(entities_);
        }
      }
      /**
       * repeated .cz.proto.Entity entities = 1;
       */
      public cz.proto.MetadataEntity.Entity.Builder addEntitiesBuilder() {
        return getEntitiesFieldBuilder().addBuilder(
            cz.proto.MetadataEntity.Entity.getDefaultInstance());
      }
      /**
       * repeated .cz.proto.Entity entities = 1;
       */
      public cz.proto.MetadataEntity.Entity.Builder addEntitiesBuilder(
          int index) {
        return getEntitiesFieldBuilder().addBuilder(
            index, cz.proto.MetadataEntity.Entity.getDefaultInstance());
      }
      /**
       * repeated .cz.proto.Entity entities = 1;
       */
      public java.util.List 
           getEntitiesBuilderList() {
        return getEntitiesFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder> 
          getEntitiesFieldBuilder() {
        if (entitiesBuilder_ == null) {
          entitiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder>(
                  entities_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          entities_ = null;
        }
        return entitiesBuilder_;
      }
      @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.EntityList)
    }

    // @@protoc_insertion_point(class_scope:cz.proto.EntityList)
    private static final cz.proto.MetadataEntity.EntityList DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new cz.proto.MetadataEntity.EntityList();
    }

    public static cz.proto.MetadataEntity.EntityList getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public EntityList parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new EntityList(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.MetadataEntity.EntityList getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_cz_proto_Entity_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_cz_proto_Entity_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_cz_proto_EntityList_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_cz_proto_EntityList_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n\025metadata_entity.proto\022\010cz.proto\032\027objec" +
      "t_identifier.proto\032\024workspace_meta.proto" +
      "\032\014schema.proto\032\022table_common.proto\032\020tabl" +
      "e_meta.proto\032\raccount.proto\032\017role_meta.p" +
      "roto\032\016job_meta.proto\032\016property.proto\032\032vi" +
      "rtual_cluster_meta.proto\032\024file_meta_data" +
      ".proto\032\021rm_app_meta.proto\032\032virtual_clust" +
      "er_size.proto\032\020share_meta.proto\032\023functio" +
      "n_meta.proto\032\025connection_meta.proto\032\024net" +
      "work_policy.proto\032\026storage_location.prot" +
      "o\032\024partition_meta.proto\"\305\010\n\006Entity\0223\n\nid" +
      "entifier\030\001 \001(\0132\032.cz.proto.ObjectIdentifi" +
      "erH\001\210\001\001\022\017\n\007creator\030\002 \001(\003\022-\n\014creator_type" +
      "\030\003 \001(\0162\027.cz.proto.PrincipalType\022\024\n\007comme" +
      "nt\030\004 \001(\tH\002\210\001\001\022&\n\nproperties\030\005 \003(\0132\022.cz.p" +
      "roto.Property\022\023\n\013create_time\030\006 \001(\003\022\030\n\020la" +
      "st_modify_time\030\007 \001(\003\022)\n\005state\030\010 \001(\0162\032.cz" +
      ".proto.ObjectState.Type\022+\n\010category\030\t \001(" +
      "\0162\031.cz.proto.Entity.Category\022(\n\tworkspac" +
      "e\030\n \001(\0132\023.cz.proto.WorkspaceH\000\022\"\n\006schema" +
      "\030\013 \001(\0132\020.cz.proto.SchemaH\000\022$\n\005table\030\014 \001(" +
      "\0132\023.cz.proto.TableMetaH\000\022\036\n\004user\030\r \001(\0132\016" +
      ".cz.proto.UserH\000\022\036\n\004role\030\016 \001(\0132\016.cz.prot" +
      "o.RoleH\000\022 \n\003job\030\017 \001(\0132\021.cz.proto.JobMeta" +
      "H\000\0227\n\017virtual_cluster\030\020 \001(\0132\034.cz.proto.V" +
      "irtualClusterMetaH\000\022&\n\004file\030\021 \001(\0132\026.cz.p" +
      "roto.FileMetaDataH\000\022N\n\031virtual_cluster_s" +
      "ize_spec\030\022 \001(\0132).com.clickzetta.rm.Virtu" +
      "alClusterSizeSpecH\000\022 \n\005share\030\023 \001(\0132\017.cz." +
      "proto.ShareH\000\022&\n\010function\030\024 \001(\0132\022.cz.pro" +
      "to.FunctionH\000\022*\n\nconnection\030\025 \001(\0132\024.cz.p" +
      "roto.ConnectionH\000\0221\n\016network_policy\030\026 \001(" +
      "\0132\027.cz.proto.NetworkPolicyH\000\022 \n\005index\030\027 " +
      "\001(\0132\017.cz.proto.IndexH\000\022-\n\010location\030\030 \001(\013" +
      "2\031.cz.proto.StorageLocationH\000\022(\n\tpartiti" +
      "on\030\031 \001(\0132\023.cz.proto.PartitionH\000\"1\n\010Categ" +
      "ory\022\013\n\007MANAGED\020\000\022\014\n\010EXTERNAL\020\001\022\n\n\006SHARED" +
      "\020\002B\010\n\006entityB\r\n\013_identifierB\n\n\010_comment\"" +
      "0\n\nEntityList\022\"\n\010entities\030\001 \003(\0132\020.cz.pro" +
      "to.Entityb\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          cz.proto.ObjectIdentifierOuterClass.getDescriptor(),
          cz.proto.WorkspaceMeta.getDescriptor(),
          cz.proto.SchemaOuterClass.getDescriptor(),
          cz.proto.TableCommon.getDescriptor(),
          cz.proto.TableMetaOuterClass.getDescriptor(),
          cz.proto.AccountOuterClass.getDescriptor(),
          cz.proto.RoleMeta.getDescriptor(),
          cz.proto.JobMetaOuterClass.getDescriptor(),
          cz.proto.PropertyOuterClass.getDescriptor(),
          cz.proto.VirtualClusterMetaOuterClass.getDescriptor(),
          cz.proto.FileMetaDataProto.getDescriptor(),
          com.clickzetta.rm.proto.RMAppProtos.getDescriptor(),
          com.clickzetta.rm.VirtualClusterSize.getDescriptor(),
          cz.proto.ShareMeta.getDescriptor(),
          cz.proto.FunctionMeta.getDescriptor(),
          cz.proto.ConnectionMeta.getDescriptor(),
          cz.proto.NetworkPolicyOuterClass.getDescriptor(),
          cz.proto.StorageLocationOuterClass.getDescriptor(),
          cz.proto.PartitionMeta.getDescriptor(),
        });
    internal_static_cz_proto_Entity_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_cz_proto_Entity_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_cz_proto_Entity_descriptor,
        new java.lang.String[] { "Identifier", "Creator", "CreatorType", "Comment", "Properties", "CreateTime", "LastModifyTime", "State", "Category", "Workspace", "Schema", "Table", "User", "Role", "Job", "VirtualCluster", "File", "VirtualClusterSizeSpec", "Share", "Function", "Connection", "NetworkPolicy", "Index", "Location", "Partition", "Entity", "Identifier", "Comment", });
    internal_static_cz_proto_EntityList_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_cz_proto_EntityList_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_cz_proto_EntityList_descriptor,
        new java.lang.String[] { "Entities", });
    cz.proto.ObjectIdentifierOuterClass.getDescriptor();
    cz.proto.WorkspaceMeta.getDescriptor();
    cz.proto.SchemaOuterClass.getDescriptor();
    cz.proto.TableCommon.getDescriptor();
    cz.proto.TableMetaOuterClass.getDescriptor();
    cz.proto.AccountOuterClass.getDescriptor();
    cz.proto.RoleMeta.getDescriptor();
    cz.proto.JobMetaOuterClass.getDescriptor();
    cz.proto.PropertyOuterClass.getDescriptor();
    cz.proto.VirtualClusterMetaOuterClass.getDescriptor();
    cz.proto.FileMetaDataProto.getDescriptor();
    com.clickzetta.rm.proto.RMAppProtos.getDescriptor();
    com.clickzetta.rm.VirtualClusterSize.getDescriptor();
    cz.proto.ShareMeta.getDescriptor();
    cz.proto.FunctionMeta.getDescriptor();
    cz.proto.ConnectionMeta.getDescriptor();
    cz.proto.NetworkPolicyOuterClass.getDescriptor();
    cz.proto.StorageLocationOuterClass.getDescriptor();
    cz.proto.PartitionMeta.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy