// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: gateway-meta.proto

package com.welab.wefe.gateway.api.meta.basic;

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

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  /**
   * Protobuf enum {@code com.welab.wefe.gateway.api.meta.basic.TransferStatus}
   */
  public enum TransferStatus
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * <code>NOT_PROCESSED = 0;</code>
     */
    NOT_PROCESSED(0),
    /**
     * <code>INITIALIZING = 1;</code>
     */
    INITIALIZING(1),
    /**
     * <code>PROCESSING = 2;</code>
     */
    PROCESSING(2),
    /**
     * <code>COMPLETE = 3;</code>
     */
    COMPLETE(3),
    /**
     * <code>ERROR = 4;</code>
     */
    ERROR(4),
    /**
     * <code>CANCELLED = 5;</code>
     */
    CANCELLED(5),
    UNRECOGNIZED(-1),
    ;

    /**
     * <code>NOT_PROCESSED = 0;</code>
     */
    public static final int NOT_PROCESSED_VALUE = 0;
    /**
     * <code>INITIALIZING = 1;</code>
     */
    public static final int INITIALIZING_VALUE = 1;
    /**
     * <code>PROCESSING = 2;</code>
     */
    public static final int PROCESSING_VALUE = 2;
    /**
     * <code>COMPLETE = 3;</code>
     */
    public static final int COMPLETE_VALUE = 3;
    /**
     * <code>ERROR = 4;</code>
     */
    public static final int ERROR_VALUE = 4;
    /**
     * <code>CANCELLED = 5;</code>
     */
    public static final int CANCELLED_VALUE = 5;


    public final int getNumber() {
      if (this == UNRECOGNIZED) {
        throw new 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.
     */
    @Deprecated
    public static TransferStatus 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 TransferStatus forNumber(int value) {
      switch (value) {
        case 0: return NOT_PROCESSED;
        case 1: return INITIALIZING;
        case 2: return PROCESSING;
        case 3: return COMPLETE;
        case 4: return ERROR;
        case 5: return CANCELLED;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap<TransferStatus>
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        TransferStatus> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap<TransferStatus>() {
            public TransferStatus findValueByNumber(int number) {
              return TransferStatus.forNumber(number);
            }
          };

    public final com.google.protobuf.Descriptors.EnumValueDescriptor
        getValueDescriptor() {
      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 GatewayMetaProto.getDescriptor().getEnumTypes().get(0);
    }

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

    public static TransferStatus valueOf(
        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
      if (desc.getType() != getDescriptor()) {
        throw new IllegalArgumentException(
          "EnumValueDescriptor is not for this type.");
      }
      if (desc.getIndex() == -1) {
        return UNRECOGNIZED;
      }
      return VALUES[desc.getIndex()];
    }

    private final int value;

    private TransferStatus(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:com.welab.wefe.gateway.api.meta.basic.TransferStatus)
  }

  public interface MemberOrBuilder extends
      // @@protoc_insertion_point(interface_extends:com.welab.wefe.gateway.api.meta.basic.Member)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <pre>
     * Member ID
     * </pre>
     *
     * <code>string memberId = 1;</code>
     * @return The memberId.
     */
    String getMemberId();
    /**
     * <pre>
     * Member ID
     * </pre>
     *
     * <code>string memberId = 1;</code>
     * @return The bytes for memberId.
     */
    com.google.protobuf.ByteString
        getMemberIdBytes();

    /**
     * <pre>
     * Member name
     * </pre>
     *
     * <code>string memberName = 2;</code>
     * @return The memberName.
     */
    String getMemberName();
    /**
     * <pre>
     * Member name
     * </pre>
     *
     * <code>string memberName = 2;</code>
     * @return The bytes for memberName.
     */
    com.google.protobuf.ByteString
        getMemberNameBytes();

    /**
     * <pre>
     * Destination address
     * </pre>
     *
     * <code>.com.welab.wefe.gateway.api.meta.basic.Endpoint endpoint = 3;</code>
     * @return Whether the endpoint field is set.
     */
    boolean hasEndpoint();
    /**
     * <pre>
     * Destination address
     * </pre>
     *
     * <code>.com.welab.wefe.gateway.api.meta.basic.Endpoint endpoint = 3;</code>
     * @return The endpoint.
     */
    BasicMetaProto.Endpoint getEndpoint();
    /**
     * <pre>
     * Destination address
     * </pre>
     *
     * <code>.com.welab.wefe.gateway.api.meta.basic.Endpoint endpoint = 3;</code>
     */
    BasicMetaProto.EndpointOrBuilder getEndpointOrBuilder();
  }
  /**
   * Protobuf type {@code com.welab.wefe.gateway.api.meta.basic.Member}
   */
  public  static final class Member extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:com.welab.wefe.gateway.api.meta.basic.Member)
      MemberOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use Member.newBuilder() to construct.
    private Member(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private Member() {
      memberId_ = "";
      memberName_ = "";
    }

    @Override
    @SuppressWarnings({"unused"})
    protected Object newInstance(
        UnusedPrivateParameter unused) {
      return new Member();
    }

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

              memberId_ = s;
              break;
            }
            case 18: {
              String s = input.readStringRequireUtf8();

              memberName_ = s;
              break;
            }
            case 26: {
              BasicMetaProto.Endpoint.Builder subBuilder = null;
              if (endpoint_ != null) {
                subBuilder = endpoint_.toBuilder();
              }
              endpoint_ = input.readMessage(BasicMetaProto.Endpoint.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(endpoint_);
                endpoint_ = subBuilder.buildPartial();
              }

              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return GatewayMetaProto.internal_static_com_welab_wefe_gateway_api_meta_basic_Member_descriptor;
    }

    @Override
    protected FieldAccessorTable
        internalGetFieldAccessorTable() {
      return GatewayMetaProto.internal_static_com_welab_wefe_gateway_api_meta_basic_Member_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              Member.class, Builder.class);
    }

    public static final int MEMBERID_FIELD_NUMBER = 1;
    private volatile Object memberId_;
    /**
     * <pre>
     * Member ID
     * </pre>
     *
     * <code>string memberId = 1;</code>
     * @return The memberId.
     */
    public String getMemberId() {
      Object ref = memberId_;
      if (ref instanceof String) {
        return (String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        memberId_ = s;
        return s;
      }
    }
    /**
     * <pre>
     * Member ID
     * </pre>
     *
     * <code>string memberId = 1;</code>
     * @return The bytes for memberId.
     */
    public com.google.protobuf.ByteString
        getMemberIdBytes() {
      Object ref = memberId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        memberId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int MEMBERNAME_FIELD_NUMBER = 2;
    private volatile Object memberName_;
    /**
     * <pre>
     * Member name
     * </pre>
     *
     * <code>string memberName = 2;</code>
     * @return The memberName.
     */
    public String getMemberName() {
      Object ref = memberName_;
      if (ref instanceof String) {
        return (String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        memberName_ = s;
        return s;
      }
    }
    /**
     * <pre>
     * Member name
     * </pre>
     *
     * <code>string memberName = 2;</code>
     * @return The bytes for memberName.
     */
    public com.google.protobuf.ByteString
        getMemberNameBytes() {
      Object ref = memberName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        memberName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int ENDPOINT_FIELD_NUMBER = 3;
    private BasicMetaProto.Endpoint endpoint_;
    /**
     * <pre>
     * Destination address
     * </pre>
     *
     * <code>.com.welab.wefe.gateway.api.meta.basic.Endpoint endpoint = 3;</code>
     * @return Whether the endpoint field is set.
     */
    public boolean hasEndpoint() {
      return endpoint_ != null;
    }
    /**
     * <pre>
     * Destination address
     * </pre>
     *
     * <code>.com.welab.wefe.gateway.api.meta.basic.Endpoint endpoint = 3;</code>
     * @return The endpoint.
     */
    public BasicMetaProto.Endpoint getEndpoint() {
      return endpoint_ == null ? BasicMetaProto.Endpoint.getDefaultInstance() : endpoint_;
    }
    /**
     * <pre>
     * Destination address
     * </pre>
     *
     * <code>.com.welab.wefe.gateway.api.meta.basic.Endpoint endpoint = 3;</code>
     */
    public BasicMetaProto.EndpointOrBuilder getEndpointOrBuilder() {
      return getEndpoint();
    }

    private byte memoizedIsInitialized = -1;
    @Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!getMemberIdBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, memberId_);
      }
      if (!getMemberNameBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, memberName_);
      }
      if (endpoint_ != null) {
        output.writeMessage(3, getEndpoint());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (!getMemberIdBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, memberId_);
      }
      if (!getMemberNameBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, memberName_);
      }
      if (endpoint_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, getEndpoint());
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @Override
    public boolean equals(final Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof Member)) {
        return super.equals(obj);
      }
      Member other = (Member) obj;

      if (!getMemberId()
          .equals(other.getMemberId())) return false;
      if (!getMemberName()
          .equals(other.getMemberName())) return false;
      if (hasEndpoint() != other.hasEndpoint()) return false;
      if (hasEndpoint()) {
        if (!getEndpoint()
            .equals(other.getEndpoint())) return false;
      }
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + MEMBERID_FIELD_NUMBER;
      hash = (53 * hash) + getMemberId().hashCode();
      hash = (37 * hash) + MEMBERNAME_FIELD_NUMBER;
      hash = (53 * hash) + getMemberName().hashCode();
      if (hasEndpoint()) {
        hash = (37 * hash) + ENDPOINT_FIELD_NUMBER;
        hash = (53 * hash) + getEndpoint().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static Member parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static Member parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static Member parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static Member parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static Member parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static Member parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static Member parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static Member 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 Member parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static Member 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 Member parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static Member parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(Member prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @Override
    protected Builder newBuilderForType(
        BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code com.welab.wefe.gateway.api.meta.basic.Member}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:com.welab.wefe.gateway.api.meta.basic.Member)
        MemberOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return GatewayMetaProto.internal_static_com_welab_wefe_gateway_api_meta_basic_Member_descriptor;
      }

      @Override
      protected FieldAccessorTable
          internalGetFieldAccessorTable() {
        return GatewayMetaProto.internal_static_com_welab_wefe_gateway_api_meta_basic_Member_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                Member.class, Builder.class);
      }

      // Construct using com.welab.wefe.gateway.api.meta.basic.GatewayMetaProto.Member.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

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

        memberName_ = "";

        if (endpointBuilder_ == null) {
          endpoint_ = null;
        } else {
          endpoint_ = null;
          endpointBuilder_ = null;
        }
        return this;
      }

      @Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return GatewayMetaProto.internal_static_com_welab_wefe_gateway_api_meta_basic_Member_descriptor;
      }

      @Override
      public Member getDefaultInstanceForType() {
        return Member.getDefaultInstance();
      }

      @Override
      public Member build() {
        Member result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @Override
      public Member buildPartial() {
        Member result = new Member(this);
        result.memberId_ = memberId_;
        result.memberName_ = memberName_;
        if (endpointBuilder_ == null) {
          result.endpoint_ = endpoint_;
        } else {
          result.endpoint_ = endpointBuilder_.build();
        }
        onBuilt();
        return result;
      }

      @Override
      public Builder clone() {
        return super.clone();
      }
      @Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return super.setField(field, value);
      }
      @Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return super.addRepeatedField(field, value);
      }
      @Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof Member) {
          return mergeFrom((Member)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(Member other) {
        if (other == Member.getDefaultInstance()) return this;
        if (!other.getMemberId().isEmpty()) {
          memberId_ = other.memberId_;
          onChanged();
        }
        if (!other.getMemberName().isEmpty()) {
          memberName_ = other.memberName_;
          onChanged();
        }
        if (other.hasEndpoint()) {
          mergeEndpoint(other.getEndpoint());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

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

      @Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        Member parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (Member) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private Object memberId_ = "";
      /**
       * <pre>
       * Member ID
       * </pre>
       *
       * <code>string memberId = 1;</code>
       * @return The memberId.
       */
      public String getMemberId() {
        Object ref = memberId_;
        if (!(ref instanceof String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          String s = bs.toStringUtf8();
          memberId_ = s;
          return s;
        } else {
          return (String) ref;
        }
      }
      /**
       * <pre>
       * Member ID
       * </pre>
       *
       * <code>string memberId = 1;</code>
       * @return The bytes for memberId.
       */
      public com.google.protobuf.ByteString
          getMemberIdBytes() {
        Object ref = memberId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (String) ref);
          memberId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       * Member ID
       * </pre>
       *
       * <code>string memberId = 1;</code>
       * @param value The memberId to set.
       * @return This builder for chaining.
       */
      public Builder setMemberId(
          String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        memberId_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Member ID
       * </pre>
       *
       * <code>string memberId = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearMemberId() {
        
        memberId_ = getDefaultInstance().getMemberId();
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Member ID
       * </pre>
       *
       * <code>string memberId = 1;</code>
       * @param value The bytes for memberId to set.
       * @return This builder for chaining.
       */
      public Builder setMemberIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        memberId_ = value;
        onChanged();
        return this;
      }

      private Object memberName_ = "";
      /**
       * <pre>
       * Member name
       * </pre>
       *
       * <code>string memberName = 2;</code>
       * @return The memberName.
       */
      public String getMemberName() {
        Object ref = memberName_;
        if (!(ref instanceof String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          String s = bs.toStringUtf8();
          memberName_ = s;
          return s;
        } else {
          return (String) ref;
        }
      }
      /**
       * <pre>
       * Member name
       * </pre>
       *
       * <code>string memberName = 2;</code>
       * @return The bytes for memberName.
       */
      public com.google.protobuf.ByteString
          getMemberNameBytes() {
        Object ref = memberName_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (String) ref);
          memberName_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       * Member name
       * </pre>
       *
       * <code>string memberName = 2;</code>
       * @param value The memberName to set.
       * @return This builder for chaining.
       */
      public Builder setMemberName(
          String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        memberName_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Member name
       * </pre>
       *
       * <code>string memberName = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearMemberName() {
        
        memberName_ = getDefaultInstance().getMemberName();
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Member name
       * </pre>
       *
       * <code>string memberName = 2;</code>
       * @param value The bytes for memberName to set.
       * @return This builder for chaining.
       */
      public Builder setMemberNameBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        memberName_ = value;
        onChanged();
        return this;
      }

      private BasicMetaProto.Endpoint endpoint_;
      private com.google.protobuf.SingleFieldBuilderV3<
          BasicMetaProto.Endpoint, BasicMetaProto.Endpoint.Builder, BasicMetaProto.EndpointOrBuilder> endpointBuilder_;
      /**
       * <pre>
       * Destination address
       * </pre>
       *
       * <code>.com.welab.wefe.gateway.api.meta.basic.Endpoint endpoint = 3;</code>
       * @return Whether the endpoint field is set.
       */
      public boolean hasEndpoint() {
        return endpointBuilder_ != null || endpoint_ != null;
      }
      /**
       * <pre>
       * Destination address
       * </pre>
       *
       * <code>.com.welab.wefe.gateway.api.meta.basic.Endpoint endpoint = 3;</code>
       * @return The endpoint.
       */
      public BasicMetaProto.Endpoint getEndpoint() {
        if (endpointBuilder_ == null) {
          return endpoint_ == null ? BasicMetaProto.Endpoint.getDefaultInstance() : endpoint_;
        } else {
          return endpointBuilder_.getMessage();
        }
      }
      /**
       * <pre>
       * Destination address
       * </pre>
       *
       * <code>.com.welab.wefe.gateway.api.meta.basic.Endpoint endpoint = 3;</code>
       */
      public Builder setEndpoint(BasicMetaProto.Endpoint value) {
        if (endpointBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          endpoint_ = value;
          onChanged();
        } else {
          endpointBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <pre>
       * Destination address
       * </pre>
       *
       * <code>.com.welab.wefe.gateway.api.meta.basic.Endpoint endpoint = 3;</code>
       */
      public Builder setEndpoint(
          BasicMetaProto.Endpoint.Builder builderForValue) {
        if (endpointBuilder_ == null) {
          endpoint_ = builderForValue.build();
          onChanged();
        } else {
          endpointBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <pre>
       * Destination address
       * </pre>
       *
       * <code>.com.welab.wefe.gateway.api.meta.basic.Endpoint endpoint = 3;</code>
       */
      public Builder mergeEndpoint(BasicMetaProto.Endpoint value) {
        if (endpointBuilder_ == null) {
          if (endpoint_ != null) {
            endpoint_ =
              BasicMetaProto.Endpoint.newBuilder(endpoint_).mergeFrom(value).buildPartial();
          } else {
            endpoint_ = value;
          }
          onChanged();
        } else {
          endpointBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <pre>
       * Destination address
       * </pre>
       *
       * <code>.com.welab.wefe.gateway.api.meta.basic.Endpoint endpoint = 3;</code>
       */
      public Builder clearEndpoint() {
        if (endpointBuilder_ == null) {
          endpoint_ = null;
          onChanged();
        } else {
          endpoint_ = null;
          endpointBuilder_ = null;
        }

        return this;
      }
      /**
       * <pre>
       * Destination address
       * </pre>
       *
       * <code>.com.welab.wefe.gateway.api.meta.basic.Endpoint endpoint = 3;</code>
       */
      public BasicMetaProto.Endpoint.Builder getEndpointBuilder() {
        
        onChanged();
        return getEndpointFieldBuilder().getBuilder();
      }
      /**
       * <pre>
       * Destination address
       * </pre>
       *
       * <code>.com.welab.wefe.gateway.api.meta.basic.Endpoint endpoint = 3;</code>
       */
      public BasicMetaProto.EndpointOrBuilder getEndpointOrBuilder() {
        if (endpointBuilder_ != null) {
          return endpointBuilder_.getMessageOrBuilder();
        } else {
