/*
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/dataplex/v1/resources.proto

package com.google.cloud.dataplex.v1;

/**
 *
 *
 * <pre>
 * Action represents an issue requiring administrator action for resolution.
 * </pre>
 *
 * Protobuf type {@code google.cloud.dataplex.v1.Action}
 */
public final class Action extends com.google.protobuf.GeneratedMessageV3
    implements
    // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Action)
    ActionOrBuilder {
  private static final long serialVersionUID = 0L;
  // Use Action.newBuilder() to construct.
  private Action(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }

  private Action() {
    category_ = 0;
    issue_ = "";
    name_ = "";
    lake_ = "";
    zone_ = "";
    asset_ = "";
    dataLocations_ = com.google.protobuf.LazyStringArrayList.EMPTY;
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
    return this.unknownFields;
  }

  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    return com.google.cloud.dataplex.v1.ResourcesProto
        .internal_static_google_cloud_dataplex_v1_Action_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.google.cloud.dataplex.v1.ResourcesProto
        .internal_static_google_cloud_dataplex_v1_Action_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.google.cloud.dataplex.v1.Action.class,
            com.google.cloud.dataplex.v1.Action.Builder.class);
  }

  /**
   *
   *
   * <pre>
   * The category of issues.
   * </pre>
   *
   * Protobuf enum {@code google.cloud.dataplex.v1.Action.Category}
   */
  public enum Category implements com.google.protobuf.ProtocolMessageEnum {
    /**
     *
     *
     * <pre>
     * Unspecified category.
     * </pre>
     *
     * <code>CATEGORY_UNSPECIFIED = 0;</code>
     */
    CATEGORY_UNSPECIFIED(0),
    /**
     *
     *
     * <pre>
     * Resource management related issues.
     * </pre>
     *
     * <code>RESOURCE_MANAGEMENT = 1;</code>
     */
    RESOURCE_MANAGEMENT(1),
    /**
     *
     *
     * <pre>
     * Security policy related issues.
     * </pre>
     *
     * <code>SECURITY_POLICY = 2;</code>
     */
    SECURITY_POLICY(2),
    /**
     *
     *
     * <pre>
     * Data and discovery related issues.
     * </pre>
     *
     * <code>DATA_DISCOVERY = 3;</code>
     */
    DATA_DISCOVERY(3),
    UNRECOGNIZED(-1),
    ;

    /**
     *
     *
     * <pre>
     * Unspecified category.
     * </pre>
     *
     * <code>CATEGORY_UNSPECIFIED = 0;</code>
     */
    public static final int CATEGORY_UNSPECIFIED_VALUE = 0;
    /**
     *
     *
     * <pre>
     * Resource management related issues.
     * </pre>
     *
     * <code>RESOURCE_MANAGEMENT = 1;</code>
     */
    public static final int RESOURCE_MANAGEMENT_VALUE = 1;
    /**
     *
     *
     * <pre>
     * Security policy related issues.
     * </pre>
     *
     * <code>SECURITY_POLICY = 2;</code>
     */
    public static final int SECURITY_POLICY_VALUE = 2;
    /**
     *
     *
     * <pre>
     * Data and discovery related issues.
     * </pre>
     *
     * <code>DATA_DISCOVERY = 3;</code>
     */
    public static final int DATA_DISCOVERY_VALUE = 3;

    public final int getNumber() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalArgumentException(
            "Can't get the number of an unknown enum value.");
      }
      return value;
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static 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 CATEGORY_UNSPECIFIED;
        case 1:
          return RESOURCE_MANAGEMENT;
        case 2:
          return SECURITY_POLICY;
        case 3:
          return DATA_DISCOVERY;
        default:
          return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap<Category> internalGetValueMap() {
      return internalValueMap;
    }

    private static final com.google.protobuf.Internal.EnumLiteMap<Category> internalValueMap =
        new com.google.protobuf.Internal.EnumLiteMap<Category>() {
          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 com.google.cloud.dataplex.v1.Action.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:google.cloud.dataplex.v1.Action.Category)
  }

  public interface MissingResourceOrBuilder
      extends
      // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Action.MissingResource)
      com.google.protobuf.MessageOrBuilder {}
  /**
   *
   *
   * <pre>
   * Action details for resource references in assets that cannot be located.
   * </pre>
   *
   * Protobuf type {@code google.cloud.dataplex.v1.Action.MissingResource}
   */
  public static final class MissingResource extends com.google.protobuf.GeneratedMessageV3
      implements
      // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Action.MissingResource)
      MissingResourceOrBuilder {
    private static final long serialVersionUID = 0L;
    // Use MissingResource.newBuilder() to construct.
    private MissingResource(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }

    private MissingResource() {}

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
      return this.unknownFields;
    }

    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      return com.google.cloud.dataplex.v1.ResourcesProto
          .internal_static_google_cloud_dataplex_v1_Action_MissingResource_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.cloud.dataplex.v1.ResourcesProto
          .internal_static_google_cloud_dataplex_v1_Action_MissingResource_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.cloud.dataplex.v1.Action.MissingResource.class,
              com.google.cloud.dataplex.v1.Action.MissingResource.Builder.class);
    }

    private byte memoizedIsInitialized = -1;

    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
      getUnknownFields().writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
        return true;
      }
      if (!(obj instanceof com.google.cloud.dataplex.v1.Action.MissingResource)) {
        return super.equals(obj);
      }
      com.google.cloud.dataplex.v1.Action.MissingResource other =
          (com.google.cloud.dataplex.v1.Action.MissingResource) obj;

      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.google.cloud.dataplex.v1.Action.MissingResource parseFrom(
        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.cloud.dataplex.v1.Action.MissingResource parseFrom(
        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.cloud.dataplex.v1.Action.MissingResource parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.cloud.dataplex.v1.Action.MissingResource parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.cloud.dataplex.v1.Action.MissingResource parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.cloud.dataplex.v1.Action.MissingResource parseFrom(
        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.cloud.dataplex.v1.Action.MissingResource parseFrom(
        java.io.InputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
    }

    public static com.google.cloud.dataplex.v1.Action.MissingResource parseFrom(
        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
          PARSER, input, extensionRegistry);
    }

    public static com.google.cloud.dataplex.v1.Action.MissingResource parseDelimitedFrom(
        java.io.InputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
    }

    public static com.google.cloud.dataplex.v1.Action.MissingResource parseDelimitedFrom(
        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
          PARSER, input, extensionRegistry);
    }

    public static com.google.cloud.dataplex.v1.Action.MissingResource parseFrom(
        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
    }

    public static com.google.cloud.dataplex.v1.Action.MissingResource parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
          PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() {
      return newBuilder();
    }

    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }

    public static Builder newBuilder(
        com.google.cloud.dataplex.v1.Action.MissingResource 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;
    }
    /**
     *
     *
     * <pre>
     * Action details for resource references in assets that cannot be located.
     * </pre>
     *
     * Protobuf type {@code google.cloud.dataplex.v1.Action.MissingResource}
     */
    public static final class Builder
        extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
        implements
        // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Action.MissingResource)
        com.google.cloud.dataplex.v1.Action.MissingResourceOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        return com.google.cloud.dataplex.v1.ResourcesProto
            .internal_static_google_cloud_dataplex_v1_Action_MissingResource_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.cloud.dataplex.v1.ResourcesProto
            .internal_static_google_cloud_dataplex_v1_Action_MissingResource_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.cloud.dataplex.v1.Action.MissingResource.class,
                com.google.cloud.dataplex.v1.Action.MissingResource.Builder.class);
      }

      // Construct using com.google.cloud.dataplex.v1.Action.MissingResource.newBuilder()
      private Builder() {}

      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
      }

      @java.lang.Override
      public Builder clear() {
        super.clear();
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
        return com.google.cloud.dataplex.v1.ResourcesProto
            .internal_static_google_cloud_dataplex_v1_Action_MissingResource_descriptor;
      }

      @java.lang.Override
      public com.google.cloud.dataplex.v1.Action.MissingResource getDefaultInstanceForType() {
        return com.google.cloud.dataplex.v1.Action.MissingResource.getDefaultInstance();
      }

      @java.lang.Override
      public com.google.cloud.dataplex.v1.Action.MissingResource build() {
        com.google.cloud.dataplex.v1.Action.MissingResource result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.google.cloud.dataplex.v1.Action.MissingResource buildPartial() {
        com.google.cloud.dataplex.v1.Action.MissingResource result =
            new com.google.cloud.dataplex.v1.Action.MissingResource(this);
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }

      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
        return super.setField(field, value);
      }

      @java.lang.Override
      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }

      @java.lang.Override
      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }

      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index,
          java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }

      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }

      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.google.cloud.dataplex.v1.Action.MissingResource) {
          return mergeFrom((com.google.cloud.dataplex.v1.Action.MissingResource) other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.google.cloud.dataplex.v1.Action.MissingResource other) {
        if (other == com.google.cloud.dataplex.v1.Action.MissingResource.getDefaultInstance())
          return this;
        this.mergeUnknownFields(other.getUnknownFields());
        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 {
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              default:
                {
                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                    done = true; // was an endgroup tag
                  }
                  break;
                } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }

      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }

      // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Action.MissingResource)
    }

    // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Action.MissingResource)
    private static final com.google.cloud.dataplex.v1.Action.MissingResource DEFAULT_INSTANCE;

    static {
      DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Action.MissingResource();
    }

    public static com.google.cloud.dataplex.v1.Action.MissingResource getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<MissingResource> PARSER =
        new com.google.protobuf.AbstractParser<MissingResource>() {
          @java.lang.Override
          public MissingResource parsePartialFrom(
              com.google.protobuf.CodedInputStream input,
              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
              throws com.google.protobuf.InvalidProtocolBufferException {
            Builder builder = newBuilder();
            try {
              builder.mergeFrom(input, extensionRegistry);
            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
              throw e.setUnfinishedMessage(builder.buildPartial());
            } catch (com.google.protobuf.UninitializedMessageException e) {
              throw e.asInvalidProtocolBufferException()
                  .setUnfinishedMessage(builder.buildPartial());
            } catch (java.io.IOException e) {
              throw new com.google.protobuf.InvalidProtocolBufferException(e)
                  .setUnfinishedMessage(builder.buildPartial());
            }
            return builder.buildPartial();
          }
        };

    public static com.google.protobuf.Parser<MissingResource> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<MissingResource> getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.cloud.dataplex.v1.Action.MissingResource getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }
  }

  public interface UnauthorizedResourceOrBuilder
      extends
      // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Action.UnauthorizedResource)
      com.google.protobuf.MessageOrBuilder {}
  /**
   *
   *
   * <pre>
   * Action details for unauthorized resource issues raised to indicate that the
   * service account associated with the lake instance is not authorized to
   * access or manage the resource associated with an asset.
   * </pre>
   *
   * Protobuf type {@code google.cloud.dataplex.v1.Action.UnauthorizedResource}
   */
  public static final class UnauthorizedResource extends com.google.protobuf.GeneratedMessageV3
      implements
      // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Action.UnauthorizedResource)
      UnauthorizedResourceOrBuilder {
    private static final long serialVersionUID = 0L;
    // Use UnauthorizedResource.newBuilder() to construct.
    private UnauthorizedResource(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }

    private UnauthorizedResource() {}

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
      return this.unknownFields;
    }

    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      return com.google.cloud.dataplex.v1.ResourcesProto
          .internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.cloud.dataplex.v1.ResourcesProto
          .internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.cloud.dataplex.v1.Action.UnauthorizedResource.class,
              com.google.cloud.dataplex.v1.Action.UnauthorizedResource.Builder.class);
    }

    private byte memoizedIsInitialized = -1;

    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
      getUnknownFields().writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
        return true;
      }
      if (!(obj instanceof com.google.cloud.dataplex.v1.Action.UnauthorizedResource)) {
        return super.equals(obj);
      }
      com.google.cloud.dataplex.v1.Action.UnauthorizedResource other =
          (com.google.cloud.dataplex.v1.Action.UnauthorizedResource) obj;

      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.google.cloud.dataplex.v1.Action.UnauthorizedResource parseFrom(
        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.cloud.dataplex.v1.Action.UnauthorizedResource parseFrom(
        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.cloud.dataplex.v1.Action.UnauthorizedResource parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.cloud.dataplex.v1.Action.UnauthorizedResource parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.cloud.dataplex.v1.Action.UnauthorizedResource parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.cloud.dataplex.v1.Action.UnauthorizedResource parseFrom(
        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.cloud.dataplex.v1.Action.UnauthorizedResource parseFrom(
        java.io.InputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
    }

    public static com.google.cloud.dataplex.v1.Action.UnauthorizedResource parseFrom(
        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
          PARSER, input, extensionRegistry);
    }

    public static com.google.cloud.dataplex.v1.Action.UnauthorizedResource parseDelimitedFrom(
        java.io.InputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
    }

    public static com.google.cloud.dataplex.v1.Action.UnauthorizedResource parseDelimitedFrom(
        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
          PARSER, input, extensionRegistry);
    }

    public static com.google.cloud.dataplex.v1.Action.UnauthorizedResource parseFrom(
        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
    }

    public static com.google.cloud.dataplex.v1.Action.UnauthorizedResource parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
          PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() {
      return newBuilder();
    }

    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }

    public static Builder newBuilder(
        com.google.cloud.dataplex.v1.Action.UnauthorizedResource 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;
    }
    /**
     *
     *
     * <pre>
     * Action details for unauthorized resource issues raised to indicate that the
     * service account associated with the lake instance is not authorized to
     * access or manage the resource associated with an asset.
     * </pre>
     *
     * Protobuf type {@code google.cloud.dataplex.v1.Action.UnauthorizedResource}
     */
    public static final class Builder
        extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
        implements
        // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Action.UnauthorizedResource)
        com.google.cloud.dataplex.v1.Action.UnauthorizedResourceOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        return com.google.cloud.dataplex.v1.ResourcesProto
            .internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.cloud.dataplex.v1.ResourcesProto
            .internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.cloud.dataplex.v1.Action.UnauthorizedResource.class,
                com.google.cloud.dataplex.v1.Action.UnauthorizedResource.Builder.class);
      }

      // Construct using com.google.cloud.dataplex.v1.Action.UnauthorizedResource.newBuilder()
      private Builder() {}

      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
      }

      @java.lang.Override
      public Builder clear() {
        super.clear();
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
        return com.google.cloud.dataplex.v1.ResourcesProto
            .internal_static_google_cloud_dataplex_v1_Action_UnauthorizedResource_descriptor;
      }

      @java.lang.Override
      public com.google.cloud.dataplex.v1.Action.UnauthorizedResource getDefaultInstanceForType() {
        return com.google.cloud.dataplex.v1.Action.UnauthorizedResource.getDefaultInstance();
      }

      @java.lang.Override
      public com.google.cloud.dataplex.v1.Action.UnauthorizedResource build() {
        com.google.cloud.dataplex.v1.Action.UnauthorizedResource result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.google.cloud.dataplex.v1.Action.UnauthorizedResource buildPartial() {
        com.google.cloud.dataplex.v1.Action.UnauthorizedResource result =
            new com.google.cloud.dataplex.v1.Action.UnauthorizedResource(this);
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }

      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
        return super.setField(field, value);
      }

      @java.lang.Override
      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }

      @java.lang.Override
      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }

      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index,
          java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }

      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }

      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.google.cloud.dataplex.v1.Action.UnauthorizedResource) {
          return mergeFrom((com.google.cloud.dataplex.v1.Action.UnauthorizedResource) other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.google.cloud.dataplex.v1.Action.UnauthorizedResource other) {
        if (other == com.google.cloud.dataplex.v1.Action.UnauthorizedResource.getDefaultInstance())
          return this;
        this.mergeUnknownFields(other.getUnknownFields());
        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 {
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              default:
                {
                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                    done = true; // was an endgroup tag
                  }
                  break;
                } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }

      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }

      // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Action.UnauthorizedResource)
    }

    // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Action.UnauthorizedResource)
    private static final com.google.cloud.dataplex.v1.Action.UnauthorizedResource DEFAULT_INSTANCE;

    static {
      DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Action.UnauthorizedResource();
    }

    public static com.google.cloud.dataplex.v1.Action.UnauthorizedResource getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<UnauthorizedResource> PARSER =
        new com.google.protobuf.AbstractParser<UnauthorizedResource>() {
          @java.lang.Override
          public UnauthorizedResource parsePartialFrom(
              com.google.protobuf.CodedInputStream input,
              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
              throws com.google.protobuf.InvalidProtocolBufferException {
            Builder builder = newBuilder();
            try {
              builder.mergeFrom(input, extensionRegistry);
            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
              throw e.setUnfinishedMessage(builder.buildPartial());
            } catch (com.google.protobuf.UninitializedMessageException e) {
              throw e.asInvalidProtocolBufferException()
                  .setUnfinishedMessage(builder.buildPartial());
            } catch (java.io.IOException e) {
              throw new com.google.protobuf.InvalidProtocolBufferException(e)
                  .setUnfinishedMessage(builder.buildPartial());
            }
            return builder.buildPartial();
          }
        };

    public static com.google.protobuf.Parser<UnauthorizedResource> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<UnauthorizedResource> getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.cloud.dataplex.v1.Action.UnauthorizedResource getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }
  }

  public interface FailedSecurityPolicyApplyOrBuilder
      extends
      // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply)
      com.google.protobuf.MessageOrBuilder {

    /**
     *
     *
     * <pre>
     * Resource name of one of the assets with failing security policy
     * application. Populated for a lake or zone resource only.
     * </pre>
     *
     * <code>string asset = 1;</code>
     *
     * @return The asset.
     */
    java.lang.String getAsset();
    /**
     *
     *
     * <pre>
     * Resource name of one of the assets with failing security policy
     * application. Populated for a lake or zone resource only.
     * </pre>
     *
     * <code>string asset = 1;</code>
     *
     * @return The bytes for asset.
     */
    com.google.protobuf.ByteString getAssetBytes();
  }
  /**
   *
   *
   * <pre>
   * Failed to apply security policy to the managed resource(s) under a
   * lake, zone or an asset. For a lake or zone resource, one or more underlying
   * assets has a failure applying security policy to the associated managed
   * resource.
   * </pre>
   *
   * Protobuf type {@code google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply}
   */
  public static final class FailedSecurityPolicyApply extends com.google.protobuf.GeneratedMessageV3
      implements
      // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply)
      FailedSecurityPolicyApplyOrBuilder {
    private static final long serialVersionUID = 0L;
    // Use FailedSecurityPolicyApply.newBuilder() to construct.
    private FailedSecurityPolicyApply(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }

    private FailedSecurityPolicyApply() {
      asset_ = "";
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
      return this.unknownFields;
    }

    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      return com.google.cloud.dataplex.v1.ResourcesProto
          .internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.cloud.dataplex.v1.ResourcesProto
          .internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.class,
              com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.Builder.class);
    }

    public static final int ASSET_FIELD_NUMBER = 1;

    @SuppressWarnings("serial")
    private volatile java.lang.Object asset_ = "";
    /**
     *
     *
     * <pre>
     * Resource name of one of the assets with failing security policy
     * application. Populated for a lake or zone resource only.
     * </pre>
     *
     * <code>string asset = 1;</code>
     *
     * @return The asset.
     */
    @java.lang.Override
    public java.lang.String getAsset() {
      java.lang.Object ref = asset_;
      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();
        asset_ = s;
        return s;
      }
    }
    /**
     *
     *
     * <pre>
     * Resource name of one of the assets with failing security policy
     * application. Populated for a lake or zone resource only.
     * </pre>
     *
     * <code>string asset = 1;</code>
     *
     * @return The bytes for asset.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getAssetBytes() {
      java.lang.Object ref = asset_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        asset_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    private byte memoizedIsInitialized = -1;

    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(asset_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, asset_);
      }
      getUnknownFields().writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(asset_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, asset_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
        return true;
      }
      if (!(obj instanceof com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply)) {
        return super.equals(obj);
      }
      com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply other =
          (com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) obj;

      if (!getAsset().equals(other.getAsset())) return false;
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + ASSET_FIELD_NUMBER;
      hash = (53 * hash) + getAsset().hashCode();
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply parseFrom(
        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply parseFrom(
        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply parseFrom(
        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply parseFrom(
        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply parseFrom(
        java.io.InputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
    }

    public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply parseFrom(
        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
          PARSER, input, extensionRegistry);
    }

    public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply parseDelimitedFrom(
        java.io.InputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
    }

    public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply parseDelimitedFrom(
        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
          PARSER, input, extensionRegistry);
    }

    public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply parseFrom(
        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
    }

    public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
          PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() {
      return newBuilder();
    }

    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }

    public static Builder newBuilder(
        com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply 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;
    }
    /**
     *
     *
     * <pre>
     * Failed to apply security policy to the managed resource(s) under a
     * lake, zone or an asset. For a lake or zone resource, one or more underlying
     * assets has a failure applying security policy to the associated managed
     * resource.
     * </pre>
     *
     * Protobuf type {@code google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply}
     */
    public static final class Builder
        extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
        implements
        // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply)
        com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApplyOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        return com.google.cloud.dataplex.v1.ResourcesProto
            .internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.cloud.dataplex.v1.ResourcesProto
            .internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.class,
                com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.Builder.class);
      }

      // Construct using com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.newBuilder()
      private Builder() {}

      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
      }

      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        asset_ = "";
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
        return com.google.cloud.dataplex.v1.ResourcesProto
            .internal_static_google_cloud_dataplex_v1_Action_FailedSecurityPolicyApply_descriptor;
      }

      @java.lang.Override
      public com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply
          getDefaultInstanceForType() {
        return com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.getDefaultInstance();
      }

      @java.lang.Override
      public com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply build() {
        com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply buildPartial() {
        com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply result =
            new com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply(this);
        if (bitField0_ != 0) {
          buildPartial0(result);
        }
        onBuilt();
        return result;
      }

      private void buildPartial0(
          com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply result) {
        int from_bitField0_ = bitField0_;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.asset_ = asset_;
        }
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }

      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
        return super.setField(field, value);
      }

      @java.lang.Override
      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }

      @java.lang.Override
      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }

      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index,
          java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }

      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }

      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) {
          return mergeFrom((com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(
          com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply other) {
        if (other
            == com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.getDefaultInstance())
          return this;
        if (!other.getAsset().isEmpty()) {
          asset_ = other.asset_;
          bitField0_ |= 0x00000001;
          onChanged();
        }
        this.mergeUnknownFields(other.getUnknownFields());
        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 {
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 10:
                {
                  asset_ = input.readStringRequireUtf8();
                  bitField0_ |= 0x00000001;
                  break;
                } // case 10
              default:
                {
                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                    done = true; // was an endgroup tag
                  }
                  break;
                } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }

      private int bitField0_;

      private java.lang.Object asset_ = "";
      /**
       *
       *
       * <pre>
       * Resource name of one of the assets with failing security policy
       * application. Populated for a lake or zone resource only.
       * </pre>
       *
       * <code>string asset = 1;</code>
       *
       * @return The asset.
       */
      public java.lang.String getAsset() {
        java.lang.Object ref = asset_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          asset_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       *
       *
       * <pre>
       * Resource name of one of the assets with failing security policy
       * application. Populated for a lake or zone resource only.
       * </pre>
       *
       * <code>string asset = 1;</code>
       *
       * @return The bytes for asset.
       */
      public com.google.protobuf.ByteString getAssetBytes() {
        java.lang.Object ref = asset_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b =
              com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
          asset_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       *
       *
       * <pre>
       * Resource name of one of the assets with failing security policy
       * application. Populated for a lake or zone resource only.
       * </pre>
       *
       * <code>string asset = 1;</code>
       *
       * @param value The asset to set.
       * @return This builder for chaining.
       */
      public Builder setAsset(java.lang.String value) {
        if (value == null) {
          throw new NullPointerException();
        }
        asset_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * Resource name of one of the assets with failing security policy
       * application. Populated for a lake or zone resource only.
       * </pre>
       *
       * <code>string asset = 1;</code>
       *
       * @return This builder for chaining.
       */
      public Builder clearAsset() {
        asset_ = getDefaultInstance().getAsset();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * Resource name of one of the assets with failing security policy
       * application. Populated for a lake or zone resource only.
       * </pre>
       *
       * <code>string asset = 1;</code>
       *
       * @param value The bytes for asset to set.
       * @return This builder for chaining.
       */
      public Builder setAssetBytes(com.google.protobuf.ByteString value) {
        if (value == null) {
          throw new NullPointerException();
        }
        checkByteStringIsUtf8(value);
        asset_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }

      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }

      // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply)
    }

    // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply)
    private static final com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply
        DEFAULT_INSTANCE;

    static {
      DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply();
    }

    public static com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply
        getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<FailedSecurityPolicyApply> PARSER =
        new com.google.protobuf.AbstractParser<FailedSecurityPolicyApply>() {
          @java.lang.Override
          public FailedSecurityPolicyApply parsePartialFrom(
              com.google.protobuf.CodedInputStream input,
              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
              throws com.google.protobuf.InvalidProtocolBufferException {
            Builder builder = newBuilder();
            try {
              builder.mergeFrom(input, extensionRegistry);
            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
              throw e.setUnfinishedMessage(builder.buildPartial());
            } catch (com.google.protobuf.UninitializedMessageException e) {
              throw e.asInvalidProtocolBufferException()
                  .setUnfinishedMessage(builder.buildPartial());
            } catch (java.io.IOException e) {
              throw new com.google.protobuf.InvalidProtocolBufferException(e)
                  .setUnfinishedMessage(builder.buildPartial());
            }
            return builder.buildPartial();
          }
        };

    public static com.google.protobuf.Parser<FailedSecurityPolicyApply> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<FailedSecurityPolicyApply> getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply
        getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }
  }

  public interface InvalidDataFormatOrBuilder
      extends
      // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Action.InvalidDataFormat)
      com.google.protobuf.MessageOrBuilder {

    /**
     *
     *
     * <pre>
     * The list of data locations sampled and used for format/schema
     * inference.
     * </pre>
     *
     * <code>repeated string sampled_data_locations = 1;</code>
     *
     * @return A list containing the sampledDataLocations.
     */
    java.util.List<java.lang.String> getSampledDataLocationsList();
    /**
     *
     *
     * <pre>
     * The list of data locations sampled and used for format/schema
     * inference.
     * </pre>
     *
     * <code>repeated string sampled_data_locations = 1;</code>
     *
     * @return The count of sampledDataLocations.
     */
    int getSampledDataLocationsCount();
    /**
     *
     *
     * <pre>
     * The list of data locations sampled and used for format/schema
     * inference.
     * </pre>
     *
     * <code>repeated string sampled_data_locations = 1;</code>
     *
     * @param index The index of the element to return.
     * @return The sampledDataLocations at the given index.
     */
    java.lang.String getSampledDataLocations(int index);
    /**
     *
     *
     * <pre>
     * The list of data locations sampled and used for format/schema
     * inference.
     * </pre>
     *
     * <code>repeated string sampled_data_locations = 1;</code>
     *
     * @param index The index of the value to return.
     * @return The bytes of the sampledDataLocations at the given index.
     */
    com.google.protobuf.ByteString getSampledDataLocationsBytes(int index);

    /**
     *
     *
     * <pre>
     * The expected data format of the entity.
     * </pre>
     *
     * <code>string expected_format = 2;</code>
     *
     * @return The expectedFormat.
     */
    java.lang.String getExpectedFormat();
    /**
     *
     *
     * <pre>
     * The expected data format of the entity.
     * </pre>
     *
     * <code>string expected_format = 2;</code>
     *
     * @return The bytes for expectedFormat.
     */
    com.google.protobuf.ByteString getExpectedFormatBytes();

    /**
     *
     *
     * <pre>
     * The new unexpected data format within the entity.
     * </pre>
     *
     * <code>string new_format = 3;</code>
     *
     * @return The newFormat.
     */
    java.lang.String getNewFormat();
    /**
     *
     *
     * <pre>
     * The new unexpected data format within the entity.
     * </pre>
     *
     * <code>string new_format = 3;</code>
     *
     * @return The bytes for newFormat.
     */
    com.google.protobuf.ByteString getNewFormatBytes();
  }
  /**
   *
   *
   * <pre>
   * Action details for invalid or unsupported data files detected by discovery.
   * </pre>
   *
   * Protobuf type {@code google.cloud.dataplex.v1.Action.InvalidDataFormat}
   */
  public static final class InvalidDataFormat extends com.google.protobuf.GeneratedMessageV3
      implements
      // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Action.InvalidDataFormat)
      InvalidDataFormatOrBuilder {
    private static final long serialVersionUID = 0L;
    // Use InvalidDataFormat.newBuilder() to construct.
    private InvalidDataFormat(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }

    private InvalidDataFormat() {
      sampledDataLocations_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      expectedFormat_ = "";
      newFormat_ = "";
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
      return this.unknownFields;
    }

    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      return com.google.cloud.dataplex.v1.ResourcesProto
          .internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.cloud.dataplex.v1.ResourcesProto
          .internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.cloud.dataplex.v1.Action.InvalidDataFormat.class,
              com.google.cloud.dataplex.v1.Action.InvalidDataFormat.Builder.class);
    }

    public static final int SAMPLED_DATA_LOCATIONS_FIELD_NUMBER = 1;

    @SuppressWarnings("serial")
    private com.google.protobuf.LazyStringList sampledDataLocations_;
    /**
     *
     *
     * <pre>
     * The list of data locations sampled and used for format/schema
     * inference.
     * </pre>
     *
     * <code>repeated string sampled_data_locations = 1;</code>
     *
     * @return A list containing the sampledDataLocations.
     */
    public com.google.protobuf.ProtocolStringList getSampledDataLocationsList() {
      return sampledDataLocations_;
    }
    /**
     *
     *
     * <pre>
     * The list of data locations sampled and used for format/schema
     * inference.
     * </pre>
     *
     * <code>repeated string sampled_data_locations = 1;</code>
     *
     * @return The count of sampledDataLocations.
     */
    public int getSampledDataLocationsCount() {
      return sampledDataLocations_.size();
    }
    /**
     *
     *
     * <pre>
     * The list of data locations sampled and used for format/schema
     * inference.
     * </pre>
     *
     * <code>repeated string sampled_data_locations = 1;</code>
     *
     * @param index The index of the element to return.
     * @return The sampledDataLocations at the given index.
     */
    public java.lang.String getSampledDataLocations(int index) {
      return sampledDataLocations_.get(index);
    }
    /**
     *
     *
     * <pre>
     * The list of data locations sampled and used for format/schema
     * inference.
     * </pre>
     *
     * <code>repeated string sampled_data_locations = 1;</code>
     *
     * @param index The index of the value to return.
     * @return The bytes of the sampledDataLocations at the given index.
     */
    public com.google.protobuf.ByteString getSampledDataLocationsBytes(int index) {
      return sampledDataLocations_.getByteString(index);
    }

    public static final int EXPECTED_FORMAT_FIELD_NUMBER = 2;

    @SuppressWarnings("serial")
    private volatile java.lang.Object expectedFormat_ = "";
    /**
     *
     *
     * <pre>
     * The expected data format of the entity.
     * </pre>
     *
     * <code>string expected_format = 2;</code>
     *
     * @return The expectedFormat.
     */
    @java.lang.Override
    public java.lang.String getExpectedFormat() {
      java.lang.Object ref = expectedFormat_;
      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();
        expectedFormat_ = s;
        return s;
      }
    }
    /**
     *
     *
     * <pre>
     * The expected data format of the entity.
     * </pre>
     *
     * <code>string expected_format = 2;</code>
     *
     * @return The bytes for expectedFormat.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getExpectedFormatBytes() {
      java.lang.Object ref = expectedFormat_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        expectedFormat_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int NEW_FORMAT_FIELD_NUMBER = 3;

    @SuppressWarnings("serial")
    private volatile java.lang.Object newFormat_ = "";
    /**
     *
     *
     * <pre>
     * The new unexpected data format within the entity.
     * </pre>
     *
     * <code>string new_format = 3;</code>
     *
     * @return The newFormat.
     */
    @java.lang.Override
    public java.lang.String getNewFormat() {
      java.lang.Object ref = newFormat_;
      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();
        newFormat_ = s;
        return s;
      }
    }
    /**
     *
     *
     * <pre>
     * The new unexpected data format within the entity.
     * </pre>
     *
     * <code>string new_format = 3;</code>
     *
     * @return The bytes for newFormat.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getNewFormatBytes() {
      java.lang.Object ref = newFormat_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        newFormat_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    private byte memoizedIsInitialized = -1;

    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
      for (int i = 0; i < sampledDataLocations_.size(); i++) {
        com.google.protobuf.GeneratedMessageV3.writeString(
            output, 1, sampledDataLocations_.getRaw(i));
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(expectedFormat_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, expectedFormat_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(newFormat_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, newFormat_);
      }
      getUnknownFields().writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      {
        int dataSize = 0;
        for (int i = 0; i < sampledDataLocations_.size(); i++) {
          dataSize += computeStringSizeNoTag(sampledDataLocations_.getRaw(i));
        }
        size += dataSize;
        size += 1 * getSampledDataLocationsList().size();
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(expectedFormat_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, expectedFormat_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(newFormat_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, newFormat_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
        return true;
      }
      if (!(obj instanceof com.google.cloud.dataplex.v1.Action.InvalidDataFormat)) {
        return super.equals(obj);
      }
      com.google.cloud.dataplex.v1.Action.InvalidDataFormat other =
          (com.google.cloud.dataplex.v1.Action.InvalidDataFormat) obj;

      if (!getSampledDataLocationsList().equals(other.getSampledDataLocationsList())) return false;
      if (!getExpectedFormat().equals(other.getExpectedFormat())) return false;
      if (!getNewFormat().equals(other.getNewFormat())) return false;
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (getSampledDataLocationsCount() > 0) {
        hash = (37 * hash) + SAMPLED_DATA_LOCATIONS_FIELD_NUMBER;
        hash = (53 * hash) + getSampledDataLocationsList().hashCode();
      }
      hash = (37 * hash) + EXPECTED_FORMAT_FIELD_NUMBER;
      hash = (53 * hash) + getExpectedFormat().hashCode();
      hash = (37 * hash) + NEW_FORMAT_FIELD_NUMBER;
      hash = (53 * hash) + getNewFormat().hashCode();
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.google.cloud.dataplex.v1.Action.InvalidDataFormat parseFrom(
        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.cloud.dataplex.v1.Action.InvalidDataFormat parseFrom(
        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.cloud.dataplex.v1.Action.InvalidDataFormat parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.cloud.dataplex.v1.Action.InvalidDataFormat parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.cloud.dataplex.v1.Action.InvalidDataFormat parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.cloud.dataplex.v1.Action.InvalidDataFormat parseFrom(
        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.cloud.dataplex.v1.Action.InvalidDataFormat parseFrom(
        java.io.InputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
    }

    public static com.google.cloud.dataplex.v1.Action.InvalidDataFormat parseFrom(
        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
          PARSER, input, extensionRegistry);
    }

    public static com.google.cloud.dataplex.v1.Action.InvalidDataFormat parseDelimitedFrom(
        java.io.InputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
    }

    public static com.google.cloud.dataplex.v1.Action.InvalidDataFormat parseDelimitedFrom(
        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
          PARSER, input, extensionRegistry);
    }

    public static com.google.cloud.dataplex.v1.Action.InvalidDataFormat parseFrom(
        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
    }

    public static com.google.cloud.dataplex.v1.Action.InvalidDataFormat parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
          PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() {
      return newBuilder();
    }

    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }

    public static Builder newBuilder(
        com.google.cloud.dataplex.v1.Action.InvalidDataFormat 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;
    }
    /**
     *
     *
     * <pre>
     * Action details for invalid or unsupported data files detected by discovery.
     * </pre>
     *
     * Protobuf type {@code google.cloud.dataplex.v1.Action.InvalidDataFormat}
     */
    public static final class Builder
        extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
        implements
        // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Action.InvalidDataFormat)
        com.google.cloud.dataplex.v1.Action.InvalidDataFormatOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        return com.google.cloud.dataplex.v1.ResourcesProto
            .internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.cloud.dataplex.v1.ResourcesProto
            .internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.cloud.dataplex.v1.Action.InvalidDataFormat.class,
                com.google.cloud.dataplex.v1.Action.InvalidDataFormat.Builder.class);
      }

      // Construct using com.google.cloud.dataplex.v1.Action.InvalidDataFormat.newBuilder()
      private Builder() {}

      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
      }

      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        sampledDataLocations_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000001);
        expectedFormat_ = "";
        newFormat_ = "";
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
        return com.google.cloud.dataplex.v1.ResourcesProto
            .internal_static_google_cloud_dataplex_v1_Action_InvalidDataFormat_descriptor;
      }

      @java.lang.Override
      public com.google.cloud.dataplex.v1.Action.InvalidDataFormat getDefaultInstanceForType() {
        return com.google.cloud.dataplex.v1.Action.InvalidDataFormat.getDefaultInstance();
      }

      @java.lang.Override
      public com.google.cloud.dataplex.v1.Action.InvalidDataFormat build() {
        com.google.cloud.dataplex.v1.Action.InvalidDataFormat result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.google.cloud.dataplex.v1.Action.InvalidDataFormat buildPartial() {
        com.google.cloud.dataplex.v1.Action.InvalidDataFormat result =
            new com.google.cloud.dataplex.v1.Action.InvalidDataFormat(this);
        buildPartialRepeatedFields(result);
        if (bitField0_ != 0) {
          buildPartial0(result);
        }
        onBuilt();
        return result;
      }

      private void buildPartialRepeatedFields(
          com.google.cloud.dataplex.v1.Action.InvalidDataFormat result) {
        if (((bitField0_ & 0x00000001) != 0)) {
          sampledDataLocations_ = sampledDataLocations_.getUnmodifiableView();
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.sampledDataLocations_ = sampledDataLocations_;
      }

      private void buildPartial0(com.google.cloud.dataplex.v1.Action.InvalidDataFormat result) {
        int from_bitField0_ = bitField0_;
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.expectedFormat_ = expectedFormat_;
        }
        if (((from_bitField0_ & 0x00000004) != 0)) {
          result.newFormat_ = newFormat_;
        }
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }

      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
        return super.setField(field, value);
      }

      @java.lang.Override
      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }

      @java.lang.Override
      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }

      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index,
          java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }

      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }

      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.google.cloud.dataplex.v1.Action.InvalidDataFormat) {
          return mergeFrom((com.google.cloud.dataplex.v1.Action.InvalidDataFormat) other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.google.cloud.dataplex.v1.Action.InvalidDataFormat other) {
        if (other == com.google.cloud.dataplex.v1.Action.InvalidDataFormat.getDefaultInstance())
          return this;
        if (!other.sampledDataLocations_.isEmpty()) {
          if (sampledDataLocations_.isEmpty()) {
            sampledDataLocations_ = other.sampledDataLocations_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureSampledDataLocationsIsMutable();
            sampledDataLocations_.addAll(other.sampledDataLocations_);
          }
          onChanged();
        }
        if (!other.getExpectedFormat().isEmpty()) {
          expectedFormat_ = other.expectedFormat_;
          bitField0_ |= 0x00000002;
          onChanged();
        }
        if (!other.getNewFormat().isEmpty()) {
          newFormat_ = other.newFormat_;
          bitField0_ |= 0x00000004;
          onChanged();
        }
        this.mergeUnknownFields(other.getUnknownFields());
        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 {
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 10:
                {
                  java.lang.String s = input.readStringRequireUtf8();
                  ensureSampledDataLocationsIsMutable();
                  sampledDataLocations_.add(s);
                  break;
                } // case 10
              case 18:
                {
                  expectedFormat_ = input.readStringRequireUtf8();
                  bitField0_ |= 0x00000002;
                  break;
                } // case 18
              case 26:
                {
                  newFormat_ = input.readStringRequireUtf8();
                  bitField0_ |= 0x00000004;
                  break;
                } // case 26
              default:
                {
                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                    done = true; // was an endgroup tag
                  }
                  break;
                } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }

      private int bitField0_;

      private com.google.protobuf.LazyStringList sampledDataLocations_ =
          com.google.protobuf.LazyStringArrayList.EMPTY;

      private void ensureSampledDataLocationsIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          sampledDataLocations_ =
              new com.google.protobuf.LazyStringArrayList(sampledDataLocations_);
          bitField0_ |= 0x00000001;
        }
      }
      /**
       *
       *
       * <pre>
       * The list of data locations sampled and used for format/schema
       * inference.
       * </pre>
       *
       * <code>repeated string sampled_data_locations = 1;</code>
       *
       * @return A list containing the sampledDataLocations.
       */
      public com.google.protobuf.ProtocolStringList getSampledDataLocationsList() {
        return sampledDataLocations_.getUnmodifiableView();
      }
      /**
       *
       *
       * <pre>
       * The list of data locations sampled and used for format/schema
       * inference.
       * </pre>
       *
       * <code>repeated string sampled_data_locations = 1;</code>
       *
       * @return The count of sampledDataLocations.
       */
      public int getSampledDataLocationsCount() {
        return sampledDataLocations_.size();
      }
      /**
       *
       *
       * <pre>
       * The list of data locations sampled and used for format/schema
       * inference.
       * </pre>
       *
       * <code>repeated string sampled_data_locations = 1;</code>
       *
       * @param index The index of the element to return.
       * @return The sampledDataLocations at the given index.
       */
      public java.lang.String getSampledDataLocations(int index) {
        return sampledDataLocations_.get(index);
      }
      /**
       *
       *
       * <pre>
       * The list of data locations sampled and used for format/schema
       * inference.
       * </pre>
       *
       * <code>repeated string sampled_data_locations = 1;</code>
       *
       * @param index The index of the value to return.
       * @return The bytes of the sampledDataLocations at the given index.
       */
      public com.google.protobuf.ByteString getSampledDataLocationsBytes(int index) {
        return sampledDataLocations_.getByteString(index);
      }
      /**
       *
       *
       * <pre>
       * The list of data locations sampled and used for format/schema
       * inference.
       * </pre>
       *
       * <code>repeated string sampled_data_locations = 1;</code>
       *
       * @param index The index to set the value at.
       * @param value The sampledDataLocations to set.
       * @return This builder for chaining.
       */
      public Builder setSampledDataLocations(int index, java.lang.String value) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureSampledDataLocationsIsMutable();
        sampledDataLocations_.set(index, value);
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * The list of data locations sampled and used for format/schema
       * inference.
       * </pre>
       *
       * <code>repeated string sampled_data_locations = 1;</code>
       *
       * @param value The sampledDataLocations to add.
       * @return This builder for chaining.
       */
      public Builder addSampledDataLocations(java.lang.String value) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureSampledDataLocationsIsMutable();
        sampledDataLocations_.add(value);
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * The list of data locations sampled and used for format/schema
       * inference.
       * </pre>
       *
       * <code>repeated string sampled_data_locations = 1;</code>
       *
       * @param values The sampledDataLocations to add.
       * @return This builder for chaining.
       */
      public Builder addAllSampledDataLocations(java.lang.Iterable<java.lang.String> values) {
        ensureSampledDataLocationsIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, sampledDataLocations_);
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * The list of data locations sampled and used for format/schema
       * inference.
       * </pre>
       *
       * <code>repeated string sampled_data_locations = 1;</code>
       *
       * @return This builder for chaining.
       */
      public Builder clearSampledDataLocations() {
        sampledDataLocations_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * The list of data locations sampled and used for format/schema
       * inference.
       * </pre>
       *
       * <code>repeated string sampled_data_locations = 1;</code>
       *
       * @param value The bytes of the sampledDataLocations to add.
       * @return This builder for chaining.
       */
      public Builder addSampledDataLocationsBytes(com.google.protobuf.ByteString value) {
        if (value == null) {
          throw new NullPointerException();
        }
        checkByteStringIsUtf8(value);
        ensureSampledDataLocationsIsMutable();
        sampledDataLocations_.add(value);
        onChanged();
        return this;
      }

      private java.lang.Object expectedFormat_ = "";
      /**
       *
       *
       * <pre>
       * The expected data format of the entity.
       * </pre>
       *
       * <code>string expected_format = 2;</code>
       *
       * @return The expectedFormat.
       */
      public java.lang.String getExpectedFormat() {
        java.lang.Object ref = expectedFormat_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          expectedFormat_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       *
       *
       * <pre>
       * The expected data format of the entity.
       * </pre>
       *
       * <code>string expected_format = 2;</code>
       *
       * @return The bytes for expectedFormat.
       */
      public com.google.protobuf.ByteString getExpectedFormatBytes() {
        java.lang.Object ref = expectedFormat_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b =
              com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
          expectedFormat_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       *
       *
       * <pre>
       * The expected data format of the entity.
       * </pre>
       *
       * <code>string expected_format = 2;</code>
       *
       * @param value The expectedFormat to set.
       * @return This builder for chaining.
       */
      public Builder setExpectedFormat(java.lang.String value) {
        if (value == null) {
          throw new NullPointerException();
        }
        expectedFormat_ = value;
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * The expected data format of the entity.
       * </pre>
       *
       * <code>string expected_format = 2;</code>
       *
       * @return This builder for chaining.
       */
      public Builder clearExpectedFormat() {
        expectedFormat_ = getDefaultInstance().getExpectedFormat();
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * The expected data format of the entity.
       * </pre>
       *
       * <code>string expected_format = 2;</code>
       *
       * @param value The bytes for expectedFormat to set.
       * @return This builder for chaining.
       */
      public Builder setExpectedFormatBytes(com.google.protobuf.ByteString value) {
        if (value == null) {
          throw new NullPointerException();
        }
        checkByteStringIsUtf8(value);
        expectedFormat_ = value;
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }

      private java.lang.Object newFormat_ = "";
      /**
       *
       *
       * <pre>
       * The new unexpected data format within the entity.
       * </pre>
       *
       * <code>string new_format = 3;</code>
       *
       * @return The newFormat.
       */
      public java.lang.String getNewFormat() {
        java.lang.Object ref = newFormat_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          newFormat_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       *
       *
       * <pre>
       * The new unexpected data format within the entity.
       * </pre>
       *
       * <code>string new_format = 3;</code>
       *
       * @return The bytes for newFormat.
       */
      public com.google.protobuf.ByteString getNewFormatBytes() {
        java.lang.Object ref = newFormat_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b =
              com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
          newFormat_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       *
       *
       * <pre>
       * The new unexpected data format within the entity.
       * </pre>
       *
       * <code>string new_format = 3;</code>
       *
       * @param value The newFormat to set.
       * @return This builder for chaining.
       */
      public Builder setNewFormat(java.lang.String value) {
        if (value == null) {
          throw new NullPointerException();
        }
        newFormat_ = value;
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * The new unexpected data format within the entity.
       * </pre>
       *
       * <code>string new_format = 3;</code>
       *
       * @return This builder for chaining.
       */
      public Builder clearNewFormat() {
        newFormat_ = getDefaultInstance().getNewFormat();
        bitField0_ = (bitField0_ & ~0x00000004);
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * The new unexpected data format within the entity.
       * </pre>
       *
       * <code>string new_format = 3;</code>
       *
       * @param value The bytes for newFormat to set.
       * @return This builder for chaining.
       */
      public Builder setNewFormatBytes(com.google.protobuf.ByteString value) {
        if (value == null) {
          throw new NullPointerException();
        }
        checkByteStringIsUtf8(value);
        newFormat_ = value;
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }

      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }

      // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Action.InvalidDataFormat)
    }

    // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Action.InvalidDataFormat)
    private static final com.google.cloud.dataplex.v1.Action.InvalidDataFormat DEFAULT_INSTANCE;

    static {
      DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Action.InvalidDataFormat();
    }

    public static com.google.cloud.dataplex.v1.Action.InvalidDataFormat getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<InvalidDataFormat> PARSER =
        new com.google.protobuf.AbstractParser<InvalidDataFormat>() {
          @java.lang.Override
          public InvalidDataFormat parsePartialFrom(
              com.google.protobuf.CodedInputStream input,
              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
              throws com.google.protobuf.InvalidProtocolBufferException {
            Builder builder = newBuilder();
            try {
              builder.mergeFrom(input, extensionRegistry);
            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
              throw e.setUnfinishedMessage(builder.buildPartial());
            } catch (com.google.protobuf.UninitializedMessageException e) {
              throw e.asInvalidProtocolBufferException()
                  .setUnfinishedMessage(builder.buildPartial());
            } catch (java.io.IOException e) {
              throw new com.google.protobuf.InvalidProtocolBufferException(e)
                  .setUnfinishedMessage(builder.buildPartial());
            }
            return builder.buildPartial();
          }
        };

    public static com.google.protobuf.Parser<InvalidDataFormat> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<InvalidDataFormat> getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.cloud.dataplex.v1.Action.InvalidDataFormat getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }
  }

  public interface IncompatibleDataSchemaOrBuilder
      extends
      // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Action.IncompatibleDataSchema)
      com.google.protobuf.MessageOrBuilder {

    /**
     *
     *
     * <pre>
     * The name of the table containing invalid data.
     * </pre>
     *
     * <code>string table = 1;</code>
     *
     * @return The table.
     */
    java.lang.String getTable();
    /**
     *
     *
     * <pre>
     * The name of the table containing invalid data.
     * </pre>
     *
     * <code>string table = 1;</code>
     *
     * @return The bytes for table.
     */
    com.google.protobuf.ByteString getTableBytes();

    /**
     *
     *
     * <pre>
     * The existing and expected schema of the table. The schema is provided as
     * a JSON formatted structure listing columns and data types.
     * </pre>
     *
     * <code>string existing_schema = 2;</code>
     *
     * @return The existingSchema.
     */
    java.lang.String getExistingSchema();
    /**
     *
     *
     * <pre>
     * The existing and expected schema of the table. The schema is provided as
     * a JSON formatted structure listing columns and data types.
     * </pre>
     *
     * <code>string existing_schema = 2;</code>
     *
     * @return The bytes for existingSchema.
     */
    com.google.protobuf.ByteString getExistingSchemaBytes();

    /**
     *
     *
     * <pre>
     * The new and incompatible schema within the table. The schema is provided
     * as a JSON formatted structured listing columns and data types.
     * </pre>
     *
     * <code>string new_schema = 3;</code>
     *
     * @return The newSchema.
     */
    java.lang.String getNewSchema();
    /**
     *
     *
     * <pre>
     * The new and incompatible schema within the table. The schema is provided
     * as a JSON formatted structured listing columns and data types.
     * </pre>
     *
     * <code>string new_schema = 3;</code>
     *
     * @return The bytes for newSchema.
     */
    com.google.protobuf.ByteString getNewSchemaBytes();

    /**
     *
     *
     * <pre>
     * The list of data locations sampled and used for format/schema
     * inference.
     * </pre>
     *
     * <code>repeated string sampled_data_locations = 4;</code>
     *
     * @return A list containing the sampledDataLocations.
     */
    java.util.List<java.lang.String> getSampledDataLocationsList();
    /**
     *
     *
     * <pre>
     * The list of data locations sampled and used for format/schema
     * inference.
     * </pre>
     *
     * <code>repeated string sampled_data_locations = 4;</code>
     *
     * @return The count of sampledDataLocations.
     */
    int getSampledDataLocationsCount();
    /**
     *
     *
     * <pre>
     * The list of data locations sampled and used for format/schema
     * inference.
     * </pre>
     *
     * <code>repeated string sampled_data_locations = 4;</code>
     *
     * @param index The index of the element to return.
     * @return The sampledDataLocations at the given index.
     */
    java.lang.String getSampledDataLocations(int index);
    /**
     *
     *
     * <pre>
     * The list of data locations sampled and used for format/schema
     * inference.
     * </pre>
     *
     * <code>repeated string sampled_data_locations = 4;</code>
     *
     * @param index The index of the value to return.
     * @return The bytes of the sampledDataLocations at the given index.
     */
    com.google.protobuf.ByteString getSampledDataLocationsBytes(int index);

    /**
     *
     *
     * <pre>
     * Whether the action relates to a schema that is incompatible or modified.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5;
     * </code>
     *
     * @return The enum numeric value on the wire for schemaChange.
     */
    int getSchemaChangeValue();
    /**
     *
     *
     * <pre>
     * Whether the action relates to a schema that is incompatible or modified.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5;
     * </code>
     *
     * @return The schemaChange.
     */
    com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange getSchemaChange();
  }
  /**
   *
   *
   * <pre>
   * Action details for incompatible schemas detected by discovery.
   * </pre>
   *
   * Protobuf type {@code google.cloud.dataplex.v1.Action.IncompatibleDataSchema}
   */
  public static final class IncompatibleDataSchema extends com.google.protobuf.GeneratedMessageV3
      implements
      // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Action.IncompatibleDataSchema)
      IncompatibleDataSchemaOrBuilder {
    private static final long serialVersionUID = 0L;
    // Use IncompatibleDataSchema.newBuilder() to construct.
    private IncompatibleDataSchema(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }

    private IncompatibleDataSchema() {
      table_ = "";
      existingSchema_ = "";
      newSchema_ = "";
      sampledDataLocations_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      schemaChange_ = 0;
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
      return this.unknownFields;
    }

    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      return com.google.cloud.dataplex.v1.ResourcesProto
          .internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.cloud.dataplex.v1.ResourcesProto
          .internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.class,
              com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.Builder.class);
    }

    /**
     *
     *
     * <pre>
     * Whether the action relates to a schema that is incompatible or modified.
     * </pre>
     *
     * Protobuf enum {@code google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange}
     */
    public enum SchemaChange implements com.google.protobuf.ProtocolMessageEnum {
      /**
       *
       *
       * <pre>
       * Schema change unspecified.
       * </pre>
       *
       * <code>SCHEMA_CHANGE_UNSPECIFIED = 0;</code>
       */
      SCHEMA_CHANGE_UNSPECIFIED(0),
      /**
       *
       *
       * <pre>
       * Newly discovered schema is incompatible with existing schema.
       * </pre>
       *
       * <code>INCOMPATIBLE = 1;</code>
       */
      INCOMPATIBLE(1),
      /**
       *
       *
       * <pre>
       * Newly discovered schema has changed from existing schema for data in a
       * curated zone.
       * </pre>
       *
       * <code>MODIFIED = 2;</code>
       */
      MODIFIED(2),
      UNRECOGNIZED(-1),
      ;

      /**
       *
       *
       * <pre>
       * Schema change unspecified.
       * </pre>
       *
       * <code>SCHEMA_CHANGE_UNSPECIFIED = 0;</code>
       */
      public static final int SCHEMA_CHANGE_UNSPECIFIED_VALUE = 0;
      /**
       *
       *
       * <pre>
       * Newly discovered schema is incompatible with existing schema.
       * </pre>
       *
       * <code>INCOMPATIBLE = 1;</code>
       */
      public static final int INCOMPATIBLE_VALUE = 1;
      /**
       *
       *
       * <pre>
       * Newly discovered schema has changed from existing schema for data in a
       * curated zone.
       * </pre>
       *
       * <code>MODIFIED = 2;</code>
       */
      public static final int MODIFIED_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 SchemaChange 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 SchemaChange forNumber(int value) {
        switch (value) {
          case 0:
            return SCHEMA_CHANGE_UNSPECIFIED;
          case 1:
            return INCOMPATIBLE;
          case 2:
            return MODIFIED;
          default:
            return null;
        }
      }

      public static com.google.protobuf.Internal.EnumLiteMap<SchemaChange> internalGetValueMap() {
        return internalValueMap;
      }

      private static final com.google.protobuf.Internal.EnumLiteMap<SchemaChange> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap<SchemaChange>() {
            public SchemaChange findValueByNumber(int number) {
              return SchemaChange.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 com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.getDescriptor()
            .getEnumTypes()
            .get(0);
      }

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

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

      // @@protoc_insertion_point(enum_scope:google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange)
    }

    public static final int TABLE_FIELD_NUMBER = 1;

    @SuppressWarnings("serial")
    private volatile java.lang.Object table_ = "";
    /**
     *
     *
     * <pre>
     * The name of the table containing invalid data.
     * </pre>
     *
     * <code>string table = 1;</code>
     *
     * @return The table.
     */
    @java.lang.Override
    public java.lang.String getTable() {
      java.lang.Object ref = table_;
      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();
        table_ = s;
        return s;
      }
    }
    /**
     *
     *
     * <pre>
     * The name of the table containing invalid data.
     * </pre>
     *
     * <code>string table = 1;</code>
     *
     * @return The bytes for table.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getTableBytes() {
      java.lang.Object ref = table_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        table_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int EXISTING_SCHEMA_FIELD_NUMBER = 2;

    @SuppressWarnings("serial")
    private volatile java.lang.Object existingSchema_ = "";
    /**
     *
     *
     * <pre>
     * The existing and expected schema of the table. The schema is provided as
     * a JSON formatted structure listing columns and data types.
     * </pre>
     *
     * <code>string existing_schema = 2;</code>
     *
     * @return The existingSchema.
     */
    @java.lang.Override
    public java.lang.String getExistingSchema() {
      java.lang.Object ref = existingSchema_;
      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();
        existingSchema_ = s;
        return s;
      }
    }
    /**
     *
     *
     * <pre>
     * The existing and expected schema of the table. The schema is provided as
     * a JSON formatted structure listing columns and data types.
     * </pre>
     *
     * <code>string existing_schema = 2;</code>
     *
     * @return The bytes for existingSchema.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getExistingSchemaBytes() {
      java.lang.Object ref = existingSchema_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        existingSchema_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int NEW_SCHEMA_FIELD_NUMBER = 3;

    @SuppressWarnings("serial")
    private volatile java.lang.Object newSchema_ = "";
    /**
     *
     *
     * <pre>
     * The new and incompatible schema within the table. The schema is provided
     * as a JSON formatted structured listing columns and data types.
     * </pre>
     *
     * <code>string new_schema = 3;</code>
     *
     * @return The newSchema.
     */
    @java.lang.Override
    public java.lang.String getNewSchema() {
      java.lang.Object ref = newSchema_;
      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();
        newSchema_ = s;
        return s;
      }
    }
    /**
     *
     *
     * <pre>
     * The new and incompatible schema within the table. The schema is provided
     * as a JSON formatted structured listing columns and data types.
     * </pre>
     *
     * <code>string new_schema = 3;</code>
     *
     * @return The bytes for newSchema.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getNewSchemaBytes() {
      java.lang.Object ref = newSchema_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        newSchema_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int SAMPLED_DATA_LOCATIONS_FIELD_NUMBER = 4;

    @SuppressWarnings("serial")
    private com.google.protobuf.LazyStringList sampledDataLocations_;
    /**
     *
     *
     * <pre>
     * The list of data locations sampled and used for format/schema
     * inference.
     * </pre>
     *
     * <code>repeated string sampled_data_locations = 4;</code>
     *
     * @return A list containing the sampledDataLocations.
     */
    public com.google.protobuf.ProtocolStringList getSampledDataLocationsList() {
      return sampledDataLocations_;
    }
    /**
     *
     *
     * <pre>
     * The list of data locations sampled and used for format/schema
     * inference.
     * </pre>
     *
     * <code>repeated string sampled_data_locations = 4;</code>
     *
     * @return The count of sampledDataLocations.
     */
    public int getSampledDataLocationsCount() {
      return sampledDataLocations_.size();
    }
    /**
     *
     *
     * <pre>
     * The list of data locations sampled and used for format/schema
     * inference.
     * </pre>
     *
     * <code>repeated string sampled_data_locations = 4;</code>
     *
     * @param index The index of the element to return.
     * @return The sampledDataLocations at the given index.
     */
    public java.lang.String getSampledDataLocations(int index) {
      return sampledDataLocations_.get(index);
    }
    /**
     *
     *
     * <pre>
     * The list of data locations sampled and used for format/schema
     * inference.
     * </pre>
     *
     * <code>repeated string sampled_data_locations = 4;</code>
     *
     * @param index The index of the value to return.
     * @return The bytes of the sampledDataLocations at the given index.
     */
    public com.google.protobuf.ByteString getSampledDataLocationsBytes(int index) {
      return sampledDataLocations_.getByteString(index);
    }

    public static final int SCHEMA_CHANGE_FIELD_NUMBER = 5;
    private int schemaChange_ = 0;
    /**
     *
     *
     * <pre>
     * Whether the action relates to a schema that is incompatible or modified.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5;
     * </code>
     *
     * @return The enum numeric value on the wire for schemaChange.
     */
    @java.lang.Override
    public int getSchemaChangeValue() {
      return schemaChange_;
    }
    /**
     *
     *
     * <pre>
     * Whether the action relates to a schema that is incompatible or modified.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5;
     * </code>
     *
     * @return The schemaChange.
     */
    @java.lang.Override
    public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange
        getSchemaChange() {
      com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange result =
          com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange.forNumber(
              schemaChange_);
      return result == null
          ? com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange.UNRECOGNIZED
          : result;
    }

    private byte memoizedIsInitialized = -1;

    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, table_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(existingSchema_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, existingSchema_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(newSchema_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, newSchema_);
      }
      for (int i = 0; i < sampledDataLocations_.size(); i++) {
        com.google.protobuf.GeneratedMessageV3.writeString(
            output, 4, sampledDataLocations_.getRaw(i));
      }
      if (schemaChange_
          != com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange
              .SCHEMA_CHANGE_UNSPECIFIED
              .getNumber()) {
        output.writeEnum(5, schemaChange_);
      }
      getUnknownFields().writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, table_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(existingSchema_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, existingSchema_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(newSchema_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, newSchema_);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < sampledDataLocations_.size(); i++) {
          dataSize += computeStringSizeNoTag(sampledDataLocations_.getRaw(i));
        }
        size += dataSize;
        size += 1 * getSampledDataLocationsList().size();
      }
      if (schemaChange_
          != com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange
              .SCHEMA_CHANGE_UNSPECIFIED
              .getNumber()) {
        size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, schemaChange_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
        return true;
      }
      if (!(obj instanceof com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema)) {
        return super.equals(obj);
      }
      com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema other =
          (com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema) obj;

      if (!getTable().equals(other.getTable())) return false;
      if (!getExistingSchema().equals(other.getExistingSchema())) return false;
      if (!getNewSchema().equals(other.getNewSchema())) return false;
      if (!getSampledDataLocationsList().equals(other.getSampledDataLocationsList())) return false;
      if (schemaChange_ != other.schemaChange_) return false;
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + TABLE_FIELD_NUMBER;
      hash = (53 * hash) + getTable().hashCode();
      hash = (37 * hash) + EXISTING_SCHEMA_FIELD_NUMBER;
      hash = (53 * hash) + getExistingSchema().hashCode();
      hash = (37 * hash) + NEW_SCHEMA_FIELD_NUMBER;
      hash = (53 * hash) + getNewSchema().hashCode();
      if (getSampledDataLocationsCount() > 0) {
        hash = (37 * hash) + SAMPLED_DATA_LOCATIONS_FIELD_NUMBER;
        hash = (53 * hash) + getSampledDataLocationsList().hashCode();
      }
      hash = (37 * hash) + SCHEMA_CHANGE_FIELD_NUMBER;
      hash = (53 * hash) + schemaChange_;
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema parseFrom(
        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema parseFrom(
        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema parseFrom(
        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema parseFrom(
        java.io.InputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
    }

    public static com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema parseFrom(
        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
          PARSER, input, extensionRegistry);
    }

    public static com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema parseDelimitedFrom(
        java.io.InputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
    }

    public static com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema parseDelimitedFrom(
        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
          PARSER, input, extensionRegistry);
    }

    public static com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema parseFrom(
        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
    }

    public static com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
          PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() {
      return newBuilder();
    }

    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }

    public static Builder newBuilder(
        com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema 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;
    }
    /**
     *
     *
     * <pre>
     * Action details for incompatible schemas detected by discovery.
     * </pre>
     *
     * Protobuf type {@code google.cloud.dataplex.v1.Action.IncompatibleDataSchema}
     */
    public static final class Builder
        extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
        implements
        // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Action.IncompatibleDataSchema)
        com.google.cloud.dataplex.v1.Action.IncompatibleDataSchemaOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        return com.google.cloud.dataplex.v1.ResourcesProto
            .internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.cloud.dataplex.v1.ResourcesProto
            .internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.class,
                com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.Builder.class);
      }

      // Construct using com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.newBuilder()
      private Builder() {}

      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
      }

      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        table_ = "";
        existingSchema_ = "";
        newSchema_ = "";
        sampledDataLocations_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000008);
        schemaChange_ = 0;
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
        return com.google.cloud.dataplex.v1.ResourcesProto
            .internal_static_google_cloud_dataplex_v1_Action_IncompatibleDataSchema_descriptor;
      }

      @java.lang.Override
      public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema
          getDefaultInstanceForType() {
        return com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.getDefaultInstance();
      }

      @java.lang.Override
      public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema build() {
        com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema buildPartial() {
        com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema result =
            new com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema(this);
        buildPartialRepeatedFields(result);
        if (bitField0_ != 0) {
          buildPartial0(result);
        }
        onBuilt();
        return result;
      }

      private void buildPartialRepeatedFields(
          com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema result) {
        if (((bitField0_ & 0x00000008) != 0)) {
          sampledDataLocations_ = sampledDataLocations_.getUnmodifiableView();
          bitField0_ = (bitField0_ & ~0x00000008);
        }
        result.sampledDataLocations_ = sampledDataLocations_;
      }

      private void buildPartial0(
          com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema result) {
        int from_bitField0_ = bitField0_;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.table_ = table_;
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.existingSchema_ = existingSchema_;
        }
        if (((from_bitField0_ & 0x00000004) != 0)) {
          result.newSchema_ = newSchema_;
        }
        if (((from_bitField0_ & 0x00000010) != 0)) {
          result.schemaChange_ = schemaChange_;
        }
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }

      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
        return super.setField(field, value);
      }

      @java.lang.Override
      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }

      @java.lang.Override
      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }

      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index,
          java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }

      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }

      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema) {
          return mergeFrom((com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema) other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema other) {
        if (other
            == com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.getDefaultInstance())
          return this;
        if (!other.getTable().isEmpty()) {
          table_ = other.table_;
          bitField0_ |= 0x00000001;
          onChanged();
        }
        if (!other.getExistingSchema().isEmpty()) {
          existingSchema_ = other.existingSchema_;
          bitField0_ |= 0x00000002;
          onChanged();
        }
        if (!other.getNewSchema().isEmpty()) {
          newSchema_ = other.newSchema_;
          bitField0_ |= 0x00000004;
          onChanged();
        }
        if (!other.sampledDataLocations_.isEmpty()) {
          if (sampledDataLocations_.isEmpty()) {
            sampledDataLocations_ = other.sampledDataLocations_;
            bitField0_ = (bitField0_ & ~0x00000008);
          } else {
            ensureSampledDataLocationsIsMutable();
            sampledDataLocations_.addAll(other.sampledDataLocations_);
          }
          onChanged();
        }
        if (other.schemaChange_ != 0) {
          setSchemaChangeValue(other.getSchemaChangeValue());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        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 {
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 10:
                {
                  table_ = input.readStringRequireUtf8();
                  bitField0_ |= 0x00000001;
                  break;
                } // case 10
              case 18:
                {
                  existingSchema_ = input.readStringRequireUtf8();
                  bitField0_ |= 0x00000002;
                  break;
                } // case 18
              case 26:
                {
                  newSchema_ = input.readStringRequireUtf8();
                  bitField0_ |= 0x00000004;
                  break;
                } // case 26
              case 34:
                {
                  java.lang.String s = input.readStringRequireUtf8();
                  ensureSampledDataLocationsIsMutable();
                  sampledDataLocations_.add(s);
                  break;
                } // case 34
              case 40:
                {
                  schemaChange_ = input.readEnum();
                  bitField0_ |= 0x00000010;
                  break;
                } // case 40
              default:
                {
                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                    done = true; // was an endgroup tag
                  }
                  break;
                } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }

      private int bitField0_;

      private java.lang.Object table_ = "";
      /**
       *
       *
       * <pre>
       * The name of the table containing invalid data.
       * </pre>
       *
       * <code>string table = 1;</code>
       *
       * @return The table.
       */
      public java.lang.String getTable() {
        java.lang.Object ref = table_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          table_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       *
       *
       * <pre>
       * The name of the table containing invalid data.
       * </pre>
       *
       * <code>string table = 1;</code>
       *
       * @return The bytes for table.
       */
      public com.google.protobuf.ByteString getTableBytes() {
        java.lang.Object ref = table_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b =
              com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
          table_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       *
       *
       * <pre>
       * The name of the table containing invalid data.
       * </pre>
       *
       * <code>string table = 1;</code>
       *
       * @param value The table to set.
       * @return This builder for chaining.
       */
      public Builder setTable(java.lang.String value) {
        if (value == null) {
          throw new NullPointerException();
        }
        table_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * The name of the table containing invalid data.
       * </pre>
       *
       * <code>string table = 1;</code>
       *
       * @return This builder for chaining.
       */
      public Builder clearTable() {
        table_ = getDefaultInstance().getTable();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * The name of the table containing invalid data.
       * </pre>
       *
       * <code>string table = 1;</code>
       *
       * @param value The bytes for table to set.
       * @return This builder for chaining.
       */
      public Builder setTableBytes(com.google.protobuf.ByteString value) {
        if (value == null) {
          throw new NullPointerException();
        }
        checkByteStringIsUtf8(value);
        table_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }

      private java.lang.Object existingSchema_ = "";
      /**
       *
       *
       * <pre>
       * The existing and expected schema of the table. The schema is provided as
       * a JSON formatted structure listing columns and data types.
       * </pre>
       *
       * <code>string existing_schema = 2;</code>
       *
       * @return The existingSchema.
       */
      public java.lang.String getExistingSchema() {
        java.lang.Object ref = existingSchema_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          existingSchema_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       *
       *
       * <pre>
       * The existing and expected schema of the table. The schema is provided as
       * a JSON formatted structure listing columns and data types.
       * </pre>
       *
       * <code>string existing_schema = 2;</code>
       *
       * @return The bytes for existingSchema.
       */
      public com.google.protobuf.ByteString getExistingSchemaBytes() {
        java.lang.Object ref = existingSchema_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b =
              com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
          existingSchema_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       *
       *
       * <pre>
       * The existing and expected schema of the table. The schema is provided as
       * a JSON formatted structure listing columns and data types.
       * </pre>
       *
       * <code>string existing_schema = 2;</code>
       *
       * @param value The existingSchema to set.
       * @return This builder for chaining.
       */
      public Builder setExistingSchema(java.lang.String value) {
        if (value == null) {
          throw new NullPointerException();
        }
        existingSchema_ = value;
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * The existing and expected schema of the table. The schema is provided as
       * a JSON formatted structure listing columns and data types.
       * </pre>
       *
       * <code>string existing_schema = 2;</code>
       *
       * @return This builder for chaining.
       */
      public Builder clearExistingSchema() {
        existingSchema_ = getDefaultInstance().getExistingSchema();
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * The existing and expected schema of the table. The schema is provided as
       * a JSON formatted structure listing columns and data types.
       * </pre>
       *
       * <code>string existing_schema = 2;</code>
       *
       * @param value The bytes for existingSchema to set.
       * @return This builder for chaining.
       */
      public Builder setExistingSchemaBytes(com.google.protobuf.ByteString value) {
        if (value == null) {
          throw new NullPointerException();
        }
        checkByteStringIsUtf8(value);
        existingSchema_ = value;
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }

      private java.lang.Object newSchema_ = "";
      /**
       *
       *
       * <pre>
       * The new and incompatible schema within the table. The schema is provided
       * as a JSON formatted structured listing columns and data types.
       * </pre>
       *
       * <code>string new_schema = 3;</code>
       *
       * @return The newSchema.
       */
      public java.lang.String getNewSchema() {
        java.lang.Object ref = newSchema_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          newSchema_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       *
       *
       * <pre>
       * The new and incompatible schema within the table. The schema is provided
       * as a JSON formatted structured listing columns and data types.
       * </pre>
       *
       * <code>string new_schema = 3;</code>
       *
       * @return The bytes for newSchema.
       */
      public com.google.protobuf.ByteString getNewSchemaBytes() {
        java.lang.Object ref = newSchema_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b =
              com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
          newSchema_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       *
       *
       * <pre>
       * The new and incompatible schema within the table. The schema is provided
       * as a JSON formatted structured listing columns and data types.
       * </pre>
       *
       * <code>string new_schema = 3;</code>
       *
       * @param value The newSchema to set.
       * @return This builder for chaining.
       */
      public Builder setNewSchema(java.lang.String value) {
        if (value == null) {
          throw new NullPointerException();
        }
        newSchema_ = value;
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * The new and incompatible schema within the table. The schema is provided
       * as a JSON formatted structured listing columns and data types.
       * </pre>
       *
       * <code>string new_schema = 3;</code>
       *
       * @return This builder for chaining.
       */
      public Builder clearNewSchema() {
        newSchema_ = getDefaultInstance().getNewSchema();
        bitField0_ = (bitField0_ & ~0x00000004);
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * The new and incompatible schema within the table. The schema is provided
       * as a JSON formatted structured listing columns and data types.
       * </pre>
       *
       * <code>string new_schema = 3;</code>
       *
       * @param value The bytes for newSchema to set.
       * @return This builder for chaining.
       */
      public Builder setNewSchemaBytes(com.google.protobuf.ByteString value) {
        if (value == null) {
          throw new NullPointerException();
        }
        checkByteStringIsUtf8(value);
        newSchema_ = value;
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }

      private com.google.protobuf.LazyStringList sampledDataLocations_ =
          com.google.protobuf.LazyStringArrayList.EMPTY;

      private void ensureSampledDataLocationsIsMutable() {
        if (!((bitField0_ & 0x00000008) != 0)) {
          sampledDataLocations_ =
              new com.google.protobuf.LazyStringArrayList(sampledDataLocations_);
          bitField0_ |= 0x00000008;
        }
      }
      /**
       *
       *
       * <pre>
       * The list of data locations sampled and used for format/schema
       * inference.
       * </pre>
       *
       * <code>repeated string sampled_data_locations = 4;</code>
       *
       * @return A list containing the sampledDataLocations.
       */
      public com.google.protobuf.ProtocolStringList getSampledDataLocationsList() {
        return sampledDataLocations_.getUnmodifiableView();
      }
      /**
       *
       *
       * <pre>
       * The list of data locations sampled and used for format/schema
       * inference.
       * </pre>
       *
       * <code>repeated string sampled_data_locations = 4;</code>
       *
       * @return The count of sampledDataLocations.
       */
      public int getSampledDataLocationsCount() {
        return sampledDataLocations_.size();
      }
      /**
       *
       *
       * <pre>
       * The list of data locations sampled and used for format/schema
       * inference.
       * </pre>
       *
       * <code>repeated string sampled_data_locations = 4;</code>
       *
       * @param index The index of the element to return.
       * @return The sampledDataLocations at the given index.
       */
      public java.lang.String getSampledDataLocations(int index) {
        return sampledDataLocations_.get(index);
      }
      /**
       *
       *
       * <pre>
       * The list of data locations sampled and used for format/schema
       * inference.
       * </pre>
       *
       * <code>repeated string sampled_data_locations = 4;</code>
       *
       * @param index The index of the value to return.
       * @return The bytes of the sampledDataLocations at the given index.
       */
      public com.google.protobuf.ByteString getSampledDataLocationsBytes(int index) {
        return sampledDataLocations_.getByteString(index);
      }
      /**
       *
       *
       * <pre>
       * The list of data locations sampled and used for format/schema
       * inference.
       * </pre>
       *
       * <code>repeated string sampled_data_locations = 4;</code>
       *
       * @param index The index to set the value at.
       * @param value The sampledDataLocations to set.
       * @return This builder for chaining.
       */
      public Builder setSampledDataLocations(int index, java.lang.String value) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureSampledDataLocationsIsMutable();
        sampledDataLocations_.set(index, value);
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * The list of data locations sampled and used for format/schema
       * inference.
       * </pre>
       *
       * <code>repeated string sampled_data_locations = 4;</code>
       *
       * @param value The sampledDataLocations to add.
       * @return This builder for chaining.
       */
      public Builder addSampledDataLocations(java.lang.String value) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureSampledDataLocationsIsMutable();
        sampledDataLocations_.add(value);
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * The list of data locations sampled and used for format/schema
       * inference.
       * </pre>
       *
       * <code>repeated string sampled_data_locations = 4;</code>
       *
       * @param values The sampledDataLocations to add.
       * @return This builder for chaining.
       */
      public Builder addAllSampledDataLocations(java.lang.Iterable<java.lang.String> values) {
        ensureSampledDataLocationsIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, sampledDataLocations_);
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * The list of data locations sampled and used for format/schema
       * inference.
       * </pre>
       *
       * <code>repeated string sampled_data_locations = 4;</code>
       *
       * @return This builder for chaining.
       */
      public Builder clearSampledDataLocations() {
        sampledDataLocations_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000008);
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * The list of data locations sampled and used for format/schema
       * inference.
       * </pre>
       *
       * <code>repeated string sampled_data_locations = 4;</code>
       *
       * @param value The bytes of the sampledDataLocations to add.
       * @return This builder for chaining.
       */
      public Builder addSampledDataLocationsBytes(com.google.protobuf.ByteString value) {
        if (value == null) {
          throw new NullPointerException();
        }
        checkByteStringIsUtf8(value);
        ensureSampledDataLocationsIsMutable();
        sampledDataLocations_.add(value);
        onChanged();
        return this;
      }

      private int schemaChange_ = 0;
      /**
       *
       *
       * <pre>
       * Whether the action relates to a schema that is incompatible or modified.
       * </pre>
       *
       * <code>
       * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5;
       * </code>
       *
       * @return The enum numeric value on the wire for schemaChange.
       */
      @java.lang.Override
      public int getSchemaChangeValue() {
        return schemaChange_;
      }
      /**
       *
       *
       * <pre>
       * Whether the action relates to a schema that is incompatible or modified.
       * </pre>
       *
       * <code>
       * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5;
       * </code>
       *
       * @param value The enum numeric value on the wire for schemaChange to set.
       * @return This builder for chaining.
       */
      public Builder setSchemaChangeValue(int value) {
        schemaChange_ = value;
        bitField0_ |= 0x00000010;
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * Whether the action relates to a schema that is incompatible or modified.
       * </pre>
       *
       * <code>
       * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5;
       * </code>
       *
       * @return The schemaChange.
       */
      @java.lang.Override
      public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange
          getSchemaChange() {
        com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange result =
            com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange.forNumber(
                schemaChange_);
        return result == null
            ? com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange.UNRECOGNIZED
            : result;
      }
      /**
       *
       *
       * <pre>
       * Whether the action relates to a schema that is incompatible or modified.
       * </pre>
       *
       * <code>
       * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5;
       * </code>
       *
       * @param value The schemaChange to set.
       * @return This builder for chaining.
       */
      public Builder setSchemaChange(
          com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange value) {
        if (value == null) {
          throw new NullPointerException();
        }
        bitField0_ |= 0x00000010;
        schemaChange_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * Whether the action relates to a schema that is incompatible or modified.
       * </pre>
       *
       * <code>
       * .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5;
       * </code>
       *
       * @return This builder for chaining.
       */
      public Builder clearSchemaChange() {
        bitField0_ = (bitField0_ & ~0x00000010);
        schemaChange_ = 0;
        onChanged();
        return this;
      }

      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }

      // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Action.IncompatibleDataSchema)
    }

    // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Action.IncompatibleDataSchema)
    private static final com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema
        DEFAULT_INSTANCE;

    static {
      DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema();
    }

    public static com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<IncompatibleDataSchema> PARSER =
        new com.google.protobuf.AbstractParser<IncompatibleDataSchema>() {
          @java.lang.Override
          public IncompatibleDataSchema parsePartialFrom(
              com.google.protobuf.CodedInputStream input,
              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
              throws com.google.protobuf.InvalidProtocolBufferException {
            Builder builder = newBuilder();
            try {
              builder.mergeFrom(input, extensionRegistry);
            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
              throw e.setUnfinishedMessage(builder.buildPartial());
            } catch (com.google.protobuf.UninitializedMessageException e) {
              throw e.asInvalidProtocolBufferException()
                  .setUnfinishedMessage(builder.buildPartial());
            } catch (java.io.IOException e) {
              throw new com.google.protobuf.InvalidProtocolBufferException(e)
                  .setUnfinishedMessage(builder.buildPartial());
            }
            return builder.buildPartial();
          }
        };

    public static com.google.protobuf.Parser<IncompatibleDataSchema> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<IncompatibleDataSchema> getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }
  }

  public interface InvalidDataPartitionOrBuilder
      extends
      // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Action.InvalidDataPartition)
      com.google.protobuf.MessageOrBuilder {

    /**
     *
     *
     * <pre>
     * The issue type of InvalidDataPartition.
     * </pre>
     *
     * <code>
     * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1;
     * </code>
     *
     * @return The enum numeric value on the wire for expectedStructure.
     */
    int getExpectedStructureValue();
    /**
     *
     *
     * <pre>
     * The issue type of InvalidDataPartition.
     * </pre>
     *
     * <code>
     * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1;
     * </code>
     *
     * @return The expectedStructure.
     */
    com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure
        getExpectedStructure();
  }
  /**
   *
   *
   * <pre>
   * Action details for invalid or unsupported partitions detected by discovery.
   * </pre>
   *
   * Protobuf type {@code google.cloud.dataplex.v1.Action.InvalidDataPartition}
   */
  public static final class InvalidDataPartition extends com.google.protobuf.GeneratedMessageV3
      implements
      // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Action.InvalidDataPartition)
      InvalidDataPartitionOrBuilder {
    private static final long serialVersionUID = 0L;
    // Use InvalidDataPartition.newBuilder() to construct.
    private InvalidDataPartition(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }

    private InvalidDataPartition() {
      expectedStructure_ = 0;
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
      return this.unknownFields;
    }

    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      return com.google.cloud.dataplex.v1.ResourcesProto
          .internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.cloud.dataplex.v1.ResourcesProto
          .internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.cloud.dataplex.v1.Action.InvalidDataPartition.class,
              com.google.cloud.dataplex.v1.Action.InvalidDataPartition.Builder.class);
    }

    /**
     *
     *
     * <pre>
     * The expected partition structure.
     * </pre>
     *
     * Protobuf enum {@code google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure}
     */
    public enum PartitionStructure implements com.google.protobuf.ProtocolMessageEnum {
      /**
       *
       *
       * <pre>
       * PartitionStructure unspecified.
       * </pre>
       *
       * <code>PARTITION_STRUCTURE_UNSPECIFIED = 0;</code>
       */
      PARTITION_STRUCTURE_UNSPECIFIED(0),
      /**
       *
       *
       * <pre>
       * Consistent hive-style partition definition (both raw and curated zone).
       * </pre>
       *
       * <code>CONSISTENT_KEYS = 1;</code>
       */
      CONSISTENT_KEYS(1),
      /**
       *
       *
       * <pre>
       * Hive style partition definition (curated zone only).
       * </pre>
       *
       * <code>HIVE_STYLE_KEYS = 2;</code>
       */
      HIVE_STYLE_KEYS(2),
      UNRECOGNIZED(-1),
      ;

      /**
       *
       *
       * <pre>
       * PartitionStructure unspecified.
       * </pre>
       *
       * <code>PARTITION_STRUCTURE_UNSPECIFIED = 0;</code>
       */
      public static final int PARTITION_STRUCTURE_UNSPECIFIED_VALUE = 0;
      /**
       *
       *
       * <pre>
       * Consistent hive-style partition definition (both raw and curated zone).
       * </pre>
       *
       * <code>CONSISTENT_KEYS = 1;</code>
       */
      public static final int CONSISTENT_KEYS_VALUE = 1;
      /**
       *
       *
       * <pre>
       * Hive style partition definition (curated zone only).
       * </pre>
       *
       * <code>HIVE_STYLE_KEYS = 2;</code>
       */
      public static final int HIVE_STYLE_KEYS_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 PartitionStructure 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 PartitionStructure forNumber(int value) {
        switch (value) {
          case 0:
            return PARTITION_STRUCTURE_UNSPECIFIED;
          case 1:
            return CONSISTENT_KEYS;
          case 2:
            return HIVE_STYLE_KEYS;
          default:
            return null;
        }
      }

      public static com.google.protobuf.Internal.EnumLiteMap<PartitionStructure>
          internalGetValueMap() {
        return internalValueMap;
      }

      private static final com.google.protobuf.Internal.EnumLiteMap<PartitionStructure>
          internalValueMap =
              new com.google.protobuf.Internal.EnumLiteMap<PartitionStructure>() {
                public PartitionStructure findValueByNumber(int number) {
                  return PartitionStructure.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 com.google.cloud.dataplex.v1.Action.InvalidDataPartition.getDescriptor()
            .getEnumTypes()
            .get(0);
      }

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

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

      // @@protoc_insertion_point(enum_scope:google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure)
    }

    public static final int EXPECTED_STRUCTURE_FIELD_NUMBER = 1;
    private int expectedStructure_ = 0;
    /**
     *
     *
     * <pre>
     * The issue type of InvalidDataPartition.
     * </pre>
     *
     * <code>
     * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1;
     * </code>
     *
     * @return The enum numeric value on the wire for expectedStructure.
     */
    @java.lang.Override
    public int getExpectedStructureValue() {
      return expectedStructure_;
    }
    /**
     *
     *
     * <pre>
     * The issue type of InvalidDataPartition.
     * </pre>
     *
     * <code>
     * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1;
     * </code>
     *
     * @return The expectedStructure.
     */
    @java.lang.Override
    public com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure
        getExpectedStructure() {
      com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure result =
          com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure.forNumber(
              expectedStructure_);
      return result == null
          ? com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure.UNRECOGNIZED
          : result;
    }

    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 (expectedStructure_
          != com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure
              .PARTITION_STRUCTURE_UNSPECIFIED
              .getNumber()) {
        output.writeEnum(1, expectedStructure_);
      }
      getUnknownFields().writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (expectedStructure_
          != com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure
              .PARTITION_STRUCTURE_UNSPECIFIED
              .getNumber()) {
        size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, expectedStructure_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
        return true;
      }
      if (!(obj instanceof com.google.cloud.dataplex.v1.Action.InvalidDataPartition)) {
        return super.equals(obj);
      }
      com.google.cloud.dataplex.v1.Action.InvalidDataPartition other =
          (com.google.cloud.dataplex.v1.Action.InvalidDataPartition) obj;

      if (expectedStructure_ != other.expectedStructure_) return false;
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + EXPECTED_STRUCTURE_FIELD_NUMBER;
      hash = (53 * hash) + expectedStructure_;
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.google.cloud.dataplex.v1.Action.InvalidDataPartition parseFrom(
        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.cloud.dataplex.v1.Action.InvalidDataPartition parseFrom(
        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.cloud.dataplex.v1.Action.InvalidDataPartition parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.cloud.dataplex.v1.Action.InvalidDataPartition parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.cloud.dataplex.v1.Action.InvalidDataPartition parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.cloud.dataplex.v1.Action.InvalidDataPartition parseFrom(
        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.cloud.dataplex.v1.Action.InvalidDataPartition parseFrom(
        java.io.InputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
    }

    public static com.google.cloud.dataplex.v1.Action.InvalidDataPartition parseFrom(
        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
          PARSER, input, extensionRegistry);
    }

    public static com.google.cloud.dataplex.v1.Action.InvalidDataPartition parseDelimitedFrom(
        java.io.InputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
    }

    public static com.google.cloud.dataplex.v1.Action.InvalidDataPartition parseDelimitedFrom(
        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
          PARSER, input, extensionRegistry);
    }

    public static com.google.cloud.dataplex.v1.Action.InvalidDataPartition parseFrom(
        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
    }

    public static com.google.cloud.dataplex.v1.Action.InvalidDataPartition parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
          PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() {
      return newBuilder();
    }

    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }

    public static Builder newBuilder(
        com.google.cloud.dataplex.v1.Action.InvalidDataPartition 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;
    }
    /**
     *
     *
     * <pre>
     * Action details for invalid or unsupported partitions detected by discovery.
     * </pre>
     *
     * Protobuf type {@code google.cloud.dataplex.v1.Action.InvalidDataPartition}
     */
    public static final class Builder
        extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
        implements
        // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Action.InvalidDataPartition)
        com.google.cloud.dataplex.v1.Action.InvalidDataPartitionOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        return com.google.cloud.dataplex.v1.ResourcesProto
            .internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.cloud.dataplex.v1.ResourcesProto
            .internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.cloud.dataplex.v1.Action.InvalidDataPartition.class,
                com.google.cloud.dataplex.v1.Action.InvalidDataPartition.Builder.class);
      }

      // Construct using com.google.cloud.dataplex.v1.Action.InvalidDataPartition.newBuilder()
      private Builder() {}

      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
      }

      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        expectedStructure_ = 0;
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
        return com.google.cloud.dataplex.v1.ResourcesProto
            .internal_static_google_cloud_dataplex_v1_Action_InvalidDataPartition_descriptor;
      }

      @java.lang.Override
      public com.google.cloud.dataplex.v1.Action.InvalidDataPartition getDefaultInstanceForType() {
        return com.google.cloud.dataplex.v1.Action.InvalidDataPartition.getDefaultInstance();
      }

      @java.lang.Override
      public com.google.cloud.dataplex.v1.Action.InvalidDataPartition build() {
        com.google.cloud.dataplex.v1.Action.InvalidDataPartition result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.google.cloud.dataplex.v1.Action.InvalidDataPartition buildPartial() {
        com.google.cloud.dataplex.v1.Action.InvalidDataPartition result =
            new com.google.cloud.dataplex.v1.Action.InvalidDataPartition(this);
        if (bitField0_ != 0) {
          buildPartial0(result);
        }
        onBuilt();
        return result;
      }

      private void buildPartial0(com.google.cloud.dataplex.v1.Action.InvalidDataPartition result) {
        int from_bitField0_ = bitField0_;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.expectedStructure_ = expectedStructure_;
        }
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }

      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
        return super.setField(field, value);
      }

      @java.lang.Override
      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }

      @java.lang.Override
      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }

      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index,
          java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }

      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }

      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.google.cloud.dataplex.v1.Action.InvalidDataPartition) {
          return mergeFrom((com.google.cloud.dataplex.v1.Action.InvalidDataPartition) other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.google.cloud.dataplex.v1.Action.InvalidDataPartition other) {
        if (other == com.google.cloud.dataplex.v1.Action.InvalidDataPartition.getDefaultInstance())
          return this;
        if (other.expectedStructure_ != 0) {
          setExpectedStructureValue(other.getExpectedStructureValue());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        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 {
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 8:
                {
                  expectedStructure_ = input.readEnum();
                  bitField0_ |= 0x00000001;
                  break;
                } // case 8
              default:
                {
                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                    done = true; // was an endgroup tag
                  }
                  break;
                } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }

      private int bitField0_;

      private int expectedStructure_ = 0;
      /**
       *
       *
       * <pre>
       * The issue type of InvalidDataPartition.
       * </pre>
       *
       * <code>
       * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1;
       * </code>
       *
       * @return The enum numeric value on the wire for expectedStructure.
       */
      @java.lang.Override
      public int getExpectedStructureValue() {
        return expectedStructure_;
      }
      /**
       *
       *
       * <pre>
       * The issue type of InvalidDataPartition.
       * </pre>
       *
       * <code>
       * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1;
       * </code>
       *
       * @param value The enum numeric value on the wire for expectedStructure to set.
       * @return This builder for chaining.
       */
      public Builder setExpectedStructureValue(int value) {
        expectedStructure_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * The issue type of InvalidDataPartition.
       * </pre>
       *
       * <code>
       * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1;
       * </code>
       *
       * @return The expectedStructure.
       */
      @java.lang.Override
      public com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure
          getExpectedStructure() {
        com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure result =
            com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure.forNumber(
                expectedStructure_);
        return result == null
            ? com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure
                .UNRECOGNIZED
            : result;
      }
      /**
       *
       *
       * <pre>
       * The issue type of InvalidDataPartition.
       * </pre>
       *
       * <code>
       * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1;
       * </code>
       *
       * @param value The expectedStructure to set.
       * @return This builder for chaining.
       */
      public Builder setExpectedStructure(
          com.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure value) {
        if (value == null) {
          throw new NullPointerException();
        }
        bitField0_ |= 0x00000001;
        expectedStructure_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * The issue type of InvalidDataPartition.
       * </pre>
       *
       * <code>
       * .google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1;
       * </code>
       *
       * @return This builder for chaining.
       */
      public Builder clearExpectedStructure() {
        bitField0_ = (bitField0_ & ~0x00000001);
        expectedStructure_ = 0;
        onChanged();
        return this;
      }

      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }

      // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Action.InvalidDataPartition)
    }

    // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Action.InvalidDataPartition)
    private static final com.google.cloud.dataplex.v1.Action.InvalidDataPartition DEFAULT_INSTANCE;

    static {
      DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Action.InvalidDataPartition();
    }

    public static com.google.cloud.dataplex.v1.Action.InvalidDataPartition getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<InvalidDataPartition> PARSER =
        new com.google.protobuf.AbstractParser<InvalidDataPartition>() {
          @java.lang.Override
          public InvalidDataPartition parsePartialFrom(
              com.google.protobuf.CodedInputStream input,
              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
              throws com.google.protobuf.InvalidProtocolBufferException {
            Builder builder = newBuilder();
            try {
              builder.mergeFrom(input, extensionRegistry);
            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
              throw e.setUnfinishedMessage(builder.buildPartial());
            } catch (com.google.protobuf.UninitializedMessageException e) {
              throw e.asInvalidProtocolBufferException()
                  .setUnfinishedMessage(builder.buildPartial());
            } catch (java.io.IOException e) {
              throw new com.google.protobuf.InvalidProtocolBufferException(e)
                  .setUnfinishedMessage(builder.buildPartial());
            }
            return builder.buildPartial();
          }
        };

    public static com.google.protobuf.Parser<InvalidDataPartition> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<InvalidDataPartition> getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.cloud.dataplex.v1.Action.InvalidDataPartition getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }
  }

  public interface MissingDataOrBuilder
      extends
      // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Action.MissingData)
      com.google.protobuf.MessageOrBuilder {}
  /**
   *
   *
   * <pre>
   * Action details for absence of data detected by discovery.
   * </pre>
   *
   * Protobuf type {@code google.cloud.dataplex.v1.Action.MissingData}
   */
  public static final class MissingData extends com.google.protobuf.GeneratedMessageV3
      implements
      // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Action.MissingData)
      MissingDataOrBuilder {
    private static final long serialVersionUID = 0L;
    // Use MissingData.newBuilder() to construct.
    private MissingData(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }

    private MissingData() {}

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
      return this.unknownFields;
    }

    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      return com.google.cloud.dataplex.v1.ResourcesProto
          .internal_static_google_cloud_dataplex_v1_Action_MissingData_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.cloud.dataplex.v1.ResourcesProto
          .internal_static_google_cloud_dataplex_v1_Action_MissingData_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.cloud.dataplex.v1.Action.MissingData.class,
              com.google.cloud.dataplex.v1.Action.MissingData.Builder.class);
    }

    private byte memoizedIsInitialized = -1;

    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
      getUnknownFields().writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
        return true;
      }
      if (!(obj instanceof com.google.cloud.dataplex.v1.Action.MissingData)) {
        return super.equals(obj);
      }
      com.google.cloud.dataplex.v1.Action.MissingData other =
          (com.google.cloud.dataplex.v1.Action.MissingData) obj;

      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.google.cloud.dataplex.v1.Action.MissingData parseFrom(
        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.cloud.dataplex.v1.Action.MissingData parseFrom(
        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.cloud.dataplex.v1.Action.MissingData parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.cloud.dataplex.v1.Action.MissingData parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.cloud.dataplex.v1.Action.MissingData parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.cloud.dataplex.v1.Action.MissingData parseFrom(
        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.cloud.dataplex.v1.Action.MissingData parseFrom(
        java.io.InputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
    }

    public static com.google.cloud.dataplex.v1.Action.MissingData parseFrom(
        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
          PARSER, input, extensionRegistry);
    }

    public static com.google.cloud.dataplex.v1.Action.MissingData parseDelimitedFrom(
        java.io.InputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
    }

    public static com.google.cloud.dataplex.v1.Action.MissingData parseDelimitedFrom(
        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
          PARSER, input, extensionRegistry);
    }

    public static com.google.cloud.dataplex.v1.Action.MissingData parseFrom(
        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
    }

    public static com.google.cloud.dataplex.v1.Action.MissingData parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
          PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() {
      return newBuilder();
    }

    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }

    public static Builder newBuilder(com.google.cloud.dataplex.v1.Action.MissingData 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;
    }
    /**
     *
     *
     * <pre>
     * Action details for absence of data detected by discovery.
     * </pre>
     *
     * Protobuf type {@code google.cloud.dataplex.v1.Action.MissingData}
     */
    public static final class Builder
        extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
        implements
        // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Action.MissingData)
        com.google.cloud.dataplex.v1.Action.MissingDataOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        return com.google.cloud.dataplex.v1.ResourcesProto
            .internal_static_google_cloud_dataplex_v1_Action_MissingData_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.cloud.dataplex.v1.ResourcesProto
            .internal_static_google_cloud_dataplex_v1_Action_MissingData_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.cloud.dataplex.v1.Action.MissingData.class,
                com.google.cloud.dataplex.v1.Action.MissingData.Builder.class);
      }

      // Construct using com.google.cloud.dataplex.v1.Action.MissingData.newBuilder()
      private Builder() {}

      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
      }

      @java.lang.Override
      public Builder clear() {
        super.clear();
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
        return com.google.cloud.dataplex.v1.ResourcesProto
            .internal_static_google_cloud_dataplex_v1_Action_MissingData_descriptor;
      }

      @java.lang.Override
      public com.google.cloud.dataplex.v1.Action.MissingData getDefaultInstanceForType() {
        return com.google.cloud.dataplex.v1.Action.MissingData.getDefaultInstance();
      }

      @java.lang.Override
      public com.google.cloud.dataplex.v1.Action.MissingData build() {
        com.google.cloud.dataplex.v1.Action.MissingData result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.google.cloud.dataplex.v1.Action.MissingData buildPartial() {
        com.google.cloud.dataplex.v1.Action.MissingData result =
            new com.google.cloud.dataplex.v1.Action.MissingData(this);
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }

      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
        return super.setField(field, value);
      }

      @java.lang.Override
      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }

      @java.lang.Override
      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }

      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index,
          java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }

      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }

      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.google.cloud.dataplex.v1.Action.MissingData) {
          return mergeFrom((com.google.cloud.dataplex.v1.Action.MissingData) other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.google.cloud.dataplex.v1.Action.MissingData other) {
        if (other == com.google.cloud.dataplex.v1.Action.MissingData.getDefaultInstance())
          return this;
        this.mergeUnknownFields(other.getUnknownFields());
        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 {
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              default:
                {
                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                    done = true; // was an endgroup tag
                  }
                  break;
                } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }

      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }

      // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Action.MissingData)
    }

    // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Action.MissingData)
    private static final com.google.cloud.dataplex.v1.Action.MissingData DEFAULT_INSTANCE;

    static {
      DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Action.MissingData();
    }

    public static com.google.cloud.dataplex.v1.Action.MissingData getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<MissingData> PARSER =
        new com.google.protobuf.AbstractParser<MissingData>() {
          @java.lang.Override
          public MissingData parsePartialFrom(
              com.google.protobuf.CodedInputStream input,
              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
              throws com.google.protobuf.InvalidProtocolBufferException {
            Builder builder = newBuilder();
            try {
              builder.mergeFrom(input, extensionRegistry);
            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
              throw e.setUnfinishedMessage(builder.buildPartial());
            } catch (com.google.protobuf.UninitializedMessageException e) {
              throw e.asInvalidProtocolBufferException()
                  .setUnfinishedMessage(builder.buildPartial());
            } catch (java.io.IOException e) {
              throw new com.google.protobuf.InvalidProtocolBufferException(e)
                  .setUnfinishedMessage(builder.buildPartial());
            }
            return builder.buildPartial();
          }
        };

    public static com.google.protobuf.Parser<MissingData> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<MissingData> getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.cloud.dataplex.v1.Action.MissingData getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }
  }

  public interface InvalidDataOrganizationOrBuilder
      extends
      // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Action.InvalidDataOrganization)
      com.google.protobuf.MessageOrBuilder {}
  /**
   *
   *
   * <pre>
   * Action details for invalid data arrangement.
   * </pre>
   *
   * Protobuf type {@code google.cloud.dataplex.v1.Action.InvalidDataOrganization}
   */
  public static final class InvalidDataOrganization extends com.google.protobuf.GeneratedMessageV3
      implements
      // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Action.InvalidDataOrganization)
      InvalidDataOrganizationOrBuilder {
    private static final long serialVersionUID = 0L;
    // Use InvalidDataOrganization.newBuilder() to construct.
    private InvalidDataOrganization(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }

    private InvalidDataOrganization() {}

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
      return this.unknownFields;
    }

    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      return com.google.cloud.dataplex.v1.ResourcesProto
          .internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.cloud.dataplex.v1.ResourcesProto
          .internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.class,
              com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.Builder.class);
    }

    private byte memoizedIsInitialized = -1;

    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
      getUnknownFields().writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
        return true;
      }
      if (!(obj instanceof com.google.cloud.dataplex.v1.Action.InvalidDataOrganization)) {
        return super.equals(obj);
      }
      com.google.cloud.dataplex.v1.Action.InvalidDataOrganization other =
          (com.google.cloud.dataplex.v1.Action.InvalidDataOrganization) obj;

      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.google.cloud.dataplex.v1.Action.InvalidDataOrganization parseFrom(
        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.cloud.dataplex.v1.Action.InvalidDataOrganization parseFrom(
        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.cloud.dataplex.v1.Action.InvalidDataOrganization parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.cloud.dataplex.v1.Action.InvalidDataOrganization parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.cloud.dataplex.v1.Action.InvalidDataOrganization parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.cloud.dataplex.v1.Action.InvalidDataOrganization parseFrom(
        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.cloud.dataplex.v1.Action.InvalidDataOrganization parseFrom(
        java.io.InputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
    }

    public static com.google.cloud.dataplex.v1.Action.InvalidDataOrganization parseFrom(
        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
          PARSER, input, extensionRegistry);
    }

    public static com.google.cloud.dataplex.v1.Action.InvalidDataOrganization parseDelimitedFrom(
        java.io.InputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
    }

    public static com.google.cloud.dataplex.v1.Action.InvalidDataOrganization parseDelimitedFrom(
        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
          PARSER, input, extensionRegistry);
    }

    public static com.google.cloud.dataplex.v1.Action.InvalidDataOrganization parseFrom(
        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
    }

    public static com.google.cloud.dataplex.v1.Action.InvalidDataOrganization parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
          PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() {
      return newBuilder();
    }

    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }

    public static Builder newBuilder(
        com.google.cloud.dataplex.v1.Action.InvalidDataOrganization 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;
    }
    /**
     *
     *
     * <pre>
     * Action details for invalid data arrangement.
     * </pre>
     *
     * Protobuf type {@code google.cloud.dataplex.v1.Action.InvalidDataOrganization}
     */
    public static final class Builder
        extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
        implements
        // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Action.InvalidDataOrganization)
        com.google.cloud.dataplex.v1.Action.InvalidDataOrganizationOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        return com.google.cloud.dataplex.v1.ResourcesProto
            .internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.cloud.dataplex.v1.ResourcesProto
            .internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.class,
                com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.Builder.class);
      }

      // Construct using com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.newBuilder()
      private Builder() {}

      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
      }

      @java.lang.Override
      public Builder clear() {
        super.clear();
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
        return com.google.cloud.dataplex.v1.ResourcesProto
            .internal_static_google_cloud_dataplex_v1_Action_InvalidDataOrganization_descriptor;
      }

      @java.lang.Override
      public com.google.cloud.dataplex.v1.Action.InvalidDataOrganization
          getDefaultInstanceForType() {
        return com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.getDefaultInstance();
      }

      @java.lang.Override
      public com.google.cloud.dataplex.v1.Action.InvalidDataOrganization build() {
        com.google.cloud.dataplex.v1.Action.InvalidDataOrganization result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.google.cloud.dataplex.v1.Action.InvalidDataOrganization buildPartial() {
        com.google.cloud.dataplex.v1.Action.InvalidDataOrganization result =
            new com.google.cloud.dataplex.v1.Action.InvalidDataOrganization(this);
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }

      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
        return super.setField(field, value);
      }

      @java.lang.Override
      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }

      @java.lang.Override
      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }

      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index,
          java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }

      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }

      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.google.cloud.dataplex.v1.Action.InvalidDataOrganization) {
          return mergeFrom((com.google.cloud.dataplex.v1.Action.InvalidDataOrganization) other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.google.cloud.dataplex.v1.Action.InvalidDataOrganization other) {
        if (other
            == com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.getDefaultInstance())
          return this;
        this.mergeUnknownFields(other.getUnknownFields());
        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 {
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              default:
                {
                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                    done = true; // was an endgroup tag
                  }
                  break;
                } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }

      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }

      // @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.Action.InvalidDataOrganization)
    }

    // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Action.InvalidDataOrganization)
    private static final com.google.cloud.dataplex.v1.Action.InvalidDataOrganization
        DEFAULT_INSTANCE;

    static {
      DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Action.InvalidDataOrganization();
    }

    public static com.google.cloud.dataplex.v1.Action.InvalidDataOrganization getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<InvalidDataOrganization> PARSER =
        new com.google.protobuf.AbstractParser<InvalidDataOrganization>() {
          @java.lang.Override
          public InvalidDataOrganization parsePartialFrom(
              com.google.protobuf.CodedInputStream input,
              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
              throws com.google.protobuf.InvalidProtocolBufferException {
            Builder builder = newBuilder();
            try {
              builder.mergeFrom(input, extensionRegistry);
            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
              throw e.setUnfinishedMessage(builder.buildPartial());
            } catch (com.google.protobuf.UninitializedMessageException e) {
              throw e.asInvalidProtocolBufferException()
                  .setUnfinishedMessage(builder.buildPartial());
            } catch (java.io.IOException e) {
              throw new com.google.protobuf.InvalidProtocolBufferException(e)
                  .setUnfinishedMessage(builder.buildPartial());
            }
            return builder.buildPartial();
          }
        };

    public static com.google.protobuf.Parser<InvalidDataOrganization> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<InvalidDataOrganization> getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.cloud.dataplex.v1.Action.InvalidDataOrganization getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }
  }

  private int detailsCase_ = 0;
  private java.lang.Object details_;

  public enum DetailsCase
      implements
          com.google.protobuf.Internal.EnumLite,
          com.google.protobuf.AbstractMessage.InternalOneOfEnum {
    INVALID_DATA_FORMAT(10),
    INCOMPATIBLE_DATA_SCHEMA(11),
    INVALID_DATA_PARTITION(12),
    MISSING_DATA(13),
    MISSING_RESOURCE(14),
    UNAUTHORIZED_RESOURCE(15),
    FAILED_SECURITY_POLICY_APPLY(21),
    INVALID_DATA_ORGANIZATION(22),
    DETAILS_NOT_SET(0);
    private final int value;

    private DetailsCase(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 DetailsCase valueOf(int value) {
      return forNumber(value);
    }

    public static DetailsCase forNumber(int value) {
      switch (value) {
        case 10:
          return INVALID_DATA_FORMAT;
        case 11:
          return INCOMPATIBLE_DATA_SCHEMA;
        case 12:
          return INVALID_DATA_PARTITION;
        case 13:
          return MISSING_DATA;
        case 14:
          return MISSING_RESOURCE;
        case 15:
          return UNAUTHORIZED_RESOURCE;
        case 21:
          return FAILED_SECURITY_POLICY_APPLY;
        case 22:
          return INVALID_DATA_ORGANIZATION;
        case 0:
          return DETAILS_NOT_SET;
        default:
          return null;
      }
    }

    public int getNumber() {
      return this.value;
    }
  };

  public DetailsCase getDetailsCase() {
    return DetailsCase.forNumber(detailsCase_);
  }

  public static final int CATEGORY_FIELD_NUMBER = 1;
  private int category_ = 0;
  /**
   *
   *
   * <pre>
   * The category of issue associated with the action.
   * </pre>
   *
   * <code>.google.cloud.dataplex.v1.Action.Category category = 1;</code>
   *
   * @return The enum numeric value on the wire for category.
   */
  @java.lang.Override
  public int getCategoryValue() {
    return category_;
  }
  /**
   *
   *
   * <pre>
   * The category of issue associated with the action.
   * </pre>
   *
   * <code>.google.cloud.dataplex.v1.Action.Category category = 1;</code>
   *
   * @return The category.
   */
  @java.lang.Override
  public com.google.cloud.dataplex.v1.Action.Category getCategory() {
    com.google.cloud.dataplex.v1.Action.Category result =
        com.google.cloud.dataplex.v1.Action.Category.forNumber(category_);
    return result == null ? com.google.cloud.dataplex.v1.Action.Category.UNRECOGNIZED : result;
  }

  public static final int ISSUE_FIELD_NUMBER = 2;

  @SuppressWarnings("serial")
  private volatile java.lang.Object issue_ = "";
  /**
   *
   *
   * <pre>
   * Detailed description of the issue requiring action.
   * </pre>
   *
   * <code>string issue = 2;</code>
   *
   * @return The issue.
   */
  @java.lang.Override
  public java.lang.String getIssue() {
    java.lang.Object ref = issue_;
    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();
      issue_ = s;
      return s;
    }
  }
  /**
   *
   *
   * <pre>
   * Detailed description of the issue requiring action.
   * </pre>
   *
   * <code>string issue = 2;</code>
   *
   * @return The bytes for issue.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString getIssueBytes() {
    java.lang.Object ref = issue_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      issue_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DETECT_TIME_FIELD_NUMBER = 4;
  private com.google.protobuf.Timestamp detectTime_;
  /**
   *
   *
   * <pre>
   * The time that the issue was detected.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp detect_time = 4;</code>
   *
   * @return Whether the detectTime field is set.
   */
  @java.lang.Override
  public boolean hasDetectTime() {
    return detectTime_ != null;
  }
  /**
   *
   *
   * <pre>
   * The time that the issue was detected.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp detect_time = 4;</code>
   *
   * @return The detectTime.
   */
  @java.lang.Override
  public com.google.protobuf.Timestamp getDetectTime() {
    return detectTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : detectTime_;
  }
  /**
   *
   *
   * <pre>
   * The time that the issue was detected.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp detect_time = 4;</code>
   */
  @java.lang.Override
  public com.google.protobuf.TimestampOrBuilder getDetectTimeOrBuilder() {
    return detectTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : detectTime_;
  }

  public static final int NAME_FIELD_NUMBER = 5;

  @SuppressWarnings("serial")
  private volatile java.lang.Object name_ = "";
  /**
   *
   *
   * <pre>
   * Output only. The relative resource name of the action, of the form:
   * `projects/{project}/locations/{location}/lakes/{lake}/actions/{action}`
   * `projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/actions/{action}`
   * `projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/assets/{asset}/actions/{action}`.
   * </pre>
   *
   * <code>
   * string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
   * </code>
   *
   * @return The name.
   */
  @java.lang.Override
  public java.lang.String getName() {
    java.lang.Object ref = name_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      name_ = s;
      return s;
    }
  }
  /**
   *
   *
   * <pre>
   * Output only. The relative resource name of the action, of the form:
   * `projects/{project}/locations/{location}/lakes/{lake}/actions/{action}`
   * `projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/actions/{action}`
   * `projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/assets/{asset}/actions/{action}`.
   * </pre>
   *
   * <code>
   * string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
   * </code>
   *
   * @return The bytes for name.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString getNameBytes() {
    java.lang.Object ref = name_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      name_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int LAKE_FIELD_NUMBER = 6;

  @SuppressWarnings("serial")
  private volatile java.lang.Object lake_ = "";
  /**
   *
   *
   * <pre>
   * Output only. The relative resource name of the lake, of the form:
   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
   * </pre>
   *
   * <code>
   * string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
   * </code>
   *
   * @return The lake.
   */
  @java.lang.Override
  public java.lang.String getLake() {
    java.lang.Object ref = lake_;
    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();
      lake_ = s;
      return s;
    }
  }
  /**
   *
   *
   * <pre>
   * Output only. The relative resource name of the lake, of the form:
   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
   * </pre>
   *
   * <code>
   * string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
   * </code>
   *
   * @return The bytes for lake.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString getLakeBytes() {
    java.lang.Object ref = lake_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      lake_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ZONE_FIELD_NUMBER = 7;

  @SuppressWarnings("serial")
  private volatile java.lang.Object zone_ = "";
  /**
   *
   *
   * <pre>
   * Output only. The relative resource name of the zone, of the form:
   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
   * </pre>
   *
   * <code>
   * string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
   * </code>
   *
   * @return The zone.
   */
  @java.lang.Override
  public java.lang.String getZone() {
    java.lang.Object ref = zone_;
    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();
      zone_ = s;
      return s;
    }
  }
  /**
   *
   *
   * <pre>
   * Output only. The relative resource name of the zone, of the form:
   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
   * </pre>
   *
   * <code>
   * string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
   * </code>
   *
   * @return The bytes for zone.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString getZoneBytes() {
    java.lang.Object ref = zone_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      zone_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ASSET_FIELD_NUMBER = 8;

  @SuppressWarnings("serial")
  private volatile java.lang.Object asset_ = "";
  /**
   *
   *
   * <pre>
   * Output only. The relative resource name of the asset, of the form:
   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
   * </pre>
   *
   * <code>
   * string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
   * </code>
   *
   * @return The asset.
   */
  @java.lang.Override
  public java.lang.String getAsset() {
    java.lang.Object ref = asset_;
    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();
      asset_ = s;
      return s;
    }
  }
  /**
   *
   *
   * <pre>
   * Output only. The relative resource name of the asset, of the form:
   * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
   * </pre>
   *
   * <code>
   * string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
   * </code>
   *
   * @return The bytes for asset.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString getAssetBytes() {
    java.lang.Object ref = asset_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      asset_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DATA_LOCATIONS_FIELD_NUMBER = 9;

  @SuppressWarnings("serial")
  private com.google.protobuf.LazyStringList dataLocations_;
  /**
   *
   *
   * <pre>
   * The list of data locations associated with this action. Cloud Storage
   * locations are represented as URI paths(E.g.
   * `gs://bucket/table1/year=2020/month=Jan/`). BigQuery locations refer to
   * resource names(E.g.
   * `bigquery.googleapis.com/projects/project-id/datasets/dataset-id`).
   * </pre>
   *
   * <code>repeated string data_locations = 9;</code>
   *
   * @return A list containing the dataLocations.
   */
  public com.google.protobuf.ProtocolStringList getDataLocationsList() {
    return dataLocations_;
  }
  /**
   *
   *
   * <pre>
   * The list of data locations associated with this action. Cloud Storage
   * locations are represented as URI paths(E.g.
   * `gs://bucket/table1/year=2020/month=Jan/`). BigQuery locations refer to
   * resource names(E.g.
   * `bigquery.googleapis.com/projects/project-id/datasets/dataset-id`).
   * </pre>
   *
   * <code>repeated string data_locations = 9;</code>
   *
   * @return The count of dataLocations.
   */
  public int getDataLocationsCount() {
    return dataLocations_.size();
  }
  /**
   *
   *
   * <pre>
   * The list of data locations associated with this action. Cloud Storage
   * locations are represented as URI paths(E.g.
   * `gs://bucket/table1/year=2020/month=Jan/`). BigQuery locations refer to
   * resource names(E.g.
   * `bigquery.googleapis.com/projects/project-id/datasets/dataset-id`).
   * </pre>
   *
   * <code>repeated string data_locations = 9;</code>
   *
   * @param index The index of the element to return.
   * @return The dataLocations at the given index.
   */
  public java.lang.String getDataLocations(int index) {
    return dataLocations_.get(index);
  }
  /**
   *
   *
   * <pre>
   * The list of data locations associated with this action. Cloud Storage
   * locations are represented as URI paths(E.g.
   * `gs://bucket/table1/year=2020/month=Jan/`). BigQuery locations refer to
   * resource names(E.g.
   * `bigquery.googleapis.com/projects/project-id/datasets/dataset-id`).
   * </pre>
   *
   * <code>repeated string data_locations = 9;</code>
   *
   * @param index The index of the value to return.
   * @return The bytes of the dataLocations at the given index.
   */
  public com.google.protobuf.ByteString getDataLocationsBytes(int index) {
    return dataLocations_.getByteString(index);
  }

  public static final int INVALID_DATA_FORMAT_FIELD_NUMBER = 10;
  /**
   *
   *
   * <pre>
   * Details for issues related to invalid or unsupported data formats.
   * </pre>
   *
   * <code>.google.cloud.dataplex.v1.Action.InvalidDataFormat invalid_data_format = 10;</code>
   *
   * @return Whether the invalidDataFormat field is set.
   */
  @java.lang.Override
  public boolean hasInvalidDataFormat() {
    return detailsCase_ == 10;
  }
  /**
   *
   *
   * <pre>
   * Details for issues related to invalid or unsupported data formats.
   * </pre>
   *
   * <code>.google.cloud.dataplex.v1.Action.InvalidDataFormat invalid_data_format = 10;</code>
   *
   * @return The invalidDataFormat.
   */
  @java.lang.Override
  public com.google.cloud.dataplex.v1.Action.InvalidDataFormat getInvalidDataFormat() {
    if (detailsCase_ == 10) {
      return (com.google.cloud.dataplex.v1.Action.InvalidDataFormat) details_;
    }
    return com.google.cloud.dataplex.v1.Action.InvalidDataFormat.getDefaultInstance();
  }
  /**
   *
   *
   * <pre>
   * Details for issues related to invalid or unsupported data formats.
   * </pre>
   *
   * <code>.google.cloud.dataplex.v1.Action.InvalidDataFormat invalid_data_format = 10;</code>
   */
  @java.lang.Override
  public com.google.cloud.dataplex.v1.Action.InvalidDataFormatOrBuilder
      getInvalidDataFormatOrBuilder() {
    if (detailsCase_ == 10) {
      return (com.google.cloud.dataplex.v1.Action.InvalidDataFormat) details_;
    }
    return com.google.cloud.dataplex.v1.Action.InvalidDataFormat.getDefaultInstance();
  }

  public static final int INCOMPATIBLE_DATA_SCHEMA_FIELD_NUMBER = 11;
  /**
   *
   *
   * <pre>
   * Details for issues related to incompatible schemas detected within data.
   * </pre>
   *
   * <code>.google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11;
   * </code>
   *
   * @return Whether the incompatibleDataSchema field is set.
   */
  @java.lang.Override
  public boolean hasIncompatibleDataSchema() {
    return detailsCase_ == 11;
  }
  /**
   *
   *
   * <pre>
   * Details for issues related to incompatible schemas detected within data.
   * </pre>
   *
   * <code>.google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11;
   * </code>
   *
   * @return The incompatibleDataSchema.
   */
  @java.lang.Override
  public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema getIncompatibleDataSchema() {
    if (detailsCase_ == 11) {
      return (com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema) details_;
    }
    return com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.getDefaultInstance();
  }
  /**
   *
   *
   * <pre>
   * Details for issues related to incompatible schemas detected within data.
   * </pre>
   *
   * <code>.google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11;
   * </code>
   */
  @java.lang.Override
  public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchemaOrBuilder
      getIncompatibleDataSchemaOrBuilder() {
    if (detailsCase_ == 11) {
      return (com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema) details_;
    }
    return com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.getDefaultInstance();
  }

  public static final int INVALID_DATA_PARTITION_FIELD_NUMBER = 12;
  /**
   *
   *
   * <pre>
   * Details for issues related to invalid or unsupported data partition
   * structure.
   * </pre>
   *
   * <code>.google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12;</code>
   *
   * @return Whether the invalidDataPartition field is set.
   */
  @java.lang.Override
  public boolean hasInvalidDataPartition() {
    return detailsCase_ == 12;
  }
  /**
   *
   *
   * <pre>
   * Details for issues related to invalid or unsupported data partition
   * structure.
   * </pre>
   *
   * <code>.google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12;</code>
   *
   * @return The invalidDataPartition.
   */
  @java.lang.Override
  public com.google.cloud.dataplex.v1.Action.InvalidDataPartition getInvalidDataPartition() {
    if (detailsCase_ == 12) {
      return (com.google.cloud.dataplex.v1.Action.InvalidDataPartition) details_;
    }
    return com.google.cloud.dataplex.v1.Action.InvalidDataPartition.getDefaultInstance();
  }
  /**
   *
   *
   * <pre>
   * Details for issues related to invalid or unsupported data partition
   * structure.
   * </pre>
   *
   * <code>.google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12;</code>
   */
  @java.lang.Override
  public com.google.cloud.dataplex.v1.Action.InvalidDataPartitionOrBuilder
      getInvalidDataPartitionOrBuilder() {
    if (detailsCase_ == 12) {
      return (com.google.cloud.dataplex.v1.Action.InvalidDataPartition) details_;
    }
    return com.google.cloud.dataplex.v1.Action.InvalidDataPartition.getDefaultInstance();
  }

  public static final int MISSING_DATA_FIELD_NUMBER = 13;
  /**
   *
   *
   * <pre>
   * Details for issues related to absence of data within managed resources.
   * </pre>
   *
   * <code>.google.cloud.dataplex.v1.Action.MissingData missing_data = 13;</code>
   *
   * @return Whether the missingData field is set.
   */
  @java.lang.Override
  public boolean hasMissingData() {
    return detailsCase_ == 13;
  }
  /**
   *
   *
   * <pre>
   * Details for issues related to absence of data within managed resources.
   * </pre>
   *
   * <code>.google.cloud.dataplex.v1.Action.MissingData missing_data = 13;</code>
   *
   * @return The missingData.
   */
  @java.lang.Override
  public com.google.cloud.dataplex.v1.Action.MissingData getMissingData() {
    if (detailsCase_ == 13) {
      return (com.google.cloud.dataplex.v1.Action.MissingData) details_;
    }
    return com.google.cloud.dataplex.v1.Action.MissingData.getDefaultInstance();
  }
  /**
   *
   *
   * <pre>
   * Details for issues related to absence of data within managed resources.
   * </pre>
   *
   * <code>.google.cloud.dataplex.v1.Action.MissingData missing_data = 13;</code>
   */
  @java.lang.Override
  public com.google.cloud.dataplex.v1.Action.MissingDataOrBuilder getMissingDataOrBuilder() {
    if (detailsCase_ == 13) {
      return (com.google.cloud.dataplex.v1.Action.MissingData) details_;
    }
    return com.google.cloud.dataplex.v1.Action.MissingData.getDefaultInstance();
  }

  public static final int MISSING_RESOURCE_FIELD_NUMBER = 14;
  /**
   *
   *
   * <pre>
   * Details for issues related to absence of a managed resource.
   * </pre>
   *
   * <code>.google.cloud.dataplex.v1.Action.MissingResource missing_resource = 14;</code>
   *
   * @return Whether the missingResource field is set.
   */
  @java.lang.Override
  public boolean hasMissingResource() {
    return detailsCase_ == 14;
  }
  /**
   *
   *
   * <pre>
   * Details for issues related to absence of a managed resource.
   * </pre>
   *
   * <code>.google.cloud.dataplex.v1.Action.MissingResource missing_resource = 14;</code>
   *
   * @return The missingResource.
   */
  @java.lang.Override
  public com.google.cloud.dataplex.v1.Action.MissingResource getMissingResource() {
    if (detailsCase_ == 14) {
      return (com.google.cloud.dataplex.v1.Action.MissingResource) details_;
    }
    return com.google.cloud.dataplex.v1.Action.MissingResource.getDefaultInstance();
  }
  /**
   *
   *
   * <pre>
   * Details for issues related to absence of a managed resource.
   * </pre>
   *
   * <code>.google.cloud.dataplex.v1.Action.MissingResource missing_resource = 14;</code>
   */
  @java.lang.Override
  public com.google.cloud.dataplex.v1.Action.MissingResourceOrBuilder
      getMissingResourceOrBuilder() {
    if (detailsCase_ == 14) {
      return (com.google.cloud.dataplex.v1.Action.MissingResource) details_;
    }
    return com.google.cloud.dataplex.v1.Action.MissingResource.getDefaultInstance();
  }

  public static final int UNAUTHORIZED_RESOURCE_FIELD_NUMBER = 15;
  /**
   *
   *
   * <pre>
   * Details for issues related to lack of permissions to access data
   * resources.
   * </pre>
   *
   * <code>.google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15;</code>
   *
   * @return Whether the unauthorizedResource field is set.
   */
  @java.lang.Override
  public boolean hasUnauthorizedResource() {
    return detailsCase_ == 15;
  }
  /**
   *
   *
   * <pre>
   * Details for issues related to lack of permissions to access data
   * resources.
   * </pre>
   *
   * <code>.google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15;</code>
   *
   * @return The unauthorizedResource.
   */
  @java.lang.Override
  public com.google.cloud.dataplex.v1.Action.UnauthorizedResource getUnauthorizedResource() {
    if (detailsCase_ == 15) {
      return (com.google.cloud.dataplex.v1.Action.UnauthorizedResource) details_;
    }
    return com.google.cloud.dataplex.v1.Action.UnauthorizedResource.getDefaultInstance();
  }
  /**
   *
   *
   * <pre>
   * Details for issues related to lack of permissions to access data
   * resources.
   * </pre>
   *
   * <code>.google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15;</code>
   */
  @java.lang.Override
  public com.google.cloud.dataplex.v1.Action.UnauthorizedResourceOrBuilder
      getUnauthorizedResourceOrBuilder() {
    if (detailsCase_ == 15) {
      return (com.google.cloud.dataplex.v1.Action.UnauthorizedResource) details_;
    }
    return com.google.cloud.dataplex.v1.Action.UnauthorizedResource.getDefaultInstance();
  }

  public static final int FAILED_SECURITY_POLICY_APPLY_FIELD_NUMBER = 21;
  /**
   *
   *
   * <pre>
   * Details for issues related to applying security policy.
   * </pre>
   *
   * <code>
   * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21;
   * </code>
   *
   * @return Whether the failedSecurityPolicyApply field is set.
   */
  @java.lang.Override
  public boolean hasFailedSecurityPolicyApply() {
    return detailsCase_ == 21;
  }
  /**
   *
   *
   * <pre>
   * Details for issues related to applying security policy.
   * </pre>
   *
   * <code>
   * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21;
   * </code>
   *
   * @return The failedSecurityPolicyApply.
   */
  @java.lang.Override
  public com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply
      getFailedSecurityPolicyApply() {
    if (detailsCase_ == 21) {
      return (com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) details_;
    }
    return com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.getDefaultInstance();
  }
  /**
   *
   *
   * <pre>
   * Details for issues related to applying security policy.
   * </pre>
   *
   * <code>
   * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21;
   * </code>
   */
  @java.lang.Override
  public com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApplyOrBuilder
      getFailedSecurityPolicyApplyOrBuilder() {
    if (detailsCase_ == 21) {
      return (com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) details_;
    }
    return com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.getDefaultInstance();
  }

  public static final int INVALID_DATA_ORGANIZATION_FIELD_NUMBER = 22;
  /**
   *
   *
   * <pre>
   * Details for issues related to invalid data arrangement.
   * </pre>
   *
   * <code>.google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22;
   * </code>
   *
   * @return Whether the invalidDataOrganization field is set.
   */
  @java.lang.Override
  public boolean hasInvalidDataOrganization() {
    return detailsCase_ == 22;
  }
  /**
   *
   *
   * <pre>
   * Details for issues related to invalid data arrangement.
   * </pre>
   *
   * <code>.google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22;
   * </code>
   *
   * @return The invalidDataOrganization.
   */
  @java.lang.Override
  public com.google.cloud.dataplex.v1.Action.InvalidDataOrganization getInvalidDataOrganization() {
    if (detailsCase_ == 22) {
      return (com.google.cloud.dataplex.v1.Action.InvalidDataOrganization) details_;
    }
    return com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.getDefaultInstance();
  }
  /**
   *
   *
   * <pre>
   * Details for issues related to invalid data arrangement.
   * </pre>
   *
   * <code>.google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22;
   * </code>
   */
  @java.lang.Override
  public com.google.cloud.dataplex.v1.Action.InvalidDataOrganizationOrBuilder
      getInvalidDataOrganizationOrBuilder() {
    if (detailsCase_ == 22) {
      return (com.google.cloud.dataplex.v1.Action.InvalidDataOrganization) details_;
    }
    return com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.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 (category_
        != com.google.cloud.dataplex.v1.Action.Category.CATEGORY_UNSPECIFIED.getNumber()) {
      output.writeEnum(1, category_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(issue_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, issue_);
    }
    if (detectTime_ != null) {
      output.writeMessage(4, getDetectTime());
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, name_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lake_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, lake_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 7, zone_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(asset_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, asset_);
    }
    for (int i = 0; i < dataLocations_.size(); i++) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 9, dataLocations_.getRaw(i));
    }
    if (detailsCase_ == 10) {
      output.writeMessage(10, (com.google.cloud.dataplex.v1.Action.InvalidDataFormat) details_);
    }
    if (detailsCase_ == 11) {
      output.writeMessage(
          11, (com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema) details_);
    }
    if (detailsCase_ == 12) {
      output.writeMessage(12, (com.google.cloud.dataplex.v1.Action.InvalidDataPartition) details_);
    }
    if (detailsCase_ == 13) {
      output.writeMessage(13, (com.google.cloud.dataplex.v1.Action.MissingData) details_);
    }
    if (detailsCase_ == 14) {
      output.writeMessage(14, (com.google.cloud.dataplex.v1.Action.MissingResource) details_);
    }
    if (detailsCase_ == 15) {
      output.writeMessage(15, (com.google.cloud.dataplex.v1.Action.UnauthorizedResource) details_);
    }
    if (detailsCase_ == 21) {
      output.writeMessage(
          21, (com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) details_);
    }
    if (detailsCase_ == 22) {
      output.writeMessage(
          22, (com.google.cloud.dataplex.v1.Action.InvalidDataOrganization) details_);
    }
    getUnknownFields().writeTo(output);
  }

  @java.lang.Override
  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

    size = 0;
    if (category_
        != com.google.cloud.dataplex.v1.Action.Category.CATEGORY_UNSPECIFIED.getNumber()) {
      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, category_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(issue_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, issue_);
    }
    if (detectTime_ != null) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getDetectTime());
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, name_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lake_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, lake_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, zone_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(asset_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, asset_);
    }
    {
      int dataSize = 0;
      for (int i = 0; i < dataLocations_.size(); i++) {
        dataSize += computeStringSizeNoTag(dataLocations_.getRaw(i));
      }
      size += dataSize;
      size += 1 * getDataLocationsList().size();
    }
    if (detailsCase_ == 10) {
      size +=
          com.google.protobuf.CodedOutputStream.computeMessageSize(
              10, (com.google.cloud.dataplex.v1.Action.InvalidDataFormat) details_);
    }
    if (detailsCase_ == 11) {
      size +=
          com.google.protobuf.CodedOutputStream.computeMessageSize(
              11, (com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema) details_);
    }
    if (detailsCase_ == 12) {
      size +=
          com.google.protobuf.CodedOutputStream.computeMessageSize(
              12, (com.google.cloud.dataplex.v1.Action.InvalidDataPartition) details_);
    }
    if (detailsCase_ == 13) {
      size +=
          com.google.protobuf.CodedOutputStream.computeMessageSize(
              13, (com.google.cloud.dataplex.v1.Action.MissingData) details_);
    }
    if (detailsCase_ == 14) {
      size +=
          com.google.protobuf.CodedOutputStream.computeMessageSize(
              14, (com.google.cloud.dataplex.v1.Action.MissingResource) details_);
    }
    if (detailsCase_ == 15) {
      size +=
          com.google.protobuf.CodedOutputStream.computeMessageSize(
              15, (com.google.cloud.dataplex.v1.Action.UnauthorizedResource) details_);
    }
    if (detailsCase_ == 21) {
      size +=
          com.google.protobuf.CodedOutputStream.computeMessageSize(
              21, (com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) details_);
    }
    if (detailsCase_ == 22) {
      size +=
          com.google.protobuf.CodedOutputStream.computeMessageSize(
              22, (com.google.cloud.dataplex.v1.Action.InvalidDataOrganization) details_);
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }

  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.cloud.dataplex.v1.Action)) {
      return super.equals(obj);
    }
    com.google.cloud.dataplex.v1.Action other = (com.google.cloud.dataplex.v1.Action) obj;

    if (category_ != other.category_) return false;
    if (!getIssue().equals(other.getIssue())) return false;
    if (hasDetectTime() != other.hasDetectTime()) return false;
    if (hasDetectTime()) {
      if (!getDetectTime().equals(other.getDetectTime())) return false;
    }
    if (!getName().equals(other.getName())) return false;
    if (!getLake().equals(other.getLake())) return false;
    if (!getZone().equals(other.getZone())) return false;
    if (!getAsset().equals(other.getAsset())) return false;
    if (!getDataLocationsList().equals(other.getDataLocationsList())) return false;
    if (!getDetailsCase().equals(other.getDetailsCase())) return false;
    switch (detailsCase_) {
      case 10:
        if (!getInvalidDataFormat().equals(other.getInvalidDataFormat())) return false;
        break;
      case 11:
        if (!getIncompatibleDataSchema().equals(other.getIncompatibleDataSchema())) return false;
        break;
      case 12:
        if (!getInvalidDataPartition().equals(other.getInvalidDataPartition())) return false;
        break;
      case 13:
        if (!getMissingData().equals(other.getMissingData())) return false;
        break;
      case 14:
        if (!getMissingResource().equals(other.getMissingResource())) return false;
        break;
      case 15:
        if (!getUnauthorizedResource().equals(other.getUnauthorizedResource())) return false;
        break;
      case 21:
        if (!getFailedSecurityPolicyApply().equals(other.getFailedSecurityPolicyApply()))
          return false;
        break;
      case 22:
        if (!getInvalidDataOrganization().equals(other.getInvalidDataOrganization())) return false;
        break;
      case 0:
      default:
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + CATEGORY_FIELD_NUMBER;
    hash = (53 * hash) + category_;
    hash = (37 * hash) + ISSUE_FIELD_NUMBER;
    hash = (53 * hash) + getIssue().hashCode();
    if (hasDetectTime()) {
      hash = (37 * hash) + DETECT_TIME_FIELD_NUMBER;
      hash = (53 * hash) + getDetectTime().hashCode();
    }
    hash = (37 * hash) + NAME_FIELD_NUMBER;
    hash = (53 * hash) + getName().hashCode();
    hash = (37 * hash) + LAKE_FIELD_NUMBER;
    hash = (53 * hash) + getLake().hashCode();
    hash = (37 * hash) + ZONE_FIELD_NUMBER;
    hash = (53 * hash) + getZone().hashCode();
    hash = (37 * hash) + ASSET_FIELD_NUMBER;
    hash = (53 * hash) + getAsset().hashCode();
    if (getDataLocationsCount() > 0) {
      hash = (37 * hash) + DATA_LOCATIONS_FIELD_NUMBER;
      hash = (53 * hash) + getDataLocationsList().hashCode();
    }
    switch (detailsCase_) {
      case 10:
        hash = (37 * hash) + INVALID_DATA_FORMAT_FIELD_NUMBER;
        hash = (53 * hash) + getInvalidDataFormat().hashCode();
        break;
      case 11:
        hash = (37 * hash) + INCOMPATIBLE_DATA_SCHEMA_FIELD_NUMBER;
        hash = (53 * hash) + getIncompatibleDataSchema().hashCode();
        break;
      case 12:
        hash = (37 * hash) + INVALID_DATA_PARTITION_FIELD_NUMBER;
        hash = (53 * hash) + getInvalidDataPartition().hashCode();
        break;
      case 13:
        hash = (37 * hash) + MISSING_DATA_FIELD_NUMBER;
        hash = (53 * hash) + getMissingData().hashCode();
        break;
      case 14:
        hash = (37 * hash) + MISSING_RESOURCE_FIELD_NUMBER;
        hash = (53 * hash) + getMissingResource().hashCode();
        break;
      case 15:
        hash = (37 * hash) + UNAUTHORIZED_RESOURCE_FIELD_NUMBER;
        hash = (53 * hash) + getUnauthorizedResource().hashCode();
        break;
      case 21:
        hash = (37 * hash) + FAILED_SECURITY_POLICY_APPLY_FIELD_NUMBER;
        hash = (53 * hash) + getFailedSecurityPolicyApply().hashCode();
        break;
      case 22:
        hash = (37 * hash) + INVALID_DATA_ORGANIZATION_FIELD_NUMBER;
        hash = (53 * hash) + getInvalidDataOrganization().hashCode();
        break;
      case 0:
      default:
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.google.cloud.dataplex.v1.Action parseFrom(java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }

  public static com.google.cloud.dataplex.v1.Action parseFrom(
      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }

  public static com.google.cloud.dataplex.v1.Action parseFrom(com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }

  public static com.google.cloud.dataplex.v1.Action parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }

  public static com.google.cloud.dataplex.v1.Action parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }

  public static com.google.cloud.dataplex.v1.Action parseFrom(
      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }

  public static com.google.cloud.dataplex.v1.Action parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
  }

  public static com.google.cloud.dataplex.v1.Action parseFrom(
      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
        PARSER, input, extensionRegistry);
  }

  public static com.google.cloud.dataplex.v1.Action parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
  }

  public static com.google.cloud.dataplex.v1.Action parseDelimitedFrom(
      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
        PARSER, input, extensionRegistry);
  }

  public static com.google.cloud.dataplex.v1.Action parseFrom(
      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
  }

  public static com.google.cloud.dataplex.v1.Action parseFrom(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
        PARSER, input, extensionRegistry);
  }

  @java.lang.Override
  public Builder newBuilderForType() {
    return newBuilder();
  }

  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }

  public static Builder newBuilder(com.google.cloud.dataplex.v1.Action 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;
  }
  /**
   *
   *
   * <pre>
   * Action represents an issue requiring administrator action for resolution.
   * </pre>
   *
   * Protobuf type {@code google.cloud.dataplex.v1.Action}
   */
  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
      implements
      // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Action)
      com.google.cloud.dataplex.v1.ActionOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      return com.google.cloud.dataplex.v1.ResourcesProto
          .internal_static_google_cloud_dataplex_v1_Action_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.cloud.dataplex.v1.ResourcesProto
          .internal_static_google_cloud_dataplex_v1_Action_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.cloud.dataplex.v1.Action.class,
              com.google.cloud.dataplex.v1.Action.Builder.class);
    }

    // Construct using com.google.cloud.dataplex.v1.Action.newBuilder()
    private Builder() {}

    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
    }

    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      category_ = 0;
      issue_ = "";
      detectTime_ = null;
      if (detectTimeBuilder_ != null) {
        detectTimeBuilder_.dispose();
        detectTimeBuilder_ = null;
      }
      name_ = "";
      lake_ = "";
      zone_ = "";
      asset_ = "";
      dataLocations_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      bitField0_ = (bitField0_ & ~0x00000080);
      if (invalidDataFormatBuilder_ != null) {
        invalidDataFormatBuilder_.clear();
      }
      if (incompatibleDataSchemaBuilder_ != null) {
        incompatibleDataSchemaBuilder_.clear();
      }
      if (invalidDataPartitionBuilder_ != null) {
        invalidDataPartitionBuilder_.clear();
      }
      if (missingDataBuilder_ != null) {
        missingDataBuilder_.clear();
      }
      if (missingResourceBuilder_ != null) {
        missingResourceBuilder_.clear();
      }
      if (unauthorizedResourceBuilder_ != null) {
        unauthorizedResourceBuilder_.clear();
      }
      if (failedSecurityPolicyApplyBuilder_ != null) {
        failedSecurityPolicyApplyBuilder_.clear();
      }
      if (invalidDataOrganizationBuilder_ != null) {
        invalidDataOrganizationBuilder_.clear();
      }
      detailsCase_ = 0;
      details_ = null;
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
      return com.google.cloud.dataplex.v1.ResourcesProto
          .internal_static_google_cloud_dataplex_v1_Action_descriptor;
    }

    @java.lang.Override
    public com.google.cloud.dataplex.v1.Action getDefaultInstanceForType() {
      return com.google.cloud.dataplex.v1.Action.getDefaultInstance();
    }

    @java.lang.Override
    public com.google.cloud.dataplex.v1.Action build() {
      com.google.cloud.dataplex.v1.Action result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public com.google.cloud.dataplex.v1.Action buildPartial() {
      com.google.cloud.dataplex.v1.Action result = new com.google.cloud.dataplex.v1.Action(this);
      buildPartialRepeatedFields(result);
      if (bitField0_ != 0) {
        buildPartial0(result);
      }
      buildPartialOneofs(result);
      onBuilt();
      return result;
    }

    private void buildPartialRepeatedFields(com.google.cloud.dataplex.v1.Action result) {
      if (((bitField0_ & 0x00000080) != 0)) {
        dataLocations_ = dataLocations_.getUnmodifiableView();
        bitField0_ = (bitField0_ & ~0x00000080);
      }
      result.dataLocations_ = dataLocations_;
    }

    private void buildPartial0(com.google.cloud.dataplex.v1.Action result) {
      int from_bitField0_ = bitField0_;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.category_ = category_;
      }
      if (((from_bitField0_ & 0x00000002) != 0)) {
        result.issue_ = issue_;
      }
      if (((from_bitField0_ & 0x00000004) != 0)) {
        result.detectTime_ = detectTimeBuilder_ == null ? detectTime_ : detectTimeBuilder_.build();
      }
      if (((from_bitField0_ & 0x00000008) != 0)) {
        result.name_ = name_;
      }
      if (((from_bitField0_ & 0x00000010) != 0)) {
        result.lake_ = lake_;
      }
      if (((from_bitField0_ & 0x00000020) != 0)) {
        result.zone_ = zone_;
      }
      if (((from_bitField0_ & 0x00000040) != 0)) {
        result.asset_ = asset_;
      }
    }

    private void buildPartialOneofs(com.google.cloud.dataplex.v1.Action result) {
      result.detailsCase_ = detailsCase_;
      result.details_ = this.details_;
      if (detailsCase_ == 10 && invalidDataFormatBuilder_ != null) {
        result.details_ = invalidDataFormatBuilder_.build();
      }
      if (detailsCase_ == 11 && incompatibleDataSchemaBuilder_ != null) {
        result.details_ = incompatibleDataSchemaBuilder_.build();
      }
      if (detailsCase_ == 12 && invalidDataPartitionBuilder_ != null) {
        result.details_ = invalidDataPartitionBuilder_.build();
      }
      if (detailsCase_ == 13 && missingDataBuilder_ != null) {
        result.details_ = missingDataBuilder_.build();
      }
      if (detailsCase_ == 14 && missingResourceBuilder_ != null) {
        result.details_ = missingResourceBuilder_.build();
      }
      if (detailsCase_ == 15 && unauthorizedResourceBuilder_ != null) {
        result.details_ = unauthorizedResourceBuilder_.build();
      }
      if (detailsCase_ == 21 && failedSecurityPolicyApplyBuilder_ != null) {
        result.details_ = failedSecurityPolicyApplyBuilder_.build();
      }
      if (detailsCase_ == 22 && invalidDataOrganizationBuilder_ != null) {
        result.details_ = invalidDataOrganizationBuilder_.build();
      }
    }

    @java.lang.Override
    public Builder clone() {
      return super.clone();
    }

    @java.lang.Override
    public Builder setField(
        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
      return super.setField(field, value);
    }

    @java.lang.Override
    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
      return super.clearField(field);
    }

    @java.lang.Override
    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
      return super.clearOneof(oneof);
    }

    @java.lang.Override
    public Builder setRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
      return super.setRepeatedField(field, index, value);
    }

    @java.lang.Override
    public Builder addRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
      return super.addRepeatedField(field, value);
    }

    @java.lang.Override
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof com.google.cloud.dataplex.v1.Action) {
        return mergeFrom((com.google.cloud.dataplex.v1.Action) other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.google.cloud.dataplex.v1.Action other) {
      if (other == com.google.cloud.dataplex.v1.Action.getDefaultInstance()) return this;
      if (other.category_ != 0) {
        setCategoryValue(other.getCategoryValue());
      }
      if (!other.getIssue().isEmpty()) {
        issue_ = other.issue_;
        bitField0_ |= 0x00000002;
        onChanged();
      }
      if (other.hasDetectTime()) {
        mergeDetectTime(other.getDetectTime());
      }
      if (!other.getName().isEmpty()) {
        name_ = other.name_;
        bitField0_ |= 0x00000008;
        onChanged();
      }
      if (!other.getLake().isEmpty()) {
        lake_ = other.lake_;
        bitField0_ |= 0x00000010;
        onChanged();
      }
      if (!other.getZone().isEmpty()) {
        zone_ = other.zone_;
        bitField0_ |= 0x00000020;
        onChanged();
      }
      if (!other.getAsset().isEmpty()) {
        asset_ = other.asset_;
        bitField0_ |= 0x00000040;
        onChanged();
      }
      if (!other.dataLocations_.isEmpty()) {
        if (dataLocations_.isEmpty()) {
          dataLocations_ = other.dataLocations_;
          bitField0_ = (bitField0_ & ~0x00000080);
        } else {
          ensureDataLocationsIsMutable();
          dataLocations_.addAll(other.dataLocations_);
        }
        onChanged();
      }
      switch (other.getDetailsCase()) {
        case INVALID_DATA_FORMAT:
          {
            mergeInvalidDataFormat(other.getInvalidDataFormat());
            break;
          }
        case INCOMPATIBLE_DATA_SCHEMA:
          {
            mergeIncompatibleDataSchema(other.getIncompatibleDataSchema());
            break;
          }
        case INVALID_DATA_PARTITION:
          {
            mergeInvalidDataPartition(other.getInvalidDataPartition());
            break;
          }
        case MISSING_DATA:
          {
            mergeMissingData(other.getMissingData());
            break;
          }
        case MISSING_RESOURCE:
          {
            mergeMissingResource(other.getMissingResource());
            break;
          }
        case UNAUTHORIZED_RESOURCE:
          {
            mergeUnauthorizedResource(other.getUnauthorizedResource());
            break;
          }
        case FAILED_SECURITY_POLICY_APPLY:
          {
            mergeFailedSecurityPolicyApply(other.getFailedSecurityPolicyApply());
            break;
          }
        case INVALID_DATA_ORGANIZATION:
          {
            mergeInvalidDataOrganization(other.getInvalidDataOrganization());
            break;
          }
        case DETAILS_NOT_SET:
          {
            break;
          }
      }
      this.mergeUnknownFields(other.getUnknownFields());
      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 {
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 8:
              {
                category_ = input.readEnum();
                bitField0_ |= 0x00000001;
                break;
              } // case 8
            case 18:
              {
                issue_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000002;
                break;
              } // case 18
            case 34:
              {
                input.readMessage(getDetectTimeFieldBuilder().getBuilder(), extensionRegistry);
                bitField0_ |= 0x00000004;
                break;
              } // case 34
            case 42:
              {
                name_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000008;
                break;
              } // case 42
            case 50:
              {
                lake_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000010;
                break;
              } // case 50
            case 58:
              {
                zone_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000020;
                break;
              } // case 58
            case 66:
              {
                asset_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000040;
                break;
              } // case 66
            case 74:
              {
                java.lang.String s = input.readStringRequireUtf8();
                ensureDataLocationsIsMutable();
                dataLocations_.add(s);
                break;
              } // case 74
            case 82:
              {
                input.readMessage(
                    getInvalidDataFormatFieldBuilder().getBuilder(), extensionRegistry);
                detailsCase_ = 10;
                break;
              } // case 82
            case 90:
              {
                input.readMessage(
                    getIncompatibleDataSchemaFieldBuilder().getBuilder(), extensionRegistry);
                detailsCase_ = 11;
                break;
              } // case 90
            case 98:
              {
                input.readMessage(
                    getInvalidDataPartitionFieldBuilder().getBuilder(), extensionRegistry);
                detailsCase_ = 12;
                break;
              } // case 98
            case 106:
              {
                input.readMessage(getMissingDataFieldBuilder().getBuilder(), extensionRegistry);
                detailsCase_ = 13;
                break;
              } // case 106
            case 114:
              {
                input.readMessage(getMissingResourceFieldBuilder().getBuilder(), extensionRegistry);
                detailsCase_ = 14;
                break;
              } // case 114
            case 122:
              {
                input.readMessage(
                    getUnauthorizedResourceFieldBuilder().getBuilder(), extensionRegistry);
                detailsCase_ = 15;
                break;
              } // case 122
            case 170:
              {
                input.readMessage(
                    getFailedSecurityPolicyApplyFieldBuilder().getBuilder(), extensionRegistry);
                detailsCase_ = 21;
                break;
              } // case 170
            case 178:
              {
                input.readMessage(
                    getInvalidDataOrganizationFieldBuilder().getBuilder(), extensionRegistry);
                detailsCase_ = 22;
                break;
              } // case 178
            default:
              {
                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                  done = true; // was an endgroup tag
                }
                break;
              } // default:
          } // switch (tag)
        } // while (!done)
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.unwrapIOException();
      } finally {
        onChanged();
      } // finally
      return this;
    }

    private int detailsCase_ = 0;
    private java.lang.Object details_;

    public DetailsCase getDetailsCase() {
      return DetailsCase.forNumber(detailsCase_);
    }

    public Builder clearDetails() {
      detailsCase_ = 0;
      details_ = null;
      onChanged();
      return this;
    }

    private int bitField0_;

    private int category_ = 0;
    /**
     *
     *
     * <pre>
     * The category of issue associated with the action.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.Category category = 1;</code>
     *
     * @return The enum numeric value on the wire for category.
     */
    @java.lang.Override
    public int getCategoryValue() {
      return category_;
    }
    /**
     *
     *
     * <pre>
     * The category of issue associated with the action.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.Category category = 1;</code>
     *
     * @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;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * The category of issue associated with the action.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.Category category = 1;</code>
     *
     * @return The category.
     */
    @java.lang.Override
    public com.google.cloud.dataplex.v1.Action.Category getCategory() {
      com.google.cloud.dataplex.v1.Action.Category result =
          com.google.cloud.dataplex.v1.Action.Category.forNumber(category_);
      return result == null ? com.google.cloud.dataplex.v1.Action.Category.UNRECOGNIZED : result;
    }
    /**
     *
     *
     * <pre>
     * The category of issue associated with the action.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.Category category = 1;</code>
     *
     * @param value The category to set.
     * @return This builder for chaining.
     */
    public Builder setCategory(com.google.cloud.dataplex.v1.Action.Category value) {
      if (value == null) {
        throw new NullPointerException();
      }
      bitField0_ |= 0x00000001;
      category_ = value.getNumber();
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * The category of issue associated with the action.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.Category category = 1;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearCategory() {
      bitField0_ = (bitField0_ & ~0x00000001);
      category_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object issue_ = "";
    /**
     *
     *
     * <pre>
     * Detailed description of the issue requiring action.
     * </pre>
     *
     * <code>string issue = 2;</code>
     *
     * @return The issue.
     */
    public java.lang.String getIssue() {
      java.lang.Object ref = issue_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        issue_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Detailed description of the issue requiring action.
     * </pre>
     *
     * <code>string issue = 2;</code>
     *
     * @return The bytes for issue.
     */
    public com.google.protobuf.ByteString getIssueBytes() {
      java.lang.Object ref = issue_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        issue_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Detailed description of the issue requiring action.
     * </pre>
     *
     * <code>string issue = 2;</code>
     *
     * @param value The issue to set.
     * @return This builder for chaining.
     */
    public Builder setIssue(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }
      issue_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Detailed description of the issue requiring action.
     * </pre>
     *
     * <code>string issue = 2;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearIssue() {
      issue_ = getDefaultInstance().getIssue();
      bitField0_ = (bitField0_ & ~0x00000002);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Detailed description of the issue requiring action.
     * </pre>
     *
     * <code>string issue = 2;</code>
     *
     * @param value The bytes for issue to set.
     * @return This builder for chaining.
     */
    public Builder setIssueBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);
      issue_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }

    private com.google.protobuf.Timestamp detectTime_;
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.protobuf.Timestamp,
            com.google.protobuf.Timestamp.Builder,
            com.google.protobuf.TimestampOrBuilder>
        detectTimeBuilder_;
    /**
     *
     *
     * <pre>
     * The time that the issue was detected.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp detect_time = 4;</code>
     *
     * @return Whether the detectTime field is set.
     */
    public boolean hasDetectTime() {
      return ((bitField0_ & 0x00000004) != 0);
    }
    /**
     *
     *
     * <pre>
     * The time that the issue was detected.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp detect_time = 4;</code>
     *
     * @return The detectTime.
     */
    public com.google.protobuf.Timestamp getDetectTime() {
      if (detectTimeBuilder_ == null) {
        return detectTime_ == null
            ? com.google.protobuf.Timestamp.getDefaultInstance()
            : detectTime_;
      } else {
        return detectTimeBuilder_.getMessage();
      }
    }
    /**
     *
     *
     * <pre>
     * The time that the issue was detected.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp detect_time = 4;</code>
     */
    public Builder setDetectTime(com.google.protobuf.Timestamp value) {
      if (detectTimeBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        detectTime_ = value;
      } else {
        detectTimeBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * The time that the issue was detected.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp detect_time = 4;</code>
     */
    public Builder setDetectTime(com.google.protobuf.Timestamp.Builder builderForValue) {
      if (detectTimeBuilder_ == null) {
        detectTime_ = builderForValue.build();
      } else {
        detectTimeBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * The time that the issue was detected.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp detect_time = 4;</code>
     */
    public Builder mergeDetectTime(com.google.protobuf.Timestamp value) {
      if (detectTimeBuilder_ == null) {
        if (((bitField0_ & 0x00000004) != 0)
            && detectTime_ != null
            && detectTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
          getDetectTimeBuilder().mergeFrom(value);
        } else {
          detectTime_ = value;
        }
      } else {
        detectTimeBuilder_.mergeFrom(value);
      }
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * The time that the issue was detected.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp detect_time = 4;</code>
     */
    public Builder clearDetectTime() {
      bitField0_ = (bitField0_ & ~0x00000004);
      detectTime_ = null;
      if (detectTimeBuilder_ != null) {
        detectTimeBuilder_.dispose();
        detectTimeBuilder_ = null;
      }
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * The time that the issue was detected.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp detect_time = 4;</code>
     */
    public com.google.protobuf.Timestamp.Builder getDetectTimeBuilder() {
      bitField0_ |= 0x00000004;
      onChanged();
      return getDetectTimeFieldBuilder().getBuilder();
    }
    /**
     *
     *
     * <pre>
     * The time that the issue was detected.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp detect_time = 4;</code>
     */
    public com.google.protobuf.TimestampOrBuilder getDetectTimeOrBuilder() {
      if (detectTimeBuilder_ != null) {
        return detectTimeBuilder_.getMessageOrBuilder();
      } else {
        return detectTime_ == null
            ? com.google.protobuf.Timestamp.getDefaultInstance()
            : detectTime_;
      }
    }
    /**
     *
     *
     * <pre>
     * The time that the issue was detected.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp detect_time = 4;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.protobuf.Timestamp,
            com.google.protobuf.Timestamp.Builder,
            com.google.protobuf.TimestampOrBuilder>
        getDetectTimeFieldBuilder() {
      if (detectTimeBuilder_ == null) {
        detectTimeBuilder_ =
            new com.google.protobuf.SingleFieldBuilderV3<
                com.google.protobuf.Timestamp,
                com.google.protobuf.Timestamp.Builder,
                com.google.protobuf.TimestampOrBuilder>(
                getDetectTime(), getParentForChildren(), isClean());
        detectTime_ = null;
      }
      return detectTimeBuilder_;
    }

    private java.lang.Object name_ = "";
    /**
     *
     *
     * <pre>
     * Output only. The relative resource name of the action, of the form:
     * `projects/{project}/locations/{location}/lakes/{lake}/actions/{action}`
     * `projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/actions/{action}`
     * `projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/assets/{asset}/actions/{action}`.
     * </pre>
     *
     * <code>
     * string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
     * </code>
     *
     * @return The name.
     */
    public java.lang.String getName() {
      java.lang.Object ref = name_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        name_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Output only. The relative resource name of the action, of the form:
     * `projects/{project}/locations/{location}/lakes/{lake}/actions/{action}`
     * `projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/actions/{action}`
     * `projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/assets/{asset}/actions/{action}`.
     * </pre>
     *
     * <code>
     * string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
     * </code>
     *
     * @return The bytes for name.
     */
    public com.google.protobuf.ByteString getNameBytes() {
      java.lang.Object ref = name_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        name_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Output only. The relative resource name of the action, of the form:
     * `projects/{project}/locations/{location}/lakes/{lake}/actions/{action}`
     * `projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/actions/{action}`
     * `projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/assets/{asset}/actions/{action}`.
     * </pre>
     *
     * <code>
     * string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
     * </code>
     *
     * @param value The name to set.
     * @return This builder for chaining.
     */
    public Builder setName(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }
      name_ = value;
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Output only. The relative resource name of the action, of the form:
     * `projects/{project}/locations/{location}/lakes/{lake}/actions/{action}`
     * `projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/actions/{action}`
     * `projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/assets/{asset}/actions/{action}`.
     * </pre>
     *
     * <code>
     * string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
     * </code>
     *
     * @return This builder for chaining.
     */
    public Builder clearName() {
      name_ = getDefaultInstance().getName();
      bitField0_ = (bitField0_ & ~0x00000008);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Output only. The relative resource name of the action, of the form:
     * `projects/{project}/locations/{location}/lakes/{lake}/actions/{action}`
     * `projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/actions/{action}`
     * `projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/assets/{asset}/actions/{action}`.
     * </pre>
     *
     * <code>
     * string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
     * </code>
     *
     * @param value The bytes for name to set.
     * @return This builder for chaining.
     */
    public Builder setNameBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);
      name_ = value;
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }

    private java.lang.Object lake_ = "";
    /**
     *
     *
     * <pre>
     * Output only. The relative resource name of the lake, of the form:
     * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
     * </pre>
     *
     * <code>
     * string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
     * </code>
     *
     * @return The lake.
     */
    public java.lang.String getLake() {
      java.lang.Object ref = lake_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        lake_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Output only. The relative resource name of the lake, of the form:
     * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
     * </pre>
     *
     * <code>
     * string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
     * </code>
     *
     * @return The bytes for lake.
     */
    public com.google.protobuf.ByteString getLakeBytes() {
      java.lang.Object ref = lake_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        lake_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Output only. The relative resource name of the lake, of the form:
     * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
     * </pre>
     *
     * <code>
     * string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
     * </code>
     *
     * @param value The lake to set.
     * @return This builder for chaining.
     */
    public Builder setLake(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }
      lake_ = value;
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Output only. The relative resource name of the lake, of the form:
     * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
     * </pre>
     *
     * <code>
     * string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
     * </code>
     *
     * @return This builder for chaining.
     */
    public Builder clearLake() {
      lake_ = getDefaultInstance().getLake();
      bitField0_ = (bitField0_ & ~0x00000010);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Output only. The relative resource name of the lake, of the form:
     * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
     * </pre>
     *
     * <code>
     * string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
     * </code>
     *
     * @param value The bytes for lake to set.
     * @return This builder for chaining.
     */
    public Builder setLakeBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);
      lake_ = value;
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }

    private java.lang.Object zone_ = "";
    /**
     *
     *
     * <pre>
     * Output only. The relative resource name of the zone, of the form:
     * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
     * </pre>
     *
     * <code>
     * string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
     * </code>
     *
     * @return The zone.
     */
    public java.lang.String getZone() {
      java.lang.Object ref = zone_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        zone_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Output only. The relative resource name of the zone, of the form:
     * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
     * </pre>
     *
     * <code>
     * string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
     * </code>
     *
     * @return The bytes for zone.
     */
    public com.google.protobuf.ByteString getZoneBytes() {
      java.lang.Object ref = zone_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        zone_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Output only. The relative resource name of the zone, of the form:
     * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
     * </pre>
     *
     * <code>
     * string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
     * </code>
     *
     * @param value The zone to set.
     * @return This builder for chaining.
     */
    public Builder setZone(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }
      zone_ = value;
      bitField0_ |= 0x00000020;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Output only. The relative resource name of the zone, of the form:
     * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
     * </pre>
     *
     * <code>
     * string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
     * </code>
     *
     * @return This builder for chaining.
     */
    public Builder clearZone() {
      zone_ = getDefaultInstance().getZone();
      bitField0_ = (bitField0_ & ~0x00000020);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Output only. The relative resource name of the zone, of the form:
     * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
     * </pre>
     *
     * <code>
     * string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
     * </code>
     *
     * @param value The bytes for zone to set.
     * @return This builder for chaining.
     */
    public Builder setZoneBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);
      zone_ = value;
      bitField0_ |= 0x00000020;
      onChanged();
      return this;
    }

    private java.lang.Object asset_ = "";
    /**
     *
     *
     * <pre>
     * Output only. The relative resource name of the asset, of the form:
     * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
     * </pre>
     *
     * <code>
     * string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
     * </code>
     *
     * @return The asset.
     */
    public java.lang.String getAsset() {
      java.lang.Object ref = asset_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        asset_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Output only. The relative resource name of the asset, of the form:
     * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
     * </pre>
     *
     * <code>
     * string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
     * </code>
     *
     * @return The bytes for asset.
     */
    public com.google.protobuf.ByteString getAssetBytes() {
      java.lang.Object ref = asset_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        asset_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Output only. The relative resource name of the asset, of the form:
     * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
     * </pre>
     *
     * <code>
     * string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
     * </code>
     *
     * @param value The asset to set.
     * @return This builder for chaining.
     */
    public Builder setAsset(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }
      asset_ = value;
      bitField0_ |= 0x00000040;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Output only. The relative resource name of the asset, of the form:
     * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
     * </pre>
     *
     * <code>
     * string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
     * </code>
     *
     * @return This builder for chaining.
     */
    public Builder clearAsset() {
      asset_ = getDefaultInstance().getAsset();
      bitField0_ = (bitField0_ & ~0x00000040);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Output only. The relative resource name of the asset, of the form:
     * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
     * </pre>
     *
     * <code>
     * string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
     * </code>
     *
     * @param value The bytes for asset to set.
     * @return This builder for chaining.
     */
    public Builder setAssetBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);
      asset_ = value;
      bitField0_ |= 0x00000040;
      onChanged();
      return this;
    }

    private com.google.protobuf.LazyStringList dataLocations_ =
        com.google.protobuf.LazyStringArrayList.EMPTY;

    private void ensureDataLocationsIsMutable() {
      if (!((bitField0_ & 0x00000080) != 0)) {
        dataLocations_ = new com.google.protobuf.LazyStringArrayList(dataLocations_);
        bitField0_ |= 0x00000080;
      }
    }
    /**
     *
     *
     * <pre>
     * The list of data locations associated with this action. Cloud Storage
     * locations are represented as URI paths(E.g.
     * `gs://bucket/table1/year=2020/month=Jan/`). BigQuery locations refer to
     * resource names(E.g.
     * `bigquery.googleapis.com/projects/project-id/datasets/dataset-id`).
     * </pre>
     *
     * <code>repeated string data_locations = 9;</code>
     *
     * @return A list containing the dataLocations.
     */
    public com.google.protobuf.ProtocolStringList getDataLocationsList() {
      return dataLocations_.getUnmodifiableView();
    }
    /**
     *
     *
     * <pre>
     * The list of data locations associated with this action. Cloud Storage
     * locations are represented as URI paths(E.g.
     * `gs://bucket/table1/year=2020/month=Jan/`). BigQuery locations refer to
     * resource names(E.g.
     * `bigquery.googleapis.com/projects/project-id/datasets/dataset-id`).
     * </pre>
     *
     * <code>repeated string data_locations = 9;</code>
     *
     * @return The count of dataLocations.
     */
    public int getDataLocationsCount() {
      return dataLocations_.size();
    }
    /**
     *
     *
     * <pre>
     * The list of data locations associated with this action. Cloud Storage
     * locations are represented as URI paths(E.g.
     * `gs://bucket/table1/year=2020/month=Jan/`). BigQuery locations refer to
     * resource names(E.g.
     * `bigquery.googleapis.com/projects/project-id/datasets/dataset-id`).
     * </pre>
     *
     * <code>repeated string data_locations = 9;</code>
     *
     * @param index The index of the element to return.
     * @return The dataLocations at the given index.
     */
    public java.lang.String getDataLocations(int index) {
      return dataLocations_.get(index);
    }
    /**
     *
     *
     * <pre>
     * The list of data locations associated with this action. Cloud Storage
     * locations are represented as URI paths(E.g.
     * `gs://bucket/table1/year=2020/month=Jan/`). BigQuery locations refer to
     * resource names(E.g.
     * `bigquery.googleapis.com/projects/project-id/datasets/dataset-id`).
     * </pre>
     *
     * <code>repeated string data_locations = 9;</code>
     *
     * @param index The index of the value to return.
     * @return The bytes of the dataLocations at the given index.
     */
    public com.google.protobuf.ByteString getDataLocationsBytes(int index) {
      return dataLocations_.getByteString(index);
    }
    /**
     *
     *
     * <pre>
     * The list of data locations associated with this action. Cloud Storage
     * locations are represented as URI paths(E.g.
     * `gs://bucket/table1/year=2020/month=Jan/`). BigQuery locations refer to
     * resource names(E.g.
     * `bigquery.googleapis.com/projects/project-id/datasets/dataset-id`).
     * </pre>
     *
     * <code>repeated string data_locations = 9;</code>
     *
     * @param index The index to set the value at.
     * @param value The dataLocations to set.
     * @return This builder for chaining.
     */
    public Builder setDataLocations(int index, java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }
      ensureDataLocationsIsMutable();
      dataLocations_.set(index, value);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * The list of data locations associated with this action. Cloud Storage
     * locations are represented as URI paths(E.g.
     * `gs://bucket/table1/year=2020/month=Jan/`). BigQuery locations refer to
     * resource names(E.g.
     * `bigquery.googleapis.com/projects/project-id/datasets/dataset-id`).
     * </pre>
     *
     * <code>repeated string data_locations = 9;</code>
     *
     * @param value The dataLocations to add.
     * @return This builder for chaining.
     */
    public Builder addDataLocations(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }
      ensureDataLocationsIsMutable();
      dataLocations_.add(value);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * The list of data locations associated with this action. Cloud Storage
     * locations are represented as URI paths(E.g.
     * `gs://bucket/table1/year=2020/month=Jan/`). BigQuery locations refer to
     * resource names(E.g.
     * `bigquery.googleapis.com/projects/project-id/datasets/dataset-id`).
     * </pre>
     *
     * <code>repeated string data_locations = 9;</code>
     *
     * @param values The dataLocations to add.
     * @return This builder for chaining.
     */
    public Builder addAllDataLocations(java.lang.Iterable<java.lang.String> values) {
      ensureDataLocationsIsMutable();
      com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dataLocations_);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * The list of data locations associated with this action. Cloud Storage
     * locations are represented as URI paths(E.g.
     * `gs://bucket/table1/year=2020/month=Jan/`). BigQuery locations refer to
     * resource names(E.g.
     * `bigquery.googleapis.com/projects/project-id/datasets/dataset-id`).
     * </pre>
     *
     * <code>repeated string data_locations = 9;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearDataLocations() {
      dataLocations_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      bitField0_ = (bitField0_ & ~0x00000080);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * The list of data locations associated with this action. Cloud Storage
     * locations are represented as URI paths(E.g.
     * `gs://bucket/table1/year=2020/month=Jan/`). BigQuery locations refer to
     * resource names(E.g.
     * `bigquery.googleapis.com/projects/project-id/datasets/dataset-id`).
     * </pre>
     *
     * <code>repeated string data_locations = 9;</code>
     *
     * @param value The bytes of the dataLocations to add.
     * @return This builder for chaining.
     */
    public Builder addDataLocationsBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);
      ensureDataLocationsIsMutable();
      dataLocations_.add(value);
      onChanged();
      return this;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.cloud.dataplex.v1.Action.InvalidDataFormat,
            com.google.cloud.dataplex.v1.Action.InvalidDataFormat.Builder,
            com.google.cloud.dataplex.v1.Action.InvalidDataFormatOrBuilder>
        invalidDataFormatBuilder_;
    /**
     *
     *
     * <pre>
     * Details for issues related to invalid or unsupported data formats.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.InvalidDataFormat invalid_data_format = 10;</code>
     *
     * @return Whether the invalidDataFormat field is set.
     */
    @java.lang.Override
    public boolean hasInvalidDataFormat() {
      return detailsCase_ == 10;
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to invalid or unsupported data formats.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.InvalidDataFormat invalid_data_format = 10;</code>
     *
     * @return The invalidDataFormat.
     */
    @java.lang.Override
    public com.google.cloud.dataplex.v1.Action.InvalidDataFormat getInvalidDataFormat() {
      if (invalidDataFormatBuilder_ == null) {
        if (detailsCase_ == 10) {
          return (com.google.cloud.dataplex.v1.Action.InvalidDataFormat) details_;
        }
        return com.google.cloud.dataplex.v1.Action.InvalidDataFormat.getDefaultInstance();
      } else {
        if (detailsCase_ == 10) {
          return invalidDataFormatBuilder_.getMessage();
        }
        return com.google.cloud.dataplex.v1.Action.InvalidDataFormat.getDefaultInstance();
      }
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to invalid or unsupported data formats.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.InvalidDataFormat invalid_data_format = 10;</code>
     */
    public Builder setInvalidDataFormat(
        com.google.cloud.dataplex.v1.Action.InvalidDataFormat value) {
      if (invalidDataFormatBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        details_ = value;
        onChanged();
      } else {
        invalidDataFormatBuilder_.setMessage(value);
      }
      detailsCase_ = 10;
      return this;
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to invalid or unsupported data formats.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.InvalidDataFormat invalid_data_format = 10;</code>
     */
    public Builder setInvalidDataFormat(
        com.google.cloud.dataplex.v1.Action.InvalidDataFormat.Builder builderForValue) {
      if (invalidDataFormatBuilder_ == null) {
        details_ = builderForValue.build();
        onChanged();
      } else {
        invalidDataFormatBuilder_.setMessage(builderForValue.build());
      }
      detailsCase_ = 10;
      return this;
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to invalid or unsupported data formats.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.InvalidDataFormat invalid_data_format = 10;</code>
     */
    public Builder mergeInvalidDataFormat(
        com.google.cloud.dataplex.v1.Action.InvalidDataFormat value) {
      if (invalidDataFormatBuilder_ == null) {
        if (detailsCase_ == 10
            && details_
                != com.google.cloud.dataplex.v1.Action.InvalidDataFormat.getDefaultInstance()) {
          details_ =
              com.google.cloud.dataplex.v1.Action.InvalidDataFormat.newBuilder(
                      (com.google.cloud.dataplex.v1.Action.InvalidDataFormat) details_)
                  .mergeFrom(value)
                  .buildPartial();
        } else {
          details_ = value;
        }
        onChanged();
      } else {
        if (detailsCase_ == 10) {
          invalidDataFormatBuilder_.mergeFrom(value);
        } else {
          invalidDataFormatBuilder_.setMessage(value);
        }
      }
      detailsCase_ = 10;
      return this;
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to invalid or unsupported data formats.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.InvalidDataFormat invalid_data_format = 10;</code>
     */
    public Builder clearInvalidDataFormat() {
      if (invalidDataFormatBuilder_ == null) {
        if (detailsCase_ == 10) {
          detailsCase_ = 0;
          details_ = null;
          onChanged();
        }
      } else {
        if (detailsCase_ == 10) {
          detailsCase_ = 0;
          details_ = null;
        }
        invalidDataFormatBuilder_.clear();
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to invalid or unsupported data formats.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.InvalidDataFormat invalid_data_format = 10;</code>
     */
    public com.google.cloud.dataplex.v1.Action.InvalidDataFormat.Builder
        getInvalidDataFormatBuilder() {
      return getInvalidDataFormatFieldBuilder().getBuilder();
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to invalid or unsupported data formats.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.InvalidDataFormat invalid_data_format = 10;</code>
     */
    @java.lang.Override
    public com.google.cloud.dataplex.v1.Action.InvalidDataFormatOrBuilder
        getInvalidDataFormatOrBuilder() {
      if ((detailsCase_ == 10) && (invalidDataFormatBuilder_ != null)) {
        return invalidDataFormatBuilder_.getMessageOrBuilder();
      } else {
        if (detailsCase_ == 10) {
          return (com.google.cloud.dataplex.v1.Action.InvalidDataFormat) details_;
        }
        return com.google.cloud.dataplex.v1.Action.InvalidDataFormat.getDefaultInstance();
      }
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to invalid or unsupported data formats.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.InvalidDataFormat invalid_data_format = 10;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.cloud.dataplex.v1.Action.InvalidDataFormat,
            com.google.cloud.dataplex.v1.Action.InvalidDataFormat.Builder,
            com.google.cloud.dataplex.v1.Action.InvalidDataFormatOrBuilder>
        getInvalidDataFormatFieldBuilder() {
      if (invalidDataFormatBuilder_ == null) {
        if (!(detailsCase_ == 10)) {
          details_ = com.google.cloud.dataplex.v1.Action.InvalidDataFormat.getDefaultInstance();
        }
        invalidDataFormatBuilder_ =
            new com.google.protobuf.SingleFieldBuilderV3<
                com.google.cloud.dataplex.v1.Action.InvalidDataFormat,
                com.google.cloud.dataplex.v1.Action.InvalidDataFormat.Builder,
                com.google.cloud.dataplex.v1.Action.InvalidDataFormatOrBuilder>(
                (com.google.cloud.dataplex.v1.Action.InvalidDataFormat) details_,
                getParentForChildren(),
                isClean());
        details_ = null;
      }
      detailsCase_ = 10;
      onChanged();
      return invalidDataFormatBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema,
            com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.Builder,
            com.google.cloud.dataplex.v1.Action.IncompatibleDataSchemaOrBuilder>
        incompatibleDataSchemaBuilder_;
    /**
     *
     *
     * <pre>
     * Details for issues related to incompatible schemas detected within data.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11;
     * </code>
     *
     * @return Whether the incompatibleDataSchema field is set.
     */
    @java.lang.Override
    public boolean hasIncompatibleDataSchema() {
      return detailsCase_ == 11;
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to incompatible schemas detected within data.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11;
     * </code>
     *
     * @return The incompatibleDataSchema.
     */
    @java.lang.Override
    public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema getIncompatibleDataSchema() {
      if (incompatibleDataSchemaBuilder_ == null) {
        if (detailsCase_ == 11) {
          return (com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema) details_;
        }
        return com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.getDefaultInstance();
      } else {
        if (detailsCase_ == 11) {
          return incompatibleDataSchemaBuilder_.getMessage();
        }
        return com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.getDefaultInstance();
      }
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to incompatible schemas detected within data.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11;
     * </code>
     */
    public Builder setIncompatibleDataSchema(
        com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema value) {
      if (incompatibleDataSchemaBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        details_ = value;
        onChanged();
      } else {
        incompatibleDataSchemaBuilder_.setMessage(value);
      }
      detailsCase_ = 11;
      return this;
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to incompatible schemas detected within data.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11;
     * </code>
     */
    public Builder setIncompatibleDataSchema(
        com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.Builder builderForValue) {
      if (incompatibleDataSchemaBuilder_ == null) {
        details_ = builderForValue.build();
        onChanged();
      } else {
        incompatibleDataSchemaBuilder_.setMessage(builderForValue.build());
      }
      detailsCase_ = 11;
      return this;
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to incompatible schemas detected within data.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11;
     * </code>
     */
    public Builder mergeIncompatibleDataSchema(
        com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema value) {
      if (incompatibleDataSchemaBuilder_ == null) {
        if (detailsCase_ == 11
            && details_
                != com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema
                    .getDefaultInstance()) {
          details_ =
              com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.newBuilder(
                      (com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema) details_)
                  .mergeFrom(value)
                  .buildPartial();
        } else {
          details_ = value;
        }
        onChanged();
      } else {
        if (detailsCase_ == 11) {
          incompatibleDataSchemaBuilder_.mergeFrom(value);
        } else {
          incompatibleDataSchemaBuilder_.setMessage(value);
        }
      }
      detailsCase_ = 11;
      return this;
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to incompatible schemas detected within data.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11;
     * </code>
     */
    public Builder clearIncompatibleDataSchema() {
      if (incompatibleDataSchemaBuilder_ == null) {
        if (detailsCase_ == 11) {
          detailsCase_ = 0;
          details_ = null;
          onChanged();
        }
      } else {
        if (detailsCase_ == 11) {
          detailsCase_ = 0;
          details_ = null;
        }
        incompatibleDataSchemaBuilder_.clear();
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to incompatible schemas detected within data.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11;
     * </code>
     */
    public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.Builder
        getIncompatibleDataSchemaBuilder() {
      return getIncompatibleDataSchemaFieldBuilder().getBuilder();
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to incompatible schemas detected within data.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11;
     * </code>
     */
    @java.lang.Override
    public com.google.cloud.dataplex.v1.Action.IncompatibleDataSchemaOrBuilder
        getIncompatibleDataSchemaOrBuilder() {
      if ((detailsCase_ == 11) && (incompatibleDataSchemaBuilder_ != null)) {
        return incompatibleDataSchemaBuilder_.getMessageOrBuilder();
      } else {
        if (detailsCase_ == 11) {
          return (com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema) details_;
        }
        return com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.getDefaultInstance();
      }
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to incompatible schemas detected within data.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11;
     * </code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema,
            com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.Builder,
            com.google.cloud.dataplex.v1.Action.IncompatibleDataSchemaOrBuilder>
        getIncompatibleDataSchemaFieldBuilder() {
      if (incompatibleDataSchemaBuilder_ == null) {
        if (!(detailsCase_ == 11)) {
          details_ =
              com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.getDefaultInstance();
        }
        incompatibleDataSchemaBuilder_ =
            new com.google.protobuf.SingleFieldBuilderV3<
                com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema,
                com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.Builder,
                com.google.cloud.dataplex.v1.Action.IncompatibleDataSchemaOrBuilder>(
                (com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema) details_,
                getParentForChildren(),
                isClean());
        details_ = null;
      }
      detailsCase_ = 11;
      onChanged();
      return incompatibleDataSchemaBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.cloud.dataplex.v1.Action.InvalidDataPartition,
            com.google.cloud.dataplex.v1.Action.InvalidDataPartition.Builder,
            com.google.cloud.dataplex.v1.Action.InvalidDataPartitionOrBuilder>
        invalidDataPartitionBuilder_;
    /**
     *
     *
     * <pre>
     * Details for issues related to invalid or unsupported data partition
     * structure.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12;
     * </code>
     *
     * @return Whether the invalidDataPartition field is set.
     */
    @java.lang.Override
    public boolean hasInvalidDataPartition() {
      return detailsCase_ == 12;
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to invalid or unsupported data partition
     * structure.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12;
     * </code>
     *
     * @return The invalidDataPartition.
     */
    @java.lang.Override
    public com.google.cloud.dataplex.v1.Action.InvalidDataPartition getInvalidDataPartition() {
      if (invalidDataPartitionBuilder_ == null) {
        if (detailsCase_ == 12) {
          return (com.google.cloud.dataplex.v1.Action.InvalidDataPartition) details_;
        }
        return com.google.cloud.dataplex.v1.Action.InvalidDataPartition.getDefaultInstance();
      } else {
        if (detailsCase_ == 12) {
          return invalidDataPartitionBuilder_.getMessage();
        }
        return com.google.cloud.dataplex.v1.Action.InvalidDataPartition.getDefaultInstance();
      }
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to invalid or unsupported data partition
     * structure.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12;
     * </code>
     */
    public Builder setInvalidDataPartition(
        com.google.cloud.dataplex.v1.Action.InvalidDataPartition value) {
      if (invalidDataPartitionBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        details_ = value;
        onChanged();
      } else {
        invalidDataPartitionBuilder_.setMessage(value);
      }
      detailsCase_ = 12;
      return this;
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to invalid or unsupported data partition
     * structure.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12;
     * </code>
     */
    public Builder setInvalidDataPartition(
        com.google.cloud.dataplex.v1.Action.InvalidDataPartition.Builder builderForValue) {
      if (invalidDataPartitionBuilder_ == null) {
        details_ = builderForValue.build();
        onChanged();
      } else {
        invalidDataPartitionBuilder_.setMessage(builderForValue.build());
      }
      detailsCase_ = 12;
      return this;
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to invalid or unsupported data partition
     * structure.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12;
     * </code>
     */
    public Builder mergeInvalidDataPartition(
        com.google.cloud.dataplex.v1.Action.InvalidDataPartition value) {
      if (invalidDataPartitionBuilder_ == null) {
        if (detailsCase_ == 12
            && details_
                != com.google.cloud.dataplex.v1.Action.InvalidDataPartition.getDefaultInstance()) {
          details_ =
              com.google.cloud.dataplex.v1.Action.InvalidDataPartition.newBuilder(
                      (com.google.cloud.dataplex.v1.Action.InvalidDataPartition) details_)
                  .mergeFrom(value)
                  .buildPartial();
        } else {
          details_ = value;
        }
        onChanged();
      } else {
        if (detailsCase_ == 12) {
          invalidDataPartitionBuilder_.mergeFrom(value);
        } else {
          invalidDataPartitionBuilder_.setMessage(value);
        }
      }
      detailsCase_ = 12;
      return this;
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to invalid or unsupported data partition
     * structure.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12;
     * </code>
     */
    public Builder clearInvalidDataPartition() {
      if (invalidDataPartitionBuilder_ == null) {
        if (detailsCase_ == 12) {
          detailsCase_ = 0;
          details_ = null;
          onChanged();
        }
      } else {
        if (detailsCase_ == 12) {
          detailsCase_ = 0;
          details_ = null;
        }
        invalidDataPartitionBuilder_.clear();
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to invalid or unsupported data partition
     * structure.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12;
     * </code>
     */
    public com.google.cloud.dataplex.v1.Action.InvalidDataPartition.Builder
        getInvalidDataPartitionBuilder() {
      return getInvalidDataPartitionFieldBuilder().getBuilder();
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to invalid or unsupported data partition
     * structure.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12;
     * </code>
     */
    @java.lang.Override
    public com.google.cloud.dataplex.v1.Action.InvalidDataPartitionOrBuilder
        getInvalidDataPartitionOrBuilder() {
      if ((detailsCase_ == 12) && (invalidDataPartitionBuilder_ != null)) {
        return invalidDataPartitionBuilder_.getMessageOrBuilder();
      } else {
        if (detailsCase_ == 12) {
          return (com.google.cloud.dataplex.v1.Action.InvalidDataPartition) details_;
        }
        return com.google.cloud.dataplex.v1.Action.InvalidDataPartition.getDefaultInstance();
      }
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to invalid or unsupported data partition
     * structure.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12;
     * </code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.cloud.dataplex.v1.Action.InvalidDataPartition,
            com.google.cloud.dataplex.v1.Action.InvalidDataPartition.Builder,
            com.google.cloud.dataplex.v1.Action.InvalidDataPartitionOrBuilder>
        getInvalidDataPartitionFieldBuilder() {
      if (invalidDataPartitionBuilder_ == null) {
        if (!(detailsCase_ == 12)) {
          details_ = com.google.cloud.dataplex.v1.Action.InvalidDataPartition.getDefaultInstance();
        }
        invalidDataPartitionBuilder_ =
            new com.google.protobuf.SingleFieldBuilderV3<
                com.google.cloud.dataplex.v1.Action.InvalidDataPartition,
                com.google.cloud.dataplex.v1.Action.InvalidDataPartition.Builder,
                com.google.cloud.dataplex.v1.Action.InvalidDataPartitionOrBuilder>(
                (com.google.cloud.dataplex.v1.Action.InvalidDataPartition) details_,
                getParentForChildren(),
                isClean());
        details_ = null;
      }
      detailsCase_ = 12;
      onChanged();
      return invalidDataPartitionBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.cloud.dataplex.v1.Action.MissingData,
            com.google.cloud.dataplex.v1.Action.MissingData.Builder,
            com.google.cloud.dataplex.v1.Action.MissingDataOrBuilder>
        missingDataBuilder_;
    /**
     *
     *
     * <pre>
     * Details for issues related to absence of data within managed resources.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.MissingData missing_data = 13;</code>
     *
     * @return Whether the missingData field is set.
     */
    @java.lang.Override
    public boolean hasMissingData() {
      return detailsCase_ == 13;
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to absence of data within managed resources.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.MissingData missing_data = 13;</code>
     *
     * @return The missingData.
     */
    @java.lang.Override
    public com.google.cloud.dataplex.v1.Action.MissingData getMissingData() {
      if (missingDataBuilder_ == null) {
        if (detailsCase_ == 13) {
          return (com.google.cloud.dataplex.v1.Action.MissingData) details_;
        }
        return com.google.cloud.dataplex.v1.Action.MissingData.getDefaultInstance();
      } else {
        if (detailsCase_ == 13) {
          return missingDataBuilder_.getMessage();
        }
        return com.google.cloud.dataplex.v1.Action.MissingData.getDefaultInstance();
      }
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to absence of data within managed resources.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.MissingData missing_data = 13;</code>
     */
    public Builder setMissingData(com.google.cloud.dataplex.v1.Action.MissingData value) {
      if (missingDataBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        details_ = value;
        onChanged();
      } else {
        missingDataBuilder_.setMessage(value);
      }
      detailsCase_ = 13;
      return this;
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to absence of data within managed resources.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.MissingData missing_data = 13;</code>
     */
    public Builder setMissingData(
        com.google.cloud.dataplex.v1.Action.MissingData.Builder builderForValue) {
      if (missingDataBuilder_ == null) {
        details_ = builderForValue.build();
        onChanged();
      } else {
        missingDataBuilder_.setMessage(builderForValue.build());
      }
      detailsCase_ = 13;
      return this;
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to absence of data within managed resources.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.MissingData missing_data = 13;</code>
     */
    public Builder mergeMissingData(com.google.cloud.dataplex.v1.Action.MissingData value) {
      if (missingDataBuilder_ == null) {
        if (detailsCase_ == 13
            && details_ != com.google.cloud.dataplex.v1.Action.MissingData.getDefaultInstance()) {
          details_ =
              com.google.cloud.dataplex.v1.Action.MissingData.newBuilder(
                      (com.google.cloud.dataplex.v1.Action.MissingData) details_)
                  .mergeFrom(value)
                  .buildPartial();
        } else {
          details_ = value;
        }
        onChanged();
      } else {
        if (detailsCase_ == 13) {
          missingDataBuilder_.mergeFrom(value);
        } else {
          missingDataBuilder_.setMessage(value);
        }
      }
      detailsCase_ = 13;
      return this;
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to absence of data within managed resources.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.MissingData missing_data = 13;</code>
     */
    public Builder clearMissingData() {
      if (missingDataBuilder_ == null) {
        if (detailsCase_ == 13) {
          detailsCase_ = 0;
          details_ = null;
          onChanged();
        }
      } else {
        if (detailsCase_ == 13) {
          detailsCase_ = 0;
          details_ = null;
        }
        missingDataBuilder_.clear();
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to absence of data within managed resources.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.MissingData missing_data = 13;</code>
     */
    public com.google.cloud.dataplex.v1.Action.MissingData.Builder getMissingDataBuilder() {
      return getMissingDataFieldBuilder().getBuilder();
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to absence of data within managed resources.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.MissingData missing_data = 13;</code>
     */
    @java.lang.Override
    public com.google.cloud.dataplex.v1.Action.MissingDataOrBuilder getMissingDataOrBuilder() {
      if ((detailsCase_ == 13) && (missingDataBuilder_ != null)) {
        return missingDataBuilder_.getMessageOrBuilder();
      } else {
        if (detailsCase_ == 13) {
          return (com.google.cloud.dataplex.v1.Action.MissingData) details_;
        }
        return com.google.cloud.dataplex.v1.Action.MissingData.getDefaultInstance();
      }
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to absence of data within managed resources.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.MissingData missing_data = 13;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.cloud.dataplex.v1.Action.MissingData,
            com.google.cloud.dataplex.v1.Action.MissingData.Builder,
            com.google.cloud.dataplex.v1.Action.MissingDataOrBuilder>
        getMissingDataFieldBuilder() {
      if (missingDataBuilder_ == null) {
        if (!(detailsCase_ == 13)) {
          details_ = com.google.cloud.dataplex.v1.Action.MissingData.getDefaultInstance();
        }
        missingDataBuilder_ =
            new com.google.protobuf.SingleFieldBuilderV3<
                com.google.cloud.dataplex.v1.Action.MissingData,
                com.google.cloud.dataplex.v1.Action.MissingData.Builder,
                com.google.cloud.dataplex.v1.Action.MissingDataOrBuilder>(
                (com.google.cloud.dataplex.v1.Action.MissingData) details_,
                getParentForChildren(),
                isClean());
        details_ = null;
      }
      detailsCase_ = 13;
      onChanged();
      return missingDataBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.cloud.dataplex.v1.Action.MissingResource,
            com.google.cloud.dataplex.v1.Action.MissingResource.Builder,
            com.google.cloud.dataplex.v1.Action.MissingResourceOrBuilder>
        missingResourceBuilder_;
    /**
     *
     *
     * <pre>
     * Details for issues related to absence of a managed resource.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.MissingResource missing_resource = 14;</code>
     *
     * @return Whether the missingResource field is set.
     */
    @java.lang.Override
    public boolean hasMissingResource() {
      return detailsCase_ == 14;
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to absence of a managed resource.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.MissingResource missing_resource = 14;</code>
     *
     * @return The missingResource.
     */
    @java.lang.Override
    public com.google.cloud.dataplex.v1.Action.MissingResource getMissingResource() {
      if (missingResourceBuilder_ == null) {
        if (detailsCase_ == 14) {
          return (com.google.cloud.dataplex.v1.Action.MissingResource) details_;
        }
        return com.google.cloud.dataplex.v1.Action.MissingResource.getDefaultInstance();
      } else {
        if (detailsCase_ == 14) {
          return missingResourceBuilder_.getMessage();
        }
        return com.google.cloud.dataplex.v1.Action.MissingResource.getDefaultInstance();
      }
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to absence of a managed resource.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.MissingResource missing_resource = 14;</code>
     */
    public Builder setMissingResource(com.google.cloud.dataplex.v1.Action.MissingResource value) {
      if (missingResourceBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        details_ = value;
        onChanged();
      } else {
        missingResourceBuilder_.setMessage(value);
      }
      detailsCase_ = 14;
      return this;
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to absence of a managed resource.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.MissingResource missing_resource = 14;</code>
     */
    public Builder setMissingResource(
        com.google.cloud.dataplex.v1.Action.MissingResource.Builder builderForValue) {
      if (missingResourceBuilder_ == null) {
        details_ = builderForValue.build();
        onChanged();
      } else {
        missingResourceBuilder_.setMessage(builderForValue.build());
      }
      detailsCase_ = 14;
      return this;
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to absence of a managed resource.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.MissingResource missing_resource = 14;</code>
     */
    public Builder mergeMissingResource(com.google.cloud.dataplex.v1.Action.MissingResource value) {
      if (missingResourceBuilder_ == null) {
        if (detailsCase_ == 14
            && details_
                != com.google.cloud.dataplex.v1.Action.MissingResource.getDefaultInstance()) {
          details_ =
              com.google.cloud.dataplex.v1.Action.MissingResource.newBuilder(
                      (com.google.cloud.dataplex.v1.Action.MissingResource) details_)
                  .mergeFrom(value)
                  .buildPartial();
        } else {
          details_ = value;
        }
        onChanged();
      } else {
        if (detailsCase_ == 14) {
          missingResourceBuilder_.mergeFrom(value);
        } else {
          missingResourceBuilder_.setMessage(value);
        }
      }
      detailsCase_ = 14;
      return this;
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to absence of a managed resource.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.MissingResource missing_resource = 14;</code>
     */
    public Builder clearMissingResource() {
      if (missingResourceBuilder_ == null) {
        if (detailsCase_ == 14) {
          detailsCase_ = 0;
          details_ = null;
          onChanged();
        }
      } else {
        if (detailsCase_ == 14) {
          detailsCase_ = 0;
          details_ = null;
        }
        missingResourceBuilder_.clear();
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to absence of a managed resource.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.MissingResource missing_resource = 14;</code>
     */
    public com.google.cloud.dataplex.v1.Action.MissingResource.Builder getMissingResourceBuilder() {
      return getMissingResourceFieldBuilder().getBuilder();
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to absence of a managed resource.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.MissingResource missing_resource = 14;</code>
     */
    @java.lang.Override
    public com.google.cloud.dataplex.v1.Action.MissingResourceOrBuilder
        getMissingResourceOrBuilder() {
      if ((detailsCase_ == 14) && (missingResourceBuilder_ != null)) {
        return missingResourceBuilder_.getMessageOrBuilder();
      } else {
        if (detailsCase_ == 14) {
          return (com.google.cloud.dataplex.v1.Action.MissingResource) details_;
        }
        return com.google.cloud.dataplex.v1.Action.MissingResource.getDefaultInstance();
      }
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to absence of a managed resource.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.MissingResource missing_resource = 14;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.cloud.dataplex.v1.Action.MissingResource,
            com.google.cloud.dataplex.v1.Action.MissingResource.Builder,
            com.google.cloud.dataplex.v1.Action.MissingResourceOrBuilder>
        getMissingResourceFieldBuilder() {
      if (missingResourceBuilder_ == null) {
        if (!(detailsCase_ == 14)) {
          details_ = com.google.cloud.dataplex.v1.Action.MissingResource.getDefaultInstance();
        }
        missingResourceBuilder_ =
            new com.google.protobuf.SingleFieldBuilderV3<
                com.google.cloud.dataplex.v1.Action.MissingResource,
                com.google.cloud.dataplex.v1.Action.MissingResource.Builder,
                com.google.cloud.dataplex.v1.Action.MissingResourceOrBuilder>(
                (com.google.cloud.dataplex.v1.Action.MissingResource) details_,
                getParentForChildren(),
                isClean());
        details_ = null;
      }
      detailsCase_ = 14;
      onChanged();
      return missingResourceBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.cloud.dataplex.v1.Action.UnauthorizedResource,
            com.google.cloud.dataplex.v1.Action.UnauthorizedResource.Builder,
            com.google.cloud.dataplex.v1.Action.UnauthorizedResourceOrBuilder>
        unauthorizedResourceBuilder_;
    /**
     *
     *
     * <pre>
     * Details for issues related to lack of permissions to access data
     * resources.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15;
     * </code>
     *
     * @return Whether the unauthorizedResource field is set.
     */
    @java.lang.Override
    public boolean hasUnauthorizedResource() {
      return detailsCase_ == 15;
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to lack of permissions to access data
     * resources.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15;
     * </code>
     *
     * @return The unauthorizedResource.
     */
    @java.lang.Override
    public com.google.cloud.dataplex.v1.Action.UnauthorizedResource getUnauthorizedResource() {
      if (unauthorizedResourceBuilder_ == null) {
        if (detailsCase_ == 15) {
          return (com.google.cloud.dataplex.v1.Action.UnauthorizedResource) details_;
        }
        return com.google.cloud.dataplex.v1.Action.UnauthorizedResource.getDefaultInstance();
      } else {
        if (detailsCase_ == 15) {
          return unauthorizedResourceBuilder_.getMessage();
        }
        return com.google.cloud.dataplex.v1.Action.UnauthorizedResource.getDefaultInstance();
      }
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to lack of permissions to access data
     * resources.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15;
     * </code>
     */
    public Builder setUnauthorizedResource(
        com.google.cloud.dataplex.v1.Action.UnauthorizedResource value) {
      if (unauthorizedResourceBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        details_ = value;
        onChanged();
      } else {
        unauthorizedResourceBuilder_.setMessage(value);
      }
      detailsCase_ = 15;
      return this;
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to lack of permissions to access data
     * resources.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15;
     * </code>
     */
    public Builder setUnauthorizedResource(
        com.google.cloud.dataplex.v1.Action.UnauthorizedResource.Builder builderForValue) {
      if (unauthorizedResourceBuilder_ == null) {
        details_ = builderForValue.build();
        onChanged();
      } else {
        unauthorizedResourceBuilder_.setMessage(builderForValue.build());
      }
      detailsCase_ = 15;
      return this;
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to lack of permissions to access data
     * resources.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15;
     * </code>
     */
    public Builder mergeUnauthorizedResource(
        com.google.cloud.dataplex.v1.Action.UnauthorizedResource value) {
      if (unauthorizedResourceBuilder_ == null) {
        if (detailsCase_ == 15
            && details_
                != com.google.cloud.dataplex.v1.Action.UnauthorizedResource.getDefaultInstance()) {
          details_ =
              com.google.cloud.dataplex.v1.Action.UnauthorizedResource.newBuilder(
                      (com.google.cloud.dataplex.v1.Action.UnauthorizedResource) details_)
                  .mergeFrom(value)
                  .buildPartial();
        } else {
          details_ = value;
        }
        onChanged();
      } else {
        if (detailsCase_ == 15) {
          unauthorizedResourceBuilder_.mergeFrom(value);
        } else {
          unauthorizedResourceBuilder_.setMessage(value);
        }
      }
      detailsCase_ = 15;
      return this;
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to lack of permissions to access data
     * resources.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15;
     * </code>
     */
    public Builder clearUnauthorizedResource() {
      if (unauthorizedResourceBuilder_ == null) {
        if (detailsCase_ == 15) {
          detailsCase_ = 0;
          details_ = null;
          onChanged();
        }
      } else {
        if (detailsCase_ == 15) {
          detailsCase_ = 0;
          details_ = null;
        }
        unauthorizedResourceBuilder_.clear();
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to lack of permissions to access data
     * resources.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15;
     * </code>
     */
    public com.google.cloud.dataplex.v1.Action.UnauthorizedResource.Builder
        getUnauthorizedResourceBuilder() {
      return getUnauthorizedResourceFieldBuilder().getBuilder();
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to lack of permissions to access data
     * resources.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15;
     * </code>
     */
    @java.lang.Override
    public com.google.cloud.dataplex.v1.Action.UnauthorizedResourceOrBuilder
        getUnauthorizedResourceOrBuilder() {
      if ((detailsCase_ == 15) && (unauthorizedResourceBuilder_ != null)) {
        return unauthorizedResourceBuilder_.getMessageOrBuilder();
      } else {
        if (detailsCase_ == 15) {
          return (com.google.cloud.dataplex.v1.Action.UnauthorizedResource) details_;
        }
        return com.google.cloud.dataplex.v1.Action.UnauthorizedResource.getDefaultInstance();
      }
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to lack of permissions to access data
     * resources.
     * </pre>
     *
     * <code>.google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15;
     * </code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.cloud.dataplex.v1.Action.UnauthorizedResource,
            com.google.cloud.dataplex.v1.Action.UnauthorizedResource.Builder,
            com.google.cloud.dataplex.v1.Action.UnauthorizedResourceOrBuilder>
        getUnauthorizedResourceFieldBuilder() {
      if (unauthorizedResourceBuilder_ == null) {
        if (!(detailsCase_ == 15)) {
          details_ = com.google.cloud.dataplex.v1.Action.UnauthorizedResource.getDefaultInstance();
        }
        unauthorizedResourceBuilder_ =
            new com.google.protobuf.SingleFieldBuilderV3<
                com.google.cloud.dataplex.v1.Action.UnauthorizedResource,
                com.google.cloud.dataplex.v1.Action.UnauthorizedResource.Builder,
                com.google.cloud.dataplex.v1.Action.UnauthorizedResourceOrBuilder>(
                (com.google.cloud.dataplex.v1.Action.UnauthorizedResource) details_,
                getParentForChildren(),
                isClean());
        details_ = null;
      }
      detailsCase_ = 15;
      onChanged();
      return unauthorizedResourceBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply,
            com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.Builder,
            com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApplyOrBuilder>
        failedSecurityPolicyApplyBuilder_;
    /**
     *
     *
     * <pre>
     * Details for issues related to applying security policy.
     * </pre>
     *
     * <code>
     * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21;
     * </code>
     *
     * @return Whether the failedSecurityPolicyApply field is set.
     */
    @java.lang.Override
    public boolean hasFailedSecurityPolicyApply() {
      return detailsCase_ == 21;
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to applying security policy.
     * </pre>
     *
     * <code>
     * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21;
     * </code>
     *
     * @return The failedSecurityPolicyApply.
     */
    @java.lang.Override
    public com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply
        getFailedSecurityPolicyApply() {
      if (failedSecurityPolicyApplyBuilder_ == null) {
        if (detailsCase_ == 21) {
          return (com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) details_;
        }
        return com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.getDefaultInstance();
      } else {
        if (detailsCase_ == 21) {
          return failedSecurityPolicyApplyBuilder_.getMessage();
        }
        return com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.getDefaultInstance();
      }
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to applying security policy.
     * </pre>
     *
     * <code>
     * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21;
     * </code>
     */
    public Builder setFailedSecurityPolicyApply(
        com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply value) {
      if (failedSecurityPolicyApplyBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        details_ = value;
        onChanged();
      } else {
        failedSecurityPolicyApplyBuilder_.setMessage(value);
      }
      detailsCase_ = 21;
      return this;
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to applying security policy.
     * </pre>
     *
     * <code>
     * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21;
     * </code>
     */
    public Builder setFailedSecurityPolicyApply(
        com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.Builder builderForValue) {
      if (failedSecurityPolicyApplyBuilder_ == null) {
        details_ = builderForValue.build();
        onChanged();
      } else {
        failedSecurityPolicyApplyBuilder_.setMessage(builderForValue.build());
      }
      detailsCase_ = 21;
      return this;
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to applying security policy.
     * </pre>
     *
     * <code>
     * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21;
     * </code>
     */
    public Builder mergeFailedSecurityPolicyApply(
        com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply value) {
      if (failedSecurityPolicyApplyBuilder_ == null) {
        if (detailsCase_ == 21
            && details_
                != com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply
                    .getDefaultInstance()) {
          details_ =
              com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.newBuilder(
                      (com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) details_)
                  .mergeFrom(value)
                  .buildPartial();
        } else {
          details_ = value;
        }
        onChanged();
      } else {
        if (detailsCase_ == 21) {
          failedSecurityPolicyApplyBuilder_.mergeFrom(value);
        } else {
          failedSecurityPolicyApplyBuilder_.setMessage(value);
        }
      }
      detailsCase_ = 21;
      return this;
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to applying security policy.
     * </pre>
     *
     * <code>
     * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21;
     * </code>
     */
    public Builder clearFailedSecurityPolicyApply() {
      if (failedSecurityPolicyApplyBuilder_ == null) {
        if (detailsCase_ == 21) {
          detailsCase_ = 0;
          details_ = null;
          onChanged();
        }
      } else {
        if (detailsCase_ == 21) {
          detailsCase_ = 0;
          details_ = null;
        }
        failedSecurityPolicyApplyBuilder_.clear();
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to applying security policy.
     * </pre>
     *
     * <code>
     * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21;
     * </code>
     */
    public com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.Builder
        getFailedSecurityPolicyApplyBuilder() {
      return getFailedSecurityPolicyApplyFieldBuilder().getBuilder();
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to applying security policy.
     * </pre>
     *
     * <code>
     * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21;
     * </code>
     */
    @java.lang.Override
    public com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApplyOrBuilder
        getFailedSecurityPolicyApplyOrBuilder() {
      if ((detailsCase_ == 21) && (failedSecurityPolicyApplyBuilder_ != null)) {
        return failedSecurityPolicyApplyBuilder_.getMessageOrBuilder();
      } else {
        if (detailsCase_ == 21) {
          return (com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) details_;
        }
        return com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.getDefaultInstance();
      }
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to applying security policy.
     * </pre>
     *
     * <code>
     * .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21;
     * </code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply,
            com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.Builder,
            com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApplyOrBuilder>
        getFailedSecurityPolicyApplyFieldBuilder() {
      if (failedSecurityPolicyApplyBuilder_ == null) {
        if (!(detailsCase_ == 21)) {
          details_ =
              com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.getDefaultInstance();
        }
        failedSecurityPolicyApplyBuilder_ =
            new com.google.protobuf.SingleFieldBuilderV3<
                com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply,
                com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.Builder,
                com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApplyOrBuilder>(
                (com.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply) details_,
                getParentForChildren(),
                isClean());
        details_ = null;
      }
      detailsCase_ = 21;
      onChanged();
      return failedSecurityPolicyApplyBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.cloud.dataplex.v1.Action.InvalidDataOrganization,
            com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.Builder,
            com.google.cloud.dataplex.v1.Action.InvalidDataOrganizationOrBuilder>
        invalidDataOrganizationBuilder_;
    /**
     *
     *
     * <pre>
     * Details for issues related to invalid data arrangement.
     * </pre>
     *
     * <code>
     * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22;
     * </code>
     *
     * @return Whether the invalidDataOrganization field is set.
     */
    @java.lang.Override
    public boolean hasInvalidDataOrganization() {
      return detailsCase_ == 22;
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to invalid data arrangement.
     * </pre>
     *
     * <code>
     * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22;
     * </code>
     *
     * @return The invalidDataOrganization.
     */
    @java.lang.Override
    public com.google.cloud.dataplex.v1.Action.InvalidDataOrganization
        getInvalidDataOrganization() {
      if (invalidDataOrganizationBuilder_ == null) {
        if (detailsCase_ == 22) {
          return (com.google.cloud.dataplex.v1.Action.InvalidDataOrganization) details_;
        }
        return com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.getDefaultInstance();
      } else {
        if (detailsCase_ == 22) {
          return invalidDataOrganizationBuilder_.getMessage();
        }
        return com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.getDefaultInstance();
      }
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to invalid data arrangement.
     * </pre>
     *
     * <code>
     * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22;
     * </code>
     */
    public Builder setInvalidDataOrganization(
        com.google.cloud.dataplex.v1.Action.InvalidDataOrganization value) {
      if (invalidDataOrganizationBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        details_ = value;
        onChanged();
      } else {
        invalidDataOrganizationBuilder_.setMessage(value);
      }
      detailsCase_ = 22;
      return this;
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to invalid data arrangement.
     * </pre>
     *
     * <code>
     * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22;
     * </code>
     */
    public Builder setInvalidDataOrganization(
        com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.Builder builderForValue) {
      if (invalidDataOrganizationBuilder_ == null) {
        details_ = builderForValue.build();
        onChanged();
      } else {
        invalidDataOrganizationBuilder_.setMessage(builderForValue.build());
      }
      detailsCase_ = 22;
      return this;
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to invalid data arrangement.
     * </pre>
     *
     * <code>
     * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22;
     * </code>
     */
    public Builder mergeInvalidDataOrganization(
        com.google.cloud.dataplex.v1.Action.InvalidDataOrganization value) {
      if (invalidDataOrganizationBuilder_ == null) {
        if (detailsCase_ == 22
            && details_
                != com.google.cloud.dataplex.v1.Action.InvalidDataOrganization
                    .getDefaultInstance()) {
          details_ =
              com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.newBuilder(
                      (com.google.cloud.dataplex.v1.Action.InvalidDataOrganization) details_)
                  .mergeFrom(value)
                  .buildPartial();
        } else {
          details_ = value;
        }
        onChanged();
      } else {
        if (detailsCase_ == 22) {
          invalidDataOrganizationBuilder_.mergeFrom(value);
        } else {
          invalidDataOrganizationBuilder_.setMessage(value);
        }
      }
      detailsCase_ = 22;
      return this;
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to invalid data arrangement.
     * </pre>
     *
     * <code>
     * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22;
     * </code>
     */
    public Builder clearInvalidDataOrganization() {
      if (invalidDataOrganizationBuilder_ == null) {
        if (detailsCase_ == 22) {
          detailsCase_ = 0;
          details_ = null;
          onChanged();
        }
      } else {
        if (detailsCase_ == 22) {
          detailsCase_ = 0;
          details_ = null;
        }
        invalidDataOrganizationBuilder_.clear();
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to invalid data arrangement.
     * </pre>
     *
     * <code>
     * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22;
     * </code>
     */
    public com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.Builder
        getInvalidDataOrganizationBuilder() {
      return getInvalidDataOrganizationFieldBuilder().getBuilder();
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to invalid data arrangement.
     * </pre>
     *
     * <code>
     * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22;
     * </code>
     */
    @java.lang.Override
    public com.google.cloud.dataplex.v1.Action.InvalidDataOrganizationOrBuilder
        getInvalidDataOrganizationOrBuilder() {
      if ((detailsCase_ == 22) && (invalidDataOrganizationBuilder_ != null)) {
        return invalidDataOrganizationBuilder_.getMessageOrBuilder();
      } else {
        if (detailsCase_ == 22) {
          return (com.google.cloud.dataplex.v1.Action.InvalidDataOrganization) details_;
        }
        return com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.getDefaultInstance();
      }
    }
    /**
     *
     *
     * <pre>
     * Details for issues related to invalid data arrangement.
     * </pre>
     *
     * <code>
     * .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22;
     * </code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.cloud.dataplex.v1.Action.InvalidDataOrganization,
            com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.Builder,
            com.google.cloud.dataplex.v1.Action.InvalidDataOrganizationOrBuilder>
        getInvalidDataOrganizationFieldBuilder() {
      if (invalidDataOrganizationBuilder_ == null) {
        if (!(detailsCase_ == 22)) {
          details_ =
              com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.getDefaultInstance();
        }
        invalidDataOrganizationBuilder_ =
            new com.google.protobuf.SingleFieldBuilderV3<
                com.google.cloud.dataplex.v1.Action.InvalidDataOrganization,
                com.google.cloud.dataplex.v1.Action.InvalidDataOrganization.Builder,
                com.google.cloud.dataplex.v1.Action.InvalidDataOrganizationOrBuilder>(
                (com.google.cloud.dataplex.v1.Action.InvalidDataOrganization) details_,
                getParentForChildren(),
                isClean());
        details_ = null;
      }
      detailsCase_ = 22;
      onChanged();
      return invalidDataOrganizationBuilder_;
    }

    @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:google.cloud.dataplex.v1.Action)
  }

  // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Action)
  private static final com.google.cloud.dataplex.v1.Action DEFAULT_INSTANCE;

  static {
    DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Action();
  }

  public static com.google.cloud.dataplex.v1.Action getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser<Action> PARSER =
      new com.google.protobuf.AbstractParser<Action>() {
        @java.lang.Override
        public Action parsePartialFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          Builder builder = newBuilder();
          try {
            builder.mergeFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            throw e.setUnfinishedMessage(builder.buildPartial());
          } catch (com.google.protobuf.UninitializedMessageException e) {
            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
          } catch (java.io.IOException e) {
            throw new com.google.protobuf.InvalidProtocolBufferException(e)
                .setUnfinishedMessage(builder.buildPartial());
          }
          return builder.buildPartial();
        }
      };

  public static com.google.protobuf.Parser<Action> parser() {
    return PARSER;
  }

  @java.lang.Override
  public com.google.protobuf.Parser<Action> getParserForType() {
    return PARSER;
  }

  @java.lang.Override
  public com.google.cloud.dataplex.v1.Action getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }
}
