// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: wso2/discovery/api/Resource.proto

package org.wso2.choreo.connect.discovery.api;

/**
 * <pre>
 * Operation model which maps to a particular http methods
 * </pre>
 *
 * Protobuf type {@code wso2.discovery.api.Operation}
 */
public final class Operation extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:wso2.discovery.api.Operation)
    OperationOrBuilder {
private static final long serialVersionUID = 0L;
  // Use Operation.newBuilder() to construct.
  private Operation(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private Operation() {
    method_ = "";
    security_ = java.util.Collections.emptyList();
    tier_ = "";
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private Operation(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new java.lang.NullPointerException();
    }
    int mutable_bitField0_ = 0;
    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
        com.google.protobuf.UnknownFieldSet.newBuilder();
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          case 10: {
            java.lang.String s = input.readStringRequireUtf8();

            method_ = s;
            break;
          }
          case 18: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              security_ = new java.util.ArrayList<org.wso2.choreo.connect.discovery.api.SecurityList>();
              mutable_bitField0_ |= 0x00000001;
            }
            security_.add(
                input.readMessage(org.wso2.choreo.connect.discovery.api.SecurityList.parser(), extensionRegistry));
            break;
          }
          case 26: {
            java.lang.String s = input.readStringRequireUtf8();

            tier_ = s;
            break;
          }
          case 32: {

            disableSecurity_ = input.readBool();
            break;
          }
          case 42: {
            org.wso2.choreo.connect.discovery.api.OperationPolicies.Builder subBuilder = null;
            if (policies_ != null) {
              subBuilder = policies_.toBuilder();
            }
            policies_ = input.readMessage(org.wso2.choreo.connect.discovery.api.OperationPolicies.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(policies_);
              policies_ = subBuilder.buildPartial();
            }

            break;
          }
          case 50: {
            org.wso2.choreo.connect.discovery.api.MockedApiConfig.Builder subBuilder = null;
            if (mockedApiConfig_ != null) {
              subBuilder = mockedApiConfig_.toBuilder();
            }
            mockedApiConfig_ = input.readMessage(org.wso2.choreo.connect.discovery.api.MockedApiConfig.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(mockedApiConfig_);
              mockedApiConfig_ = subBuilder.buildPartial();
            }

            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      if (((mutable_bitField0_ & 0x00000001) != 0)) {
        security_ = java.util.Collections.unmodifiableList(security_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return org.wso2.choreo.connect.discovery.api.ResourceProto.internal_static_wso2_discovery_api_Operation_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return org.wso2.choreo.connect.discovery.api.ResourceProto.internal_static_wso2_discovery_api_Operation_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            org.wso2.choreo.connect.discovery.api.Operation.class, org.wso2.choreo.connect.discovery.api.Operation.Builder.class);
  }

  public static final int METHOD_FIELD_NUMBER = 1;
  private volatile java.lang.Object method_;
  /**
   * <code>string method = 1;</code>
   * @return The method.
   */
  @java.lang.Override
  public java.lang.String getMethod() {
    java.lang.Object ref = method_;
    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();
      method_ = s;
      return s;
    }
  }
  /**
   * <code>string method = 1;</code>
   * @return The bytes for method.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getMethodBytes() {
    java.lang.Object ref = method_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      method_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int SECURITY_FIELD_NUMBER = 2;
  private java.util.List<org.wso2.choreo.connect.discovery.api.SecurityList> security_;
  /**
   * <code>repeated .wso2.discovery.api.SecurityList security = 2;</code>
   */
  @java.lang.Override
  public java.util.List<org.wso2.choreo.connect.discovery.api.SecurityList> getSecurityList() {
    return security_;
  }
  /**
   * <code>repeated .wso2.discovery.api.SecurityList security = 2;</code>
   */
  @java.lang.Override
  public java.util.List<? extends org.wso2.choreo.connect.discovery.api.SecurityListOrBuilder> 
      getSecurityOrBuilderList() {
    return security_;
  }
  /**
   * <code>repeated .wso2.discovery.api.SecurityList security = 2;</code>
   */
  @java.lang.Override
  public int getSecurityCount() {
    return security_.size();
  }
  /**
   * <code>repeated .wso2.discovery.api.SecurityList security = 2;</code>
   */
  @java.lang.Override
  public org.wso2.choreo.connect.discovery.api.SecurityList getSecurity(int index) {
    return security_.get(index);
  }
  /**
   * <code>repeated .wso2.discovery.api.SecurityList security = 2;</code>
   */
  @java.lang.Override
  public org.wso2.choreo.connect.discovery.api.SecurityListOrBuilder getSecurityOrBuilder(
      int index) {
    return security_.get(index);
  }

  public static final int TIER_FIELD_NUMBER = 3;
  private volatile java.lang.Object tier_;
  /**
   * <code>string tier = 3;</code>
   * @return The tier.
   */
  @java.lang.Override
  public java.lang.String getTier() {
    java.lang.Object ref = tier_;
    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();
      tier_ = s;
      return s;
    }
  }
  /**
   * <code>string tier = 3;</code>
   * @return The bytes for tier.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getTierBytes() {
    java.lang.Object ref = tier_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      tier_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DISABLESECURITY_FIELD_NUMBER = 4;
  private boolean disableSecurity_;
  /**
   * <code>bool disableSecurity = 4;</code>
   * @return The disableSecurity.
   */
  @java.lang.Override
  public boolean getDisableSecurity() {
    return disableSecurity_;
  }

  public static final int POLICIES_FIELD_NUMBER = 5;
  private org.wso2.choreo.connect.discovery.api.OperationPolicies policies_;
  /**
   * <code>.wso2.discovery.api.OperationPolicies policies = 5;</code>
   * @return Whether the policies field is set.
   */
  @java.lang.Override
  public boolean hasPolicies() {
    return policies_ != null;
  }
  /**
   * <code>.wso2.discovery.api.OperationPolicies policies = 5;</code>
   * @return The policies.
   */
  @java.lang.Override
  public org.wso2.choreo.connect.discovery.api.OperationPolicies getPolicies() {
    return policies_ == null ? org.wso2.choreo.connect.discovery.api.OperationPolicies.getDefaultInstance() : policies_;
  }
  /**
   * <code>.wso2.discovery.api.OperationPolicies policies = 5;</code>
   */
  @java.lang.Override
  public org.wso2.choreo.connect.discovery.api.OperationPoliciesOrBuilder getPoliciesOrBuilder() {
    return getPolicies();
  }

  public static final int MOCKEDAPICONFIG_FIELD_NUMBER = 6;
  private org.wso2.choreo.connect.discovery.api.MockedApiConfig mockedApiConfig_;
  /**
   * <code>.wso2.discovery.api.MockedApiConfig mockedApiConfig = 6;</code>
   * @return Whether the mockedApiConfig field is set.
   */
  @java.lang.Override
  public boolean hasMockedApiConfig() {
    return mockedApiConfig_ != null;
  }
  /**
   * <code>.wso2.discovery.api.MockedApiConfig mockedApiConfig = 6;</code>
   * @return The mockedApiConfig.
   */
  @java.lang.Override
  public org.wso2.choreo.connect.discovery.api.MockedApiConfig getMockedApiConfig() {
    return mockedApiConfig_ == null ? org.wso2.choreo.connect.discovery.api.MockedApiConfig.getDefaultInstance() : mockedApiConfig_;
  }
  /**
   * <code>.wso2.discovery.api.MockedApiConfig mockedApiConfig = 6;</code>
   */
  @java.lang.Override
  public org.wso2.choreo.connect.discovery.api.MockedApiConfigOrBuilder getMockedApiConfigOrBuilder() {
    return getMockedApiConfig();
  }

  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 (!getMethodBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, method_);
    }
    for (int i = 0; i < security_.size(); i++) {
      output.writeMessage(2, security_.get(i));
    }
    if (!getTierBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, tier_);
    }
    if (disableSecurity_ != false) {
      output.writeBool(4, disableSecurity_);
    }
    if (policies_ != null) {
      output.writeMessage(5, getPolicies());
    }
    if (mockedApiConfig_ != null) {
      output.writeMessage(6, getMockedApiConfig());
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (!getMethodBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, method_);
    }
    for (int i = 0; i < security_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(2, security_.get(i));
    }
    if (!getTierBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, tier_);
    }
    if (disableSecurity_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(4, disableSecurity_);
    }
    if (policies_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(5, getPolicies());
    }
    if (mockedApiConfig_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(6, getMockedApiConfig());
    }
    size += unknownFields.getSerializedSize();
    memoizedSize = size;
    return size;
  }

  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof org.wso2.choreo.connect.discovery.api.Operation)) {
      return super.equals(obj);
    }
    org.wso2.choreo.connect.discovery.api.Operation other = (org.wso2.choreo.connect.discovery.api.Operation) obj;

    if (!getMethod()
        .equals(other.getMethod())) return false;
    if (!getSecurityList()
        .equals(other.getSecurityList())) return false;
    if (!getTier()
        .equals(other.getTier())) return false;
    if (getDisableSecurity()
        != other.getDisableSecurity()) return false;
    if (hasPolicies() != other.hasPolicies()) return false;
    if (hasPolicies()) {
      if (!getPolicies()
          .equals(other.getPolicies())) return false;
    }
    if (hasMockedApiConfig() != other.hasMockedApiConfig()) return false;
    if (hasMockedApiConfig()) {
      if (!getMockedApiConfig()
          .equals(other.getMockedApiConfig())) return false;
    }
    if (!unknownFields.equals(other.unknownFields)) return false;
    return true;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + METHOD_FIELD_NUMBER;
    hash = (53 * hash) + getMethod().hashCode();
    if (getSecurityCount() > 0) {
      hash = (37 * hash) + SECURITY_FIELD_NUMBER;
      hash = (53 * hash) + getSecurityList().hashCode();
    }
    hash = (37 * hash) + TIER_FIELD_NUMBER;
    hash = (53 * hash) + getTier().hashCode();
    hash = (37 * hash) + DISABLESECURITY_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getDisableSecurity());
    if (hasPolicies()) {
      hash = (37 * hash) + POLICIES_FIELD_NUMBER;
      hash = (53 * hash) + getPolicies().hashCode();
    }
    if (hasMockedApiConfig()) {
      hash = (37 * hash) + MOCKEDAPICONFIG_FIELD_NUMBER;
      hash = (53 * hash) + getMockedApiConfig().hashCode();
    }
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static org.wso2.choreo.connect.discovery.api.Operation parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static org.wso2.choreo.connect.discovery.api.Operation parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static org.wso2.choreo.connect.discovery.api.Operation parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static org.wso2.choreo.connect.discovery.api.Operation parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static org.wso2.choreo.connect.discovery.api.Operation parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static org.wso2.choreo.connect.discovery.api.Operation parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static org.wso2.choreo.connect.discovery.api.Operation parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static org.wso2.choreo.connect.discovery.api.Operation 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 org.wso2.choreo.connect.discovery.api.Operation parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static org.wso2.choreo.connect.discovery.api.Operation 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 org.wso2.choreo.connect.discovery.api.Operation parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static org.wso2.choreo.connect.discovery.api.Operation 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(org.wso2.choreo.connect.discovery.api.Operation 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>
   * Operation model which maps to a particular http methods
   * </pre>
   *
   * Protobuf type {@code wso2.discovery.api.Operation}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:wso2.discovery.api.Operation)
      org.wso2.choreo.connect.discovery.api.OperationOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.wso2.choreo.connect.discovery.api.ResourceProto.internal_static_wso2_discovery_api_Operation_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.wso2.choreo.connect.discovery.api.ResourceProto.internal_static_wso2_discovery_api_Operation_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.wso2.choreo.connect.discovery.api.Operation.class, org.wso2.choreo.connect.discovery.api.Operation.Builder.class);
    }

    // Construct using org.wso2.choreo.connect.discovery.api.Operation.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
        getSecurityFieldBuilder();
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      method_ = "";

      if (securityBuilder_ == null) {
        security_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
      } else {
        securityBuilder_.clear();
      }
      tier_ = "";

      disableSecurity_ = false;

      if (policiesBuilder_ == null) {
        policies_ = null;
      } else {
        policies_ = null;
        policiesBuilder_ = null;
      }
      if (mockedApiConfigBuilder_ == null) {
        mockedApiConfig_ = null;
      } else {
        mockedApiConfig_ = null;
        mockedApiConfigBuilder_ = null;
      }
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return org.wso2.choreo.connect.discovery.api.ResourceProto.internal_static_wso2_discovery_api_Operation_descriptor;
    }

    @java.lang.Override
    public org.wso2.choreo.connect.discovery.api.Operation getDefaultInstanceForType() {
      return org.wso2.choreo.connect.discovery.api.Operation.getDefaultInstance();
    }

    @java.lang.Override
    public org.wso2.choreo.connect.discovery.api.Operation build() {
      org.wso2.choreo.connect.discovery.api.Operation result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public org.wso2.choreo.connect.discovery.api.Operation buildPartial() {
      org.wso2.choreo.connect.discovery.api.Operation result = new org.wso2.choreo.connect.discovery.api.Operation(this);
      int from_bitField0_ = bitField0_;
      result.method_ = method_;
      if (securityBuilder_ == null) {
        if (((bitField0_ & 0x00000001) != 0)) {
          security_ = java.util.Collections.unmodifiableList(security_);
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.security_ = security_;
      } else {
        result.security_ = securityBuilder_.build();
      }
      result.tier_ = tier_;
      result.disableSecurity_ = disableSecurity_;
      if (policiesBuilder_ == null) {
        result.policies_ = policies_;
      } else {
        result.policies_ = policiesBuilder_.build();
      }
      if (mockedApiConfigBuilder_ == null) {
        result.mockedApiConfig_ = mockedApiConfig_;
      } else {
        result.mockedApiConfig_ = mockedApiConfigBuilder_.build();
      }
      onBuilt();
      return result;
    }

    @java.lang.Override
    public Builder clone() {
      return super.clone();
    }
    @java.lang.Override
    public Builder setField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return super.setField(field, value);
    }
    @java.lang.Override
    public Builder clearField(
        com.google.protobuf.Descriptors.FieldDescriptor field) {
      return super.clearField(field);
    }
    @java.lang.Override
    public Builder clearOneof(
        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
      return super.clearOneof(oneof);
    }
    @java.lang.Override
    public Builder setRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        int index, java.lang.Object value) {
      return super.setRepeatedField(field, index, value);
    }
    @java.lang.Override
    public Builder addRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return super.addRepeatedField(field, value);
    }
    @java.lang.Override
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof org.wso2.choreo.connect.discovery.api.Operation) {
        return mergeFrom((org.wso2.choreo.connect.discovery.api.Operation)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(org.wso2.choreo.connect.discovery.api.Operation other) {
      if (other == org.wso2.choreo.connect.discovery.api.Operation.getDefaultInstance()) return this;
      if (!other.getMethod().isEmpty()) {
        method_ = other.method_;
        onChanged();
      }
      if (securityBuilder_ == null) {
        if (!other.security_.isEmpty()) {
          if (security_.isEmpty()) {
            security_ = other.security_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureSecurityIsMutable();
            security_.addAll(other.security_);
          }
          onChanged();
        }
      } else {
        if (!other.security_.isEmpty()) {
          if (securityBuilder_.isEmpty()) {
            securityBuilder_.dispose();
            securityBuilder_ = null;
            security_ = other.security_;
            bitField0_ = (bitField0_ & ~0x00000001);
            securityBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getSecurityFieldBuilder() : null;
          } else {
            securityBuilder_.addAllMessages(other.security_);
          }
        }
      }
      if (!other.getTier().isEmpty()) {
        tier_ = other.tier_;
        onChanged();
      }
      if (other.getDisableSecurity() != false) {
        setDisableSecurity(other.getDisableSecurity());
      }
      if (other.hasPolicies()) {
        mergePolicies(other.getPolicies());
      }
      if (other.hasMockedApiConfig()) {
        mergeMockedApiConfig(other.getMockedApiConfig());
      }
      this.mergeUnknownFields(other.unknownFields);
      onChanged();
      return this;
    }

    @java.lang.Override
    public final boolean isInitialized() {
      return true;
    }

    @java.lang.Override
    public Builder mergeFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      org.wso2.choreo.connect.discovery.api.Operation parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (org.wso2.choreo.connect.discovery.api.Operation) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int bitField0_;

    private java.lang.Object method_ = "";
    /**
     * <code>string method = 1;</code>
     * @return The method.
     */
    public java.lang.String getMethod() {
      java.lang.Object ref = method_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        method_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string method = 1;</code>
     * @return The bytes for method.
     */
    public com.google.protobuf.ByteString
        getMethodBytes() {
      java.lang.Object ref = method_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        method_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string method = 1;</code>
     * @param value The method to set.
     * @return This builder for chaining.
     */
    public Builder setMethod(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      method_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string method = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearMethod() {
      
      method_ = getDefaultInstance().getMethod();
      onChanged();
      return this;
    }
    /**
     * <code>string method = 1;</code>
     * @param value The bytes for method to set.
     * @return This builder for chaining.
     */
    public Builder setMethodBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      method_ = value;
      onChanged();
      return this;
    }

    private java.util.List<org.wso2.choreo.connect.discovery.api.SecurityList> security_ =
      java.util.Collections.emptyList();
    private void ensureSecurityIsMutable() {
      if (!((bitField0_ & 0x00000001) != 0)) {
        security_ = new java.util.ArrayList<org.wso2.choreo.connect.discovery.api.SecurityList>(security_);
        bitField0_ |= 0x00000001;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        org.wso2.choreo.connect.discovery.api.SecurityList, org.wso2.choreo.connect.discovery.api.SecurityList.Builder, org.wso2.choreo.connect.discovery.api.SecurityListOrBuilder> securityBuilder_;

    /**
     * <code>repeated .wso2.discovery.api.SecurityList security = 2;</code>
     */
    public java.util.List<org.wso2.choreo.connect.discovery.api.SecurityList> getSecurityList() {
      if (securityBuilder_ == null) {
        return java.util.Collections.unmodifiableList(security_);
      } else {
        return securityBuilder_.getMessageList();
      }
    }
    /**
     * <code>repeated .wso2.discovery.api.SecurityList security = 2;</code>
     */
    public int getSecurityCount() {
      if (securityBuilder_ == null) {
        return security_.size();
      } else {
        return securityBuilder_.getCount();
      }
    }
    /**
     * <code>repeated .wso2.discovery.api.SecurityList security = 2;</code>
     */
    public org.wso2.choreo.connect.discovery.api.SecurityList getSecurity(int index) {
      if (securityBuilder_ == null) {
        return security_.get(index);
      } else {
        return securityBuilder_.getMessage(index);
      }
    }
    /**
     * <code>repeated .wso2.discovery.api.SecurityList security = 2;</code>
     */
    public Builder setSecurity(
        int index, org.wso2.choreo.connect.discovery.api.SecurityList value) {
      if (securityBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureSecurityIsMutable();
        security_.set(index, value);
        onChanged();
      } else {
        securityBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .wso2.discovery.api.SecurityList security = 2;</code>
     */
    public Builder setSecurity(
        int index, org.wso2.choreo.connect.discovery.api.SecurityList.Builder builderForValue) {
      if (securityBuilder_ == null) {
        ensureSecurityIsMutable();
        security_.set(index, builderForValue.build());
        onChanged();
      } else {
        securityBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .wso2.discovery.api.SecurityList security = 2;</code>
     */
    public Builder addSecurity(org.wso2.choreo.connect.discovery.api.SecurityList value) {
      if (securityBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureSecurityIsMutable();
        security_.add(value);
        onChanged();
      } else {
        securityBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * <code>repeated .wso2.discovery.api.SecurityList security = 2;</code>
     */
    public Builder addSecurity(
        int index, org.wso2.choreo.connect.discovery.api.SecurityList value) {
      if (securityBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureSecurityIsMutable();
        security_.add(index, value);
        onChanged();
      } else {
        securityBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .wso2.discovery.api.SecurityList security = 2;</code>
     */
    public Builder addSecurity(
        org.wso2.choreo.connect.discovery.api.SecurityList.Builder builderForValue) {
      if (securityBuilder_ == null) {
        ensureSecurityIsMutable();
        security_.add(builderForValue.build());
        onChanged();
      } else {
        securityBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .wso2.discovery.api.SecurityList security = 2;</code>
     */
    public Builder addSecurity(
        int index, org.wso2.choreo.connect.discovery.api.SecurityList.Builder builderForValue) {
      if (securityBuilder_ == null) {
        ensureSecurityIsMutable();
        security_.add(index, builderForValue.build());
        onChanged();
      } else {
        securityBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .wso2.discovery.api.SecurityList security = 2;</code>
     */
    public Builder addAllSecurity(
        java.lang.Iterable<? extends org.wso2.choreo.connect.discovery.api.SecurityList> values) {
      if (securityBuilder_ == null) {
        ensureSecurityIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, security_);
        onChanged();
      } else {
        securityBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * <code>repeated .wso2.discovery.api.SecurityList security = 2;</code>
     */
    public Builder clearSecurity() {
      if (securityBuilder_ == null) {
        security_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
      } else {
        securityBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>repeated .wso2.discovery.api.SecurityList security = 2;</code>
     */
    public Builder removeSecurity(int index) {
      if (securityBuilder_ == null) {
        ensureSecurityIsMutable();
        security_.remove(index);
        onChanged();
      } else {
        securityBuilder_.remove(index);
      }
      return this;
    }
    /**
     * <code>repeated .wso2.discovery.api.SecurityList security = 2;</code>
     */
    public org.wso2.choreo.connect.discovery.api.SecurityList.Builder getSecurityBuilder(
        int index) {
      return getSecurityFieldBuilder().getBuilder(index);
    }
    /**
     * <code>repeated .wso2.discovery.api.SecurityList security = 2;</code>
     */
    public org.wso2.choreo.connect.discovery.api.SecurityListOrBuilder getSecurityOrBuilder(
        int index) {
      if (securityBuilder_ == null) {
        return security_.get(index);  } else {
        return securityBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * <code>repeated .wso2.discovery.api.SecurityList security = 2;</code>
     */
    public java.util.List<? extends org.wso2.choreo.connect.discovery.api.SecurityListOrBuilder> 
         getSecurityOrBuilderList() {
      if (securityBuilder_ != null) {
        return securityBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(security_);
      }
    }
    /**
     * <code>repeated .wso2.discovery.api.SecurityList security = 2;</code>
     */
    public org.wso2.choreo.connect.discovery.api.SecurityList.Builder addSecurityBuilder() {
      return getSecurityFieldBuilder().addBuilder(
          org.wso2.choreo.connect.discovery.api.SecurityList.getDefaultInstance());
    }
    /**
     * <code>repeated .wso2.discovery.api.SecurityList security = 2;</code>
     */
    public org.wso2.choreo.connect.discovery.api.SecurityList.Builder addSecurityBuilder(
        int index) {
      return getSecurityFieldBuilder().addBuilder(
          index, org.wso2.choreo.connect.discovery.api.SecurityList.getDefaultInstance());
    }
    /**
     * <code>repeated .wso2.discovery.api.SecurityList security = 2;</code>
     */
    public java.util.List<org.wso2.choreo.connect.discovery.api.SecurityList.Builder> 
         getSecurityBuilderList() {
      return getSecurityFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        org.wso2.choreo.connect.discovery.api.SecurityList, org.wso2.choreo.connect.discovery.api.SecurityList.Builder, org.wso2.choreo.connect.discovery.api.SecurityListOrBuilder> 
        getSecurityFieldBuilder() {
      if (securityBuilder_ == null) {
        securityBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            org.wso2.choreo.connect.discovery.api.SecurityList, org.wso2.choreo.connect.discovery.api.SecurityList.Builder, org.wso2.choreo.connect.discovery.api.SecurityListOrBuilder>(
                security_,
                ((bitField0_ & 0x00000001) != 0),
                getParentForChildren(),
                isClean());
        security_ = null;
      }
      return securityBuilder_;
    }

    private java.lang.Object tier_ = "";
    /**
     * <code>string tier = 3;</code>
     * @return The tier.
     */
    public java.lang.String getTier() {
      java.lang.Object ref = tier_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        tier_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string tier = 3;</code>
     * @return The bytes for tier.
     */
    public com.google.protobuf.ByteString
        getTierBytes() {
      java.lang.Object ref = tier_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        tier_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string tier = 3;</code>
     * @param value The tier to set.
     * @return This builder for chaining.
     */
    public Builder setTier(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      tier_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string tier = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearTier() {
      
      tier_ = getDefaultInstance().getTier();
      onChanged();
      return this;
    }
    /**
     * <code>string tier = 3;</code>
     * @param value The bytes for tier to set.
     * @return This builder for chaining.
     */
    public Builder setTierBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      tier_ = value;
      onChanged();
      return this;
    }

    private boolean disableSecurity_ ;
    /**
     * <code>bool disableSecurity = 4;</code>
     * @return The disableSecurity.
     */
    @java.lang.Override
    public boolean getDisableSecurity() {
      return disableSecurity_;
    }
    /**
     * <code>bool disableSecurity = 4;</code>
     * @param value The disableSecurity to set.
     * @return This builder for chaining.
     */
    public Builder setDisableSecurity(boolean value) {
      
      disableSecurity_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>bool disableSecurity = 4;</code>
     * @return This builder for chaining.
     */
    public Builder clearDisableSecurity() {
      
      disableSecurity_ = false;
      onChanged();
      return this;
    }

    private org.wso2.choreo.connect.discovery.api.OperationPolicies policies_;
    private com.google.protobuf.SingleFieldBuilderV3<
        org.wso2.choreo.connect.discovery.api.OperationPolicies, org.wso2.choreo.connect.discovery.api.OperationPolicies.Builder, org.wso2.choreo.connect.discovery.api.OperationPoliciesOrBuilder> policiesBuilder_;
    /**
     * <code>.wso2.discovery.api.OperationPolicies policies = 5;</code>
     * @return Whether the policies field is set.
     */
    public boolean hasPolicies() {
      return policiesBuilder_ != null || policies_ != null;
    }
    /**
     * <code>.wso2.discovery.api.OperationPolicies policies = 5;</code>
     * @return The policies.
     */
    public org.wso2.choreo.connect.discovery.api.OperationPolicies getPolicies() {
      if (policiesBuilder_ == null) {
        return policies_ == null ? org.wso2.choreo.connect.discovery.api.OperationPolicies.getDefaultInstance() : policies_;
      } else {
        return policiesBuilder_.getMessage();
      }
    }
    /**
     * <code>.wso2.discovery.api.OperationPolicies policies = 5;</code>
     */
    public Builder setPolicies(org.wso2.choreo.connect.discovery.api.OperationPolicies value) {
      if (policiesBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        policies_ = value;
        onChanged();
      } else {
        policiesBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     * <code>.wso2.discovery.api.OperationPolicies policies = 5;</code>
     */
    public Builder setPolicies(
        org.wso2.choreo.connect.discovery.api.OperationPolicies.Builder builderForValue) {
      if (policiesBuilder_ == null) {
        policies_ = builderForValue.build();
        onChanged();
      } else {
        policiesBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     * <code>.wso2.discovery.api.OperationPolicies policies = 5;</code>
     */
    public Builder mergePolicies(org.wso2.choreo.connect.discovery.api.OperationPolicies value) {
      if (policiesBuilder_ == null) {
        if (policies_ != null) {
          policies_ =
            org.wso2.choreo.connect.discovery.api.OperationPolicies.newBuilder(policies_).mergeFrom(value).buildPartial();
        } else {
          policies_ = value;
        }
        onChanged();
      } else {
        policiesBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     * <code>.wso2.discovery.api.OperationPolicies policies = 5;</code>
     */
    public Builder clearPolicies() {
      if (policiesBuilder_ == null) {
        policies_ = null;
        onChanged();
      } else {
        policies_ = null;
        policiesBuilder_ = null;
      }

      return this;
    }
    /**
     * <code>.wso2.discovery.api.OperationPolicies policies = 5;</code>
     */
    public org.wso2.choreo.connect.discovery.api.OperationPolicies.Builder getPoliciesBuilder() {
      
      onChanged();
      return getPoliciesFieldBuilder().getBuilder();
    }
    /**
     * <code>.wso2.discovery.api.OperationPolicies policies = 5;</code>
     */
    public org.wso2.choreo.connect.discovery.api.OperationPoliciesOrBuilder getPoliciesOrBuilder() {
      if (policiesBuilder_ != null) {
        return policiesBuilder_.getMessageOrBuilder();
      } else {
        return policies_ == null ?
            org.wso2.choreo.connect.discovery.api.OperationPolicies.getDefaultInstance() : policies_;
      }
    }
    /**
     * <code>.wso2.discovery.api.OperationPolicies policies = 5;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        org.wso2.choreo.connect.discovery.api.OperationPolicies, org.wso2.choreo.connect.discovery.api.OperationPolicies.Builder, org.wso2.choreo.connect.discovery.api.OperationPoliciesOrBuilder> 
        getPoliciesFieldBuilder() {
      if (policiesBuilder_ == null) {
        policiesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            org.wso2.choreo.connect.discovery.api.OperationPolicies, org.wso2.choreo.connect.discovery.api.OperationPolicies.Builder, org.wso2.choreo.connect.discovery.api.OperationPoliciesOrBuilder>(
                getPolicies(),
                getParentForChildren(),
                isClean());
        policies_ = null;
      }
      return policiesBuilder_;
    }

    private org.wso2.choreo.connect.discovery.api.MockedApiConfig mockedApiConfig_;
    private com.google.protobuf.SingleFieldBuilderV3<
        org.wso2.choreo.connect.discovery.api.MockedApiConfig, org.wso2.choreo.connect.discovery.api.MockedApiConfig.Builder, org.wso2.choreo.connect.discovery.api.MockedApiConfigOrBuilder> mockedApiConfigBuilder_;
    /**
     * <code>.wso2.discovery.api.MockedApiConfig mockedApiConfig = 6;</code>
     * @return Whether the mockedApiConfig field is set.
     */
    public boolean hasMockedApiConfig() {
      return mockedApiConfigBuilder_ != null || mockedApiConfig_ != null;
    }
    /**
     * <code>.wso2.discovery.api.MockedApiConfig mockedApiConfig = 6;</code>
     * @return The mockedApiConfig.
     */
    public org.wso2.choreo.connect.discovery.api.MockedApiConfig getMockedApiConfig() {
      if (mockedApiConfigBuilder_ == null) {
        return mockedApiConfig_ == null ? org.wso2.choreo.connect.discovery.api.MockedApiConfig.getDefaultInstance() : mockedApiConfig_;
      } else {
        return mockedApiConfigBuilder_.getMessage();
      }
    }
    /**
     * <code>.wso2.discovery.api.MockedApiConfig mockedApiConfig = 6;</code>
     */
    public Builder setMockedApiConfig(org.wso2.choreo.connect.discovery.api.MockedApiConfig value) {
      if (mockedApiConfigBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        mockedApiConfig_ = value;
        onChanged();
      } else {
        mockedApiConfigBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     * <code>.wso2.discovery.api.MockedApiConfig mockedApiConfig = 6;</code>
     */
    public Builder setMockedApiConfig(
        org.wso2.choreo.connect.discovery.api.MockedApiConfig.Builder builderForValue) {
      if (mockedApiConfigBuilder_ == null) {
        mockedApiConfig_ = builderForValue.build();
        onChanged();
      } else {
        mockedApiConfigBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     * <code>.wso2.discovery.api.MockedApiConfig mockedApiConfig = 6;</code>
     */
    public Builder mergeMockedApiConfig(org.wso2.choreo.connect.discovery.api.MockedApiConfig value) {
      if (mockedApiConfigBuilder_ == null) {
        if (mockedApiConfig_ != null) {
          mockedApiConfig_ =
            org.wso2.choreo.connect.discovery.api.MockedApiConfig.newBuilder(mockedApiConfig_).mergeFrom(value).buildPartial();
        } else {
          mockedApiConfig_ = value;
        }
        onChanged();
      } else {
        mockedApiConfigBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     * <code>.wso2.discovery.api.MockedApiConfig mockedApiConfig = 6;</code>
     */
    public Builder clearMockedApiConfig() {
      if (mockedApiConfigBuilder_ == null) {
        mockedApiConfig_ = null;
        onChanged();
      } else {
        mockedApiConfig_ = null;
        mockedApiConfigBuilder_ = null;
      }

      return this;
    }
    /**
     * <code>.wso2.discovery.api.MockedApiConfig mockedApiConfig = 6;</code>
     */
    public org.wso2.choreo.connect.discovery.api.MockedApiConfig.Builder getMockedApiConfigBuilder() {
      
      onChanged();
      return getMockedApiConfigFieldBuilder().getBuilder();
    }
    /**
     * <code>.wso2.discovery.api.MockedApiConfig mockedApiConfig = 6;</code>
     */
    public org.wso2.choreo.connect.discovery.api.MockedApiConfigOrBuilder getMockedApiConfigOrBuilder() {
      if (mockedApiConfigBuilder_ != null) {
        return mockedApiConfigBuilder_.getMessageOrBuilder();
      } else {
        return mockedApiConfig_ == null ?
            org.wso2.choreo.connect.discovery.api.MockedApiConfig.getDefaultInstance() : mockedApiConfig_;
      }
    }
    /**
     * <code>.wso2.discovery.api.MockedApiConfig mockedApiConfig = 6;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        org.wso2.choreo.connect.discovery.api.MockedApiConfig, org.wso2.choreo.connect.discovery.api.MockedApiConfig.Builder, org.wso2.choreo.connect.discovery.api.MockedApiConfigOrBuilder> 
        getMockedApiConfigFieldBuilder() {
      if (mockedApiConfigBuilder_ == null) {
        mockedApiConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            org.wso2.choreo.connect.discovery.api.MockedApiConfig, org.wso2.choreo.connect.discovery.api.MockedApiConfig.Builder, org.wso2.choreo.connect.discovery.api.MockedApiConfigOrBuilder>(
                getMockedApiConfig(),
                getParentForChildren(),
                isClean());
        mockedApiConfig_ = null;
      }
      return mockedApiConfigBuilder_;
    }
    @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:wso2.discovery.api.Operation)
  }

  // @@protoc_insertion_point(class_scope:wso2.discovery.api.Operation)
  private static final org.wso2.choreo.connect.discovery.api.Operation DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new org.wso2.choreo.connect.discovery.api.Operation();
  }

  public static org.wso2.choreo.connect.discovery.api.Operation getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser<Operation>
      PARSER = new com.google.protobuf.AbstractParser<Operation>() {
    @java.lang.Override
    public Operation parsePartialFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return new Operation(input, extensionRegistry);
    }
  };

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

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

  @java.lang.Override
  public org.wso2.choreo.connect.discovery.api.Operation getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

