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

com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos Maven / Gradle / Ivy

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

package com.tencent.angel.protobuf.generated;

public final class PSAgentMasterServiceProtos {
  private PSAgentMasterServiceProtos() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
  }
  /**
   * Protobuf enum {@code PSAgentCommandProto}
   */
  public enum PSAgentCommandProto
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * PSAGENT_SUCCESS = 0;
     */
    PSAGENT_SUCCESS(0, 0),
    /**
     * PSAGENT_NEED_REGISTER = 1;
     */
    PSAGENT_NEED_REGISTER(1, 1),
    /**
     * PSAGENT_SHUTDOWN = 2;
     */
    PSAGENT_SHUTDOWN(2, 2),
    /**
     * PSAGENT_UNKNOWN = 3;
     */
    PSAGENT_UNKNOWN(3, 3),
    ;

    /**
     * PSAGENT_SUCCESS = 0;
     */
    public static final int PSAGENT_SUCCESS_VALUE = 0;
    /**
     * PSAGENT_NEED_REGISTER = 1;
     */
    public static final int PSAGENT_NEED_REGISTER_VALUE = 1;
    /**
     * PSAGENT_SHUTDOWN = 2;
     */
    public static final int PSAGENT_SHUTDOWN_VALUE = 2;
    /**
     * PSAGENT_UNKNOWN = 3;
     */
    public static final int PSAGENT_UNKNOWN_VALUE = 3;


    public final int getNumber() { return value; }

    public static PSAgentCommandProto valueOf(int value) {
      switch (value) {
        case 0: return PSAGENT_SUCCESS;
        case 1: return PSAGENT_NEED_REGISTER;
        case 2: return PSAGENT_SHUTDOWN;
        case 3: return PSAGENT_UNKNOWN;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap
        internalGetValueMap() {
      return internalValueMap;
    }
    private static com.google.protobuf.Internal.EnumLiteMap
        internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap() {
            public PSAgentCommandProto findValueByNumber(int number) {
              return PSAgentCommandProto.valueOf(number);
            }
          };

    public final com.google.protobuf.Descriptors.EnumValueDescriptor
        getValueDescriptor() {
      return getDescriptor().getValues().get(index);
    }
    public final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptorForType() {
      return getDescriptor();
    }
    public static final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptor() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.getDescriptor().getEnumTypes().get(0);
    }

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

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

    private final int index;
    private final int value;

    private PSAgentCommandProto(int index, int value) {
      this.index = index;
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:PSAgentCommandProto)
  }

  public interface GetAllPSAgentLocationRequestOrBuilder
      extends com.google.protobuf.MessageOrBuilder {
  }
  /**
   * Protobuf type {@code GetAllPSAgentLocationRequest}
   */
  public static final class GetAllPSAgentLocationRequest extends
      com.google.protobuf.GeneratedMessage
      implements GetAllPSAgentLocationRequestOrBuilder {
    // Use GetAllPSAgentLocationRequest.newBuilder() to construct.
    private GetAllPSAgentLocationRequest(com.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private GetAllPSAgentLocationRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final GetAllPSAgentLocationRequest defaultInstance;
    public static GetAllPSAgentLocationRequest getDefaultInstance() {
      return defaultInstance;
    }

    public GetAllPSAgentLocationRequest getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private GetAllPSAgentLocationRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_GetAllPSAgentLocationRequest_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_GetAllPSAgentLocationRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationRequest.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationRequest.Builder.class);
    }

    public static com.google.protobuf.Parser PARSER =
        new com.google.protobuf.AbstractParser() {
      public GetAllPSAgentLocationRequest parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new GetAllPSAgentLocationRequest(input, extensionRegistry);
      }
    };

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

    private void initFields() {
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      memoizedIsInitialized = 1;
      return true;
    }

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

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

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

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationRequest)) {
        return super.equals(obj);
      }
      com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationRequest other = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationRequest) obj;

      boolean result = true;
      result = result &&
          getUnknownFields().equals(other.getUnknownFields());
      return result;
    }

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

    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationRequest parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationRequest parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationRequest parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationRequest prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code GetAllPSAgentLocationRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder
       implements com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_GetAllPSAgentLocationRequest_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_GetAllPSAgentLocationRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationRequest.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationRequest.Builder.class);
      }

      // Construct using com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationRequest.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_GetAllPSAgentLocationRequest_descriptor;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationRequest getDefaultInstanceForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationRequest.getDefaultInstance();
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationRequest build() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationRequest buildPartial() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationRequest result = new com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationRequest(this);
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationRequest) {
          return mergeFrom((com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationRequest other) {
        if (other == com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationRequest.getDefaultInstance()) return this;
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

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

      // @@protoc_insertion_point(builder_scope:GetAllPSAgentLocationRequest)
    }

    static {
      defaultInstance = new GetAllPSAgentLocationRequest(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:GetAllPSAgentLocationRequest)
  }

  public interface GetAllPSAgentLocationResponseOrBuilder
      extends com.google.protobuf.MessageOrBuilder {

    // repeated .PSAgentLocationProto psAgentLocations = 1;
    /**
     * repeated .PSAgentLocationProto psAgentLocations = 1;
     */
    java.util.List 
        getPsAgentLocationsList();
    /**
     * repeated .PSAgentLocationProto psAgentLocations = 1;
     */
    com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto getPsAgentLocations(int index);
    /**
     * repeated .PSAgentLocationProto psAgentLocations = 1;
     */
    int getPsAgentLocationsCount();
    /**
     * repeated .PSAgentLocationProto psAgentLocations = 1;
     */
    java.util.List 
        getPsAgentLocationsOrBuilderList();
    /**
     * repeated .PSAgentLocationProto psAgentLocations = 1;
     */
    com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProtoOrBuilder getPsAgentLocationsOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code GetAllPSAgentLocationResponse}
   */
  public static final class GetAllPSAgentLocationResponse extends
      com.google.protobuf.GeneratedMessage
      implements GetAllPSAgentLocationResponseOrBuilder {
    // Use GetAllPSAgentLocationResponse.newBuilder() to construct.
    private GetAllPSAgentLocationResponse(com.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private GetAllPSAgentLocationResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final GetAllPSAgentLocationResponse defaultInstance;
    public static GetAllPSAgentLocationResponse getDefaultInstance() {
      return defaultInstance;
    }

    public GetAllPSAgentLocationResponse getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private GetAllPSAgentLocationResponse(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      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;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
                psAgentLocations_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000001;
              }
              psAgentLocations_.add(input.readMessage(com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto.PARSER, extensionRegistry));
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
          psAgentLocations_ = java.util.Collections.unmodifiableList(psAgentLocations_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_GetAllPSAgentLocationResponse_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_GetAllPSAgentLocationResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationResponse.Builder.class);
    }

    public static com.google.protobuf.Parser PARSER =
        new com.google.protobuf.AbstractParser() {
      public GetAllPSAgentLocationResponse parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new GetAllPSAgentLocationResponse(input, extensionRegistry);
      }
    };

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

    // repeated .PSAgentLocationProto psAgentLocations = 1;
    public static final int PSAGENTLOCATIONS_FIELD_NUMBER = 1;
    private java.util.List psAgentLocations_;
    /**
     * repeated .PSAgentLocationProto psAgentLocations = 1;
     */
    public java.util.List getPsAgentLocationsList() {
      return psAgentLocations_;
    }
    /**
     * repeated .PSAgentLocationProto psAgentLocations = 1;
     */
    public java.util.List 
        getPsAgentLocationsOrBuilderList() {
      return psAgentLocations_;
    }
    /**
     * repeated .PSAgentLocationProto psAgentLocations = 1;
     */
    public int getPsAgentLocationsCount() {
      return psAgentLocations_.size();
    }
    /**
     * repeated .PSAgentLocationProto psAgentLocations = 1;
     */
    public com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto getPsAgentLocations(int index) {
      return psAgentLocations_.get(index);
    }
    /**
     * repeated .PSAgentLocationProto psAgentLocations = 1;
     */
    public com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProtoOrBuilder getPsAgentLocationsOrBuilder(
        int index) {
      return psAgentLocations_.get(index);
    }

    private void initFields() {
      psAgentLocations_ = java.util.Collections.emptyList();
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      for (int i = 0; i < getPsAgentLocationsCount(); i++) {
        if (!getPsAgentLocations(i).isInitialized()) {
          memoizedIsInitialized = 0;
          return false;
        }
      }
      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      for (int i = 0; i < psAgentLocations_.size(); i++) {
        output.writeMessage(1, psAgentLocations_.get(i));
      }
      getUnknownFields().writeTo(output);
    }

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

      size = 0;
      for (int i = 0; i < psAgentLocations_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, psAgentLocations_.get(i));
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationResponse)) {
        return super.equals(obj);
      }
      com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationResponse other = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationResponse) obj;

      boolean result = true;
      result = result && getPsAgentLocationsList()
          .equals(other.getPsAgentLocationsList());
      result = result &&
          getUnknownFields().equals(other.getUnknownFields());
      return result;
    }

    private int memoizedHashCode = 0;
    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptorForType().hashCode();
      if (getPsAgentLocationsCount() > 0) {
        hash = (37 * hash) + PSAGENTLOCATIONS_FIELD_NUMBER;
        hash = (53 * hash) + getPsAgentLocationsList().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationResponse parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationResponse parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationResponse parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationResponse parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationResponse parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationResponse parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationResponse parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationResponse parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationResponse parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationResponse parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationResponse prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code GetAllPSAgentLocationResponse}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder
       implements com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationResponseOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_GetAllPSAgentLocationResponse_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_GetAllPSAgentLocationResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationResponse.Builder.class);
      }

      // Construct using com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationResponse.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
          getPsAgentLocationsFieldBuilder();
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        if (psAgentLocationsBuilder_ == null) {
          psAgentLocations_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          psAgentLocationsBuilder_.clear();
        }
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_GetAllPSAgentLocationResponse_descriptor;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationResponse getDefaultInstanceForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationResponse.getDefaultInstance();
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationResponse build() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationResponse result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationResponse buildPartial() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationResponse result = new com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationResponse(this);
        int from_bitField0_ = bitField0_;
        if (psAgentLocationsBuilder_ == null) {
          if (((bitField0_ & 0x00000001) == 0x00000001)) {
            psAgentLocations_ = java.util.Collections.unmodifiableList(psAgentLocations_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.psAgentLocations_ = psAgentLocations_;
        } else {
          result.psAgentLocations_ = psAgentLocationsBuilder_.build();
        }
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationResponse) {
          return mergeFrom((com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationResponse other) {
        if (other == com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationResponse.getDefaultInstance()) return this;
        if (psAgentLocationsBuilder_ == null) {
          if (!other.psAgentLocations_.isEmpty()) {
            if (psAgentLocations_.isEmpty()) {
              psAgentLocations_ = other.psAgentLocations_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensurePsAgentLocationsIsMutable();
              psAgentLocations_.addAll(other.psAgentLocations_);
            }
            onChanged();
          }
        } else {
          if (!other.psAgentLocations_.isEmpty()) {
            if (psAgentLocationsBuilder_.isEmpty()) {
              psAgentLocationsBuilder_.dispose();
              psAgentLocationsBuilder_ = null;
              psAgentLocations_ = other.psAgentLocations_;
              bitField0_ = (bitField0_ & ~0x00000001);
              psAgentLocationsBuilder_ = 
                com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
                   getPsAgentLocationsFieldBuilder() : null;
            } else {
              psAgentLocationsBuilder_.addAllMessages(other.psAgentLocations_);
            }
          }
        }
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        for (int i = 0; i < getPsAgentLocationsCount(); i++) {
          if (!getPsAgentLocations(i).isInitialized()) {
            
            return false;
          }
        }
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllPSAgentLocationResponse) e.getUnfinishedMessage();
          throw e;
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      // repeated .PSAgentLocationProto psAgentLocations = 1;
      private java.util.List psAgentLocations_ =
        java.util.Collections.emptyList();
      private void ensurePsAgentLocationsIsMutable() {
        if (!((bitField0_ & 0x00000001) == 0x00000001)) {
          psAgentLocations_ = new java.util.ArrayList(psAgentLocations_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilder<
          com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto, com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProtoOrBuilder> psAgentLocationsBuilder_;

      /**
       * repeated .PSAgentLocationProto psAgentLocations = 1;
       */
      public java.util.List getPsAgentLocationsList() {
        if (psAgentLocationsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(psAgentLocations_);
        } else {
          return psAgentLocationsBuilder_.getMessageList();
        }
      }
      /**
       * repeated .PSAgentLocationProto psAgentLocations = 1;
       */
      public int getPsAgentLocationsCount() {
        if (psAgentLocationsBuilder_ == null) {
          return psAgentLocations_.size();
        } else {
          return psAgentLocationsBuilder_.getCount();
        }
      }
      /**
       * repeated .PSAgentLocationProto psAgentLocations = 1;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto getPsAgentLocations(int index) {
        if (psAgentLocationsBuilder_ == null) {
          return psAgentLocations_.get(index);
        } else {
          return psAgentLocationsBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .PSAgentLocationProto psAgentLocations = 1;
       */
      public Builder setPsAgentLocations(
          int index, com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto value) {
        if (psAgentLocationsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensurePsAgentLocationsIsMutable();
          psAgentLocations_.set(index, value);
          onChanged();
        } else {
          psAgentLocationsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .PSAgentLocationProto psAgentLocations = 1;
       */
      public Builder setPsAgentLocations(
          int index, com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto.Builder builderForValue) {
        if (psAgentLocationsBuilder_ == null) {
          ensurePsAgentLocationsIsMutable();
          psAgentLocations_.set(index, builderForValue.build());
          onChanged();
        } else {
          psAgentLocationsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .PSAgentLocationProto psAgentLocations = 1;
       */
      public Builder addPsAgentLocations(com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto value) {
        if (psAgentLocationsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensurePsAgentLocationsIsMutable();
          psAgentLocations_.add(value);
          onChanged();
        } else {
          psAgentLocationsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .PSAgentLocationProto psAgentLocations = 1;
       */
      public Builder addPsAgentLocations(
          int index, com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto value) {
        if (psAgentLocationsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensurePsAgentLocationsIsMutable();
          psAgentLocations_.add(index, value);
          onChanged();
        } else {
          psAgentLocationsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .PSAgentLocationProto psAgentLocations = 1;
       */
      public Builder addPsAgentLocations(
          com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto.Builder builderForValue) {
        if (psAgentLocationsBuilder_ == null) {
          ensurePsAgentLocationsIsMutable();
          psAgentLocations_.add(builderForValue.build());
          onChanged();
        } else {
          psAgentLocationsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .PSAgentLocationProto psAgentLocations = 1;
       */
      public Builder addPsAgentLocations(
          int index, com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto.Builder builderForValue) {
        if (psAgentLocationsBuilder_ == null) {
          ensurePsAgentLocationsIsMutable();
          psAgentLocations_.add(index, builderForValue.build());
          onChanged();
        } else {
          psAgentLocationsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .PSAgentLocationProto psAgentLocations = 1;
       */
      public Builder addAllPsAgentLocations(
          java.lang.Iterable values) {
        if (psAgentLocationsBuilder_ == null) {
          ensurePsAgentLocationsIsMutable();
          super.addAll(values, psAgentLocations_);
          onChanged();
        } else {
          psAgentLocationsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .PSAgentLocationProto psAgentLocations = 1;
       */
      public Builder clearPsAgentLocations() {
        if (psAgentLocationsBuilder_ == null) {
          psAgentLocations_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          psAgentLocationsBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .PSAgentLocationProto psAgentLocations = 1;
       */
      public Builder removePsAgentLocations(int index) {
        if (psAgentLocationsBuilder_ == null) {
          ensurePsAgentLocationsIsMutable();
          psAgentLocations_.remove(index);
          onChanged();
        } else {
          psAgentLocationsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .PSAgentLocationProto psAgentLocations = 1;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto.Builder getPsAgentLocationsBuilder(
          int index) {
        return getPsAgentLocationsFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .PSAgentLocationProto psAgentLocations = 1;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProtoOrBuilder getPsAgentLocationsOrBuilder(
          int index) {
        if (psAgentLocationsBuilder_ == null) {
          return psAgentLocations_.get(index);  } else {
          return psAgentLocationsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .PSAgentLocationProto psAgentLocations = 1;
       */
      public java.util.List 
           getPsAgentLocationsOrBuilderList() {
        if (psAgentLocationsBuilder_ != null) {
          return psAgentLocationsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(psAgentLocations_);
        }
      }
      /**
       * repeated .PSAgentLocationProto psAgentLocations = 1;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto.Builder addPsAgentLocationsBuilder() {
        return getPsAgentLocationsFieldBuilder().addBuilder(
            com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto.getDefaultInstance());
      }
      /**
       * repeated .PSAgentLocationProto psAgentLocations = 1;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto.Builder addPsAgentLocationsBuilder(
          int index) {
        return getPsAgentLocationsFieldBuilder().addBuilder(
            index, com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto.getDefaultInstance());
      }
      /**
       * repeated .PSAgentLocationProto psAgentLocations = 1;
       */
      public java.util.List 
           getPsAgentLocationsBuilderList() {
        return getPsAgentLocationsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilder<
          com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto, com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProtoOrBuilder> 
          getPsAgentLocationsFieldBuilder() {
        if (psAgentLocationsBuilder_ == null) {
          psAgentLocationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
              com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto, com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSAgentLocationProtoOrBuilder>(
                  psAgentLocations_,
                  ((bitField0_ & 0x00000001) == 0x00000001),
                  getParentForChildren(),
                  isClean());
          psAgentLocations_ = null;
        }
        return psAgentLocationsBuilder_;
      }

      // @@protoc_insertion_point(builder_scope:GetAllPSAgentLocationResponse)
    }

    static {
      defaultInstance = new GetAllPSAgentLocationResponse(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:GetAllPSAgentLocationResponse)
  }

  public interface GetMatricesRequestOrBuilder
      extends com.google.protobuf.MessageOrBuilder {

    // repeated string matrixNames = 1;
    /**
     * repeated string matrixNames = 1;
     */
    java.util.List
    getMatrixNamesList();
    /**
     * repeated string matrixNames = 1;
     */
    int getMatrixNamesCount();
    /**
     * repeated string matrixNames = 1;
     */
    java.lang.String getMatrixNames(int index);
    /**
     * repeated string matrixNames = 1;
     */
    com.google.protobuf.ByteString
        getMatrixNamesBytes(int index);
  }
  /**
   * Protobuf type {@code GetMatricesRequest}
   */
  public static final class GetMatricesRequest extends
      com.google.protobuf.GeneratedMessage
      implements GetMatricesRequestOrBuilder {
    // Use GetMatricesRequest.newBuilder() to construct.
    private GetMatricesRequest(com.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private GetMatricesRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final GetMatricesRequest defaultInstance;
    public static GetMatricesRequest getDefaultInstance() {
      return defaultInstance;
    }

    public GetMatricesRequest getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private GetMatricesRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      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;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
                matrixNames_ = new com.google.protobuf.LazyStringArrayList();
                mutable_bitField0_ |= 0x00000001;
              }
              matrixNames_.add(input.readBytes());
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
          matrixNames_ = new com.google.protobuf.UnmodifiableLazyStringList(matrixNames_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_GetMatricesRequest_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_GetMatricesRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesRequest.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesRequest.Builder.class);
    }

    public static com.google.protobuf.Parser PARSER =
        new com.google.protobuf.AbstractParser() {
      public GetMatricesRequest parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new GetMatricesRequest(input, extensionRegistry);
      }
    };

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

    // repeated string matrixNames = 1;
    public static final int MATRIXNAMES_FIELD_NUMBER = 1;
    private com.google.protobuf.LazyStringList matrixNames_;
    /**
     * repeated string matrixNames = 1;
     */
    public java.util.List
        getMatrixNamesList() {
      return matrixNames_;
    }
    /**
     * repeated string matrixNames = 1;
     */
    public int getMatrixNamesCount() {
      return matrixNames_.size();
    }
    /**
     * repeated string matrixNames = 1;
     */
    public java.lang.String getMatrixNames(int index) {
      return matrixNames_.get(index);
    }
    /**
     * repeated string matrixNames = 1;
     */
    public com.google.protobuf.ByteString
        getMatrixNamesBytes(int index) {
      return matrixNames_.getByteString(index);
    }

    private void initFields() {
      matrixNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      for (int i = 0; i < matrixNames_.size(); i++) {
        output.writeBytes(1, matrixNames_.getByteString(i));
      }
      getUnknownFields().writeTo(output);
    }

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

      size = 0;
      {
        int dataSize = 0;
        for (int i = 0; i < matrixNames_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeBytesSizeNoTag(matrixNames_.getByteString(i));
        }
        size += dataSize;
        size += 1 * getMatrixNamesList().size();
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesRequest)) {
        return super.equals(obj);
      }
      com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesRequest other = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesRequest) obj;

      boolean result = true;
      result = result && getMatrixNamesList()
          .equals(other.getMatrixNamesList());
      result = result &&
          getUnknownFields().equals(other.getUnknownFields());
      return result;
    }

    private int memoizedHashCode = 0;
    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptorForType().hashCode();
      if (getMatrixNamesCount() > 0) {
        hash = (37 * hash) + MATRIXNAMES_FIELD_NUMBER;
        hash = (53 * hash) + getMatrixNamesList().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesRequest parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesRequest parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesRequest parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesRequest prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code GetMatricesRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder
       implements com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_GetMatricesRequest_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_GetMatricesRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesRequest.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesRequest.Builder.class);
      }

      // Construct using com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesRequest.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        matrixNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000001);
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_GetMatricesRequest_descriptor;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesRequest getDefaultInstanceForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesRequest.getDefaultInstance();
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesRequest build() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesRequest buildPartial() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesRequest result = new com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesRequest(this);
        int from_bitField0_ = bitField0_;
        if (((bitField0_ & 0x00000001) == 0x00000001)) {
          matrixNames_ = new com.google.protobuf.UnmodifiableLazyStringList(
              matrixNames_);
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.matrixNames_ = matrixNames_;
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesRequest) {
          return mergeFrom((com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesRequest other) {
        if (other == com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesRequest.getDefaultInstance()) return this;
        if (!other.matrixNames_.isEmpty()) {
          if (matrixNames_.isEmpty()) {
            matrixNames_ = other.matrixNames_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureMatrixNamesIsMutable();
            matrixNames_.addAll(other.matrixNames_);
          }
          onChanged();
        }
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesRequest) e.getUnfinishedMessage();
          throw e;
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      // repeated string matrixNames = 1;
      private com.google.protobuf.LazyStringList matrixNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      private void ensureMatrixNamesIsMutable() {
        if (!((bitField0_ & 0x00000001) == 0x00000001)) {
          matrixNames_ = new com.google.protobuf.LazyStringArrayList(matrixNames_);
          bitField0_ |= 0x00000001;
         }
      }
      /**
       * repeated string matrixNames = 1;
       */
      public java.util.List
          getMatrixNamesList() {
        return java.util.Collections.unmodifiableList(matrixNames_);
      }
      /**
       * repeated string matrixNames = 1;
       */
      public int getMatrixNamesCount() {
        return matrixNames_.size();
      }
      /**
       * repeated string matrixNames = 1;
       */
      public java.lang.String getMatrixNames(int index) {
        return matrixNames_.get(index);
      }
      /**
       * repeated string matrixNames = 1;
       */
      public com.google.protobuf.ByteString
          getMatrixNamesBytes(int index) {
        return matrixNames_.getByteString(index);
      }
      /**
       * repeated string matrixNames = 1;
       */
      public Builder setMatrixNames(
          int index, java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureMatrixNamesIsMutable();
        matrixNames_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * repeated string matrixNames = 1;
       */
      public Builder addMatrixNames(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureMatrixNamesIsMutable();
        matrixNames_.add(value);
        onChanged();
        return this;
      }
      /**
       * repeated string matrixNames = 1;
       */
      public Builder addAllMatrixNames(
          java.lang.Iterable values) {
        ensureMatrixNamesIsMutable();
        super.addAll(values, matrixNames_);
        onChanged();
        return this;
      }
      /**
       * repeated string matrixNames = 1;
       */
      public Builder clearMatrixNames() {
        matrixNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }
      /**
       * repeated string matrixNames = 1;
       */
      public Builder addMatrixNamesBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureMatrixNamesIsMutable();
        matrixNames_.add(value);
        onChanged();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:GetMatricesRequest)
    }

    static {
      defaultInstance = new GetMatricesRequest(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:GetMatricesRequest)
  }

  public interface GetMatricesResponseOrBuilder
      extends com.google.protobuf.MessageOrBuilder {

    // repeated .MatrixMetaProto matrixMetas = 1;
    /**
     * repeated .MatrixMetaProto matrixMetas = 1;
     */
    java.util.List 
        getMatrixMetasList();
    /**
     * repeated .MatrixMetaProto matrixMetas = 1;
     */
    com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto getMatrixMetas(int index);
    /**
     * repeated .MatrixMetaProto matrixMetas = 1;
     */
    int getMatrixMetasCount();
    /**
     * repeated .MatrixMetaProto matrixMetas = 1;
     */
    java.util.List 
        getMatrixMetasOrBuilderList();
    /**
     * repeated .MatrixMetaProto matrixMetas = 1;
     */
    com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProtoOrBuilder getMatrixMetasOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code GetMatricesResponse}
   */
  public static final class GetMatricesResponse extends
      com.google.protobuf.GeneratedMessage
      implements GetMatricesResponseOrBuilder {
    // Use GetMatricesResponse.newBuilder() to construct.
    private GetMatricesResponse(com.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private GetMatricesResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final GetMatricesResponse defaultInstance;
    public static GetMatricesResponse getDefaultInstance() {
      return defaultInstance;
    }

    public GetMatricesResponse getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private GetMatricesResponse(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      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;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
                matrixMetas_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000001;
              }
              matrixMetas_.add(input.readMessage(com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto.PARSER, extensionRegistry));
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
          matrixMetas_ = java.util.Collections.unmodifiableList(matrixMetas_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_GetMatricesResponse_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_GetMatricesResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesResponse.Builder.class);
    }

    public static com.google.protobuf.Parser PARSER =
        new com.google.protobuf.AbstractParser() {
      public GetMatricesResponse parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new GetMatricesResponse(input, extensionRegistry);
      }
    };

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

    // repeated .MatrixMetaProto matrixMetas = 1;
    public static final int MATRIXMETAS_FIELD_NUMBER = 1;
    private java.util.List matrixMetas_;
    /**
     * repeated .MatrixMetaProto matrixMetas = 1;
     */
    public java.util.List getMatrixMetasList() {
      return matrixMetas_;
    }
    /**
     * repeated .MatrixMetaProto matrixMetas = 1;
     */
    public java.util.List 
        getMatrixMetasOrBuilderList() {
      return matrixMetas_;
    }
    /**
     * repeated .MatrixMetaProto matrixMetas = 1;
     */
    public int getMatrixMetasCount() {
      return matrixMetas_.size();
    }
    /**
     * repeated .MatrixMetaProto matrixMetas = 1;
     */
    public com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto getMatrixMetas(int index) {
      return matrixMetas_.get(index);
    }
    /**
     * repeated .MatrixMetaProto matrixMetas = 1;
     */
    public com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProtoOrBuilder getMatrixMetasOrBuilder(
        int index) {
      return matrixMetas_.get(index);
    }

    private void initFields() {
      matrixMetas_ = java.util.Collections.emptyList();
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      for (int i = 0; i < getMatrixMetasCount(); i++) {
        if (!getMatrixMetas(i).isInitialized()) {
          memoizedIsInitialized = 0;
          return false;
        }
      }
      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      for (int i = 0; i < matrixMetas_.size(); i++) {
        output.writeMessage(1, matrixMetas_.get(i));
      }
      getUnknownFields().writeTo(output);
    }

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

      size = 0;
      for (int i = 0; i < matrixMetas_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, matrixMetas_.get(i));
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesResponse)) {
        return super.equals(obj);
      }
      com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesResponse other = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesResponse) obj;

      boolean result = true;
      result = result && getMatrixMetasList()
          .equals(other.getMatrixMetasList());
      result = result &&
          getUnknownFields().equals(other.getUnknownFields());
      return result;
    }

    private int memoizedHashCode = 0;
    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptorForType().hashCode();
      if (getMatrixMetasCount() > 0) {
        hash = (37 * hash) + MATRIXMETAS_FIELD_NUMBER;
        hash = (53 * hash) + getMatrixMetasList().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesResponse parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesResponse parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesResponse parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesResponse parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesResponse parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesResponse parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesResponse parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesResponse parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesResponse parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesResponse parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesResponse prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code GetMatricesResponse}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder
       implements com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesResponseOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_GetMatricesResponse_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_GetMatricesResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesResponse.Builder.class);
      }

      // Construct using com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesResponse.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
          getMatrixMetasFieldBuilder();
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        if (matrixMetasBuilder_ == null) {
          matrixMetas_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          matrixMetasBuilder_.clear();
        }
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_GetMatricesResponse_descriptor;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesResponse getDefaultInstanceForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesResponse.getDefaultInstance();
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesResponse build() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesResponse result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesResponse buildPartial() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesResponse result = new com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesResponse(this);
        int from_bitField0_ = bitField0_;
        if (matrixMetasBuilder_ == null) {
          if (((bitField0_ & 0x00000001) == 0x00000001)) {
            matrixMetas_ = java.util.Collections.unmodifiableList(matrixMetas_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.matrixMetas_ = matrixMetas_;
        } else {
          result.matrixMetas_ = matrixMetasBuilder_.build();
        }
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesResponse) {
          return mergeFrom((com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesResponse other) {
        if (other == com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesResponse.getDefaultInstance()) return this;
        if (matrixMetasBuilder_ == null) {
          if (!other.matrixMetas_.isEmpty()) {
            if (matrixMetas_.isEmpty()) {
              matrixMetas_ = other.matrixMetas_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureMatrixMetasIsMutable();
              matrixMetas_.addAll(other.matrixMetas_);
            }
            onChanged();
          }
        } else {
          if (!other.matrixMetas_.isEmpty()) {
            if (matrixMetasBuilder_.isEmpty()) {
              matrixMetasBuilder_.dispose();
              matrixMetasBuilder_ = null;
              matrixMetas_ = other.matrixMetas_;
              bitField0_ = (bitField0_ & ~0x00000001);
              matrixMetasBuilder_ = 
                com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
                   getMatrixMetasFieldBuilder() : null;
            } else {
              matrixMetasBuilder_.addAllMessages(other.matrixMetas_);
            }
          }
        }
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        for (int i = 0; i < getMatrixMetasCount(); i++) {
          if (!getMatrixMetas(i).isInitialized()) {
            
            return false;
          }
        }
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesResponse) e.getUnfinishedMessage();
          throw e;
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      // repeated .MatrixMetaProto matrixMetas = 1;
      private java.util.List matrixMetas_ =
        java.util.Collections.emptyList();
      private void ensureMatrixMetasIsMutable() {
        if (!((bitField0_ & 0x00000001) == 0x00000001)) {
          matrixMetas_ = new java.util.ArrayList(matrixMetas_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilder<
          com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto, com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProtoOrBuilder> matrixMetasBuilder_;

      /**
       * repeated .MatrixMetaProto matrixMetas = 1;
       */
      public java.util.List getMatrixMetasList() {
        if (matrixMetasBuilder_ == null) {
          return java.util.Collections.unmodifiableList(matrixMetas_);
        } else {
          return matrixMetasBuilder_.getMessageList();
        }
      }
      /**
       * repeated .MatrixMetaProto matrixMetas = 1;
       */
      public int getMatrixMetasCount() {
        if (matrixMetasBuilder_ == null) {
          return matrixMetas_.size();
        } else {
          return matrixMetasBuilder_.getCount();
        }
      }
      /**
       * repeated .MatrixMetaProto matrixMetas = 1;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto getMatrixMetas(int index) {
        if (matrixMetasBuilder_ == null) {
          return matrixMetas_.get(index);
        } else {
          return matrixMetasBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .MatrixMetaProto matrixMetas = 1;
       */
      public Builder setMatrixMetas(
          int index, com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto value) {
        if (matrixMetasBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureMatrixMetasIsMutable();
          matrixMetas_.set(index, value);
          onChanged();
        } else {
          matrixMetasBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .MatrixMetaProto matrixMetas = 1;
       */
      public Builder setMatrixMetas(
          int index, com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto.Builder builderForValue) {
        if (matrixMetasBuilder_ == null) {
          ensureMatrixMetasIsMutable();
          matrixMetas_.set(index, builderForValue.build());
          onChanged();
        } else {
          matrixMetasBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .MatrixMetaProto matrixMetas = 1;
       */
      public Builder addMatrixMetas(com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto value) {
        if (matrixMetasBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureMatrixMetasIsMutable();
          matrixMetas_.add(value);
          onChanged();
        } else {
          matrixMetasBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .MatrixMetaProto matrixMetas = 1;
       */
      public Builder addMatrixMetas(
          int index, com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto value) {
        if (matrixMetasBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureMatrixMetasIsMutable();
          matrixMetas_.add(index, value);
          onChanged();
        } else {
          matrixMetasBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .MatrixMetaProto matrixMetas = 1;
       */
      public Builder addMatrixMetas(
          com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto.Builder builderForValue) {
        if (matrixMetasBuilder_ == null) {
          ensureMatrixMetasIsMutable();
          matrixMetas_.add(builderForValue.build());
          onChanged();
        } else {
          matrixMetasBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .MatrixMetaProto matrixMetas = 1;
       */
      public Builder addMatrixMetas(
          int index, com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto.Builder builderForValue) {
        if (matrixMetasBuilder_ == null) {
          ensureMatrixMetasIsMutable();
          matrixMetas_.add(index, builderForValue.build());
          onChanged();
        } else {
          matrixMetasBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .MatrixMetaProto matrixMetas = 1;
       */
      public Builder addAllMatrixMetas(
          java.lang.Iterable values) {
        if (matrixMetasBuilder_ == null) {
          ensureMatrixMetasIsMutable();
          super.addAll(values, matrixMetas_);
          onChanged();
        } else {
          matrixMetasBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .MatrixMetaProto matrixMetas = 1;
       */
      public Builder clearMatrixMetas() {
        if (matrixMetasBuilder_ == null) {
          matrixMetas_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          matrixMetasBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .MatrixMetaProto matrixMetas = 1;
       */
      public Builder removeMatrixMetas(int index) {
        if (matrixMetasBuilder_ == null) {
          ensureMatrixMetasIsMutable();
          matrixMetas_.remove(index);
          onChanged();
        } else {
          matrixMetasBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .MatrixMetaProto matrixMetas = 1;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto.Builder getMatrixMetasBuilder(
          int index) {
        return getMatrixMetasFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .MatrixMetaProto matrixMetas = 1;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProtoOrBuilder getMatrixMetasOrBuilder(
          int index) {
        if (matrixMetasBuilder_ == null) {
          return matrixMetas_.get(index);  } else {
          return matrixMetasBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .MatrixMetaProto matrixMetas = 1;
       */
      public java.util.List 
           getMatrixMetasOrBuilderList() {
        if (matrixMetasBuilder_ != null) {
          return matrixMetasBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(matrixMetas_);
        }
      }
      /**
       * repeated .MatrixMetaProto matrixMetas = 1;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto.Builder addMatrixMetasBuilder() {
        return getMatrixMetasFieldBuilder().addBuilder(
            com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto.getDefaultInstance());
      }
      /**
       * repeated .MatrixMetaProto matrixMetas = 1;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto.Builder addMatrixMetasBuilder(
          int index) {
        return getMatrixMetasFieldBuilder().addBuilder(
            index, com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto.getDefaultInstance());
      }
      /**
       * repeated .MatrixMetaProto matrixMetas = 1;
       */
      public java.util.List 
           getMatrixMetasBuilderList() {
        return getMatrixMetasFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilder<
          com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto, com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProtoOrBuilder> 
          getMatrixMetasFieldBuilder() {
        if (matrixMetasBuilder_ == null) {
          matrixMetasBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
              com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto, com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProtoOrBuilder>(
                  matrixMetas_,
                  ((bitField0_ & 0x00000001) == 0x00000001),
                  getParentForChildren(),
                  isClean());
          matrixMetas_ = null;
        }
        return matrixMetasBuilder_;
      }

      // @@protoc_insertion_point(builder_scope:GetMatricesResponse)
    }

    static {
      defaultInstance = new GetMatricesResponse(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:GetMatricesResponse)
  }

  public interface ReleaseMatricesRequestOrBuilder
      extends com.google.protobuf.MessageOrBuilder {

    // repeated string matrixNames = 1;
    /**
     * repeated string matrixNames = 1;
     */
    java.util.List
    getMatrixNamesList();
    /**
     * repeated string matrixNames = 1;
     */
    int getMatrixNamesCount();
    /**
     * repeated string matrixNames = 1;
     */
    java.lang.String getMatrixNames(int index);
    /**
     * repeated string matrixNames = 1;
     */
    com.google.protobuf.ByteString
        getMatrixNamesBytes(int index);
  }
  /**
   * Protobuf type {@code ReleaseMatricesRequest}
   */
  public static final class ReleaseMatricesRequest extends
      com.google.protobuf.GeneratedMessage
      implements ReleaseMatricesRequestOrBuilder {
    // Use ReleaseMatricesRequest.newBuilder() to construct.
    private ReleaseMatricesRequest(com.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private ReleaseMatricesRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final ReleaseMatricesRequest defaultInstance;
    public static ReleaseMatricesRequest getDefaultInstance() {
      return defaultInstance;
    }

    public ReleaseMatricesRequest getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private ReleaseMatricesRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      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;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
                matrixNames_ = new com.google.protobuf.LazyStringArrayList();
                mutable_bitField0_ |= 0x00000001;
              }
              matrixNames_.add(input.readBytes());
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
          matrixNames_ = new com.google.protobuf.UnmodifiableLazyStringList(matrixNames_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_ReleaseMatricesRequest_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_ReleaseMatricesRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesRequest.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesRequest.Builder.class);
    }

    public static com.google.protobuf.Parser PARSER =
        new com.google.protobuf.AbstractParser() {
      public ReleaseMatricesRequest parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new ReleaseMatricesRequest(input, extensionRegistry);
      }
    };

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

    // repeated string matrixNames = 1;
    public static final int MATRIXNAMES_FIELD_NUMBER = 1;
    private com.google.protobuf.LazyStringList matrixNames_;
    /**
     * repeated string matrixNames = 1;
     */
    public java.util.List
        getMatrixNamesList() {
      return matrixNames_;
    }
    /**
     * repeated string matrixNames = 1;
     */
    public int getMatrixNamesCount() {
      return matrixNames_.size();
    }
    /**
     * repeated string matrixNames = 1;
     */
    public java.lang.String getMatrixNames(int index) {
      return matrixNames_.get(index);
    }
    /**
     * repeated string matrixNames = 1;
     */
    public com.google.protobuf.ByteString
        getMatrixNamesBytes(int index) {
      return matrixNames_.getByteString(index);
    }

    private void initFields() {
      matrixNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      for (int i = 0; i < matrixNames_.size(); i++) {
        output.writeBytes(1, matrixNames_.getByteString(i));
      }
      getUnknownFields().writeTo(output);
    }

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

      size = 0;
      {
        int dataSize = 0;
        for (int i = 0; i < matrixNames_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeBytesSizeNoTag(matrixNames_.getByteString(i));
        }
        size += dataSize;
        size += 1 * getMatrixNamesList().size();
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesRequest)) {
        return super.equals(obj);
      }
      com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesRequest other = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesRequest) obj;

      boolean result = true;
      result = result && getMatrixNamesList()
          .equals(other.getMatrixNamesList());
      result = result &&
          getUnknownFields().equals(other.getUnknownFields());
      return result;
    }

    private int memoizedHashCode = 0;
    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptorForType().hashCode();
      if (getMatrixNamesCount() > 0) {
        hash = (37 * hash) + MATRIXNAMES_FIELD_NUMBER;
        hash = (53 * hash) + getMatrixNamesList().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesRequest parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesRequest parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesRequest parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesRequest prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code ReleaseMatricesRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder
       implements com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_ReleaseMatricesRequest_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_ReleaseMatricesRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesRequest.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesRequest.Builder.class);
      }

      // Construct using com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesRequest.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        matrixNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000001);
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_ReleaseMatricesRequest_descriptor;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesRequest getDefaultInstanceForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesRequest.getDefaultInstance();
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesRequest build() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesRequest buildPartial() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesRequest result = new com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesRequest(this);
        int from_bitField0_ = bitField0_;
        if (((bitField0_ & 0x00000001) == 0x00000001)) {
          matrixNames_ = new com.google.protobuf.UnmodifiableLazyStringList(
              matrixNames_);
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.matrixNames_ = matrixNames_;
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesRequest) {
          return mergeFrom((com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesRequest other) {
        if (other == com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesRequest.getDefaultInstance()) return this;
        if (!other.matrixNames_.isEmpty()) {
          if (matrixNames_.isEmpty()) {
            matrixNames_ = other.matrixNames_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureMatrixNamesIsMutable();
            matrixNames_.addAll(other.matrixNames_);
          }
          onChanged();
        }
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesRequest) e.getUnfinishedMessage();
          throw e;
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      // repeated string matrixNames = 1;
      private com.google.protobuf.LazyStringList matrixNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      private void ensureMatrixNamesIsMutable() {
        if (!((bitField0_ & 0x00000001) == 0x00000001)) {
          matrixNames_ = new com.google.protobuf.LazyStringArrayList(matrixNames_);
          bitField0_ |= 0x00000001;
         }
      }
      /**
       * repeated string matrixNames = 1;
       */
      public java.util.List
          getMatrixNamesList() {
        return java.util.Collections.unmodifiableList(matrixNames_);
      }
      /**
       * repeated string matrixNames = 1;
       */
      public int getMatrixNamesCount() {
        return matrixNames_.size();
      }
      /**
       * repeated string matrixNames = 1;
       */
      public java.lang.String getMatrixNames(int index) {
        return matrixNames_.get(index);
      }
      /**
       * repeated string matrixNames = 1;
       */
      public com.google.protobuf.ByteString
          getMatrixNamesBytes(int index) {
        return matrixNames_.getByteString(index);
      }
      /**
       * repeated string matrixNames = 1;
       */
      public Builder setMatrixNames(
          int index, java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureMatrixNamesIsMutable();
        matrixNames_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * repeated string matrixNames = 1;
       */
      public Builder addMatrixNames(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureMatrixNamesIsMutable();
        matrixNames_.add(value);
        onChanged();
        return this;
      }
      /**
       * repeated string matrixNames = 1;
       */
      public Builder addAllMatrixNames(
          java.lang.Iterable values) {
        ensureMatrixNamesIsMutable();
        super.addAll(values, matrixNames_);
        onChanged();
        return this;
      }
      /**
       * repeated string matrixNames = 1;
       */
      public Builder clearMatrixNames() {
        matrixNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }
      /**
       * repeated string matrixNames = 1;
       */
      public Builder addMatrixNamesBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureMatrixNamesIsMutable();
        matrixNames_.add(value);
        onChanged();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:ReleaseMatricesRequest)
    }

    static {
      defaultInstance = new ReleaseMatricesRequest(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:ReleaseMatricesRequest)
  }

  public interface ReleaseMatricesResponseOrBuilder
      extends com.google.protobuf.MessageOrBuilder {
  }
  /**
   * Protobuf type {@code ReleaseMatricesResponse}
   */
  public static final class ReleaseMatricesResponse extends
      com.google.protobuf.GeneratedMessage
      implements ReleaseMatricesResponseOrBuilder {
    // Use ReleaseMatricesResponse.newBuilder() to construct.
    private ReleaseMatricesResponse(com.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private ReleaseMatricesResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final ReleaseMatricesResponse defaultInstance;
    public static ReleaseMatricesResponse getDefaultInstance() {
      return defaultInstance;
    }

    public ReleaseMatricesResponse getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private ReleaseMatricesResponse(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_ReleaseMatricesResponse_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_ReleaseMatricesResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesResponse.Builder.class);
    }

    public static com.google.protobuf.Parser PARSER =
        new com.google.protobuf.AbstractParser() {
      public ReleaseMatricesResponse parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new ReleaseMatricesResponse(input, extensionRegistry);
      }
    };

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

    private void initFields() {
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      memoizedIsInitialized = 1;
      return true;
    }

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

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

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

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesResponse)) {
        return super.equals(obj);
      }
      com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesResponse other = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesResponse) obj;

      boolean result = true;
      result = result &&
          getUnknownFields().equals(other.getUnknownFields());
      return result;
    }

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

    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesResponse parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesResponse parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesResponse parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesResponse parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesResponse parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesResponse parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesResponse parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesResponse parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesResponse parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesResponse parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesResponse prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code ReleaseMatricesResponse}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder
       implements com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesResponseOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_ReleaseMatricesResponse_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_ReleaseMatricesResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesResponse.Builder.class);
      }

      // Construct using com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesResponse.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_ReleaseMatricesResponse_descriptor;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesResponse getDefaultInstanceForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesResponse.getDefaultInstance();
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesResponse build() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesResponse result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesResponse buildPartial() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesResponse result = new com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesResponse(this);
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesResponse) {
          return mergeFrom((com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesResponse other) {
        if (other == com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesResponse.getDefaultInstance()) return this;
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

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

      // @@protoc_insertion_point(builder_scope:ReleaseMatricesResponse)
    }

    static {
      defaultInstance = new ReleaseMatricesResponse(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:ReleaseMatricesResponse)
  }

  public interface PSAgentReportRequestOrBuilder
      extends com.google.protobuf.MessageOrBuilder {

    // required int32 psAgentId = 1;
    /**
     * required int32 psAgentId = 1;
     */
    boolean hasPsAgentId();
    /**
     * required int32 psAgentId = 1;
     */
    int getPsAgentId();

    // repeated .Pair pairs = 3;
    /**
     * repeated .Pair pairs = 3;
     */
    java.util.List 
        getPairsList();
    /**
     * repeated .Pair pairs = 3;
     */
    com.tencent.angel.protobuf.generated.MLProtos.Pair getPairs(int index);
    /**
     * repeated .Pair pairs = 3;
     */
    int getPairsCount();
    /**
     * repeated .Pair pairs = 3;
     */
    java.util.List 
        getPairsOrBuilderList();
    /**
     * repeated .Pair pairs = 3;
     */
    com.tencent.angel.protobuf.generated.MLProtos.PairOrBuilder getPairsOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code PSAgentReportRequest}
   */
  public static final class PSAgentReportRequest extends
      com.google.protobuf.GeneratedMessage
      implements PSAgentReportRequestOrBuilder {
    // Use PSAgentReportRequest.newBuilder() to construct.
    private PSAgentReportRequest(com.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private PSAgentReportRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final PSAgentReportRequest defaultInstance;
    public static PSAgentReportRequest getDefaultInstance() {
      return defaultInstance;
    }

    public PSAgentReportRequest getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private PSAgentReportRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      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;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 8: {
              bitField0_ |= 0x00000001;
              psAgentId_ = input.readInt32();
              break;
            }
            case 26: {
              if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
                pairs_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000002;
              }
              pairs_.add(input.readMessage(com.tencent.angel.protobuf.generated.MLProtos.Pair.PARSER, extensionRegistry));
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
          pairs_ = java.util.Collections.unmodifiableList(pairs_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSAgentReportRequest_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSAgentReportRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportRequest.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportRequest.Builder.class);
    }

    public static com.google.protobuf.Parser PARSER =
        new com.google.protobuf.AbstractParser() {
      public PSAgentReportRequest parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new PSAgentReportRequest(input, extensionRegistry);
      }
    };

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

    private int bitField0_;
    // required int32 psAgentId = 1;
    public static final int PSAGENTID_FIELD_NUMBER = 1;
    private int psAgentId_;
    /**
     * required int32 psAgentId = 1;
     */
    public boolean hasPsAgentId() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    /**
     * required int32 psAgentId = 1;
     */
    public int getPsAgentId() {
      return psAgentId_;
    }

    // repeated .Pair pairs = 3;
    public static final int PAIRS_FIELD_NUMBER = 3;
    private java.util.List pairs_;
    /**
     * repeated .Pair pairs = 3;
     */
    public java.util.List getPairsList() {
      return pairs_;
    }
    /**
     * repeated .Pair pairs = 3;
     */
    public java.util.List 
        getPairsOrBuilderList() {
      return pairs_;
    }
    /**
     * repeated .Pair pairs = 3;
     */
    public int getPairsCount() {
      return pairs_.size();
    }
    /**
     * repeated .Pair pairs = 3;
     */
    public com.tencent.angel.protobuf.generated.MLProtos.Pair getPairs(int index) {
      return pairs_.get(index);
    }
    /**
     * repeated .Pair pairs = 3;
     */
    public com.tencent.angel.protobuf.generated.MLProtos.PairOrBuilder getPairsOrBuilder(
        int index) {
      return pairs_.get(index);
    }

    private void initFields() {
      psAgentId_ = 0;
      pairs_ = java.util.Collections.emptyList();
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      if (!hasPsAgentId()) {
        memoizedIsInitialized = 0;
        return false;
      }
      for (int i = 0; i < getPairsCount(); i++) {
        if (!getPairs(i).isInitialized()) {
          memoizedIsInitialized = 0;
          return false;
        }
      }
      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeInt32(1, psAgentId_);
      }
      for (int i = 0; i < pairs_.size(); i++) {
        output.writeMessage(3, pairs_.get(i));
      }
      getUnknownFields().writeTo(output);
    }

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(1, psAgentId_);
      }
      for (int i = 0; i < pairs_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, pairs_.get(i));
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportRequest)) {
        return super.equals(obj);
      }
      com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportRequest other = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportRequest) obj;

      boolean result = true;
      result = result && (hasPsAgentId() == other.hasPsAgentId());
      if (hasPsAgentId()) {
        result = result && (getPsAgentId()
            == other.getPsAgentId());
      }
      result = result && getPairsList()
          .equals(other.getPairsList());
      result = result &&
          getUnknownFields().equals(other.getUnknownFields());
      return result;
    }

    private int memoizedHashCode = 0;
    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptorForType().hashCode();
      if (hasPsAgentId()) {
        hash = (37 * hash) + PSAGENTID_FIELD_NUMBER;
        hash = (53 * hash) + getPsAgentId();
      }
      if (getPairsCount() > 0) {
        hash = (37 * hash) + PAIRS_FIELD_NUMBER;
        hash = (53 * hash) + getPairsList().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportRequest parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportRequest parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportRequest parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportRequest prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code PSAgentReportRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder
       implements com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSAgentReportRequest_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSAgentReportRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportRequest.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportRequest.Builder.class);
      }

      // Construct using com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportRequest.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
          getPairsFieldBuilder();
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        psAgentId_ = 0;
        bitField0_ = (bitField0_ & ~0x00000001);
        if (pairsBuilder_ == null) {
          pairs_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
        } else {
          pairsBuilder_.clear();
        }
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSAgentReportRequest_descriptor;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportRequest getDefaultInstanceForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportRequest.getDefaultInstance();
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportRequest build() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportRequest buildPartial() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportRequest result = new com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportRequest(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
          to_bitField0_ |= 0x00000001;
        }
        result.psAgentId_ = psAgentId_;
        if (pairsBuilder_ == null) {
          if (((bitField0_ & 0x00000002) == 0x00000002)) {
            pairs_ = java.util.Collections.unmodifiableList(pairs_);
            bitField0_ = (bitField0_ & ~0x00000002);
          }
          result.pairs_ = pairs_;
        } else {
          result.pairs_ = pairsBuilder_.build();
        }
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportRequest) {
          return mergeFrom((com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportRequest other) {
        if (other == com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportRequest.getDefaultInstance()) return this;
        if (other.hasPsAgentId()) {
          setPsAgentId(other.getPsAgentId());
        }
        if (pairsBuilder_ == null) {
          if (!other.pairs_.isEmpty()) {
            if (pairs_.isEmpty()) {
              pairs_ = other.pairs_;
              bitField0_ = (bitField0_ & ~0x00000002);
            } else {
              ensurePairsIsMutable();
              pairs_.addAll(other.pairs_);
            }
            onChanged();
          }
        } else {
          if (!other.pairs_.isEmpty()) {
            if (pairsBuilder_.isEmpty()) {
              pairsBuilder_.dispose();
              pairsBuilder_ = null;
              pairs_ = other.pairs_;
              bitField0_ = (bitField0_ & ~0x00000002);
              pairsBuilder_ = 
                com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
                   getPairsFieldBuilder() : null;
            } else {
              pairsBuilder_.addAllMessages(other.pairs_);
            }
          }
        }
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        if (!hasPsAgentId()) {
          
          return false;
        }
        for (int i = 0; i < getPairsCount(); i++) {
          if (!getPairs(i).isInitialized()) {
            
            return false;
          }
        }
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportRequest) e.getUnfinishedMessage();
          throw e;
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      // required int32 psAgentId = 1;
      private int psAgentId_ ;
      /**
       * required int32 psAgentId = 1;
       */
      public boolean hasPsAgentId() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * required int32 psAgentId = 1;
       */
      public int getPsAgentId() {
        return psAgentId_;
      }
      /**
       * required int32 psAgentId = 1;
       */
      public Builder setPsAgentId(int value) {
        bitField0_ |= 0x00000001;
        psAgentId_ = value;
        onChanged();
        return this;
      }
      /**
       * required int32 psAgentId = 1;
       */
      public Builder clearPsAgentId() {
        bitField0_ = (bitField0_ & ~0x00000001);
        psAgentId_ = 0;
        onChanged();
        return this;
      }

      // repeated .Pair pairs = 3;
      private java.util.List pairs_ =
        java.util.Collections.emptyList();
      private void ensurePairsIsMutable() {
        if (!((bitField0_ & 0x00000002) == 0x00000002)) {
          pairs_ = new java.util.ArrayList(pairs_);
          bitField0_ |= 0x00000002;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilder<
          com.tencent.angel.protobuf.generated.MLProtos.Pair, com.tencent.angel.protobuf.generated.MLProtos.Pair.Builder, com.tencent.angel.protobuf.generated.MLProtos.PairOrBuilder> pairsBuilder_;

      /**
       * repeated .Pair pairs = 3;
       */
      public java.util.List getPairsList() {
        if (pairsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(pairs_);
        } else {
          return pairsBuilder_.getMessageList();
        }
      }
      /**
       * repeated .Pair pairs = 3;
       */
      public int getPairsCount() {
        if (pairsBuilder_ == null) {
          return pairs_.size();
        } else {
          return pairsBuilder_.getCount();
        }
      }
      /**
       * repeated .Pair pairs = 3;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.Pair getPairs(int index) {
        if (pairsBuilder_ == null) {
          return pairs_.get(index);
        } else {
          return pairsBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .Pair pairs = 3;
       */
      public Builder setPairs(
          int index, com.tencent.angel.protobuf.generated.MLProtos.Pair value) {
        if (pairsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensurePairsIsMutable();
          pairs_.set(index, value);
          onChanged();
        } else {
          pairsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .Pair pairs = 3;
       */
      public Builder setPairs(
          int index, com.tencent.angel.protobuf.generated.MLProtos.Pair.Builder builderForValue) {
        if (pairsBuilder_ == null) {
          ensurePairsIsMutable();
          pairs_.set(index, builderForValue.build());
          onChanged();
        } else {
          pairsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .Pair pairs = 3;
       */
      public Builder addPairs(com.tencent.angel.protobuf.generated.MLProtos.Pair value) {
        if (pairsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensurePairsIsMutable();
          pairs_.add(value);
          onChanged();
        } else {
          pairsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .Pair pairs = 3;
       */
      public Builder addPairs(
          int index, com.tencent.angel.protobuf.generated.MLProtos.Pair value) {
        if (pairsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensurePairsIsMutable();
          pairs_.add(index, value);
          onChanged();
        } else {
          pairsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .Pair pairs = 3;
       */
      public Builder addPairs(
          com.tencent.angel.protobuf.generated.MLProtos.Pair.Builder builderForValue) {
        if (pairsBuilder_ == null) {
          ensurePairsIsMutable();
          pairs_.add(builderForValue.build());
          onChanged();
        } else {
          pairsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .Pair pairs = 3;
       */
      public Builder addPairs(
          int index, com.tencent.angel.protobuf.generated.MLProtos.Pair.Builder builderForValue) {
        if (pairsBuilder_ == null) {
          ensurePairsIsMutable();
          pairs_.add(index, builderForValue.build());
          onChanged();
        } else {
          pairsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .Pair pairs = 3;
       */
      public Builder addAllPairs(
          java.lang.Iterable values) {
        if (pairsBuilder_ == null) {
          ensurePairsIsMutable();
          super.addAll(values, pairs_);
          onChanged();
        } else {
          pairsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .Pair pairs = 3;
       */
      public Builder clearPairs() {
        if (pairsBuilder_ == null) {
          pairs_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
          onChanged();
        } else {
          pairsBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .Pair pairs = 3;
       */
      public Builder removePairs(int index) {
        if (pairsBuilder_ == null) {
          ensurePairsIsMutable();
          pairs_.remove(index);
          onChanged();
        } else {
          pairsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .Pair pairs = 3;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.Pair.Builder getPairsBuilder(
          int index) {
        return getPairsFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .Pair pairs = 3;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.PairOrBuilder getPairsOrBuilder(
          int index) {
        if (pairsBuilder_ == null) {
          return pairs_.get(index);  } else {
          return pairsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .Pair pairs = 3;
       */
      public java.util.List 
           getPairsOrBuilderList() {
        if (pairsBuilder_ != null) {
          return pairsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(pairs_);
        }
      }
      /**
       * repeated .Pair pairs = 3;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.Pair.Builder addPairsBuilder() {
        return getPairsFieldBuilder().addBuilder(
            com.tencent.angel.protobuf.generated.MLProtos.Pair.getDefaultInstance());
      }
      /**
       * repeated .Pair pairs = 3;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.Pair.Builder addPairsBuilder(
          int index) {
        return getPairsFieldBuilder().addBuilder(
            index, com.tencent.angel.protobuf.generated.MLProtos.Pair.getDefaultInstance());
      }
      /**
       * repeated .Pair pairs = 3;
       */
      public java.util.List 
           getPairsBuilderList() {
        return getPairsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilder<
          com.tencent.angel.protobuf.generated.MLProtos.Pair, com.tencent.angel.protobuf.generated.MLProtos.Pair.Builder, com.tencent.angel.protobuf.generated.MLProtos.PairOrBuilder> 
          getPairsFieldBuilder() {
        if (pairsBuilder_ == null) {
          pairsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
              com.tencent.angel.protobuf.generated.MLProtos.Pair, com.tencent.angel.protobuf.generated.MLProtos.Pair.Builder, com.tencent.angel.protobuf.generated.MLProtos.PairOrBuilder>(
                  pairs_,
                  ((bitField0_ & 0x00000002) == 0x00000002),
                  getParentForChildren(),
                  isClean());
          pairs_ = null;
        }
        return pairsBuilder_;
      }

      // @@protoc_insertion_point(builder_scope:PSAgentReportRequest)
    }

    static {
      defaultInstance = new PSAgentReportRequest(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:PSAgentReportRequest)
  }

  public interface PSAgentReportResponseOrBuilder
      extends com.google.protobuf.MessageOrBuilder {

    // required .PSAgentCommandProto command = 1 [default = PSAGENT_SUCCESS];
    /**
     * required .PSAgentCommandProto command = 1 [default = PSAGENT_SUCCESS];
     */
    boolean hasCommand();
    /**
     * required .PSAgentCommandProto command = 1 [default = PSAGENT_SUCCESS];
     */
    com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto getCommand();
  }
  /**
   * Protobuf type {@code PSAgentReportResponse}
   */
  public static final class PSAgentReportResponse extends
      com.google.protobuf.GeneratedMessage
      implements PSAgentReportResponseOrBuilder {
    // Use PSAgentReportResponse.newBuilder() to construct.
    private PSAgentReportResponse(com.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private PSAgentReportResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final PSAgentReportResponse defaultInstance;
    public static PSAgentReportResponse getDefaultInstance() {
      return defaultInstance;
    }

    public PSAgentReportResponse getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private PSAgentReportResponse(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      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;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 8: {
              int rawValue = input.readEnum();
              com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto value = com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto.valueOf(rawValue);
              if (value == null) {
                unknownFields.mergeVarintField(1, rawValue);
              } else {
                bitField0_ |= 0x00000001;
                command_ = value;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSAgentReportResponse_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSAgentReportResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportResponse.Builder.class);
    }

    public static com.google.protobuf.Parser PARSER =
        new com.google.protobuf.AbstractParser() {
      public PSAgentReportResponse parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new PSAgentReportResponse(input, extensionRegistry);
      }
    };

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

    private int bitField0_;
    // required .PSAgentCommandProto command = 1 [default = PSAGENT_SUCCESS];
    public static final int COMMAND_FIELD_NUMBER = 1;
    private com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto command_;
    /**
     * required .PSAgentCommandProto command = 1 [default = PSAGENT_SUCCESS];
     */
    public boolean hasCommand() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    /**
     * required .PSAgentCommandProto command = 1 [default = PSAGENT_SUCCESS];
     */
    public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto getCommand() {
      return command_;
    }

    private void initFields() {
      command_ = com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto.PSAGENT_SUCCESS;
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      if (!hasCommand()) {
        memoizedIsInitialized = 0;
        return false;
      }
      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeEnum(1, command_.getNumber());
      }
      getUnknownFields().writeTo(output);
    }

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(1, command_.getNumber());
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportResponse)) {
        return super.equals(obj);
      }
      com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportResponse other = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportResponse) obj;

      boolean result = true;
      result = result && (hasCommand() == other.hasCommand());
      if (hasCommand()) {
        result = result &&
            (getCommand() == other.getCommand());
      }
      result = result &&
          getUnknownFields().equals(other.getUnknownFields());
      return result;
    }

    private int memoizedHashCode = 0;
    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptorForType().hashCode();
      if (hasCommand()) {
        hash = (37 * hash) + COMMAND_FIELD_NUMBER;
        hash = (53 * hash) + hashEnum(getCommand());
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportResponse parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportResponse parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportResponse parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportResponse parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportResponse parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportResponse parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportResponse parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportResponse parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportResponse parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportResponse parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportResponse prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code PSAgentReportResponse}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder
       implements com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportResponseOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSAgentReportResponse_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSAgentReportResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportResponse.Builder.class);
      }

      // Construct using com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportResponse.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        command_ = com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto.PSAGENT_SUCCESS;
        bitField0_ = (bitField0_ & ~0x00000001);
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSAgentReportResponse_descriptor;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportResponse getDefaultInstanceForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportResponse.getDefaultInstance();
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportResponse build() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportResponse result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportResponse buildPartial() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportResponse result = new com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportResponse(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
          to_bitField0_ |= 0x00000001;
        }
        result.command_ = command_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportResponse) {
          return mergeFrom((com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportResponse other) {
        if (other == com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportResponse.getDefaultInstance()) return this;
        if (other.hasCommand()) {
          setCommand(other.getCommand());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        if (!hasCommand()) {
          
          return false;
        }
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportResponse) e.getUnfinishedMessage();
          throw e;
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      // required .PSAgentCommandProto command = 1 [default = PSAGENT_SUCCESS];
      private com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto command_ = com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto.PSAGENT_SUCCESS;
      /**
       * required .PSAgentCommandProto command = 1 [default = PSAGENT_SUCCESS];
       */
      public boolean hasCommand() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * required .PSAgentCommandProto command = 1 [default = PSAGENT_SUCCESS];
       */
      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto getCommand() {
        return command_;
      }
      /**
       * required .PSAgentCommandProto command = 1 [default = PSAGENT_SUCCESS];
       */
      public Builder setCommand(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto value) {
        if (value == null) {
          throw new NullPointerException();
        }
        bitField0_ |= 0x00000001;
        command_ = value;
        onChanged();
        return this;
      }
      /**
       * required .PSAgentCommandProto command = 1 [default = PSAGENT_SUCCESS];
       */
      public Builder clearCommand() {
        bitField0_ = (bitField0_ & ~0x00000001);
        command_ = com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto.PSAGENT_SUCCESS;
        onChanged();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:PSAgentReportResponse)
    }

    static {
      defaultInstance = new PSAgentReportResponse(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:PSAgentReportResponse)
  }

  public interface PSAgentRegisterRequestOrBuilder
      extends com.google.protobuf.MessageOrBuilder {

    // required int32 psAgentId = 1;
    /**
     * required int32 psAgentId = 1;
     */
    boolean hasPsAgentId();
    /**
     * required int32 psAgentId = 1;
     */
    int getPsAgentId();

    // required .LocationProto location = 2;
    /**
     * required .LocationProto location = 2;
     */
    boolean hasLocation();
    /**
     * required .LocationProto location = 2;
     */
    com.tencent.angel.protobuf.generated.MLProtos.LocationProto getLocation();
    /**
     * required .LocationProto location = 2;
     */
    com.tencent.angel.protobuf.generated.MLProtos.LocationProtoOrBuilder getLocationOrBuilder();
  }
  /**
   * Protobuf type {@code PSAgentRegisterRequest}
   */
  public static final class PSAgentRegisterRequest extends
      com.google.protobuf.GeneratedMessage
      implements PSAgentRegisterRequestOrBuilder {
    // Use PSAgentRegisterRequest.newBuilder() to construct.
    private PSAgentRegisterRequest(com.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private PSAgentRegisterRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final PSAgentRegisterRequest defaultInstance;
    public static PSAgentRegisterRequest getDefaultInstance() {
      return defaultInstance;
    }

    public PSAgentRegisterRequest getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private PSAgentRegisterRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      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;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 8: {
              bitField0_ |= 0x00000001;
              psAgentId_ = input.readInt32();
              break;
            }
            case 18: {
              com.tencent.angel.protobuf.generated.MLProtos.LocationProto.Builder subBuilder = null;
              if (((bitField0_ & 0x00000002) == 0x00000002)) {
                subBuilder = location_.toBuilder();
              }
              location_ = input.readMessage(com.tencent.angel.protobuf.generated.MLProtos.LocationProto.PARSER, extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(location_);
                location_ = subBuilder.buildPartial();
              }
              bitField0_ |= 0x00000002;
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSAgentRegisterRequest_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSAgentRegisterRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterRequest.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterRequest.Builder.class);
    }

    public static com.google.protobuf.Parser PARSER =
        new com.google.protobuf.AbstractParser() {
      public PSAgentRegisterRequest parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new PSAgentRegisterRequest(input, extensionRegistry);
      }
    };

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

    private int bitField0_;
    // required int32 psAgentId = 1;
    public static final int PSAGENTID_FIELD_NUMBER = 1;
    private int psAgentId_;
    /**
     * required int32 psAgentId = 1;
     */
    public boolean hasPsAgentId() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    /**
     * required int32 psAgentId = 1;
     */
    public int getPsAgentId() {
      return psAgentId_;
    }

    // required .LocationProto location = 2;
    public static final int LOCATION_FIELD_NUMBER = 2;
    private com.tencent.angel.protobuf.generated.MLProtos.LocationProto location_;
    /**
     * required .LocationProto location = 2;
     */
    public boolean hasLocation() {
      return ((bitField0_ & 0x00000002) == 0x00000002);
    }
    /**
     * required .LocationProto location = 2;
     */
    public com.tencent.angel.protobuf.generated.MLProtos.LocationProto getLocation() {
      return location_;
    }
    /**
     * required .LocationProto location = 2;
     */
    public com.tencent.angel.protobuf.generated.MLProtos.LocationProtoOrBuilder getLocationOrBuilder() {
      return location_;
    }

    private void initFields() {
      psAgentId_ = 0;
      location_ = com.tencent.angel.protobuf.generated.MLProtos.LocationProto.getDefaultInstance();
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      if (!hasPsAgentId()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasLocation()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!getLocation().isInitialized()) {
        memoizedIsInitialized = 0;
        return false;
      }
      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeInt32(1, psAgentId_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        output.writeMessage(2, location_);
      }
      getUnknownFields().writeTo(output);
    }

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(1, psAgentId_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, location_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterRequest)) {
        return super.equals(obj);
      }
      com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterRequest other = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterRequest) obj;

      boolean result = true;
      result = result && (hasPsAgentId() == other.hasPsAgentId());
      if (hasPsAgentId()) {
        result = result && (getPsAgentId()
            == other.getPsAgentId());
      }
      result = result && (hasLocation() == other.hasLocation());
      if (hasLocation()) {
        result = result && getLocation()
            .equals(other.getLocation());
      }
      result = result &&
          getUnknownFields().equals(other.getUnknownFields());
      return result;
    }

    private int memoizedHashCode = 0;
    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptorForType().hashCode();
      if (hasPsAgentId()) {
        hash = (37 * hash) + PSAGENTID_FIELD_NUMBER;
        hash = (53 * hash) + getPsAgentId();
      }
      if (hasLocation()) {
        hash = (37 * hash) + LOCATION_FIELD_NUMBER;
        hash = (53 * hash) + getLocation().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterRequest parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterRequest parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterRequest parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterRequest prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code PSAgentRegisterRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder
       implements com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSAgentRegisterRequest_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSAgentRegisterRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterRequest.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterRequest.Builder.class);
      }

      // Construct using com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterRequest.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
          getLocationFieldBuilder();
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        psAgentId_ = 0;
        bitField0_ = (bitField0_ & ~0x00000001);
        if (locationBuilder_ == null) {
          location_ = com.tencent.angel.protobuf.generated.MLProtos.LocationProto.getDefaultInstance();
        } else {
          locationBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000002);
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSAgentRegisterRequest_descriptor;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterRequest getDefaultInstanceForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterRequest.getDefaultInstance();
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterRequest build() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterRequest buildPartial() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterRequest result = new com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterRequest(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
          to_bitField0_ |= 0x00000001;
        }
        result.psAgentId_ = psAgentId_;
        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
          to_bitField0_ |= 0x00000002;
        }
        if (locationBuilder_ == null) {
          result.location_ = location_;
        } else {
          result.location_ = locationBuilder_.build();
        }
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterRequest) {
          return mergeFrom((com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterRequest other) {
        if (other == com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterRequest.getDefaultInstance()) return this;
        if (other.hasPsAgentId()) {
          setPsAgentId(other.getPsAgentId());
        }
        if (other.hasLocation()) {
          mergeLocation(other.getLocation());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        if (!hasPsAgentId()) {
          
          return false;
        }
        if (!hasLocation()) {
          
          return false;
        }
        if (!getLocation().isInitialized()) {
          
          return false;
        }
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterRequest) e.getUnfinishedMessage();
          throw e;
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      // required int32 psAgentId = 1;
      private int psAgentId_ ;
      /**
       * required int32 psAgentId = 1;
       */
      public boolean hasPsAgentId() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * required int32 psAgentId = 1;
       */
      public int getPsAgentId() {
        return psAgentId_;
      }
      /**
       * required int32 psAgentId = 1;
       */
      public Builder setPsAgentId(int value) {
        bitField0_ |= 0x00000001;
        psAgentId_ = value;
        onChanged();
        return this;
      }
      /**
       * required int32 psAgentId = 1;
       */
      public Builder clearPsAgentId() {
        bitField0_ = (bitField0_ & ~0x00000001);
        psAgentId_ = 0;
        onChanged();
        return this;
      }

      // required .LocationProto location = 2;
      private com.tencent.angel.protobuf.generated.MLProtos.LocationProto location_ = com.tencent.angel.protobuf.generated.MLProtos.LocationProto.getDefaultInstance();
      private com.google.protobuf.SingleFieldBuilder<
          com.tencent.angel.protobuf.generated.MLProtos.LocationProto, com.tencent.angel.protobuf.generated.MLProtos.LocationProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.LocationProtoOrBuilder> locationBuilder_;
      /**
       * required .LocationProto location = 2;
       */
      public boolean hasLocation() {
        return ((bitField0_ & 0x00000002) == 0x00000002);
      }
      /**
       * required .LocationProto location = 2;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.LocationProto getLocation() {
        if (locationBuilder_ == null) {
          return location_;
        } else {
          return locationBuilder_.getMessage();
        }
      }
      /**
       * required .LocationProto location = 2;
       */
      public Builder setLocation(com.tencent.angel.protobuf.generated.MLProtos.LocationProto value) {
        if (locationBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          location_ = value;
          onChanged();
        } else {
          locationBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000002;
        return this;
      }
      /**
       * required .LocationProto location = 2;
       */
      public Builder setLocation(
          com.tencent.angel.protobuf.generated.MLProtos.LocationProto.Builder builderForValue) {
        if (locationBuilder_ == null) {
          location_ = builderForValue.build();
          onChanged();
        } else {
          locationBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000002;
        return this;
      }
      /**
       * required .LocationProto location = 2;
       */
      public Builder mergeLocation(com.tencent.angel.protobuf.generated.MLProtos.LocationProto value) {
        if (locationBuilder_ == null) {
          if (((bitField0_ & 0x00000002) == 0x00000002) &&
              location_ != com.tencent.angel.protobuf.generated.MLProtos.LocationProto.getDefaultInstance()) {
            location_ =
              com.tencent.angel.protobuf.generated.MLProtos.LocationProto.newBuilder(location_).mergeFrom(value).buildPartial();
          } else {
            location_ = value;
          }
          onChanged();
        } else {
          locationBuilder_.mergeFrom(value);
        }
        bitField0_ |= 0x00000002;
        return this;
      }
      /**
       * required .LocationProto location = 2;
       */
      public Builder clearLocation() {
        if (locationBuilder_ == null) {
          location_ = com.tencent.angel.protobuf.generated.MLProtos.LocationProto.getDefaultInstance();
          onChanged();
        } else {
          locationBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000002);
        return this;
      }
      /**
       * required .LocationProto location = 2;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.LocationProto.Builder getLocationBuilder() {
        bitField0_ |= 0x00000002;
        onChanged();
        return getLocationFieldBuilder().getBuilder();
      }
      /**
       * required .LocationProto location = 2;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.LocationProtoOrBuilder getLocationOrBuilder() {
        if (locationBuilder_ != null) {
          return locationBuilder_.getMessageOrBuilder();
        } else {
          return location_;
        }
      }
      /**
       * required .LocationProto location = 2;
       */
      private com.google.protobuf.SingleFieldBuilder<
          com.tencent.angel.protobuf.generated.MLProtos.LocationProto, com.tencent.angel.protobuf.generated.MLProtos.LocationProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.LocationProtoOrBuilder> 
          getLocationFieldBuilder() {
        if (locationBuilder_ == null) {
          locationBuilder_ = new com.google.protobuf.SingleFieldBuilder<
              com.tencent.angel.protobuf.generated.MLProtos.LocationProto, com.tencent.angel.protobuf.generated.MLProtos.LocationProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.LocationProtoOrBuilder>(
                  location_,
                  getParentForChildren(),
                  isClean());
          location_ = null;
        }
        return locationBuilder_;
      }

      // @@protoc_insertion_point(builder_scope:PSAgentRegisterRequest)
    }

    static {
      defaultInstance = new PSAgentRegisterRequest(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:PSAgentRegisterRequest)
  }

  public interface PSAgentRegisterResponseOrBuilder
      extends com.google.protobuf.MessageOrBuilder {

    // required .PSAgentCommandProto command = 1 [default = PSAGENT_SUCCESS];
    /**
     * required .PSAgentCommandProto command = 1 [default = PSAGENT_SUCCESS];
     */
    boolean hasCommand();
    /**
     * required .PSAgentCommandProto command = 1 [default = PSAGENT_SUCCESS];
     */
    com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto getCommand();
  }
  /**
   * Protobuf type {@code PSAgentRegisterResponse}
   */
  public static final class PSAgentRegisterResponse extends
      com.google.protobuf.GeneratedMessage
      implements PSAgentRegisterResponseOrBuilder {
    // Use PSAgentRegisterResponse.newBuilder() to construct.
    private PSAgentRegisterResponse(com.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private PSAgentRegisterResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final PSAgentRegisterResponse defaultInstance;
    public static PSAgentRegisterResponse getDefaultInstance() {
      return defaultInstance;
    }

    public PSAgentRegisterResponse getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private PSAgentRegisterResponse(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      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;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 8: {
              int rawValue = input.readEnum();
              com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto value = com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto.valueOf(rawValue);
              if (value == null) {
                unknownFields.mergeVarintField(1, rawValue);
              } else {
                bitField0_ |= 0x00000001;
                command_ = value;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSAgentRegisterResponse_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSAgentRegisterResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterResponse.Builder.class);
    }

    public static com.google.protobuf.Parser PARSER =
        new com.google.protobuf.AbstractParser() {
      public PSAgentRegisterResponse parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new PSAgentRegisterResponse(input, extensionRegistry);
      }
    };

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

    private int bitField0_;
    // required .PSAgentCommandProto command = 1 [default = PSAGENT_SUCCESS];
    public static final int COMMAND_FIELD_NUMBER = 1;
    private com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto command_;
    /**
     * required .PSAgentCommandProto command = 1 [default = PSAGENT_SUCCESS];
     */
    public boolean hasCommand() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    /**
     * required .PSAgentCommandProto command = 1 [default = PSAGENT_SUCCESS];
     */
    public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto getCommand() {
      return command_;
    }

    private void initFields() {
      command_ = com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto.PSAGENT_SUCCESS;
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      if (!hasCommand()) {
        memoizedIsInitialized = 0;
        return false;
      }
      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeEnum(1, command_.getNumber());
      }
      getUnknownFields().writeTo(output);
    }

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(1, command_.getNumber());
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterResponse)) {
        return super.equals(obj);
      }
      com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterResponse other = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterResponse) obj;

      boolean result = true;
      result = result && (hasCommand() == other.hasCommand());
      if (hasCommand()) {
        result = result &&
            (getCommand() == other.getCommand());
      }
      result = result &&
          getUnknownFields().equals(other.getUnknownFields());
      return result;
    }

    private int memoizedHashCode = 0;
    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptorForType().hashCode();
      if (hasCommand()) {
        hash = (37 * hash) + COMMAND_FIELD_NUMBER;
        hash = (53 * hash) + hashEnum(getCommand());
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterResponse parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterResponse parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterResponse parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterResponse parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterResponse parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterResponse parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterResponse parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterResponse parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterResponse parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterResponse parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterResponse prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code PSAgentRegisterResponse}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder
       implements com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterResponseOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSAgentRegisterResponse_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSAgentRegisterResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterResponse.Builder.class);
      }

      // Construct using com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterResponse.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        command_ = com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto.PSAGENT_SUCCESS;
        bitField0_ = (bitField0_ & ~0x00000001);
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSAgentRegisterResponse_descriptor;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterResponse getDefaultInstanceForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterResponse.getDefaultInstance();
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterResponse build() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterResponse result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterResponse buildPartial() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterResponse result = new com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterResponse(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
          to_bitField0_ |= 0x00000001;
        }
        result.command_ = command_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterResponse) {
          return mergeFrom((com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterResponse other) {
        if (other == com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterResponse.getDefaultInstance()) return this;
        if (other.hasCommand()) {
          setCommand(other.getCommand());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        if (!hasCommand()) {
          
          return false;
        }
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterResponse) e.getUnfinishedMessage();
          throw e;
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      // required .PSAgentCommandProto command = 1 [default = PSAGENT_SUCCESS];
      private com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto command_ = com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto.PSAGENT_SUCCESS;
      /**
       * required .PSAgentCommandProto command = 1 [default = PSAGENT_SUCCESS];
       */
      public boolean hasCommand() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * required .PSAgentCommandProto command = 1 [default = PSAGENT_SUCCESS];
       */
      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto getCommand() {
        return command_;
      }
      /**
       * required .PSAgentCommandProto command = 1 [default = PSAGENT_SUCCESS];
       */
      public Builder setCommand(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto value) {
        if (value == null) {
          throw new NullPointerException();
        }
        bitField0_ |= 0x00000001;
        command_ = value;
        onChanged();
        return this;
      }
      /**
       * required .PSAgentCommandProto command = 1 [default = PSAGENT_SUCCESS];
       */
      public Builder clearCommand() {
        bitField0_ = (bitField0_ & ~0x00000001);
        command_ = com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto.PSAGENT_SUCCESS;
        onChanged();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:PSAgentRegisterResponse)
    }

    static {
      defaultInstance = new PSAgentRegisterResponse(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:PSAgentRegisterResponse)
  }

  public interface GetAllMatrixMetaRequestOrBuilder
      extends com.google.protobuf.MessageOrBuilder {
  }
  /**
   * Protobuf type {@code GetAllMatrixMetaRequest}
   */
  public static final class GetAllMatrixMetaRequest extends
      com.google.protobuf.GeneratedMessage
      implements GetAllMatrixMetaRequestOrBuilder {
    // Use GetAllMatrixMetaRequest.newBuilder() to construct.
    private GetAllMatrixMetaRequest(com.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private GetAllMatrixMetaRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final GetAllMatrixMetaRequest defaultInstance;
    public static GetAllMatrixMetaRequest getDefaultInstance() {
      return defaultInstance;
    }

    public GetAllMatrixMetaRequest getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private GetAllMatrixMetaRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_GetAllMatrixMetaRequest_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_GetAllMatrixMetaRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaRequest.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaRequest.Builder.class);
    }

    public static com.google.protobuf.Parser PARSER =
        new com.google.protobuf.AbstractParser() {
      public GetAllMatrixMetaRequest parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new GetAllMatrixMetaRequest(input, extensionRegistry);
      }
    };

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

    private void initFields() {
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      memoizedIsInitialized = 1;
      return true;
    }

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

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

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

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaRequest)) {
        return super.equals(obj);
      }
      com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaRequest other = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaRequest) obj;

      boolean result = true;
      result = result &&
          getUnknownFields().equals(other.getUnknownFields());
      return result;
    }

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

    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaRequest parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaRequest parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaRequest parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaRequest prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code GetAllMatrixMetaRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder
       implements com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_GetAllMatrixMetaRequest_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_GetAllMatrixMetaRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaRequest.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaRequest.Builder.class);
      }

      // Construct using com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaRequest.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_GetAllMatrixMetaRequest_descriptor;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaRequest getDefaultInstanceForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaRequest.getDefaultInstance();
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaRequest build() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaRequest buildPartial() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaRequest result = new com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaRequest(this);
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaRequest) {
          return mergeFrom((com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaRequest other) {
        if (other == com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaRequest.getDefaultInstance()) return this;
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

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

      // @@protoc_insertion_point(builder_scope:GetAllMatrixMetaRequest)
    }

    static {
      defaultInstance = new GetAllMatrixMetaRequest(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:GetAllMatrixMetaRequest)
  }

  public interface GetAllMatrixMetaResponseOrBuilder
      extends com.google.protobuf.MessageOrBuilder {

    // repeated .MatrixMetaProto matrixMetas = 2;
    /**
     * repeated .MatrixMetaProto matrixMetas = 2;
     */
    java.util.List 
        getMatrixMetasList();
    /**
     * repeated .MatrixMetaProto matrixMetas = 2;
     */
    com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto getMatrixMetas(int index);
    /**
     * repeated .MatrixMetaProto matrixMetas = 2;
     */
    int getMatrixMetasCount();
    /**
     * repeated .MatrixMetaProto matrixMetas = 2;
     */
    java.util.List 
        getMatrixMetasOrBuilderList();
    /**
     * repeated .MatrixMetaProto matrixMetas = 2;
     */
    com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProtoOrBuilder getMatrixMetasOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code GetAllMatrixMetaResponse}
   */
  public static final class GetAllMatrixMetaResponse extends
      com.google.protobuf.GeneratedMessage
      implements GetAllMatrixMetaResponseOrBuilder {
    // Use GetAllMatrixMetaResponse.newBuilder() to construct.
    private GetAllMatrixMetaResponse(com.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private GetAllMatrixMetaResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final GetAllMatrixMetaResponse defaultInstance;
    public static GetAllMatrixMetaResponse getDefaultInstance() {
      return defaultInstance;
    }

    public GetAllMatrixMetaResponse getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private GetAllMatrixMetaResponse(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      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;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 18: {
              if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
                matrixMetas_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000001;
              }
              matrixMetas_.add(input.readMessage(com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto.PARSER, extensionRegistry));
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
          matrixMetas_ = java.util.Collections.unmodifiableList(matrixMetas_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_GetAllMatrixMetaResponse_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_GetAllMatrixMetaResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaResponse.Builder.class);
    }

    public static com.google.protobuf.Parser PARSER =
        new com.google.protobuf.AbstractParser() {
      public GetAllMatrixMetaResponse parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new GetAllMatrixMetaResponse(input, extensionRegistry);
      }
    };

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

    // repeated .MatrixMetaProto matrixMetas = 2;
    public static final int MATRIXMETAS_FIELD_NUMBER = 2;
    private java.util.List matrixMetas_;
    /**
     * repeated .MatrixMetaProto matrixMetas = 2;
     */
    public java.util.List getMatrixMetasList() {
      return matrixMetas_;
    }
    /**
     * repeated .MatrixMetaProto matrixMetas = 2;
     */
    public java.util.List 
        getMatrixMetasOrBuilderList() {
      return matrixMetas_;
    }
    /**
     * repeated .MatrixMetaProto matrixMetas = 2;
     */
    public int getMatrixMetasCount() {
      return matrixMetas_.size();
    }
    /**
     * repeated .MatrixMetaProto matrixMetas = 2;
     */
    public com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto getMatrixMetas(int index) {
      return matrixMetas_.get(index);
    }
    /**
     * repeated .MatrixMetaProto matrixMetas = 2;
     */
    public com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProtoOrBuilder getMatrixMetasOrBuilder(
        int index) {
      return matrixMetas_.get(index);
    }

    private void initFields() {
      matrixMetas_ = java.util.Collections.emptyList();
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      for (int i = 0; i < getMatrixMetasCount(); i++) {
        if (!getMatrixMetas(i).isInitialized()) {
          memoizedIsInitialized = 0;
          return false;
        }
      }
      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      for (int i = 0; i < matrixMetas_.size(); i++) {
        output.writeMessage(2, matrixMetas_.get(i));
      }
      getUnknownFields().writeTo(output);
    }

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

      size = 0;
      for (int i = 0; i < matrixMetas_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, matrixMetas_.get(i));
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaResponse)) {
        return super.equals(obj);
      }
      com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaResponse other = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaResponse) obj;

      boolean result = true;
      result = result && getMatrixMetasList()
          .equals(other.getMatrixMetasList());
      result = result &&
          getUnknownFields().equals(other.getUnknownFields());
      return result;
    }

    private int memoizedHashCode = 0;
    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptorForType().hashCode();
      if (getMatrixMetasCount() > 0) {
        hash = (37 * hash) + MATRIXMETAS_FIELD_NUMBER;
        hash = (53 * hash) + getMatrixMetasList().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaResponse parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaResponse parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaResponse parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaResponse parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaResponse parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaResponse parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaResponse parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaResponse parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaResponse parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaResponse parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaResponse prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code GetAllMatrixMetaResponse}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder
       implements com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaResponseOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_GetAllMatrixMetaResponse_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_GetAllMatrixMetaResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaResponse.Builder.class);
      }

      // Construct using com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaResponse.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
          getMatrixMetasFieldBuilder();
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        if (matrixMetasBuilder_ == null) {
          matrixMetas_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          matrixMetasBuilder_.clear();
        }
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_GetAllMatrixMetaResponse_descriptor;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaResponse getDefaultInstanceForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaResponse.getDefaultInstance();
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaResponse build() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaResponse result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaResponse buildPartial() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaResponse result = new com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaResponse(this);
        int from_bitField0_ = bitField0_;
        if (matrixMetasBuilder_ == null) {
          if (((bitField0_ & 0x00000001) == 0x00000001)) {
            matrixMetas_ = java.util.Collections.unmodifiableList(matrixMetas_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.matrixMetas_ = matrixMetas_;
        } else {
          result.matrixMetas_ = matrixMetasBuilder_.build();
        }
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaResponse) {
          return mergeFrom((com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaResponse other) {
        if (other == com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaResponse.getDefaultInstance()) return this;
        if (matrixMetasBuilder_ == null) {
          if (!other.matrixMetas_.isEmpty()) {
            if (matrixMetas_.isEmpty()) {
              matrixMetas_ = other.matrixMetas_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureMatrixMetasIsMutable();
              matrixMetas_.addAll(other.matrixMetas_);
            }
            onChanged();
          }
        } else {
          if (!other.matrixMetas_.isEmpty()) {
            if (matrixMetasBuilder_.isEmpty()) {
              matrixMetasBuilder_.dispose();
              matrixMetasBuilder_ = null;
              matrixMetas_ = other.matrixMetas_;
              bitField0_ = (bitField0_ & ~0x00000001);
              matrixMetasBuilder_ = 
                com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
                   getMatrixMetasFieldBuilder() : null;
            } else {
              matrixMetasBuilder_.addAllMessages(other.matrixMetas_);
            }
          }
        }
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        for (int i = 0; i < getMatrixMetasCount(); i++) {
          if (!getMatrixMetas(i).isInitialized()) {
            
            return false;
          }
        }
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaResponse) e.getUnfinishedMessage();
          throw e;
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      // repeated .MatrixMetaProto matrixMetas = 2;
      private java.util.List matrixMetas_ =
        java.util.Collections.emptyList();
      private void ensureMatrixMetasIsMutable() {
        if (!((bitField0_ & 0x00000001) == 0x00000001)) {
          matrixMetas_ = new java.util.ArrayList(matrixMetas_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilder<
          com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto, com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProtoOrBuilder> matrixMetasBuilder_;

      /**
       * repeated .MatrixMetaProto matrixMetas = 2;
       */
      public java.util.List getMatrixMetasList() {
        if (matrixMetasBuilder_ == null) {
          return java.util.Collections.unmodifiableList(matrixMetas_);
        } else {
          return matrixMetasBuilder_.getMessageList();
        }
      }
      /**
       * repeated .MatrixMetaProto matrixMetas = 2;
       */
      public int getMatrixMetasCount() {
        if (matrixMetasBuilder_ == null) {
          return matrixMetas_.size();
        } else {
          return matrixMetasBuilder_.getCount();
        }
      }
      /**
       * repeated .MatrixMetaProto matrixMetas = 2;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto getMatrixMetas(int index) {
        if (matrixMetasBuilder_ == null) {
          return matrixMetas_.get(index);
        } else {
          return matrixMetasBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .MatrixMetaProto matrixMetas = 2;
       */
      public Builder setMatrixMetas(
          int index, com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto value) {
        if (matrixMetasBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureMatrixMetasIsMutable();
          matrixMetas_.set(index, value);
          onChanged();
        } else {
          matrixMetasBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .MatrixMetaProto matrixMetas = 2;
       */
      public Builder setMatrixMetas(
          int index, com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto.Builder builderForValue) {
        if (matrixMetasBuilder_ == null) {
          ensureMatrixMetasIsMutable();
          matrixMetas_.set(index, builderForValue.build());
          onChanged();
        } else {
          matrixMetasBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .MatrixMetaProto matrixMetas = 2;
       */
      public Builder addMatrixMetas(com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto value) {
        if (matrixMetasBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureMatrixMetasIsMutable();
          matrixMetas_.add(value);
          onChanged();
        } else {
          matrixMetasBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .MatrixMetaProto matrixMetas = 2;
       */
      public Builder addMatrixMetas(
          int index, com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto value) {
        if (matrixMetasBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureMatrixMetasIsMutable();
          matrixMetas_.add(index, value);
          onChanged();
        } else {
          matrixMetasBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .MatrixMetaProto matrixMetas = 2;
       */
      public Builder addMatrixMetas(
          com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto.Builder builderForValue) {
        if (matrixMetasBuilder_ == null) {
          ensureMatrixMetasIsMutable();
          matrixMetas_.add(builderForValue.build());
          onChanged();
        } else {
          matrixMetasBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .MatrixMetaProto matrixMetas = 2;
       */
      public Builder addMatrixMetas(
          int index, com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto.Builder builderForValue) {
        if (matrixMetasBuilder_ == null) {
          ensureMatrixMetasIsMutable();
          matrixMetas_.add(index, builderForValue.build());
          onChanged();
        } else {
          matrixMetasBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .MatrixMetaProto matrixMetas = 2;
       */
      public Builder addAllMatrixMetas(
          java.lang.Iterable values) {
        if (matrixMetasBuilder_ == null) {
          ensureMatrixMetasIsMutable();
          super.addAll(values, matrixMetas_);
          onChanged();
        } else {
          matrixMetasBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .MatrixMetaProto matrixMetas = 2;
       */
      public Builder clearMatrixMetas() {
        if (matrixMetasBuilder_ == null) {
          matrixMetas_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          matrixMetasBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .MatrixMetaProto matrixMetas = 2;
       */
      public Builder removeMatrixMetas(int index) {
        if (matrixMetasBuilder_ == null) {
          ensureMatrixMetasIsMutable();
          matrixMetas_.remove(index);
          onChanged();
        } else {
          matrixMetasBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .MatrixMetaProto matrixMetas = 2;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto.Builder getMatrixMetasBuilder(
          int index) {
        return getMatrixMetasFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .MatrixMetaProto matrixMetas = 2;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProtoOrBuilder getMatrixMetasOrBuilder(
          int index) {
        if (matrixMetasBuilder_ == null) {
          return matrixMetas_.get(index);  } else {
          return matrixMetasBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .MatrixMetaProto matrixMetas = 2;
       */
      public java.util.List 
           getMatrixMetasOrBuilderList() {
        if (matrixMetasBuilder_ != null) {
          return matrixMetasBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(matrixMetas_);
        }
      }
      /**
       * repeated .MatrixMetaProto matrixMetas = 2;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto.Builder addMatrixMetasBuilder() {
        return getMatrixMetasFieldBuilder().addBuilder(
            com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto.getDefaultInstance());
      }
      /**
       * repeated .MatrixMetaProto matrixMetas = 2;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto.Builder addMatrixMetasBuilder(
          int index) {
        return getMatrixMetasFieldBuilder().addBuilder(
            index, com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto.getDefaultInstance());
      }
      /**
       * repeated .MatrixMetaProto matrixMetas = 2;
       */
      public java.util.List 
           getMatrixMetasBuilderList() {
        return getMatrixMetasFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilder<
          com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto, com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProtoOrBuilder> 
          getMatrixMetasFieldBuilder() {
        if (matrixMetasBuilder_ == null) {
          matrixMetasBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
              com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto, com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.MatrixMetaProtoOrBuilder>(
                  matrixMetas_,
                  ((bitField0_ & 0x00000001) == 0x00000001),
                  getParentForChildren(),
                  isClean());
          matrixMetas_ = null;
        }
        return matrixMetasBuilder_;
      }

      // @@protoc_insertion_point(builder_scope:GetAllMatrixMetaResponse)
    }

    static {
      defaultInstance = new GetAllMatrixMetaResponse(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:GetAllMatrixMetaResponse)
  }

  public interface FetchMinClockRequestOrBuilder
      extends com.google.protobuf.MessageOrBuilder {
  }
  /**
   * Protobuf type {@code FetchMinClockRequest}
   */
  public static final class FetchMinClockRequest extends
      com.google.protobuf.GeneratedMessage
      implements FetchMinClockRequestOrBuilder {
    // Use FetchMinClockRequest.newBuilder() to construct.
    private FetchMinClockRequest(com.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private FetchMinClockRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final FetchMinClockRequest defaultInstance;
    public static FetchMinClockRequest getDefaultInstance() {
      return defaultInstance;
    }

    public FetchMinClockRequest getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private FetchMinClockRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_FetchMinClockRequest_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_FetchMinClockRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockRequest.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockRequest.Builder.class);
    }

    public static com.google.protobuf.Parser PARSER =
        new com.google.protobuf.AbstractParser() {
      public FetchMinClockRequest parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new FetchMinClockRequest(input, extensionRegistry);
      }
    };

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

    private void initFields() {
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      memoizedIsInitialized = 1;
      return true;
    }

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

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

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

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockRequest)) {
        return super.equals(obj);
      }
      com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockRequest other = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockRequest) obj;

      boolean result = true;
      result = result &&
          getUnknownFields().equals(other.getUnknownFields());
      return result;
    }

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

    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockRequest parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockRequest parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockRequest parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockRequest prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code FetchMinClockRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder
       implements com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_FetchMinClockRequest_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_FetchMinClockRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockRequest.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockRequest.Builder.class);
      }

      // Construct using com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockRequest.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_FetchMinClockRequest_descriptor;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockRequest getDefaultInstanceForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockRequest.getDefaultInstance();
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockRequest build() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockRequest buildPartial() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockRequest result = new com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockRequest(this);
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockRequest) {
          return mergeFrom((com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockRequest other) {
        if (other == com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockRequest.getDefaultInstance()) return this;
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

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

      // @@protoc_insertion_point(builder_scope:FetchMinClockRequest)
    }

    static {
      defaultInstance = new FetchMinClockRequest(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:FetchMinClockRequest)
  }

  public interface FetchMinClockResponseOrBuilder
      extends com.google.protobuf.MessageOrBuilder {

    // required int32 minClock = 1;
    /**
     * required int32 minClock = 1;
     */
    boolean hasMinClock();
    /**
     * required int32 minClock = 1;
     */
    int getMinClock();
  }
  /**
   * Protobuf type {@code FetchMinClockResponse}
   */
  public static final class FetchMinClockResponse extends
      com.google.protobuf.GeneratedMessage
      implements FetchMinClockResponseOrBuilder {
    // Use FetchMinClockResponse.newBuilder() to construct.
    private FetchMinClockResponse(com.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private FetchMinClockResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final FetchMinClockResponse defaultInstance;
    public static FetchMinClockResponse getDefaultInstance() {
      return defaultInstance;
    }

    public FetchMinClockResponse getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private FetchMinClockResponse(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      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;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 8: {
              bitField0_ |= 0x00000001;
              minClock_ = input.readInt32();
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_FetchMinClockResponse_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_FetchMinClockResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockResponse.Builder.class);
    }

    public static com.google.protobuf.Parser PARSER =
        new com.google.protobuf.AbstractParser() {
      public FetchMinClockResponse parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new FetchMinClockResponse(input, extensionRegistry);
      }
    };

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

    private int bitField0_;
    // required int32 minClock = 1;
    public static final int MINCLOCK_FIELD_NUMBER = 1;
    private int minClock_;
    /**
     * required int32 minClock = 1;
     */
    public boolean hasMinClock() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    /**
     * required int32 minClock = 1;
     */
    public int getMinClock() {
      return minClock_;
    }

    private void initFields() {
      minClock_ = 0;
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      if (!hasMinClock()) {
        memoizedIsInitialized = 0;
        return false;
      }
      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeInt32(1, minClock_);
      }
      getUnknownFields().writeTo(output);
    }

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(1, minClock_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockResponse)) {
        return super.equals(obj);
      }
      com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockResponse other = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockResponse) obj;

      boolean result = true;
      result = result && (hasMinClock() == other.hasMinClock());
      if (hasMinClock()) {
        result = result && (getMinClock()
            == other.getMinClock());
      }
      result = result &&
          getUnknownFields().equals(other.getUnknownFields());
      return result;
    }

    private int memoizedHashCode = 0;
    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptorForType().hashCode();
      if (hasMinClock()) {
        hash = (37 * hash) + MINCLOCK_FIELD_NUMBER;
        hash = (53 * hash) + getMinClock();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockResponse parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockResponse parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockResponse parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockResponse parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockResponse parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockResponse parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockResponse parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockResponse parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockResponse parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockResponse parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockResponse prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code FetchMinClockResponse}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder
       implements com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockResponseOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_FetchMinClockResponse_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_FetchMinClockResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockResponse.Builder.class);
      }

      // Construct using com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockResponse.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        minClock_ = 0;
        bitField0_ = (bitField0_ & ~0x00000001);
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_FetchMinClockResponse_descriptor;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockResponse getDefaultInstanceForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockResponse.getDefaultInstance();
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockResponse build() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockResponse result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockResponse buildPartial() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockResponse result = new com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockResponse(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
          to_bitField0_ |= 0x00000001;
        }
        result.minClock_ = minClock_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockResponse) {
          return mergeFrom((com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockResponse other) {
        if (other == com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockResponse.getDefaultInstance()) return this;
        if (other.hasMinClock()) {
          setMinClock(other.getMinClock());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        if (!hasMinClock()) {
          
          return false;
        }
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockResponse) e.getUnfinishedMessage();
          throw e;
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      // required int32 minClock = 1;
      private int minClock_ ;
      /**
       * required int32 minClock = 1;
       */
      public boolean hasMinClock() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * required int32 minClock = 1;
       */
      public int getMinClock() {
        return minClock_;
      }
      /**
       * required int32 minClock = 1;
       */
      public Builder setMinClock(int value) {
        bitField0_ |= 0x00000001;
        minClock_ = value;
        onChanged();
        return this;
      }
      /**
       * required int32 minClock = 1;
       */
      public Builder clearMinClock() {
        bitField0_ = (bitField0_ & ~0x00000001);
        minClock_ = 0;
        onChanged();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:FetchMinClockResponse)
    }

    static {
      defaultInstance = new FetchMinClockResponse(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:FetchMinClockResponse)
  }

  public interface PSAgentDoneRequestOrBuilder
      extends com.google.protobuf.MessageOrBuilder {

    // required int32 psAgentId = 1;
    /**
     * required int32 psAgentId = 1;
     */
    boolean hasPsAgentId();
    /**
     * required int32 psAgentId = 1;
     */
    int getPsAgentId();
  }
  /**
   * Protobuf type {@code PSAgentDoneRequest}
   */
  public static final class PSAgentDoneRequest extends
      com.google.protobuf.GeneratedMessage
      implements PSAgentDoneRequestOrBuilder {
    // Use PSAgentDoneRequest.newBuilder() to construct.
    private PSAgentDoneRequest(com.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private PSAgentDoneRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final PSAgentDoneRequest defaultInstance;
    public static PSAgentDoneRequest getDefaultInstance() {
      return defaultInstance;
    }

    public PSAgentDoneRequest getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private PSAgentDoneRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      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;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 8: {
              bitField0_ |= 0x00000001;
              psAgentId_ = input.readInt32();
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSAgentDoneRequest_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSAgentDoneRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneRequest.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneRequest.Builder.class);
    }

    public static com.google.protobuf.Parser PARSER =
        new com.google.protobuf.AbstractParser() {
      public PSAgentDoneRequest parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new PSAgentDoneRequest(input, extensionRegistry);
      }
    };

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

    private int bitField0_;
    // required int32 psAgentId = 1;
    public static final int PSAGENTID_FIELD_NUMBER = 1;
    private int psAgentId_;
    /**
     * required int32 psAgentId = 1;
     */
    public boolean hasPsAgentId() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    /**
     * required int32 psAgentId = 1;
     */
    public int getPsAgentId() {
      return psAgentId_;
    }

    private void initFields() {
      psAgentId_ = 0;
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      if (!hasPsAgentId()) {
        memoizedIsInitialized = 0;
        return false;
      }
      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeInt32(1, psAgentId_);
      }
      getUnknownFields().writeTo(output);
    }

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(1, psAgentId_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneRequest)) {
        return super.equals(obj);
      }
      com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneRequest other = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneRequest) obj;

      boolean result = true;
      result = result && (hasPsAgentId() == other.hasPsAgentId());
      if (hasPsAgentId()) {
        result = result && (getPsAgentId()
            == other.getPsAgentId());
      }
      result = result &&
          getUnknownFields().equals(other.getUnknownFields());
      return result;
    }

    private int memoizedHashCode = 0;
    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptorForType().hashCode();
      if (hasPsAgentId()) {
        hash = (37 * hash) + PSAGENTID_FIELD_NUMBER;
        hash = (53 * hash) + getPsAgentId();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneRequest parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneRequest parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneRequest parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneRequest prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code PSAgentDoneRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder
       implements com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSAgentDoneRequest_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSAgentDoneRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneRequest.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneRequest.Builder.class);
      }

      // Construct using com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneRequest.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        psAgentId_ = 0;
        bitField0_ = (bitField0_ & ~0x00000001);
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSAgentDoneRequest_descriptor;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneRequest getDefaultInstanceForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneRequest.getDefaultInstance();
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneRequest build() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneRequest buildPartial() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneRequest result = new com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneRequest(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
          to_bitField0_ |= 0x00000001;
        }
        result.psAgentId_ = psAgentId_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneRequest) {
          return mergeFrom((com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneRequest other) {
        if (other == com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneRequest.getDefaultInstance()) return this;
        if (other.hasPsAgentId()) {
          setPsAgentId(other.getPsAgentId());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        if (!hasPsAgentId()) {
          
          return false;
        }
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneRequest) e.getUnfinishedMessage();
          throw e;
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      // required int32 psAgentId = 1;
      private int psAgentId_ ;
      /**
       * required int32 psAgentId = 1;
       */
      public boolean hasPsAgentId() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * required int32 psAgentId = 1;
       */
      public int getPsAgentId() {
        return psAgentId_;
      }
      /**
       * required int32 psAgentId = 1;
       */
      public Builder setPsAgentId(int value) {
        bitField0_ |= 0x00000001;
        psAgentId_ = value;
        onChanged();
        return this;
      }
      /**
       * required int32 psAgentId = 1;
       */
      public Builder clearPsAgentId() {
        bitField0_ = (bitField0_ & ~0x00000001);
        psAgentId_ = 0;
        onChanged();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:PSAgentDoneRequest)
    }

    static {
      defaultInstance = new PSAgentDoneRequest(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:PSAgentDoneRequest)
  }

  public interface PSAgentDoneResponseOrBuilder
      extends com.google.protobuf.MessageOrBuilder {

    // required .PSAgentCommandProto command = 1;
    /**
     * required .PSAgentCommandProto command = 1;
     */
    boolean hasCommand();
    /**
     * required .PSAgentCommandProto command = 1;
     */
    com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto getCommand();
  }
  /**
   * Protobuf type {@code PSAgentDoneResponse}
   */
  public static final class PSAgentDoneResponse extends
      com.google.protobuf.GeneratedMessage
      implements PSAgentDoneResponseOrBuilder {
    // Use PSAgentDoneResponse.newBuilder() to construct.
    private PSAgentDoneResponse(com.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private PSAgentDoneResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final PSAgentDoneResponse defaultInstance;
    public static PSAgentDoneResponse getDefaultInstance() {
      return defaultInstance;
    }

    public PSAgentDoneResponse getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private PSAgentDoneResponse(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      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;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 8: {
              int rawValue = input.readEnum();
              com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto value = com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto.valueOf(rawValue);
              if (value == null) {
                unknownFields.mergeVarintField(1, rawValue);
              } else {
                bitField0_ |= 0x00000001;
                command_ = value;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSAgentDoneResponse_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSAgentDoneResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneResponse.Builder.class);
    }

    public static com.google.protobuf.Parser PARSER =
        new com.google.protobuf.AbstractParser() {
      public PSAgentDoneResponse parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new PSAgentDoneResponse(input, extensionRegistry);
      }
    };

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

    private int bitField0_;
    // required .PSAgentCommandProto command = 1;
    public static final int COMMAND_FIELD_NUMBER = 1;
    private com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto command_;
    /**
     * required .PSAgentCommandProto command = 1;
     */
    public boolean hasCommand() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    /**
     * required .PSAgentCommandProto command = 1;
     */
    public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto getCommand() {
      return command_;
    }

    private void initFields() {
      command_ = com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto.PSAGENT_SUCCESS;
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      if (!hasCommand()) {
        memoizedIsInitialized = 0;
        return false;
      }
      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeEnum(1, command_.getNumber());
      }
      getUnknownFields().writeTo(output);
    }

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(1, command_.getNumber());
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneResponse)) {
        return super.equals(obj);
      }
      com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneResponse other = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneResponse) obj;

      boolean result = true;
      result = result && (hasCommand() == other.hasCommand());
      if (hasCommand()) {
        result = result &&
            (getCommand() == other.getCommand());
      }
      result = result &&
          getUnknownFields().equals(other.getUnknownFields());
      return result;
    }

    private int memoizedHashCode = 0;
    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptorForType().hashCode();
      if (hasCommand()) {
        hash = (37 * hash) + COMMAND_FIELD_NUMBER;
        hash = (53 * hash) + hashEnum(getCommand());
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneResponse parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneResponse parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneResponse parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneResponse parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneResponse parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneResponse parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneResponse parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneResponse parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneResponse parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneResponse parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneResponse prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code PSAgentDoneResponse}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder
       implements com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneResponseOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSAgentDoneResponse_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSAgentDoneResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneResponse.Builder.class);
      }

      // Construct using com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneResponse.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        command_ = com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto.PSAGENT_SUCCESS;
        bitField0_ = (bitField0_ & ~0x00000001);
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSAgentDoneResponse_descriptor;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneResponse getDefaultInstanceForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneResponse.getDefaultInstance();
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneResponse build() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneResponse result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneResponse buildPartial() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneResponse result = new com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneResponse(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
          to_bitField0_ |= 0x00000001;
        }
        result.command_ = command_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneResponse) {
          return mergeFrom((com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneResponse other) {
        if (other == com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneResponse.getDefaultInstance()) return this;
        if (other.hasCommand()) {
          setCommand(other.getCommand());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        if (!hasCommand()) {
          
          return false;
        }
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneResponse) e.getUnfinishedMessage();
          throw e;
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      // required .PSAgentCommandProto command = 1;
      private com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto command_ = com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto.PSAGENT_SUCCESS;
      /**
       * required .PSAgentCommandProto command = 1;
       */
      public boolean hasCommand() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * required .PSAgentCommandProto command = 1;
       */
      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto getCommand() {
        return command_;
      }
      /**
       * required .PSAgentCommandProto command = 1;
       */
      public Builder setCommand(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto value) {
        if (value == null) {
          throw new NullPointerException();
        }
        bitField0_ |= 0x00000001;
        command_ = value;
        onChanged();
        return this;
      }
      /**
       * required .PSAgentCommandProto command = 1;
       */
      public Builder clearCommand() {
        bitField0_ = (bitField0_ & ~0x00000001);
        command_ = com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto.PSAGENT_SUCCESS;
        onChanged();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:PSAgentDoneResponse)
    }

    static {
      defaultInstance = new PSAgentDoneResponse(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:PSAgentDoneResponse)
  }

  public interface PSAgentErrorRequestOrBuilder
      extends com.google.protobuf.MessageOrBuilder {

    // required int32 psAgentId = 1;
    /**
     * required int32 psAgentId = 1;
     */
    boolean hasPsAgentId();
    /**
     * required int32 psAgentId = 1;
     */
    int getPsAgentId();

    // required string msg = 2;
    /**
     * required string msg = 2;
     */
    boolean hasMsg();
    /**
     * required string msg = 2;
     */
    java.lang.String getMsg();
    /**
     * required string msg = 2;
     */
    com.google.protobuf.ByteString
        getMsgBytes();
  }
  /**
   * Protobuf type {@code PSAgentErrorRequest}
   */
  public static final class PSAgentErrorRequest extends
      com.google.protobuf.GeneratedMessage
      implements PSAgentErrorRequestOrBuilder {
    // Use PSAgentErrorRequest.newBuilder() to construct.
    private PSAgentErrorRequest(com.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private PSAgentErrorRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final PSAgentErrorRequest defaultInstance;
    public static PSAgentErrorRequest getDefaultInstance() {
      return defaultInstance;
    }

    public PSAgentErrorRequest getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private PSAgentErrorRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      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;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 8: {
              bitField0_ |= 0x00000001;
              psAgentId_ = input.readInt32();
              break;
            }
            case 18: {
              bitField0_ |= 0x00000002;
              msg_ = input.readBytes();
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSAgentErrorRequest_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSAgentErrorRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorRequest.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorRequest.Builder.class);
    }

    public static com.google.protobuf.Parser PARSER =
        new com.google.protobuf.AbstractParser() {
      public PSAgentErrorRequest parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new PSAgentErrorRequest(input, extensionRegistry);
      }
    };

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

    private int bitField0_;
    // required int32 psAgentId = 1;
    public static final int PSAGENTID_FIELD_NUMBER = 1;
    private int psAgentId_;
    /**
     * required int32 psAgentId = 1;
     */
    public boolean hasPsAgentId() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    /**
     * required int32 psAgentId = 1;
     */
    public int getPsAgentId() {
      return psAgentId_;
    }

    // required string msg = 2;
    public static final int MSG_FIELD_NUMBER = 2;
    private java.lang.Object msg_;
    /**
     * required string msg = 2;
     */
    public boolean hasMsg() {
      return ((bitField0_ & 0x00000002) == 0x00000002);
    }
    /**
     * required string msg = 2;
     */
    public java.lang.String getMsg() {
      java.lang.Object ref = msg_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        if (bs.isValidUtf8()) {
          msg_ = s;
        }
        return s;
      }
    }
    /**
     * required string msg = 2;
     */
    public com.google.protobuf.ByteString
        getMsgBytes() {
      java.lang.Object ref = msg_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        msg_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    private void initFields() {
      psAgentId_ = 0;
      msg_ = "";
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      if (!hasPsAgentId()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasMsg()) {
        memoizedIsInitialized = 0;
        return false;
      }
      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeInt32(1, psAgentId_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        output.writeBytes(2, getMsgBytes());
      }
      getUnknownFields().writeTo(output);
    }

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(1, psAgentId_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(2, getMsgBytes());
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorRequest)) {
        return super.equals(obj);
      }
      com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorRequest other = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorRequest) obj;

      boolean result = true;
      result = result && (hasPsAgentId() == other.hasPsAgentId());
      if (hasPsAgentId()) {
        result = result && (getPsAgentId()
            == other.getPsAgentId());
      }
      result = result && (hasMsg() == other.hasMsg());
      if (hasMsg()) {
        result = result && getMsg()
            .equals(other.getMsg());
      }
      result = result &&
          getUnknownFields().equals(other.getUnknownFields());
      return result;
    }

    private int memoizedHashCode = 0;
    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptorForType().hashCode();
      if (hasPsAgentId()) {
        hash = (37 * hash) + PSAGENTID_FIELD_NUMBER;
        hash = (53 * hash) + getPsAgentId();
      }
      if (hasMsg()) {
        hash = (37 * hash) + MSG_FIELD_NUMBER;
        hash = (53 * hash) + getMsg().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorRequest parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorRequest parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorRequest parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorRequest prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code PSAgentErrorRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder
       implements com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSAgentErrorRequest_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSAgentErrorRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorRequest.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorRequest.Builder.class);
      }

      // Construct using com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorRequest.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        psAgentId_ = 0;
        bitField0_ = (bitField0_ & ~0x00000001);
        msg_ = "";
        bitField0_ = (bitField0_ & ~0x00000002);
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSAgentErrorRequest_descriptor;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorRequest getDefaultInstanceForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorRequest.getDefaultInstance();
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorRequest build() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorRequest buildPartial() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorRequest result = new com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorRequest(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
          to_bitField0_ |= 0x00000001;
        }
        result.psAgentId_ = psAgentId_;
        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
          to_bitField0_ |= 0x00000002;
        }
        result.msg_ = msg_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorRequest) {
          return mergeFrom((com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorRequest other) {
        if (other == com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorRequest.getDefaultInstance()) return this;
        if (other.hasPsAgentId()) {
          setPsAgentId(other.getPsAgentId());
        }
        if (other.hasMsg()) {
          bitField0_ |= 0x00000002;
          msg_ = other.msg_;
          onChanged();
        }
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        if (!hasPsAgentId()) {
          
          return false;
        }
        if (!hasMsg()) {
          
          return false;
        }
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorRequest) e.getUnfinishedMessage();
          throw e;
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      // required int32 psAgentId = 1;
      private int psAgentId_ ;
      /**
       * required int32 psAgentId = 1;
       */
      public boolean hasPsAgentId() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * required int32 psAgentId = 1;
       */
      public int getPsAgentId() {
        return psAgentId_;
      }
      /**
       * required int32 psAgentId = 1;
       */
      public Builder setPsAgentId(int value) {
        bitField0_ |= 0x00000001;
        psAgentId_ = value;
        onChanged();
        return this;
      }
      /**
       * required int32 psAgentId = 1;
       */
      public Builder clearPsAgentId() {
        bitField0_ = (bitField0_ & ~0x00000001);
        psAgentId_ = 0;
        onChanged();
        return this;
      }

      // required string msg = 2;
      private java.lang.Object msg_ = "";
      /**
       * required string msg = 2;
       */
      public boolean hasMsg() {
        return ((bitField0_ & 0x00000002) == 0x00000002);
      }
      /**
       * required string msg = 2;
       */
      public java.lang.String getMsg() {
        java.lang.Object ref = msg_;
        if (!(ref instanceof java.lang.String)) {
          java.lang.String s = ((com.google.protobuf.ByteString) ref)
              .toStringUtf8();
          msg_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * required string msg = 2;
       */
      public com.google.protobuf.ByteString
          getMsgBytes() {
        java.lang.Object ref = msg_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          msg_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * required string msg = 2;
       */
      public Builder setMsg(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000002;
        msg_ = value;
        onChanged();
        return this;
      }
      /**
       * required string msg = 2;
       */
      public Builder clearMsg() {
        bitField0_ = (bitField0_ & ~0x00000002);
        msg_ = getDefaultInstance().getMsg();
        onChanged();
        return this;
      }
      /**
       * required string msg = 2;
       */
      public Builder setMsgBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000002;
        msg_ = value;
        onChanged();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:PSAgentErrorRequest)
    }

    static {
      defaultInstance = new PSAgentErrorRequest(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:PSAgentErrorRequest)
  }

  public interface PSAgentErrorResponseOrBuilder
      extends com.google.protobuf.MessageOrBuilder {

    // required .PSAgentCommandProto command = 1;
    /**
     * required .PSAgentCommandProto command = 1;
     */
    boolean hasCommand();
    /**
     * required .PSAgentCommandProto command = 1;
     */
    com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto getCommand();
  }
  /**
   * Protobuf type {@code PSAgentErrorResponse}
   */
  public static final class PSAgentErrorResponse extends
      com.google.protobuf.GeneratedMessage
      implements PSAgentErrorResponseOrBuilder {
    // Use PSAgentErrorResponse.newBuilder() to construct.
    private PSAgentErrorResponse(com.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private PSAgentErrorResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final PSAgentErrorResponse defaultInstance;
    public static PSAgentErrorResponse getDefaultInstance() {
      return defaultInstance;
    }

    public PSAgentErrorResponse getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private PSAgentErrorResponse(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      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;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 8: {
              int rawValue = input.readEnum();
              com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto value = com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto.valueOf(rawValue);
              if (value == null) {
                unknownFields.mergeVarintField(1, rawValue);
              } else {
                bitField0_ |= 0x00000001;
                command_ = value;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSAgentErrorResponse_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSAgentErrorResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorResponse.Builder.class);
    }

    public static com.google.protobuf.Parser PARSER =
        new com.google.protobuf.AbstractParser() {
      public PSAgentErrorResponse parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new PSAgentErrorResponse(input, extensionRegistry);
      }
    };

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

    private int bitField0_;
    // required .PSAgentCommandProto command = 1;
    public static final int COMMAND_FIELD_NUMBER = 1;
    private com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto command_;
    /**
     * required .PSAgentCommandProto command = 1;
     */
    public boolean hasCommand() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    /**
     * required .PSAgentCommandProto command = 1;
     */
    public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto getCommand() {
      return command_;
    }

    private void initFields() {
      command_ = com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto.PSAGENT_SUCCESS;
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      if (!hasCommand()) {
        memoizedIsInitialized = 0;
        return false;
      }
      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeEnum(1, command_.getNumber());
      }
      getUnknownFields().writeTo(output);
    }

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(1, command_.getNumber());
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorResponse)) {
        return super.equals(obj);
      }
      com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorResponse other = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorResponse) obj;

      boolean result = true;
      result = result && (hasCommand() == other.hasCommand());
      if (hasCommand()) {
        result = result &&
            (getCommand() == other.getCommand());
      }
      result = result &&
          getUnknownFields().equals(other.getUnknownFields());
      return result;
    }

    private int memoizedHashCode = 0;
    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptorForType().hashCode();
      if (hasCommand()) {
        hash = (37 * hash) + COMMAND_FIELD_NUMBER;
        hash = (53 * hash) + hashEnum(getCommand());
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorResponse parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorResponse parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorResponse parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorResponse parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorResponse parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorResponse parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorResponse parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorResponse parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorResponse parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorResponse parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorResponse prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code PSAgentErrorResponse}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder
       implements com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorResponseOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSAgentErrorResponse_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSAgentErrorResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorResponse.Builder.class);
      }

      // Construct using com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorResponse.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        command_ = com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto.PSAGENT_SUCCESS;
        bitField0_ = (bitField0_ & ~0x00000001);
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSAgentErrorResponse_descriptor;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorResponse getDefaultInstanceForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorResponse.getDefaultInstance();
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorResponse build() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorResponse result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorResponse buildPartial() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorResponse result = new com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorResponse(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
          to_bitField0_ |= 0x00000001;
        }
        result.command_ = command_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorResponse) {
          return mergeFrom((com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorResponse other) {
        if (other == com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorResponse.getDefaultInstance()) return this;
        if (other.hasCommand()) {
          setCommand(other.getCommand());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        if (!hasCommand()) {
          
          return false;
        }
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorResponse) e.getUnfinishedMessage();
          throw e;
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      // required .PSAgentCommandProto command = 1;
      private com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto command_ = com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto.PSAGENT_SUCCESS;
      /**
       * required .PSAgentCommandProto command = 1;
       */
      public boolean hasCommand() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * required .PSAgentCommandProto command = 1;
       */
      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto getCommand() {
        return command_;
      }
      /**
       * required .PSAgentCommandProto command = 1;
       */
      public Builder setCommand(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto value) {
        if (value == null) {
          throw new NullPointerException();
        }
        bitField0_ |= 0x00000001;
        command_ = value;
        onChanged();
        return this;
      }
      /**
       * required .PSAgentCommandProto command = 1;
       */
      public Builder clearCommand() {
        bitField0_ = (bitField0_ & ~0x00000001);
        command_ = com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentCommandProto.PSAGENT_SUCCESS;
        onChanged();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:PSAgentErrorResponse)
    }

    static {
      defaultInstance = new PSAgentErrorResponse(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:PSAgentErrorResponse)
  }

  public interface TaskClockRequestOrBuilder
      extends com.google.protobuf.MessageOrBuilder {

    // required .TaskIdProto taskId = 1;
    /**
     * required .TaskIdProto taskId = 1;
     */
    boolean hasTaskId();
    /**
     * required .TaskIdProto taskId = 1;
     */
    com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto getTaskId();
    /**
     * required .TaskIdProto taskId = 1;
     */
    com.tencent.angel.protobuf.generated.MLProtos.TaskIdProtoOrBuilder getTaskIdOrBuilder();

    // required .MatrixClock matrixClock = 2;
    /**
     * required .MatrixClock matrixClock = 2;
     */
    boolean hasMatrixClock();
    /**
     * required .MatrixClock matrixClock = 2;
     */
    com.tencent.angel.protobuf.generated.MLProtos.MatrixClock getMatrixClock();
    /**
     * required .MatrixClock matrixClock = 2;
     */
    com.tencent.angel.protobuf.generated.MLProtos.MatrixClockOrBuilder getMatrixClockOrBuilder();
  }
  /**
   * Protobuf type {@code TaskClockRequest}
   */
  public static final class TaskClockRequest extends
      com.google.protobuf.GeneratedMessage
      implements TaskClockRequestOrBuilder {
    // Use TaskClockRequest.newBuilder() to construct.
    private TaskClockRequest(com.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private TaskClockRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final TaskClockRequest defaultInstance;
    public static TaskClockRequest getDefaultInstance() {
      return defaultInstance;
    }

    public TaskClockRequest getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private TaskClockRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      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;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.Builder subBuilder = null;
              if (((bitField0_ & 0x00000001) == 0x00000001)) {
                subBuilder = taskId_.toBuilder();
              }
              taskId_ = input.readMessage(com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.PARSER, extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(taskId_);
                taskId_ = subBuilder.buildPartial();
              }
              bitField0_ |= 0x00000001;
              break;
            }
            case 18: {
              com.tencent.angel.protobuf.generated.MLProtos.MatrixClock.Builder subBuilder = null;
              if (((bitField0_ & 0x00000002) == 0x00000002)) {
                subBuilder = matrixClock_.toBuilder();
              }
              matrixClock_ = input.readMessage(com.tencent.angel.protobuf.generated.MLProtos.MatrixClock.PARSER, extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(matrixClock_);
                matrixClock_ = subBuilder.buildPartial();
              }
              bitField0_ |= 0x00000002;
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_TaskClockRequest_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_TaskClockRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockRequest.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockRequest.Builder.class);
    }

    public static com.google.protobuf.Parser PARSER =
        new com.google.protobuf.AbstractParser() {
      public TaskClockRequest parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new TaskClockRequest(input, extensionRegistry);
      }
    };

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

    private int bitField0_;
    // required .TaskIdProto taskId = 1;
    public static final int TASKID_FIELD_NUMBER = 1;
    private com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto taskId_;
    /**
     * required .TaskIdProto taskId = 1;
     */
    public boolean hasTaskId() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    /**
     * required .TaskIdProto taskId = 1;
     */
    public com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto getTaskId() {
      return taskId_;
    }
    /**
     * required .TaskIdProto taskId = 1;
     */
    public com.tencent.angel.protobuf.generated.MLProtos.TaskIdProtoOrBuilder getTaskIdOrBuilder() {
      return taskId_;
    }

    // required .MatrixClock matrixClock = 2;
    public static final int MATRIXCLOCK_FIELD_NUMBER = 2;
    private com.tencent.angel.protobuf.generated.MLProtos.MatrixClock matrixClock_;
    /**
     * required .MatrixClock matrixClock = 2;
     */
    public boolean hasMatrixClock() {
      return ((bitField0_ & 0x00000002) == 0x00000002);
    }
    /**
     * required .MatrixClock matrixClock = 2;
     */
    public com.tencent.angel.protobuf.generated.MLProtos.MatrixClock getMatrixClock() {
      return matrixClock_;
    }
    /**
     * required .MatrixClock matrixClock = 2;
     */
    public com.tencent.angel.protobuf.generated.MLProtos.MatrixClockOrBuilder getMatrixClockOrBuilder() {
      return matrixClock_;
    }

    private void initFields() {
      taskId_ = com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.getDefaultInstance();
      matrixClock_ = com.tencent.angel.protobuf.generated.MLProtos.MatrixClock.getDefaultInstance();
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      if (!hasTaskId()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasMatrixClock()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!getTaskId().isInitialized()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!getMatrixClock().isInitialized()) {
        memoizedIsInitialized = 0;
        return false;
      }
      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeMessage(1, taskId_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        output.writeMessage(2, matrixClock_);
      }
      getUnknownFields().writeTo(output);
    }

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, taskId_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, matrixClock_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockRequest)) {
        return super.equals(obj);
      }
      com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockRequest other = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockRequest) obj;

      boolean result = true;
      result = result && (hasTaskId() == other.hasTaskId());
      if (hasTaskId()) {
        result = result && getTaskId()
            .equals(other.getTaskId());
      }
      result = result && (hasMatrixClock() == other.hasMatrixClock());
      if (hasMatrixClock()) {
        result = result && getMatrixClock()
            .equals(other.getMatrixClock());
      }
      result = result &&
          getUnknownFields().equals(other.getUnknownFields());
      return result;
    }

    private int memoizedHashCode = 0;
    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptorForType().hashCode();
      if (hasTaskId()) {
        hash = (37 * hash) + TASKID_FIELD_NUMBER;
        hash = (53 * hash) + getTaskId().hashCode();
      }
      if (hasMatrixClock()) {
        hash = (37 * hash) + MATRIXCLOCK_FIELD_NUMBER;
        hash = (53 * hash) + getMatrixClock().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockRequest parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockRequest parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockRequest parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockRequest prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code TaskClockRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder
       implements com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_TaskClockRequest_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_TaskClockRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockRequest.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockRequest.Builder.class);
      }

      // Construct using com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockRequest.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
          getTaskIdFieldBuilder();
          getMatrixClockFieldBuilder();
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        if (taskIdBuilder_ == null) {
          taskId_ = com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.getDefaultInstance();
        } else {
          taskIdBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000001);
        if (matrixClockBuilder_ == null) {
          matrixClock_ = com.tencent.angel.protobuf.generated.MLProtos.MatrixClock.getDefaultInstance();
        } else {
          matrixClockBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000002);
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_TaskClockRequest_descriptor;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockRequest getDefaultInstanceForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockRequest.getDefaultInstance();
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockRequest build() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockRequest buildPartial() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockRequest result = new com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockRequest(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
          to_bitField0_ |= 0x00000001;
        }
        if (taskIdBuilder_ == null) {
          result.taskId_ = taskId_;
        } else {
          result.taskId_ = taskIdBuilder_.build();
        }
        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
          to_bitField0_ |= 0x00000002;
        }
        if (matrixClockBuilder_ == null) {
          result.matrixClock_ = matrixClock_;
        } else {
          result.matrixClock_ = matrixClockBuilder_.build();
        }
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockRequest) {
          return mergeFrom((com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockRequest other) {
        if (other == com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockRequest.getDefaultInstance()) return this;
        if (other.hasTaskId()) {
          mergeTaskId(other.getTaskId());
        }
        if (other.hasMatrixClock()) {
          mergeMatrixClock(other.getMatrixClock());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        if (!hasTaskId()) {
          
          return false;
        }
        if (!hasMatrixClock()) {
          
          return false;
        }
        if (!getTaskId().isInitialized()) {
          
          return false;
        }
        if (!getMatrixClock().isInitialized()) {
          
          return false;
        }
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockRequest) e.getUnfinishedMessage();
          throw e;
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      // required .TaskIdProto taskId = 1;
      private com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto taskId_ = com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.getDefaultInstance();
      private com.google.protobuf.SingleFieldBuilder<
          com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto, com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.TaskIdProtoOrBuilder> taskIdBuilder_;
      /**
       * required .TaskIdProto taskId = 1;
       */
      public boolean hasTaskId() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * required .TaskIdProto taskId = 1;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto getTaskId() {
        if (taskIdBuilder_ == null) {
          return taskId_;
        } else {
          return taskIdBuilder_.getMessage();
        }
      }
      /**
       * required .TaskIdProto taskId = 1;
       */
      public Builder setTaskId(com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto value) {
        if (taskIdBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          taskId_ = value;
          onChanged();
        } else {
          taskIdBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000001;
        return this;
      }
      /**
       * required .TaskIdProto taskId = 1;
       */
      public Builder setTaskId(
          com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.Builder builderForValue) {
        if (taskIdBuilder_ == null) {
          taskId_ = builderForValue.build();
          onChanged();
        } else {
          taskIdBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000001;
        return this;
      }
      /**
       * required .TaskIdProto taskId = 1;
       */
      public Builder mergeTaskId(com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto value) {
        if (taskIdBuilder_ == null) {
          if (((bitField0_ & 0x00000001) == 0x00000001) &&
              taskId_ != com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.getDefaultInstance()) {
            taskId_ =
              com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.newBuilder(taskId_).mergeFrom(value).buildPartial();
          } else {
            taskId_ = value;
          }
          onChanged();
        } else {
          taskIdBuilder_.mergeFrom(value);
        }
        bitField0_ |= 0x00000001;
        return this;
      }
      /**
       * required .TaskIdProto taskId = 1;
       */
      public Builder clearTaskId() {
        if (taskIdBuilder_ == null) {
          taskId_ = com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.getDefaultInstance();
          onChanged();
        } else {
          taskIdBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000001);
        return this;
      }
      /**
       * required .TaskIdProto taskId = 1;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.Builder getTaskIdBuilder() {
        bitField0_ |= 0x00000001;
        onChanged();
        return getTaskIdFieldBuilder().getBuilder();
      }
      /**
       * required .TaskIdProto taskId = 1;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.TaskIdProtoOrBuilder getTaskIdOrBuilder() {
        if (taskIdBuilder_ != null) {
          return taskIdBuilder_.getMessageOrBuilder();
        } else {
          return taskId_;
        }
      }
      /**
       * required .TaskIdProto taskId = 1;
       */
      private com.google.protobuf.SingleFieldBuilder<
          com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto, com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.TaskIdProtoOrBuilder> 
          getTaskIdFieldBuilder() {
        if (taskIdBuilder_ == null) {
          taskIdBuilder_ = new com.google.protobuf.SingleFieldBuilder<
              com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto, com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.TaskIdProtoOrBuilder>(
                  taskId_,
                  getParentForChildren(),
                  isClean());
          taskId_ = null;
        }
        return taskIdBuilder_;
      }

      // required .MatrixClock matrixClock = 2;
      private com.tencent.angel.protobuf.generated.MLProtos.MatrixClock matrixClock_ = com.tencent.angel.protobuf.generated.MLProtos.MatrixClock.getDefaultInstance();
      private com.google.protobuf.SingleFieldBuilder<
          com.tencent.angel.protobuf.generated.MLProtos.MatrixClock, com.tencent.angel.protobuf.generated.MLProtos.MatrixClock.Builder, com.tencent.angel.protobuf.generated.MLProtos.MatrixClockOrBuilder> matrixClockBuilder_;
      /**
       * required .MatrixClock matrixClock = 2;
       */
      public boolean hasMatrixClock() {
        return ((bitField0_ & 0x00000002) == 0x00000002);
      }
      /**
       * required .MatrixClock matrixClock = 2;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.MatrixClock getMatrixClock() {
        if (matrixClockBuilder_ == null) {
          return matrixClock_;
        } else {
          return matrixClockBuilder_.getMessage();
        }
      }
      /**
       * required .MatrixClock matrixClock = 2;
       */
      public Builder setMatrixClock(com.tencent.angel.protobuf.generated.MLProtos.MatrixClock value) {
        if (matrixClockBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          matrixClock_ = value;
          onChanged();
        } else {
          matrixClockBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000002;
        return this;
      }
      /**
       * required .MatrixClock matrixClock = 2;
       */
      public Builder setMatrixClock(
          com.tencent.angel.protobuf.generated.MLProtos.MatrixClock.Builder builderForValue) {
        if (matrixClockBuilder_ == null) {
          matrixClock_ = builderForValue.build();
          onChanged();
        } else {
          matrixClockBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000002;
        return this;
      }
      /**
       * required .MatrixClock matrixClock = 2;
       */
      public Builder mergeMatrixClock(com.tencent.angel.protobuf.generated.MLProtos.MatrixClock value) {
        if (matrixClockBuilder_ == null) {
          if (((bitField0_ & 0x00000002) == 0x00000002) &&
              matrixClock_ != com.tencent.angel.protobuf.generated.MLProtos.MatrixClock.getDefaultInstance()) {
            matrixClock_ =
              com.tencent.angel.protobuf.generated.MLProtos.MatrixClock.newBuilder(matrixClock_).mergeFrom(value).buildPartial();
          } else {
            matrixClock_ = value;
          }
          onChanged();
        } else {
          matrixClockBuilder_.mergeFrom(value);
        }
        bitField0_ |= 0x00000002;
        return this;
      }
      /**
       * required .MatrixClock matrixClock = 2;
       */
      public Builder clearMatrixClock() {
        if (matrixClockBuilder_ == null) {
          matrixClock_ = com.tencent.angel.protobuf.generated.MLProtos.MatrixClock.getDefaultInstance();
          onChanged();
        } else {
          matrixClockBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000002);
        return this;
      }
      /**
       * required .MatrixClock matrixClock = 2;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.MatrixClock.Builder getMatrixClockBuilder() {
        bitField0_ |= 0x00000002;
        onChanged();
        return getMatrixClockFieldBuilder().getBuilder();
      }
      /**
       * required .MatrixClock matrixClock = 2;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.MatrixClockOrBuilder getMatrixClockOrBuilder() {
        if (matrixClockBuilder_ != null) {
          return matrixClockBuilder_.getMessageOrBuilder();
        } else {
          return matrixClock_;
        }
      }
      /**
       * required .MatrixClock matrixClock = 2;
       */
      private com.google.protobuf.SingleFieldBuilder<
          com.tencent.angel.protobuf.generated.MLProtos.MatrixClock, com.tencent.angel.protobuf.generated.MLProtos.MatrixClock.Builder, com.tencent.angel.protobuf.generated.MLProtos.MatrixClockOrBuilder> 
          getMatrixClockFieldBuilder() {
        if (matrixClockBuilder_ == null) {
          matrixClockBuilder_ = new com.google.protobuf.SingleFieldBuilder<
              com.tencent.angel.protobuf.generated.MLProtos.MatrixClock, com.tencent.angel.protobuf.generated.MLProtos.MatrixClock.Builder, com.tencent.angel.protobuf.generated.MLProtos.MatrixClockOrBuilder>(
                  matrixClock_,
                  getParentForChildren(),
                  isClean());
          matrixClock_ = null;
        }
        return matrixClockBuilder_;
      }

      // @@protoc_insertion_point(builder_scope:TaskClockRequest)
    }

    static {
      defaultInstance = new TaskClockRequest(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:TaskClockRequest)
  }

  public interface TaskClockResponseOrBuilder
      extends com.google.protobuf.MessageOrBuilder {
  }
  /**
   * Protobuf type {@code TaskClockResponse}
   */
  public static final class TaskClockResponse extends
      com.google.protobuf.GeneratedMessage
      implements TaskClockResponseOrBuilder {
    // Use TaskClockResponse.newBuilder() to construct.
    private TaskClockResponse(com.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private TaskClockResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final TaskClockResponse defaultInstance;
    public static TaskClockResponse getDefaultInstance() {
      return defaultInstance;
    }

    public TaskClockResponse getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private TaskClockResponse(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_TaskClockResponse_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_TaskClockResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockResponse.Builder.class);
    }

    public static com.google.protobuf.Parser PARSER =
        new com.google.protobuf.AbstractParser() {
      public TaskClockResponse parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new TaskClockResponse(input, extensionRegistry);
      }
    };

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

    private void initFields() {
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      memoizedIsInitialized = 1;
      return true;
    }

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

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

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

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockResponse)) {
        return super.equals(obj);
      }
      com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockResponse other = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockResponse) obj;

      boolean result = true;
      result = result &&
          getUnknownFields().equals(other.getUnknownFields());
      return result;
    }

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

    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockResponse parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockResponse parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockResponse parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockResponse parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockResponse parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockResponse parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockResponse parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockResponse parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockResponse parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockResponse parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockResponse prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code TaskClockResponse}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder
       implements com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockResponseOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_TaskClockResponse_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_TaskClockResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockResponse.Builder.class);
      }

      // Construct using com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockResponse.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_TaskClockResponse_descriptor;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockResponse getDefaultInstanceForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockResponse.getDefaultInstance();
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockResponse build() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockResponse result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockResponse buildPartial() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockResponse result = new com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockResponse(this);
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockResponse) {
          return mergeFrom((com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockResponse other) {
        if (other == com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockResponse.getDefaultInstance()) return this;
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

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

      // @@protoc_insertion_point(builder_scope:TaskClockResponse)
    }

    static {
      defaultInstance = new TaskClockResponse(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:TaskClockResponse)
  }

  public interface TaskIterationRequestOrBuilder
      extends com.google.protobuf.MessageOrBuilder {

    // required .TaskIdProto taskId = 1;
    /**
     * required .TaskIdProto taskId = 1;
     */
    boolean hasTaskId();
    /**
     * required .TaskIdProto taskId = 1;
     */
    com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto getTaskId();
    /**
     * required .TaskIdProto taskId = 1;
     */
    com.tencent.angel.protobuf.generated.MLProtos.TaskIdProtoOrBuilder getTaskIdOrBuilder();

    // required int32 iteration = 2;
    /**
     * required int32 iteration = 2;
     */
    boolean hasIteration();
    /**
     * required int32 iteration = 2;
     */
    int getIteration();
  }
  /**
   * Protobuf type {@code TaskIterationRequest}
   */
  public static final class TaskIterationRequest extends
      com.google.protobuf.GeneratedMessage
      implements TaskIterationRequestOrBuilder {
    // Use TaskIterationRequest.newBuilder() to construct.
    private TaskIterationRequest(com.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private TaskIterationRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final TaskIterationRequest defaultInstance;
    public static TaskIterationRequest getDefaultInstance() {
      return defaultInstance;
    }

    public TaskIterationRequest getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private TaskIterationRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      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;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.Builder subBuilder = null;
              if (((bitField0_ & 0x00000001) == 0x00000001)) {
                subBuilder = taskId_.toBuilder();
              }
              taskId_ = input.readMessage(com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.PARSER, extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(taskId_);
                taskId_ = subBuilder.buildPartial();
              }
              bitField0_ |= 0x00000001;
              break;
            }
            case 16: {
              bitField0_ |= 0x00000002;
              iteration_ = input.readInt32();
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_TaskIterationRequest_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_TaskIterationRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationRequest.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationRequest.Builder.class);
    }

    public static com.google.protobuf.Parser PARSER =
        new com.google.protobuf.AbstractParser() {
      public TaskIterationRequest parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new TaskIterationRequest(input, extensionRegistry);
      }
    };

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

    private int bitField0_;
    // required .TaskIdProto taskId = 1;
    public static final int TASKID_FIELD_NUMBER = 1;
    private com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto taskId_;
    /**
     * required .TaskIdProto taskId = 1;
     */
    public boolean hasTaskId() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    /**
     * required .TaskIdProto taskId = 1;
     */
    public com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto getTaskId() {
      return taskId_;
    }
    /**
     * required .TaskIdProto taskId = 1;
     */
    public com.tencent.angel.protobuf.generated.MLProtos.TaskIdProtoOrBuilder getTaskIdOrBuilder() {
      return taskId_;
    }

    // required int32 iteration = 2;
    public static final int ITERATION_FIELD_NUMBER = 2;
    private int iteration_;
    /**
     * required int32 iteration = 2;
     */
    public boolean hasIteration() {
      return ((bitField0_ & 0x00000002) == 0x00000002);
    }
    /**
     * required int32 iteration = 2;
     */
    public int getIteration() {
      return iteration_;
    }

    private void initFields() {
      taskId_ = com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.getDefaultInstance();
      iteration_ = 0;
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      if (!hasTaskId()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasIteration()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!getTaskId().isInitialized()) {
        memoizedIsInitialized = 0;
        return false;
      }
      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeMessage(1, taskId_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        output.writeInt32(2, iteration_);
      }
      getUnknownFields().writeTo(output);
    }

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, taskId_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(2, iteration_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationRequest)) {
        return super.equals(obj);
      }
      com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationRequest other = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationRequest) obj;

      boolean result = true;
      result = result && (hasTaskId() == other.hasTaskId());
      if (hasTaskId()) {
        result = result && getTaskId()
            .equals(other.getTaskId());
      }
      result = result && (hasIteration() == other.hasIteration());
      if (hasIteration()) {
        result = result && (getIteration()
            == other.getIteration());
      }
      result = result &&
          getUnknownFields().equals(other.getUnknownFields());
      return result;
    }

    private int memoizedHashCode = 0;
    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptorForType().hashCode();
      if (hasTaskId()) {
        hash = (37 * hash) + TASKID_FIELD_NUMBER;
        hash = (53 * hash) + getTaskId().hashCode();
      }
      if (hasIteration()) {
        hash = (37 * hash) + ITERATION_FIELD_NUMBER;
        hash = (53 * hash) + getIteration();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationRequest parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationRequest parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationRequest parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationRequest prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code TaskIterationRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder
       implements com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_TaskIterationRequest_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_TaskIterationRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationRequest.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationRequest.Builder.class);
      }

      // Construct using com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationRequest.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
          getTaskIdFieldBuilder();
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        if (taskIdBuilder_ == null) {
          taskId_ = com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.getDefaultInstance();
        } else {
          taskIdBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000001);
        iteration_ = 0;
        bitField0_ = (bitField0_ & ~0x00000002);
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_TaskIterationRequest_descriptor;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationRequest getDefaultInstanceForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationRequest.getDefaultInstance();
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationRequest build() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationRequest buildPartial() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationRequest result = new com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationRequest(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
          to_bitField0_ |= 0x00000001;
        }
        if (taskIdBuilder_ == null) {
          result.taskId_ = taskId_;
        } else {
          result.taskId_ = taskIdBuilder_.build();
        }
        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
          to_bitField0_ |= 0x00000002;
        }
        result.iteration_ = iteration_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationRequest) {
          return mergeFrom((com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationRequest other) {
        if (other == com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationRequest.getDefaultInstance()) return this;
        if (other.hasTaskId()) {
          mergeTaskId(other.getTaskId());
        }
        if (other.hasIteration()) {
          setIteration(other.getIteration());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        if (!hasTaskId()) {
          
          return false;
        }
        if (!hasIteration()) {
          
          return false;
        }
        if (!getTaskId().isInitialized()) {
          
          return false;
        }
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationRequest) e.getUnfinishedMessage();
          throw e;
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      // required .TaskIdProto taskId = 1;
      private com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto taskId_ = com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.getDefaultInstance();
      private com.google.protobuf.SingleFieldBuilder<
          com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto, com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.TaskIdProtoOrBuilder> taskIdBuilder_;
      /**
       * required .TaskIdProto taskId = 1;
       */
      public boolean hasTaskId() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * required .TaskIdProto taskId = 1;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto getTaskId() {
        if (taskIdBuilder_ == null) {
          return taskId_;
        } else {
          return taskIdBuilder_.getMessage();
        }
      }
      /**
       * required .TaskIdProto taskId = 1;
       */
      public Builder setTaskId(com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto value) {
        if (taskIdBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          taskId_ = value;
          onChanged();
        } else {
          taskIdBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000001;
        return this;
      }
      /**
       * required .TaskIdProto taskId = 1;
       */
      public Builder setTaskId(
          com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.Builder builderForValue) {
        if (taskIdBuilder_ == null) {
          taskId_ = builderForValue.build();
          onChanged();
        } else {
          taskIdBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000001;
        return this;
      }
      /**
       * required .TaskIdProto taskId = 1;
       */
      public Builder mergeTaskId(com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto value) {
        if (taskIdBuilder_ == null) {
          if (((bitField0_ & 0x00000001) == 0x00000001) &&
              taskId_ != com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.getDefaultInstance()) {
            taskId_ =
              com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.newBuilder(taskId_).mergeFrom(value).buildPartial();
          } else {
            taskId_ = value;
          }
          onChanged();
        } else {
          taskIdBuilder_.mergeFrom(value);
        }
        bitField0_ |= 0x00000001;
        return this;
      }
      /**
       * required .TaskIdProto taskId = 1;
       */
      public Builder clearTaskId() {
        if (taskIdBuilder_ == null) {
          taskId_ = com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.getDefaultInstance();
          onChanged();
        } else {
          taskIdBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000001);
        return this;
      }
      /**
       * required .TaskIdProto taskId = 1;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.Builder getTaskIdBuilder() {
        bitField0_ |= 0x00000001;
        onChanged();
        return getTaskIdFieldBuilder().getBuilder();
      }
      /**
       * required .TaskIdProto taskId = 1;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.TaskIdProtoOrBuilder getTaskIdOrBuilder() {
        if (taskIdBuilder_ != null) {
          return taskIdBuilder_.getMessageOrBuilder();
        } else {
          return taskId_;
        }
      }
      /**
       * required .TaskIdProto taskId = 1;
       */
      private com.google.protobuf.SingleFieldBuilder<
          com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto, com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.TaskIdProtoOrBuilder> 
          getTaskIdFieldBuilder() {
        if (taskIdBuilder_ == null) {
          taskIdBuilder_ = new com.google.protobuf.SingleFieldBuilder<
              com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto, com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.TaskIdProtoOrBuilder>(
                  taskId_,
                  getParentForChildren(),
                  isClean());
          taskId_ = null;
        }
        return taskIdBuilder_;
      }

      // required int32 iteration = 2;
      private int iteration_ ;
      /**
       * required int32 iteration = 2;
       */
      public boolean hasIteration() {
        return ((bitField0_ & 0x00000002) == 0x00000002);
      }
      /**
       * required int32 iteration = 2;
       */
      public int getIteration() {
        return iteration_;
      }
      /**
       * required int32 iteration = 2;
       */
      public Builder setIteration(int value) {
        bitField0_ |= 0x00000002;
        iteration_ = value;
        onChanged();
        return this;
      }
      /**
       * required int32 iteration = 2;
       */
      public Builder clearIteration() {
        bitField0_ = (bitField0_ & ~0x00000002);
        iteration_ = 0;
        onChanged();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:TaskIterationRequest)
    }

    static {
      defaultInstance = new TaskIterationRequest(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:TaskIterationRequest)
  }

  public interface TaskIterationResponseOrBuilder
      extends com.google.protobuf.MessageOrBuilder {
  }
  /**
   * Protobuf type {@code TaskIterationResponse}
   */
  public static final class TaskIterationResponse extends
      com.google.protobuf.GeneratedMessage
      implements TaskIterationResponseOrBuilder {
    // Use TaskIterationResponse.newBuilder() to construct.
    private TaskIterationResponse(com.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private TaskIterationResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final TaskIterationResponse defaultInstance;
    public static TaskIterationResponse getDefaultInstance() {
      return defaultInstance;
    }

    public TaskIterationResponse getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private TaskIterationResponse(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_TaskIterationResponse_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_TaskIterationResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationResponse.Builder.class);
    }

    public static com.google.protobuf.Parser PARSER =
        new com.google.protobuf.AbstractParser() {
      public TaskIterationResponse parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new TaskIterationResponse(input, extensionRegistry);
      }
    };

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

    private void initFields() {
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      memoizedIsInitialized = 1;
      return true;
    }

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

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

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

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationResponse)) {
        return super.equals(obj);
      }
      com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationResponse other = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationResponse) obj;

      boolean result = true;
      result = result &&
          getUnknownFields().equals(other.getUnknownFields());
      return result;
    }

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

    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationResponse parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationResponse parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationResponse parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationResponse parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationResponse parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationResponse parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationResponse parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationResponse parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationResponse parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationResponse parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationResponse prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code TaskIterationResponse}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder
       implements com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationResponseOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_TaskIterationResponse_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_TaskIterationResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationResponse.Builder.class);
      }

      // Construct using com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationResponse.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_TaskIterationResponse_descriptor;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationResponse getDefaultInstanceForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationResponse.getDefaultInstance();
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationResponse build() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationResponse result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationResponse buildPartial() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationResponse result = new com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationResponse(this);
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationResponse) {
          return mergeFrom((com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationResponse other) {
        if (other == com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationResponse.getDefaultInstance()) return this;
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

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

      // @@protoc_insertion_point(builder_scope:TaskIterationResponse)
    }

    static {
      defaultInstance = new TaskIterationResponse(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:TaskIterationResponse)
  }

  public interface TaskCounterUpdateRequestOrBuilder
      extends com.google.protobuf.MessageOrBuilder {

    // required .TaskIdProto taskId = 1;
    /**
     * required .TaskIdProto taskId = 1;
     */
    boolean hasTaskId();
    /**
     * required .TaskIdProto taskId = 1;
     */
    com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto getTaskId();
    /**
     * required .TaskIdProto taskId = 1;
     */
    com.tencent.angel.protobuf.generated.MLProtos.TaskIdProtoOrBuilder getTaskIdOrBuilder();

    // repeated .Pair counters = 2;
    /**
     * repeated .Pair counters = 2;
     */
    java.util.List 
        getCountersList();
    /**
     * repeated .Pair counters = 2;
     */
    com.tencent.angel.protobuf.generated.MLProtos.Pair getCounters(int index);
    /**
     * repeated .Pair counters = 2;
     */
    int getCountersCount();
    /**
     * repeated .Pair counters = 2;
     */
    java.util.List 
        getCountersOrBuilderList();
    /**
     * repeated .Pair counters = 2;
     */
    com.tencent.angel.protobuf.generated.MLProtos.PairOrBuilder getCountersOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code TaskCounterUpdateRequest}
   */
  public static final class TaskCounterUpdateRequest extends
      com.google.protobuf.GeneratedMessage
      implements TaskCounterUpdateRequestOrBuilder {
    // Use TaskCounterUpdateRequest.newBuilder() to construct.
    private TaskCounterUpdateRequest(com.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private TaskCounterUpdateRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final TaskCounterUpdateRequest defaultInstance;
    public static TaskCounterUpdateRequest getDefaultInstance() {
      return defaultInstance;
    }

    public TaskCounterUpdateRequest getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private TaskCounterUpdateRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      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;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.Builder subBuilder = null;
              if (((bitField0_ & 0x00000001) == 0x00000001)) {
                subBuilder = taskId_.toBuilder();
              }
              taskId_ = input.readMessage(com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.PARSER, extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(taskId_);
                taskId_ = subBuilder.buildPartial();
              }
              bitField0_ |= 0x00000001;
              break;
            }
            case 18: {
              if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
                counters_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000002;
              }
              counters_.add(input.readMessage(com.tencent.angel.protobuf.generated.MLProtos.Pair.PARSER, extensionRegistry));
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
          counters_ = java.util.Collections.unmodifiableList(counters_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_TaskCounterUpdateRequest_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_TaskCounterUpdateRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCounterUpdateRequest.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCounterUpdateRequest.Builder.class);
    }

    public static com.google.protobuf.Parser PARSER =
        new com.google.protobuf.AbstractParser() {
      public TaskCounterUpdateRequest parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new TaskCounterUpdateRequest(input, extensionRegistry);
      }
    };

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

    private int bitField0_;
    // required .TaskIdProto taskId = 1;
    public static final int TASKID_FIELD_NUMBER = 1;
    private com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto taskId_;
    /**
     * required .TaskIdProto taskId = 1;
     */
    public boolean hasTaskId() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    /**
     * required .TaskIdProto taskId = 1;
     */
    public com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto getTaskId() {
      return taskId_;
    }
    /**
     * required .TaskIdProto taskId = 1;
     */
    public com.tencent.angel.protobuf.generated.MLProtos.TaskIdProtoOrBuilder getTaskIdOrBuilder() {
      return taskId_;
    }

    // repeated .Pair counters = 2;
    public static final int COUNTERS_FIELD_NUMBER = 2;
    private java.util.List counters_;
    /**
     * repeated .Pair counters = 2;
     */
    public java.util.List getCountersList() {
      return counters_;
    }
    /**
     * repeated .Pair counters = 2;
     */
    public java.util.List 
        getCountersOrBuilderList() {
      return counters_;
    }
    /**
     * repeated .Pair counters = 2;
     */
    public int getCountersCount() {
      return counters_.size();
    }
    /**
     * repeated .Pair counters = 2;
     */
    public com.tencent.angel.protobuf.generated.MLProtos.Pair getCounters(int index) {
      return counters_.get(index);
    }
    /**
     * repeated .Pair counters = 2;
     */
    public com.tencent.angel.protobuf.generated.MLProtos.PairOrBuilder getCountersOrBuilder(
        int index) {
      return counters_.get(index);
    }

    private void initFields() {
      taskId_ = com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.getDefaultInstance();
      counters_ = java.util.Collections.emptyList();
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      if (!hasTaskId()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!getTaskId().isInitialized()) {
        memoizedIsInitialized = 0;
        return false;
      }
      for (int i = 0; i < getCountersCount(); i++) {
        if (!getCounters(i).isInitialized()) {
          memoizedIsInitialized = 0;
          return false;
        }
      }
      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeMessage(1, taskId_);
      }
      for (int i = 0; i < counters_.size(); i++) {
        output.writeMessage(2, counters_.get(i));
      }
      getUnknownFields().writeTo(output);
    }

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, taskId_);
      }
      for (int i = 0; i < counters_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, counters_.get(i));
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCounterUpdateRequest)) {
        return super.equals(obj);
      }
      com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCounterUpdateRequest other = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCounterUpdateRequest) obj;

      boolean result = true;
      result = result && (hasTaskId() == other.hasTaskId());
      if (hasTaskId()) {
        result = result && getTaskId()
            .equals(other.getTaskId());
      }
      result = result && getCountersList()
          .equals(other.getCountersList());
      result = result &&
          getUnknownFields().equals(other.getUnknownFields());
      return result;
    }

    private int memoizedHashCode = 0;
    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptorForType().hashCode();
      if (hasTaskId()) {
        hash = (37 * hash) + TASKID_FIELD_NUMBER;
        hash = (53 * hash) + getTaskId().hashCode();
      }
      if (getCountersCount() > 0) {
        hash = (37 * hash) + COUNTERS_FIELD_NUMBER;
        hash = (53 * hash) + getCountersList().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCounterUpdateRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCounterUpdateRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCounterUpdateRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCounterUpdateRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCounterUpdateRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCounterUpdateRequest parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCounterUpdateRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCounterUpdateRequest parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCounterUpdateRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCounterUpdateRequest parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCounterUpdateRequest prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code TaskCounterUpdateRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder
       implements com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCounterUpdateRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_TaskCounterUpdateRequest_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_TaskCounterUpdateRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCounterUpdateRequest.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCounterUpdateRequest.Builder.class);
      }

      // Construct using com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCounterUpdateRequest.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
          getTaskIdFieldBuilder();
          getCountersFieldBuilder();
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        if (taskIdBuilder_ == null) {
          taskId_ = com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.getDefaultInstance();
        } else {
          taskIdBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000001);
        if (countersBuilder_ == null) {
          counters_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
        } else {
          countersBuilder_.clear();
        }
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_TaskCounterUpdateRequest_descriptor;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCounterUpdateRequest getDefaultInstanceForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCounterUpdateRequest.getDefaultInstance();
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCounterUpdateRequest build() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCounterUpdateRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCounterUpdateRequest buildPartial() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCounterUpdateRequest result = new com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCounterUpdateRequest(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
          to_bitField0_ |= 0x00000001;
        }
        if (taskIdBuilder_ == null) {
          result.taskId_ = taskId_;
        } else {
          result.taskId_ = taskIdBuilder_.build();
        }
        if (countersBuilder_ == null) {
          if (((bitField0_ & 0x00000002) == 0x00000002)) {
            counters_ = java.util.Collections.unmodifiableList(counters_);
            bitField0_ = (bitField0_ & ~0x00000002);
          }
          result.counters_ = counters_;
        } else {
          result.counters_ = countersBuilder_.build();
        }
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCounterUpdateRequest) {
          return mergeFrom((com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCounterUpdateRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCounterUpdateRequest other) {
        if (other == com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCounterUpdateRequest.getDefaultInstance()) return this;
        if (other.hasTaskId()) {
          mergeTaskId(other.getTaskId());
        }
        if (countersBuilder_ == null) {
          if (!other.counters_.isEmpty()) {
            if (counters_.isEmpty()) {
              counters_ = other.counters_;
              bitField0_ = (bitField0_ & ~0x00000002);
            } else {
              ensureCountersIsMutable();
              counters_.addAll(other.counters_);
            }
            onChanged();
          }
        } else {
          if (!other.counters_.isEmpty()) {
            if (countersBuilder_.isEmpty()) {
              countersBuilder_.dispose();
              countersBuilder_ = null;
              counters_ = other.counters_;
              bitField0_ = (bitField0_ & ~0x00000002);
              countersBuilder_ = 
                com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
                   getCountersFieldBuilder() : null;
            } else {
              countersBuilder_.addAllMessages(other.counters_);
            }
          }
        }
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        if (!hasTaskId()) {
          
          return false;
        }
        if (!getTaskId().isInitialized()) {
          
          return false;
        }
        for (int i = 0; i < getCountersCount(); i++) {
          if (!getCounters(i).isInitialized()) {
            
            return false;
          }
        }
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCounterUpdateRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCounterUpdateRequest) e.getUnfinishedMessage();
          throw e;
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      // required .TaskIdProto taskId = 1;
      private com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto taskId_ = com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.getDefaultInstance();
      private com.google.protobuf.SingleFieldBuilder<
          com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto, com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.TaskIdProtoOrBuilder> taskIdBuilder_;
      /**
       * required .TaskIdProto taskId = 1;
       */
      public boolean hasTaskId() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * required .TaskIdProto taskId = 1;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto getTaskId() {
        if (taskIdBuilder_ == null) {
          return taskId_;
        } else {
          return taskIdBuilder_.getMessage();
        }
      }
      /**
       * required .TaskIdProto taskId = 1;
       */
      public Builder setTaskId(com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto value) {
        if (taskIdBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          taskId_ = value;
          onChanged();
        } else {
          taskIdBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000001;
        return this;
      }
      /**
       * required .TaskIdProto taskId = 1;
       */
      public Builder setTaskId(
          com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.Builder builderForValue) {
        if (taskIdBuilder_ == null) {
          taskId_ = builderForValue.build();
          onChanged();
        } else {
          taskIdBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000001;
        return this;
      }
      /**
       * required .TaskIdProto taskId = 1;
       */
      public Builder mergeTaskId(com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto value) {
        if (taskIdBuilder_ == null) {
          if (((bitField0_ & 0x00000001) == 0x00000001) &&
              taskId_ != com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.getDefaultInstance()) {
            taskId_ =
              com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.newBuilder(taskId_).mergeFrom(value).buildPartial();
          } else {
            taskId_ = value;
          }
          onChanged();
        } else {
          taskIdBuilder_.mergeFrom(value);
        }
        bitField0_ |= 0x00000001;
        return this;
      }
      /**
       * required .TaskIdProto taskId = 1;
       */
      public Builder clearTaskId() {
        if (taskIdBuilder_ == null) {
          taskId_ = com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.getDefaultInstance();
          onChanged();
        } else {
          taskIdBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000001);
        return this;
      }
      /**
       * required .TaskIdProto taskId = 1;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.Builder getTaskIdBuilder() {
        bitField0_ |= 0x00000001;
        onChanged();
        return getTaskIdFieldBuilder().getBuilder();
      }
      /**
       * required .TaskIdProto taskId = 1;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.TaskIdProtoOrBuilder getTaskIdOrBuilder() {
        if (taskIdBuilder_ != null) {
          return taskIdBuilder_.getMessageOrBuilder();
        } else {
          return taskId_;
        }
      }
      /**
       * required .TaskIdProto taskId = 1;
       */
      private com.google.protobuf.SingleFieldBuilder<
          com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto, com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.TaskIdProtoOrBuilder> 
          getTaskIdFieldBuilder() {
        if (taskIdBuilder_ == null) {
          taskIdBuilder_ = new com.google.protobuf.SingleFieldBuilder<
              com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto, com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.TaskIdProtoOrBuilder>(
                  taskId_,
                  getParentForChildren(),
                  isClean());
          taskId_ = null;
        }
        return taskIdBuilder_;
      }

      // repeated .Pair counters = 2;
      private java.util.List counters_ =
        java.util.Collections.emptyList();
      private void ensureCountersIsMutable() {
        if (!((bitField0_ & 0x00000002) == 0x00000002)) {
          counters_ = new java.util.ArrayList(counters_);
          bitField0_ |= 0x00000002;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilder<
          com.tencent.angel.protobuf.generated.MLProtos.Pair, com.tencent.angel.protobuf.generated.MLProtos.Pair.Builder, com.tencent.angel.protobuf.generated.MLProtos.PairOrBuilder> countersBuilder_;

      /**
       * repeated .Pair counters = 2;
       */
      public java.util.List getCountersList() {
        if (countersBuilder_ == null) {
          return java.util.Collections.unmodifiableList(counters_);
        } else {
          return countersBuilder_.getMessageList();
        }
      }
      /**
       * repeated .Pair counters = 2;
       */
      public int getCountersCount() {
        if (countersBuilder_ == null) {
          return counters_.size();
        } else {
          return countersBuilder_.getCount();
        }
      }
      /**
       * repeated .Pair counters = 2;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.Pair getCounters(int index) {
        if (countersBuilder_ == null) {
          return counters_.get(index);
        } else {
          return countersBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .Pair counters = 2;
       */
      public Builder setCounters(
          int index, com.tencent.angel.protobuf.generated.MLProtos.Pair value) {
        if (countersBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureCountersIsMutable();
          counters_.set(index, value);
          onChanged();
        } else {
          countersBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .Pair counters = 2;
       */
      public Builder setCounters(
          int index, com.tencent.angel.protobuf.generated.MLProtos.Pair.Builder builderForValue) {
        if (countersBuilder_ == null) {
          ensureCountersIsMutable();
          counters_.set(index, builderForValue.build());
          onChanged();
        } else {
          countersBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .Pair counters = 2;
       */
      public Builder addCounters(com.tencent.angel.protobuf.generated.MLProtos.Pair value) {
        if (countersBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureCountersIsMutable();
          counters_.add(value);
          onChanged();
        } else {
          countersBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .Pair counters = 2;
       */
      public Builder addCounters(
          int index, com.tencent.angel.protobuf.generated.MLProtos.Pair value) {
        if (countersBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureCountersIsMutable();
          counters_.add(index, value);
          onChanged();
        } else {
          countersBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .Pair counters = 2;
       */
      public Builder addCounters(
          com.tencent.angel.protobuf.generated.MLProtos.Pair.Builder builderForValue) {
        if (countersBuilder_ == null) {
          ensureCountersIsMutable();
          counters_.add(builderForValue.build());
          onChanged();
        } else {
          countersBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .Pair counters = 2;
       */
      public Builder addCounters(
          int index, com.tencent.angel.protobuf.generated.MLProtos.Pair.Builder builderForValue) {
        if (countersBuilder_ == null) {
          ensureCountersIsMutable();
          counters_.add(index, builderForValue.build());
          onChanged();
        } else {
          countersBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .Pair counters = 2;
       */
      public Builder addAllCounters(
          java.lang.Iterable values) {
        if (countersBuilder_ == null) {
          ensureCountersIsMutable();
          super.addAll(values, counters_);
          onChanged();
        } else {
          countersBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .Pair counters = 2;
       */
      public Builder clearCounters() {
        if (countersBuilder_ == null) {
          counters_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
          onChanged();
        } else {
          countersBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .Pair counters = 2;
       */
      public Builder removeCounters(int index) {
        if (countersBuilder_ == null) {
          ensureCountersIsMutable();
          counters_.remove(index);
          onChanged();
        } else {
          countersBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .Pair counters = 2;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.Pair.Builder getCountersBuilder(
          int index) {
        return getCountersFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .Pair counters = 2;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.PairOrBuilder getCountersOrBuilder(
          int index) {
        if (countersBuilder_ == null) {
          return counters_.get(index);  } else {
          return countersBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .Pair counters = 2;
       */
      public java.util.List 
           getCountersOrBuilderList() {
        if (countersBuilder_ != null) {
          return countersBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(counters_);
        }
      }
      /**
       * repeated .Pair counters = 2;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.Pair.Builder addCountersBuilder() {
        return getCountersFieldBuilder().addBuilder(
            com.tencent.angel.protobuf.generated.MLProtos.Pair.getDefaultInstance());
      }
      /**
       * repeated .Pair counters = 2;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.Pair.Builder addCountersBuilder(
          int index) {
        return getCountersFieldBuilder().addBuilder(
            index, com.tencent.angel.protobuf.generated.MLProtos.Pair.getDefaultInstance());
      }
      /**
       * repeated .Pair counters = 2;
       */
      public java.util.List 
           getCountersBuilderList() {
        return getCountersFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilder<
          com.tencent.angel.protobuf.generated.MLProtos.Pair, com.tencent.angel.protobuf.generated.MLProtos.Pair.Builder, com.tencent.angel.protobuf.generated.MLProtos.PairOrBuilder> 
          getCountersFieldBuilder() {
        if (countersBuilder_ == null) {
          countersBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
              com.tencent.angel.protobuf.generated.MLProtos.Pair, com.tencent.angel.protobuf.generated.MLProtos.Pair.Builder, com.tencent.angel.protobuf.generated.MLProtos.PairOrBuilder>(
                  counters_,
                  ((bitField0_ & 0x00000002) == 0x00000002),
                  getParentForChildren(),
                  isClean());
          counters_ = null;
        }
        return countersBuilder_;
      }

      // @@protoc_insertion_point(builder_scope:TaskCounterUpdateRequest)
    }

    static {
      defaultInstance = new TaskCounterUpdateRequest(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:TaskCounterUpdateRequest)
  }

  public interface TaskCountersUpdateResponseOrBuilder
      extends com.google.protobuf.MessageOrBuilder {
  }
  /**
   * Protobuf type {@code TaskCountersUpdateResponse}
   */
  public static final class TaskCountersUpdateResponse extends
      com.google.protobuf.GeneratedMessage
      implements TaskCountersUpdateResponseOrBuilder {
    // Use TaskCountersUpdateResponse.newBuilder() to construct.
    private TaskCountersUpdateResponse(com.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private TaskCountersUpdateResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final TaskCountersUpdateResponse defaultInstance;
    public static TaskCountersUpdateResponse getDefaultInstance() {
      return defaultInstance;
    }

    public TaskCountersUpdateResponse getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private TaskCountersUpdateResponse(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_TaskCountersUpdateResponse_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_TaskCountersUpdateResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCountersUpdateResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCountersUpdateResponse.Builder.class);
    }

    public static com.google.protobuf.Parser PARSER =
        new com.google.protobuf.AbstractParser() {
      public TaskCountersUpdateResponse parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new TaskCountersUpdateResponse(input, extensionRegistry);
      }
    };

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

    private void initFields() {
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      memoizedIsInitialized = 1;
      return true;
    }

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

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

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

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCountersUpdateResponse)) {
        return super.equals(obj);
      }
      com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCountersUpdateResponse other = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCountersUpdateResponse) obj;

      boolean result = true;
      result = result &&
          getUnknownFields().equals(other.getUnknownFields());
      return result;
    }

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

    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCountersUpdateResponse parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCountersUpdateResponse parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCountersUpdateResponse parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCountersUpdateResponse parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCountersUpdateResponse parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCountersUpdateResponse parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCountersUpdateResponse parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCountersUpdateResponse parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCountersUpdateResponse parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCountersUpdateResponse parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCountersUpdateResponse prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code TaskCountersUpdateResponse}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder
       implements com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCountersUpdateResponseOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_TaskCountersUpdateResponse_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_TaskCountersUpdateResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCountersUpdateResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCountersUpdateResponse.Builder.class);
      }

      // Construct using com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCountersUpdateResponse.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_TaskCountersUpdateResponse_descriptor;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCountersUpdateResponse getDefaultInstanceForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCountersUpdateResponse.getDefaultInstance();
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCountersUpdateResponse build() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCountersUpdateResponse result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCountersUpdateResponse buildPartial() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCountersUpdateResponse result = new com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCountersUpdateResponse(this);
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCountersUpdateResponse) {
          return mergeFrom((com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCountersUpdateResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCountersUpdateResponse other) {
        if (other == com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCountersUpdateResponse.getDefaultInstance()) return this;
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

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

      // @@protoc_insertion_point(builder_scope:TaskCountersUpdateResponse)
    }

    static {
      defaultInstance = new TaskCountersUpdateResponse(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:TaskCountersUpdateResponse)
  }

  public interface AlgoMetricOrBuilder
      extends com.google.protobuf.MessageOrBuilder {

    // required string name = 1;
    /**
     * required string name = 1;
     */
    boolean hasName();
    /**
     * required string name = 1;
     */
    java.lang.String getName();
    /**
     * required string name = 1;
     */
    com.google.protobuf.ByteString
        getNameBytes();

    // required bytes serializedMetric = 2;
    /**
     * required bytes serializedMetric = 2;
     */
    boolean hasSerializedMetric();
    /**
     * required bytes serializedMetric = 2;
     */
    com.google.protobuf.ByteString getSerializedMetric();
  }
  /**
   * Protobuf type {@code AlgoMetric}
   */
  public static final class AlgoMetric extends
      com.google.protobuf.GeneratedMessage
      implements AlgoMetricOrBuilder {
    // Use AlgoMetric.newBuilder() to construct.
    private AlgoMetric(com.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private AlgoMetric(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final AlgoMetric defaultInstance;
    public static AlgoMetric getDefaultInstance() {
      return defaultInstance;
    }

    public AlgoMetric getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private AlgoMetric(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      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;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              bitField0_ |= 0x00000001;
              name_ = input.readBytes();
              break;
            }
            case 18: {
              bitField0_ |= 0x00000002;
              serializedMetric_ = input.readBytes();
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_AlgoMetric_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_AlgoMetric_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric.Builder.class);
    }

    public static com.google.protobuf.Parser PARSER =
        new com.google.protobuf.AbstractParser() {
      public AlgoMetric parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new AlgoMetric(input, extensionRegistry);
      }
    };

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

    private int bitField0_;
    // required string name = 1;
    public static final int NAME_FIELD_NUMBER = 1;
    private java.lang.Object name_;
    /**
     * required string name = 1;
     */
    public boolean hasName() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    /**
     * required string name = 1;
     */
    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();
        if (bs.isValidUtf8()) {
          name_ = s;
        }
        return s;
      }
    }
    /**
     * required string name = 1;
     */
    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;
      }
    }

    // required bytes serializedMetric = 2;
    public static final int SERIALIZEDMETRIC_FIELD_NUMBER = 2;
    private com.google.protobuf.ByteString serializedMetric_;
    /**
     * required bytes serializedMetric = 2;
     */
    public boolean hasSerializedMetric() {
      return ((bitField0_ & 0x00000002) == 0x00000002);
    }
    /**
     * required bytes serializedMetric = 2;
     */
    public com.google.protobuf.ByteString getSerializedMetric() {
      return serializedMetric_;
    }

    private void initFields() {
      name_ = "";
      serializedMetric_ = com.google.protobuf.ByteString.EMPTY;
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      if (!hasName()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasSerializedMetric()) {
        memoizedIsInitialized = 0;
        return false;
      }
      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeBytes(1, getNameBytes());
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        output.writeBytes(2, serializedMetric_);
      }
      getUnknownFields().writeTo(output);
    }

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(1, getNameBytes());
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(2, serializedMetric_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric)) {
        return super.equals(obj);
      }
      com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric other = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric) obj;

      boolean result = true;
      result = result && (hasName() == other.hasName());
      if (hasName()) {
        result = result && getName()
            .equals(other.getName());
      }
      result = result && (hasSerializedMetric() == other.hasSerializedMetric());
      if (hasSerializedMetric()) {
        result = result && getSerializedMetric()
            .equals(other.getSerializedMetric());
      }
      result = result &&
          getUnknownFields().equals(other.getUnknownFields());
      return result;
    }

    private int memoizedHashCode = 0;
    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptorForType().hashCode();
      if (hasName()) {
        hash = (37 * hash) + NAME_FIELD_NUMBER;
        hash = (53 * hash) + getName().hashCode();
      }
      if (hasSerializedMetric()) {
        hash = (37 * hash) + SERIALIZEDMETRIC_FIELD_NUMBER;
        hash = (53 * hash) + getSerializedMetric().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code AlgoMetric}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder
       implements com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetricOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_AlgoMetric_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_AlgoMetric_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric.Builder.class);
      }

      // Construct using com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        name_ = "";
        bitField0_ = (bitField0_ & ~0x00000001);
        serializedMetric_ = com.google.protobuf.ByteString.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000002);
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_AlgoMetric_descriptor;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric getDefaultInstanceForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric.getDefaultInstance();
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric build() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric buildPartial() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric result = new com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
          to_bitField0_ |= 0x00000001;
        }
        result.name_ = name_;
        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
          to_bitField0_ |= 0x00000002;
        }
        result.serializedMetric_ = serializedMetric_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric) {
          return mergeFrom((com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric other) {
        if (other == com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric.getDefaultInstance()) return this;
        if (other.hasName()) {
          bitField0_ |= 0x00000001;
          name_ = other.name_;
          onChanged();
        }
        if (other.hasSerializedMetric()) {
          setSerializedMetric(other.getSerializedMetric());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        if (!hasName()) {
          
          return false;
        }
        if (!hasSerializedMetric()) {
          
          return false;
        }
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric) e.getUnfinishedMessage();
          throw e;
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      // required string name = 1;
      private java.lang.Object name_ = "";
      /**
       * required string name = 1;
       */
      public boolean hasName() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * required string name = 1;
       */
      public java.lang.String getName() {
        java.lang.Object ref = name_;
        if (!(ref instanceof java.lang.String)) {
          java.lang.String s = ((com.google.protobuf.ByteString) ref)
              .toStringUtf8();
          name_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * required string name = 1;
       */
      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;
        }
      }
      /**
       * required string name = 1;
       */
      public Builder setName(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000001;
        name_ = value;
        onChanged();
        return this;
      }
      /**
       * required string name = 1;
       */
      public Builder clearName() {
        bitField0_ = (bitField0_ & ~0x00000001);
        name_ = getDefaultInstance().getName();
        onChanged();
        return this;
      }
      /**
       * required string name = 1;
       */
      public Builder setNameBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000001;
        name_ = value;
        onChanged();
        return this;
      }

      // required bytes serializedMetric = 2;
      private com.google.protobuf.ByteString serializedMetric_ = com.google.protobuf.ByteString.EMPTY;
      /**
       * required bytes serializedMetric = 2;
       */
      public boolean hasSerializedMetric() {
        return ((bitField0_ & 0x00000002) == 0x00000002);
      }
      /**
       * required bytes serializedMetric = 2;
       */
      public com.google.protobuf.ByteString getSerializedMetric() {
        return serializedMetric_;
      }
      /**
       * required bytes serializedMetric = 2;
       */
      public Builder setSerializedMetric(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000002;
        serializedMetric_ = value;
        onChanged();
        return this;
      }
      /**
       * required bytes serializedMetric = 2;
       */
      public Builder clearSerializedMetric() {
        bitField0_ = (bitField0_ & ~0x00000002);
        serializedMetric_ = getDefaultInstance().getSerializedMetric();
        onChanged();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:AlgoMetric)
    }

    static {
      defaultInstance = new AlgoMetric(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:AlgoMetric)
  }

  public interface SetAlgoMetricsRequestOrBuilder
      extends com.google.protobuf.MessageOrBuilder {

    // required .TaskIdProto taskId = 1;
    /**
     * required .TaskIdProto taskId = 1;
     */
    boolean hasTaskId();
    /**
     * required .TaskIdProto taskId = 1;
     */
    com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto getTaskId();
    /**
     * required .TaskIdProto taskId = 1;
     */
    com.tencent.angel.protobuf.generated.MLProtos.TaskIdProtoOrBuilder getTaskIdOrBuilder();

    // repeated .AlgoMetric algoMetrics = 2;
    /**
     * repeated .AlgoMetric algoMetrics = 2;
     */
    java.util.List 
        getAlgoMetricsList();
    /**
     * repeated .AlgoMetric algoMetrics = 2;
     */
    com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric getAlgoMetrics(int index);
    /**
     * repeated .AlgoMetric algoMetrics = 2;
     */
    int getAlgoMetricsCount();
    /**
     * repeated .AlgoMetric algoMetrics = 2;
     */
    java.util.List 
        getAlgoMetricsOrBuilderList();
    /**
     * repeated .AlgoMetric algoMetrics = 2;
     */
    com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetricOrBuilder getAlgoMetricsOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code SetAlgoMetricsRequest}
   */
  public static final class SetAlgoMetricsRequest extends
      com.google.protobuf.GeneratedMessage
      implements SetAlgoMetricsRequestOrBuilder {
    // Use SetAlgoMetricsRequest.newBuilder() to construct.
    private SetAlgoMetricsRequest(com.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private SetAlgoMetricsRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final SetAlgoMetricsRequest defaultInstance;
    public static SetAlgoMetricsRequest getDefaultInstance() {
      return defaultInstance;
    }

    public SetAlgoMetricsRequest getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private SetAlgoMetricsRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      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;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.Builder subBuilder = null;
              if (((bitField0_ & 0x00000001) == 0x00000001)) {
                subBuilder = taskId_.toBuilder();
              }
              taskId_ = input.readMessage(com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.PARSER, extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(taskId_);
                taskId_ = subBuilder.buildPartial();
              }
              bitField0_ |= 0x00000001;
              break;
            }
            case 18: {
              if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
                algoMetrics_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000002;
              }
              algoMetrics_.add(input.readMessage(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric.PARSER, extensionRegistry));
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
          algoMetrics_ = java.util.Collections.unmodifiableList(algoMetrics_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_SetAlgoMetricsRequest_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_SetAlgoMetricsRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsRequest.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsRequest.Builder.class);
    }

    public static com.google.protobuf.Parser PARSER =
        new com.google.protobuf.AbstractParser() {
      public SetAlgoMetricsRequest parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new SetAlgoMetricsRequest(input, extensionRegistry);
      }
    };

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

    private int bitField0_;
    // required .TaskIdProto taskId = 1;
    public static final int TASKID_FIELD_NUMBER = 1;
    private com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto taskId_;
    /**
     * required .TaskIdProto taskId = 1;
     */
    public boolean hasTaskId() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    /**
     * required .TaskIdProto taskId = 1;
     */
    public com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto getTaskId() {
      return taskId_;
    }
    /**
     * required .TaskIdProto taskId = 1;
     */
    public com.tencent.angel.protobuf.generated.MLProtos.TaskIdProtoOrBuilder getTaskIdOrBuilder() {
      return taskId_;
    }

    // repeated .AlgoMetric algoMetrics = 2;
    public static final int ALGOMETRICS_FIELD_NUMBER = 2;
    private java.util.List algoMetrics_;
    /**
     * repeated .AlgoMetric algoMetrics = 2;
     */
    public java.util.List getAlgoMetricsList() {
      return algoMetrics_;
    }
    /**
     * repeated .AlgoMetric algoMetrics = 2;
     */
    public java.util.List 
        getAlgoMetricsOrBuilderList() {
      return algoMetrics_;
    }
    /**
     * repeated .AlgoMetric algoMetrics = 2;
     */
    public int getAlgoMetricsCount() {
      return algoMetrics_.size();
    }
    /**
     * repeated .AlgoMetric algoMetrics = 2;
     */
    public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric getAlgoMetrics(int index) {
      return algoMetrics_.get(index);
    }
    /**
     * repeated .AlgoMetric algoMetrics = 2;
     */
    public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetricOrBuilder getAlgoMetricsOrBuilder(
        int index) {
      return algoMetrics_.get(index);
    }

    private void initFields() {
      taskId_ = com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.getDefaultInstance();
      algoMetrics_ = java.util.Collections.emptyList();
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      if (!hasTaskId()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!getTaskId().isInitialized()) {
        memoizedIsInitialized = 0;
        return false;
      }
      for (int i = 0; i < getAlgoMetricsCount(); i++) {
        if (!getAlgoMetrics(i).isInitialized()) {
          memoizedIsInitialized = 0;
          return false;
        }
      }
      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeMessage(1, taskId_);
      }
      for (int i = 0; i < algoMetrics_.size(); i++) {
        output.writeMessage(2, algoMetrics_.get(i));
      }
      getUnknownFields().writeTo(output);
    }

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, taskId_);
      }
      for (int i = 0; i < algoMetrics_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, algoMetrics_.get(i));
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsRequest)) {
        return super.equals(obj);
      }
      com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsRequest other = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsRequest) obj;

      boolean result = true;
      result = result && (hasTaskId() == other.hasTaskId());
      if (hasTaskId()) {
        result = result && getTaskId()
            .equals(other.getTaskId());
      }
      result = result && getAlgoMetricsList()
          .equals(other.getAlgoMetricsList());
      result = result &&
          getUnknownFields().equals(other.getUnknownFields());
      return result;
    }

    private int memoizedHashCode = 0;
    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptorForType().hashCode();
      if (hasTaskId()) {
        hash = (37 * hash) + TASKID_FIELD_NUMBER;
        hash = (53 * hash) + getTaskId().hashCode();
      }
      if (getAlgoMetricsCount() > 0) {
        hash = (37 * hash) + ALGOMETRICS_FIELD_NUMBER;
        hash = (53 * hash) + getAlgoMetricsList().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsRequest parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsRequest parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsRequest parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsRequest prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code SetAlgoMetricsRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder
       implements com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_SetAlgoMetricsRequest_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_SetAlgoMetricsRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsRequest.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsRequest.Builder.class);
      }

      // Construct using com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsRequest.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
          getTaskIdFieldBuilder();
          getAlgoMetricsFieldBuilder();
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        if (taskIdBuilder_ == null) {
          taskId_ = com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.getDefaultInstance();
        } else {
          taskIdBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000001);
        if (algoMetricsBuilder_ == null) {
          algoMetrics_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
        } else {
          algoMetricsBuilder_.clear();
        }
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_SetAlgoMetricsRequest_descriptor;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsRequest getDefaultInstanceForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsRequest.getDefaultInstance();
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsRequest build() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsRequest buildPartial() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsRequest result = new com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsRequest(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
          to_bitField0_ |= 0x00000001;
        }
        if (taskIdBuilder_ == null) {
          result.taskId_ = taskId_;
        } else {
          result.taskId_ = taskIdBuilder_.build();
        }
        if (algoMetricsBuilder_ == null) {
          if (((bitField0_ & 0x00000002) == 0x00000002)) {
            algoMetrics_ = java.util.Collections.unmodifiableList(algoMetrics_);
            bitField0_ = (bitField0_ & ~0x00000002);
          }
          result.algoMetrics_ = algoMetrics_;
        } else {
          result.algoMetrics_ = algoMetricsBuilder_.build();
        }
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsRequest) {
          return mergeFrom((com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsRequest other) {
        if (other == com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsRequest.getDefaultInstance()) return this;
        if (other.hasTaskId()) {
          mergeTaskId(other.getTaskId());
        }
        if (algoMetricsBuilder_ == null) {
          if (!other.algoMetrics_.isEmpty()) {
            if (algoMetrics_.isEmpty()) {
              algoMetrics_ = other.algoMetrics_;
              bitField0_ = (bitField0_ & ~0x00000002);
            } else {
              ensureAlgoMetricsIsMutable();
              algoMetrics_.addAll(other.algoMetrics_);
            }
            onChanged();
          }
        } else {
          if (!other.algoMetrics_.isEmpty()) {
            if (algoMetricsBuilder_.isEmpty()) {
              algoMetricsBuilder_.dispose();
              algoMetricsBuilder_ = null;
              algoMetrics_ = other.algoMetrics_;
              bitField0_ = (bitField0_ & ~0x00000002);
              algoMetricsBuilder_ = 
                com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
                   getAlgoMetricsFieldBuilder() : null;
            } else {
              algoMetricsBuilder_.addAllMessages(other.algoMetrics_);
            }
          }
        }
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        if (!hasTaskId()) {
          
          return false;
        }
        if (!getTaskId().isInitialized()) {
          
          return false;
        }
        for (int i = 0; i < getAlgoMetricsCount(); i++) {
          if (!getAlgoMetrics(i).isInitialized()) {
            
            return false;
          }
        }
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsRequest) e.getUnfinishedMessage();
          throw e;
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      // required .TaskIdProto taskId = 1;
      private com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto taskId_ = com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.getDefaultInstance();
      private com.google.protobuf.SingleFieldBuilder<
          com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto, com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.TaskIdProtoOrBuilder> taskIdBuilder_;
      /**
       * required .TaskIdProto taskId = 1;
       */
      public boolean hasTaskId() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * required .TaskIdProto taskId = 1;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto getTaskId() {
        if (taskIdBuilder_ == null) {
          return taskId_;
        } else {
          return taskIdBuilder_.getMessage();
        }
      }
      /**
       * required .TaskIdProto taskId = 1;
       */
      public Builder setTaskId(com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto value) {
        if (taskIdBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          taskId_ = value;
          onChanged();
        } else {
          taskIdBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000001;
        return this;
      }
      /**
       * required .TaskIdProto taskId = 1;
       */
      public Builder setTaskId(
          com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.Builder builderForValue) {
        if (taskIdBuilder_ == null) {
          taskId_ = builderForValue.build();
          onChanged();
        } else {
          taskIdBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000001;
        return this;
      }
      /**
       * required .TaskIdProto taskId = 1;
       */
      public Builder mergeTaskId(com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto value) {
        if (taskIdBuilder_ == null) {
          if (((bitField0_ & 0x00000001) == 0x00000001) &&
              taskId_ != com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.getDefaultInstance()) {
            taskId_ =
              com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.newBuilder(taskId_).mergeFrom(value).buildPartial();
          } else {
            taskId_ = value;
          }
          onChanged();
        } else {
          taskIdBuilder_.mergeFrom(value);
        }
        bitField0_ |= 0x00000001;
        return this;
      }
      /**
       * required .TaskIdProto taskId = 1;
       */
      public Builder clearTaskId() {
        if (taskIdBuilder_ == null) {
          taskId_ = com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.getDefaultInstance();
          onChanged();
        } else {
          taskIdBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000001);
        return this;
      }
      /**
       * required .TaskIdProto taskId = 1;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.Builder getTaskIdBuilder() {
        bitField0_ |= 0x00000001;
        onChanged();
        return getTaskIdFieldBuilder().getBuilder();
      }
      /**
       * required .TaskIdProto taskId = 1;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.TaskIdProtoOrBuilder getTaskIdOrBuilder() {
        if (taskIdBuilder_ != null) {
          return taskIdBuilder_.getMessageOrBuilder();
        } else {
          return taskId_;
        }
      }
      /**
       * required .TaskIdProto taskId = 1;
       */
      private com.google.protobuf.SingleFieldBuilder<
          com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto, com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.TaskIdProtoOrBuilder> 
          getTaskIdFieldBuilder() {
        if (taskIdBuilder_ == null) {
          taskIdBuilder_ = new com.google.protobuf.SingleFieldBuilder<
              com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto, com.tencent.angel.protobuf.generated.MLProtos.TaskIdProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.TaskIdProtoOrBuilder>(
                  taskId_,
                  getParentForChildren(),
                  isClean());
          taskId_ = null;
        }
        return taskIdBuilder_;
      }

      // repeated .AlgoMetric algoMetrics = 2;
      private java.util.List algoMetrics_ =
        java.util.Collections.emptyList();
      private void ensureAlgoMetricsIsMutable() {
        if (!((bitField0_ & 0x00000002) == 0x00000002)) {
          algoMetrics_ = new java.util.ArrayList(algoMetrics_);
          bitField0_ |= 0x00000002;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilder<
          com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric.Builder, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetricOrBuilder> algoMetricsBuilder_;

      /**
       * repeated .AlgoMetric algoMetrics = 2;
       */
      public java.util.List getAlgoMetricsList() {
        if (algoMetricsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(algoMetrics_);
        } else {
          return algoMetricsBuilder_.getMessageList();
        }
      }
      /**
       * repeated .AlgoMetric algoMetrics = 2;
       */
      public int getAlgoMetricsCount() {
        if (algoMetricsBuilder_ == null) {
          return algoMetrics_.size();
        } else {
          return algoMetricsBuilder_.getCount();
        }
      }
      /**
       * repeated .AlgoMetric algoMetrics = 2;
       */
      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric getAlgoMetrics(int index) {
        if (algoMetricsBuilder_ == null) {
          return algoMetrics_.get(index);
        } else {
          return algoMetricsBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .AlgoMetric algoMetrics = 2;
       */
      public Builder setAlgoMetrics(
          int index, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric value) {
        if (algoMetricsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureAlgoMetricsIsMutable();
          algoMetrics_.set(index, value);
          onChanged();
        } else {
          algoMetricsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .AlgoMetric algoMetrics = 2;
       */
      public Builder setAlgoMetrics(
          int index, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric.Builder builderForValue) {
        if (algoMetricsBuilder_ == null) {
          ensureAlgoMetricsIsMutable();
          algoMetrics_.set(index, builderForValue.build());
          onChanged();
        } else {
          algoMetricsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .AlgoMetric algoMetrics = 2;
       */
      public Builder addAlgoMetrics(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric value) {
        if (algoMetricsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureAlgoMetricsIsMutable();
          algoMetrics_.add(value);
          onChanged();
        } else {
          algoMetricsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .AlgoMetric algoMetrics = 2;
       */
      public Builder addAlgoMetrics(
          int index, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric value) {
        if (algoMetricsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureAlgoMetricsIsMutable();
          algoMetrics_.add(index, value);
          onChanged();
        } else {
          algoMetricsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .AlgoMetric algoMetrics = 2;
       */
      public Builder addAlgoMetrics(
          com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric.Builder builderForValue) {
        if (algoMetricsBuilder_ == null) {
          ensureAlgoMetricsIsMutable();
          algoMetrics_.add(builderForValue.build());
          onChanged();
        } else {
          algoMetricsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .AlgoMetric algoMetrics = 2;
       */
      public Builder addAlgoMetrics(
          int index, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric.Builder builderForValue) {
        if (algoMetricsBuilder_ == null) {
          ensureAlgoMetricsIsMutable();
          algoMetrics_.add(index, builderForValue.build());
          onChanged();
        } else {
          algoMetricsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .AlgoMetric algoMetrics = 2;
       */
      public Builder addAllAlgoMetrics(
          java.lang.Iterable values) {
        if (algoMetricsBuilder_ == null) {
          ensureAlgoMetricsIsMutable();
          super.addAll(values, algoMetrics_);
          onChanged();
        } else {
          algoMetricsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .AlgoMetric algoMetrics = 2;
       */
      public Builder clearAlgoMetrics() {
        if (algoMetricsBuilder_ == null) {
          algoMetrics_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
          onChanged();
        } else {
          algoMetricsBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .AlgoMetric algoMetrics = 2;
       */
      public Builder removeAlgoMetrics(int index) {
        if (algoMetricsBuilder_ == null) {
          ensureAlgoMetricsIsMutable();
          algoMetrics_.remove(index);
          onChanged();
        } else {
          algoMetricsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .AlgoMetric algoMetrics = 2;
       */
      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric.Builder getAlgoMetricsBuilder(
          int index) {
        return getAlgoMetricsFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .AlgoMetric algoMetrics = 2;
       */
      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetricOrBuilder getAlgoMetricsOrBuilder(
          int index) {
        if (algoMetricsBuilder_ == null) {
          return algoMetrics_.get(index);  } else {
          return algoMetricsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .AlgoMetric algoMetrics = 2;
       */
      public java.util.List 
           getAlgoMetricsOrBuilderList() {
        if (algoMetricsBuilder_ != null) {
          return algoMetricsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(algoMetrics_);
        }
      }
      /**
       * repeated .AlgoMetric algoMetrics = 2;
       */
      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric.Builder addAlgoMetricsBuilder() {
        return getAlgoMetricsFieldBuilder().addBuilder(
            com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric.getDefaultInstance());
      }
      /**
       * repeated .AlgoMetric algoMetrics = 2;
       */
      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric.Builder addAlgoMetricsBuilder(
          int index) {
        return getAlgoMetricsFieldBuilder().addBuilder(
            index, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric.getDefaultInstance());
      }
      /**
       * repeated .AlgoMetric algoMetrics = 2;
       */
      public java.util.List 
           getAlgoMetricsBuilderList() {
        return getAlgoMetricsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilder<
          com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric.Builder, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetricOrBuilder> 
          getAlgoMetricsFieldBuilder() {
        if (algoMetricsBuilder_ == null) {
          algoMetricsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
              com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetric.Builder, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.AlgoMetricOrBuilder>(
                  algoMetrics_,
                  ((bitField0_ & 0x00000002) == 0x00000002),
                  getParentForChildren(),
                  isClean());
          algoMetrics_ = null;
        }
        return algoMetricsBuilder_;
      }

      // @@protoc_insertion_point(builder_scope:SetAlgoMetricsRequest)
    }

    static {
      defaultInstance = new SetAlgoMetricsRequest(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:SetAlgoMetricsRequest)
  }

  public interface SetAlgoMetricsResponseOrBuilder
      extends com.google.protobuf.MessageOrBuilder {
  }
  /**
   * Protobuf type {@code SetAlgoMetricsResponse}
   */
  public static final class SetAlgoMetricsResponse extends
      com.google.protobuf.GeneratedMessage
      implements SetAlgoMetricsResponseOrBuilder {
    // Use SetAlgoMetricsResponse.newBuilder() to construct.
    private SetAlgoMetricsResponse(com.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private SetAlgoMetricsResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final SetAlgoMetricsResponse defaultInstance;
    public static SetAlgoMetricsResponse getDefaultInstance() {
      return defaultInstance;
    }

    public SetAlgoMetricsResponse getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private SetAlgoMetricsResponse(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_SetAlgoMetricsResponse_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_SetAlgoMetricsResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsResponse.Builder.class);
    }

    public static com.google.protobuf.Parser PARSER =
        new com.google.protobuf.AbstractParser() {
      public SetAlgoMetricsResponse parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new SetAlgoMetricsResponse(input, extensionRegistry);
      }
    };

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

    private void initFields() {
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      memoizedIsInitialized = 1;
      return true;
    }

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

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

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

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsResponse)) {
        return super.equals(obj);
      }
      com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsResponse other = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsResponse) obj;

      boolean result = true;
      result = result &&
          getUnknownFields().equals(other.getUnknownFields());
      return result;
    }

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

    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsResponse parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsResponse parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsResponse parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsResponse parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsResponse parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsResponse parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsResponse parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsResponse parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsResponse parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsResponse parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsResponse prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code SetAlgoMetricsResponse}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder
       implements com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsResponseOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_SetAlgoMetricsResponse_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_SetAlgoMetricsResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsResponse.Builder.class);
      }

      // Construct using com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsResponse.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_SetAlgoMetricsResponse_descriptor;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsResponse getDefaultInstanceForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsResponse.getDefaultInstance();
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsResponse build() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsResponse result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsResponse buildPartial() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsResponse result = new com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsResponse(this);
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsResponse) {
          return mergeFrom((com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsResponse other) {
        if (other == com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsResponse.getDefaultInstance()) return this;
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

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

      // @@protoc_insertion_point(builder_scope:SetAlgoMetricsResponse)
    }

    static {
      defaultInstance = new SetAlgoMetricsResponse(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:SetAlgoMetricsResponse)
  }

  public interface PSFailedReportRequestOrBuilder
      extends com.google.protobuf.MessageOrBuilder {

    // required int32 clientId = 1;
    /**
     * required int32 clientId = 1;
     */
    boolean hasClientId();
    /**
     * required int32 clientId = 1;
     */
    int getClientId();

    // required .PSLocationProto psLoc = 2;
    /**
     * required .PSLocationProto psLoc = 2;
     */
    boolean hasPsLoc();
    /**
     * required .PSLocationProto psLoc = 2;
     */
    com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto getPsLoc();
    /**
     * required .PSLocationProto psLoc = 2;
     */
    com.tencent.angel.protobuf.generated.MLProtos.PSLocationProtoOrBuilder getPsLocOrBuilder();
  }
  /**
   * Protobuf type {@code PSFailedReportRequest}
   */
  public static final class PSFailedReportRequest extends
      com.google.protobuf.GeneratedMessage
      implements PSFailedReportRequestOrBuilder {
    // Use PSFailedReportRequest.newBuilder() to construct.
    private PSFailedReportRequest(com.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private PSFailedReportRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final PSFailedReportRequest defaultInstance;
    public static PSFailedReportRequest getDefaultInstance() {
      return defaultInstance;
    }

    public PSFailedReportRequest getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private PSFailedReportRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      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;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 8: {
              bitField0_ |= 0x00000001;
              clientId_ = input.readInt32();
              break;
            }
            case 18: {
              com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.Builder subBuilder = null;
              if (((bitField0_ & 0x00000002) == 0x00000002)) {
                subBuilder = psLoc_.toBuilder();
              }
              psLoc_ = input.readMessage(com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.PARSER, extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(psLoc_);
                psLoc_ = subBuilder.buildPartial();
              }
              bitField0_ |= 0x00000002;
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSFailedReportRequest_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSFailedReportRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportRequest.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportRequest.Builder.class);
    }

    public static com.google.protobuf.Parser PARSER =
        new com.google.protobuf.AbstractParser() {
      public PSFailedReportRequest parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new PSFailedReportRequest(input, extensionRegistry);
      }
    };

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

    private int bitField0_;
    // required int32 clientId = 1;
    public static final int CLIENTID_FIELD_NUMBER = 1;
    private int clientId_;
    /**
     * required int32 clientId = 1;
     */
    public boolean hasClientId() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    /**
     * required int32 clientId = 1;
     */
    public int getClientId() {
      return clientId_;
    }

    // required .PSLocationProto psLoc = 2;
    public static final int PSLOC_FIELD_NUMBER = 2;
    private com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto psLoc_;
    /**
     * required .PSLocationProto psLoc = 2;
     */
    public boolean hasPsLoc() {
      return ((bitField0_ & 0x00000002) == 0x00000002);
    }
    /**
     * required .PSLocationProto psLoc = 2;
     */
    public com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto getPsLoc() {
      return psLoc_;
    }
    /**
     * required .PSLocationProto psLoc = 2;
     */
    public com.tencent.angel.protobuf.generated.MLProtos.PSLocationProtoOrBuilder getPsLocOrBuilder() {
      return psLoc_;
    }

    private void initFields() {
      clientId_ = 0;
      psLoc_ = com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.getDefaultInstance();
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      if (!hasClientId()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasPsLoc()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!getPsLoc().isInitialized()) {
        memoizedIsInitialized = 0;
        return false;
      }
      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeInt32(1, clientId_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        output.writeMessage(2, psLoc_);
      }
      getUnknownFields().writeTo(output);
    }

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(1, clientId_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, psLoc_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportRequest)) {
        return super.equals(obj);
      }
      com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportRequest other = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportRequest) obj;

      boolean result = true;
      result = result && (hasClientId() == other.hasClientId());
      if (hasClientId()) {
        result = result && (getClientId()
            == other.getClientId());
      }
      result = result && (hasPsLoc() == other.hasPsLoc());
      if (hasPsLoc()) {
        result = result && getPsLoc()
            .equals(other.getPsLoc());
      }
      result = result &&
          getUnknownFields().equals(other.getUnknownFields());
      return result;
    }

    private int memoizedHashCode = 0;
    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptorForType().hashCode();
      if (hasClientId()) {
        hash = (37 * hash) + CLIENTID_FIELD_NUMBER;
        hash = (53 * hash) + getClientId();
      }
      if (hasPsLoc()) {
        hash = (37 * hash) + PSLOC_FIELD_NUMBER;
        hash = (53 * hash) + getPsLoc().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportRequest parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportRequest parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportRequest parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportRequest prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code PSFailedReportRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder
       implements com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSFailedReportRequest_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSFailedReportRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportRequest.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportRequest.Builder.class);
      }

      // Construct using com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportRequest.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
          getPsLocFieldBuilder();
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        clientId_ = 0;
        bitField0_ = (bitField0_ & ~0x00000001);
        if (psLocBuilder_ == null) {
          psLoc_ = com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.getDefaultInstance();
        } else {
          psLocBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000002);
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSFailedReportRequest_descriptor;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportRequest getDefaultInstanceForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportRequest.getDefaultInstance();
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportRequest build() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportRequest buildPartial() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportRequest result = new com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportRequest(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
          to_bitField0_ |= 0x00000001;
        }
        result.clientId_ = clientId_;
        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
          to_bitField0_ |= 0x00000002;
        }
        if (psLocBuilder_ == null) {
          result.psLoc_ = psLoc_;
        } else {
          result.psLoc_ = psLocBuilder_.build();
        }
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportRequest) {
          return mergeFrom((com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportRequest other) {
        if (other == com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportRequest.getDefaultInstance()) return this;
        if (other.hasClientId()) {
          setClientId(other.getClientId());
        }
        if (other.hasPsLoc()) {
          mergePsLoc(other.getPsLoc());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        if (!hasClientId()) {
          
          return false;
        }
        if (!hasPsLoc()) {
          
          return false;
        }
        if (!getPsLoc().isInitialized()) {
          
          return false;
        }
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportRequest) e.getUnfinishedMessage();
          throw e;
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      // required int32 clientId = 1;
      private int clientId_ ;
      /**
       * required int32 clientId = 1;
       */
      public boolean hasClientId() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * required int32 clientId = 1;
       */
      public int getClientId() {
        return clientId_;
      }
      /**
       * required int32 clientId = 1;
       */
      public Builder setClientId(int value) {
        bitField0_ |= 0x00000001;
        clientId_ = value;
        onChanged();
        return this;
      }
      /**
       * required int32 clientId = 1;
       */
      public Builder clearClientId() {
        bitField0_ = (bitField0_ & ~0x00000001);
        clientId_ = 0;
        onChanged();
        return this;
      }

      // required .PSLocationProto psLoc = 2;
      private com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto psLoc_ = com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.getDefaultInstance();
      private com.google.protobuf.SingleFieldBuilder<
          com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProtoOrBuilder> psLocBuilder_;
      /**
       * required .PSLocationProto psLoc = 2;
       */
      public boolean hasPsLoc() {
        return ((bitField0_ & 0x00000002) == 0x00000002);
      }
      /**
       * required .PSLocationProto psLoc = 2;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto getPsLoc() {
        if (psLocBuilder_ == null) {
          return psLoc_;
        } else {
          return psLocBuilder_.getMessage();
        }
      }
      /**
       * required .PSLocationProto psLoc = 2;
       */
      public Builder setPsLoc(com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto value) {
        if (psLocBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          psLoc_ = value;
          onChanged();
        } else {
          psLocBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000002;
        return this;
      }
      /**
       * required .PSLocationProto psLoc = 2;
       */
      public Builder setPsLoc(
          com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.Builder builderForValue) {
        if (psLocBuilder_ == null) {
          psLoc_ = builderForValue.build();
          onChanged();
        } else {
          psLocBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000002;
        return this;
      }
      /**
       * required .PSLocationProto psLoc = 2;
       */
      public Builder mergePsLoc(com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto value) {
        if (psLocBuilder_ == null) {
          if (((bitField0_ & 0x00000002) == 0x00000002) &&
              psLoc_ != com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.getDefaultInstance()) {
            psLoc_ =
              com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.newBuilder(psLoc_).mergeFrom(value).buildPartial();
          } else {
            psLoc_ = value;
          }
          onChanged();
        } else {
          psLocBuilder_.mergeFrom(value);
        }
        bitField0_ |= 0x00000002;
        return this;
      }
      /**
       * required .PSLocationProto psLoc = 2;
       */
      public Builder clearPsLoc() {
        if (psLocBuilder_ == null) {
          psLoc_ = com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.getDefaultInstance();
          onChanged();
        } else {
          psLocBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000002);
        return this;
      }
      /**
       * required .PSLocationProto psLoc = 2;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.Builder getPsLocBuilder() {
        bitField0_ |= 0x00000002;
        onChanged();
        return getPsLocFieldBuilder().getBuilder();
      }
      /**
       * required .PSLocationProto psLoc = 2;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.PSLocationProtoOrBuilder getPsLocOrBuilder() {
        if (psLocBuilder_ != null) {
          return psLocBuilder_.getMessageOrBuilder();
        } else {
          return psLoc_;
        }
      }
      /**
       * required .PSLocationProto psLoc = 2;
       */
      private com.google.protobuf.SingleFieldBuilder<
          com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProtoOrBuilder> 
          getPsLocFieldBuilder() {
        if (psLocBuilder_ == null) {
          psLocBuilder_ = new com.google.protobuf.SingleFieldBuilder<
              com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProtoOrBuilder>(
                  psLoc_,
                  getParentForChildren(),
                  isClean());
          psLoc_ = null;
        }
        return psLocBuilder_;
      }

      // @@protoc_insertion_point(builder_scope:PSFailedReportRequest)
    }

    static {
      defaultInstance = new PSFailedReportRequest(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:PSFailedReportRequest)
  }

  public interface PSFailedReportResponseOrBuilder
      extends com.google.protobuf.MessageOrBuilder {
  }
  /**
   * Protobuf type {@code PSFailedReportResponse}
   */
  public static final class PSFailedReportResponse extends
      com.google.protobuf.GeneratedMessage
      implements PSFailedReportResponseOrBuilder {
    // Use PSFailedReportResponse.newBuilder() to construct.
    private PSFailedReportResponse(com.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private PSFailedReportResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final PSFailedReportResponse defaultInstance;
    public static PSFailedReportResponse getDefaultInstance() {
      return defaultInstance;
    }

    public PSFailedReportResponse getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private PSFailedReportResponse(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSFailedReportResponse_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSFailedReportResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportResponse.Builder.class);
    }

    public static com.google.protobuf.Parser PARSER =
        new com.google.protobuf.AbstractParser() {
      public PSFailedReportResponse parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new PSFailedReportResponse(input, extensionRegistry);
      }
    };

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

    private void initFields() {
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      memoizedIsInitialized = 1;
      return true;
    }

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

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

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

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportResponse)) {
        return super.equals(obj);
      }
      com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportResponse other = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportResponse) obj;

      boolean result = true;
      result = result &&
          getUnknownFields().equals(other.getUnknownFields());
      return result;
    }

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

    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportResponse parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportResponse parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportResponse parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportResponse parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportResponse parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportResponse parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportResponse parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportResponse parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportResponse parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportResponse parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportResponse prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code PSFailedReportResponse}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder
       implements com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportResponseOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSFailedReportResponse_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSFailedReportResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportResponse.Builder.class);
      }

      // Construct using com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportResponse.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_PSFailedReportResponse_descriptor;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportResponse getDefaultInstanceForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportResponse.getDefaultInstance();
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportResponse build() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportResponse result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportResponse buildPartial() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportResponse result = new com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportResponse(this);
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportResponse) {
          return mergeFrom((com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportResponse other) {
        if (other == com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportResponse.getDefaultInstance()) return this;
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

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

      // @@protoc_insertion_point(builder_scope:PSFailedReportResponse)
    }

    static {
      defaultInstance = new PSFailedReportResponse(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:PSFailedReportResponse)
  }

  public interface GetPSAgentIdRequestOrBuilder
      extends com.google.protobuf.MessageOrBuilder {
  }
  /**
   * Protobuf type {@code GetPSAgentIdRequest}
   */
  public static final class GetPSAgentIdRequest extends
      com.google.protobuf.GeneratedMessage
      implements GetPSAgentIdRequestOrBuilder {
    // Use GetPSAgentIdRequest.newBuilder() to construct.
    private GetPSAgentIdRequest(com.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private GetPSAgentIdRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final GetPSAgentIdRequest defaultInstance;
    public static GetPSAgentIdRequest getDefaultInstance() {
      return defaultInstance;
    }

    public GetPSAgentIdRequest getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private GetPSAgentIdRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_GetPSAgentIdRequest_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_GetPSAgentIdRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdRequest.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdRequest.Builder.class);
    }

    public static com.google.protobuf.Parser PARSER =
        new com.google.protobuf.AbstractParser() {
      public GetPSAgentIdRequest parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new GetPSAgentIdRequest(input, extensionRegistry);
      }
    };

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

    private void initFields() {
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      memoizedIsInitialized = 1;
      return true;
    }

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

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

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

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdRequest)) {
        return super.equals(obj);
      }
      com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdRequest other = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdRequest) obj;

      boolean result = true;
      result = result &&
          getUnknownFields().equals(other.getUnknownFields());
      return result;
    }

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

    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdRequest parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdRequest parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdRequest parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdRequest prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code GetPSAgentIdRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder
       implements com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_GetPSAgentIdRequest_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_GetPSAgentIdRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdRequest.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdRequest.Builder.class);
      }

      // Construct using com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdRequest.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_GetPSAgentIdRequest_descriptor;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdRequest getDefaultInstanceForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdRequest.getDefaultInstance();
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdRequest build() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdRequest buildPartial() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdRequest result = new com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdRequest(this);
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdRequest) {
          return mergeFrom((com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdRequest other) {
        if (other == com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdRequest.getDefaultInstance()) return this;
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

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

      // @@protoc_insertion_point(builder_scope:GetPSAgentIdRequest)
    }

    static {
      defaultInstance = new GetPSAgentIdRequest(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:GetPSAgentIdRequest)
  }

  public interface GetPSAgentIdResponseOrBuilder
      extends com.google.protobuf.MessageOrBuilder {

    // required int32 psAgentId = 1;
    /**
     * required int32 psAgentId = 1;
     */
    boolean hasPsAgentId();
    /**
     * required int32 psAgentId = 1;
     */
    int getPsAgentId();
  }
  /**
   * Protobuf type {@code GetPSAgentIdResponse}
   */
  public static final class GetPSAgentIdResponse extends
      com.google.protobuf.GeneratedMessage
      implements GetPSAgentIdResponseOrBuilder {
    // Use GetPSAgentIdResponse.newBuilder() to construct.
    private GetPSAgentIdResponse(com.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private GetPSAgentIdResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final GetPSAgentIdResponse defaultInstance;
    public static GetPSAgentIdResponse getDefaultInstance() {
      return defaultInstance;
    }

    public GetPSAgentIdResponse getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private GetPSAgentIdResponse(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      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;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 8: {
              bitField0_ |= 0x00000001;
              psAgentId_ = input.readInt32();
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_GetPSAgentIdResponse_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_GetPSAgentIdResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdResponse.Builder.class);
    }

    public static com.google.protobuf.Parser PARSER =
        new com.google.protobuf.AbstractParser() {
      public GetPSAgentIdResponse parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new GetPSAgentIdResponse(input, extensionRegistry);
      }
    };

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

    private int bitField0_;
    // required int32 psAgentId = 1;
    public static final int PSAGENTID_FIELD_NUMBER = 1;
    private int psAgentId_;
    /**
     * required int32 psAgentId = 1;
     */
    public boolean hasPsAgentId() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    /**
     * required int32 psAgentId = 1;
     */
    public int getPsAgentId() {
      return psAgentId_;
    }

    private void initFields() {
      psAgentId_ = 0;
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      if (!hasPsAgentId()) {
        memoizedIsInitialized = 0;
        return false;
      }
      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeInt32(1, psAgentId_);
      }
      getUnknownFields().writeTo(output);
    }

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(1, psAgentId_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdResponse)) {
        return super.equals(obj);
      }
      com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdResponse other = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdResponse) obj;

      boolean result = true;
      result = result && (hasPsAgentId() == other.hasPsAgentId());
      if (hasPsAgentId()) {
        result = result && (getPsAgentId()
            == other.getPsAgentId());
      }
      result = result &&
          getUnknownFields().equals(other.getUnknownFields());
      return result;
    }

    private int memoizedHashCode = 0;
    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptorForType().hashCode();
      if (hasPsAgentId()) {
        hash = (37 * hash) + PSAGENTID_FIELD_NUMBER;
        hash = (53 * hash) + getPsAgentId();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdResponse parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdResponse parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdResponse parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdResponse parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdResponse parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdResponse parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdResponse parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdResponse parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdResponse parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdResponse parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdResponse prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code GetPSAgentIdResponse}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder
       implements com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdResponseOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_GetPSAgentIdResponse_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_GetPSAgentIdResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdResponse.Builder.class);
      }

      // Construct using com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdResponse.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        psAgentId_ = 0;
        bitField0_ = (bitField0_ & ~0x00000001);
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_GetPSAgentIdResponse_descriptor;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdResponse getDefaultInstanceForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdResponse.getDefaultInstance();
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdResponse build() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdResponse result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdResponse buildPartial() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdResponse result = new com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdResponse(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
          to_bitField0_ |= 0x00000001;
        }
        result.psAgentId_ = psAgentId_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdResponse) {
          return mergeFrom((com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdResponse other) {
        if (other == com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdResponse.getDefaultInstance()) return this;
        if (other.hasPsAgentId()) {
          setPsAgentId(other.getPsAgentId());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        if (!hasPsAgentId()) {
          
          return false;
        }
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdResponse) e.getUnfinishedMessage();
          throw e;
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      // required int32 psAgentId = 1;
      private int psAgentId_ ;
      /**
       * required int32 psAgentId = 1;
       */
      public boolean hasPsAgentId() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * required int32 psAgentId = 1;
       */
      public int getPsAgentId() {
        return psAgentId_;
      }
      /**
       * required int32 psAgentId = 1;
       */
      public Builder setPsAgentId(int value) {
        bitField0_ |= 0x00000001;
        psAgentId_ = value;
        onChanged();
        return this;
      }
      /**
       * required int32 psAgentId = 1;
       */
      public Builder clearPsAgentId() {
        bitField0_ = (bitField0_ & ~0x00000001);
        psAgentId_ = 0;
        onChanged();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:GetPSAgentIdResponse)
    }

    static {
      defaultInstance = new GetPSAgentIdResponse(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:GetPSAgentIdResponse)
  }

  public interface CheckPSExitRequestOrBuilder
      extends com.google.protobuf.MessageOrBuilder {

    // required int32 clientId = 1;
    /**
     * required int32 clientId = 1;
     */
    boolean hasClientId();
    /**
     * required int32 clientId = 1;
     */
    int getClientId();

    // required .PSLocationProto psLoc = 2;
    /**
     * required .PSLocationProto psLoc = 2;
     */
    boolean hasPsLoc();
    /**
     * required .PSLocationProto psLoc = 2;
     */
    com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto getPsLoc();
    /**
     * required .PSLocationProto psLoc = 2;
     */
    com.tencent.angel.protobuf.generated.MLProtos.PSLocationProtoOrBuilder getPsLocOrBuilder();
  }
  /**
   * Protobuf type {@code CheckPSExitRequest}
   */
  public static final class CheckPSExitRequest extends
      com.google.protobuf.GeneratedMessage
      implements CheckPSExitRequestOrBuilder {
    // Use CheckPSExitRequest.newBuilder() to construct.
    private CheckPSExitRequest(com.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private CheckPSExitRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final CheckPSExitRequest defaultInstance;
    public static CheckPSExitRequest getDefaultInstance() {
      return defaultInstance;
    }

    public CheckPSExitRequest getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private CheckPSExitRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      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;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 8: {
              bitField0_ |= 0x00000001;
              clientId_ = input.readInt32();
              break;
            }
            case 18: {
              com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.Builder subBuilder = null;
              if (((bitField0_ & 0x00000002) == 0x00000002)) {
                subBuilder = psLoc_.toBuilder();
              }
              psLoc_ = input.readMessage(com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.PARSER, extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(psLoc_);
                psLoc_ = subBuilder.buildPartial();
              }
              bitField0_ |= 0x00000002;
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_CheckPSExitRequest_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_CheckPSExitRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitRequest.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitRequest.Builder.class);
    }

    public static com.google.protobuf.Parser PARSER =
        new com.google.protobuf.AbstractParser() {
      public CheckPSExitRequest parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new CheckPSExitRequest(input, extensionRegistry);
      }
    };

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

    private int bitField0_;
    // required int32 clientId = 1;
    public static final int CLIENTID_FIELD_NUMBER = 1;
    private int clientId_;
    /**
     * required int32 clientId = 1;
     */
    public boolean hasClientId() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    /**
     * required int32 clientId = 1;
     */
    public int getClientId() {
      return clientId_;
    }

    // required .PSLocationProto psLoc = 2;
    public static final int PSLOC_FIELD_NUMBER = 2;
    private com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto psLoc_;
    /**
     * required .PSLocationProto psLoc = 2;
     */
    public boolean hasPsLoc() {
      return ((bitField0_ & 0x00000002) == 0x00000002);
    }
    /**
     * required .PSLocationProto psLoc = 2;
     */
    public com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto getPsLoc() {
      return psLoc_;
    }
    /**
     * required .PSLocationProto psLoc = 2;
     */
    public com.tencent.angel.protobuf.generated.MLProtos.PSLocationProtoOrBuilder getPsLocOrBuilder() {
      return psLoc_;
    }

    private void initFields() {
      clientId_ = 0;
      psLoc_ = com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.getDefaultInstance();
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      if (!hasClientId()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasPsLoc()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!getPsLoc().isInitialized()) {
        memoizedIsInitialized = 0;
        return false;
      }
      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeInt32(1, clientId_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        output.writeMessage(2, psLoc_);
      }
      getUnknownFields().writeTo(output);
    }

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(1, clientId_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, psLoc_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitRequest)) {
        return super.equals(obj);
      }
      com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitRequest other = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitRequest) obj;

      boolean result = true;
      result = result && (hasClientId() == other.hasClientId());
      if (hasClientId()) {
        result = result && (getClientId()
            == other.getClientId());
      }
      result = result && (hasPsLoc() == other.hasPsLoc());
      if (hasPsLoc()) {
        result = result && getPsLoc()
            .equals(other.getPsLoc());
      }
      result = result &&
          getUnknownFields().equals(other.getUnknownFields());
      return result;
    }

    private int memoizedHashCode = 0;
    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptorForType().hashCode();
      if (hasClientId()) {
        hash = (37 * hash) + CLIENTID_FIELD_NUMBER;
        hash = (53 * hash) + getClientId();
      }
      if (hasPsLoc()) {
        hash = (37 * hash) + PSLOC_FIELD_NUMBER;
        hash = (53 * hash) + getPsLoc().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitRequest parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitRequest parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitRequest parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitRequest prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code CheckPSExitRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder
       implements com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_CheckPSExitRequest_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_CheckPSExitRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitRequest.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitRequest.Builder.class);
      }

      // Construct using com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitRequest.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
          getPsLocFieldBuilder();
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        clientId_ = 0;
        bitField0_ = (bitField0_ & ~0x00000001);
        if (psLocBuilder_ == null) {
          psLoc_ = com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.getDefaultInstance();
        } else {
          psLocBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000002);
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_CheckPSExitRequest_descriptor;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitRequest getDefaultInstanceForType() {
        return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitRequest.getDefaultInstance();
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitRequest build() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitRequest buildPartial() {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitRequest result = new com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitRequest(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
          to_bitField0_ |= 0x00000001;
        }
        result.clientId_ = clientId_;
        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
          to_bitField0_ |= 0x00000002;
        }
        if (psLocBuilder_ == null) {
          result.psLoc_ = psLoc_;
        } else {
          result.psLoc_ = psLocBuilder_.build();
        }
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitRequest) {
          return mergeFrom((com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitRequest other) {
        if (other == com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitRequest.getDefaultInstance()) return this;
        if (other.hasClientId()) {
          setClientId(other.getClientId());
        }
        if (other.hasPsLoc()) {
          mergePsLoc(other.getPsLoc());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        if (!hasClientId()) {
          
          return false;
        }
        if (!hasPsLoc()) {
          
          return false;
        }
        if (!getPsLoc().isInitialized()) {
          
          return false;
        }
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitRequest) e.getUnfinishedMessage();
          throw e;
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      // required int32 clientId = 1;
      private int clientId_ ;
      /**
       * required int32 clientId = 1;
       */
      public boolean hasClientId() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * required int32 clientId = 1;
       */
      public int getClientId() {
        return clientId_;
      }
      /**
       * required int32 clientId = 1;
       */
      public Builder setClientId(int value) {
        bitField0_ |= 0x00000001;
        clientId_ = value;
        onChanged();
        return this;
      }
      /**
       * required int32 clientId = 1;
       */
      public Builder clearClientId() {
        bitField0_ = (bitField0_ & ~0x00000001);
        clientId_ = 0;
        onChanged();
        return this;
      }

      // required .PSLocationProto psLoc = 2;
      private com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto psLoc_ = com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.getDefaultInstance();
      private com.google.protobuf.SingleFieldBuilder<
          com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProtoOrBuilder> psLocBuilder_;
      /**
       * required .PSLocationProto psLoc = 2;
       */
      public boolean hasPsLoc() {
        return ((bitField0_ & 0x00000002) == 0x00000002);
      }
      /**
       * required .PSLocationProto psLoc = 2;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto getPsLoc() {
        if (psLocBuilder_ == null) {
          return psLoc_;
        } else {
          return psLocBuilder_.getMessage();
        }
      }
      /**
       * required .PSLocationProto psLoc = 2;
       */
      public Builder setPsLoc(com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto value) {
        if (psLocBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          psLoc_ = value;
          onChanged();
        } else {
          psLocBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000002;
        return this;
      }
      /**
       * required .PSLocationProto psLoc = 2;
       */
      public Builder setPsLoc(
          com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.Builder builderForValue) {
        if (psLocBuilder_ == null) {
          psLoc_ = builderForValue.build();
          onChanged();
        } else {
          psLocBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000002;
        return this;
      }
      /**
       * required .PSLocationProto psLoc = 2;
       */
      public Builder mergePsLoc(com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto value) {
        if (psLocBuilder_ == null) {
          if (((bitField0_ & 0x00000002) == 0x00000002) &&
              psLoc_ != com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.getDefaultInstance()) {
            psLoc_ =
              com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.newBuilder(psLoc_).mergeFrom(value).buildPartial();
          } else {
            psLoc_ = value;
          }
          onChanged();
        } else {
          psLocBuilder_.mergeFrom(value);
        }
        bitField0_ |= 0x00000002;
        return this;
      }
      /**
       * required .PSLocationProto psLoc = 2;
       */
      public Builder clearPsLoc() {
        if (psLocBuilder_ == null) {
          psLoc_ = com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.getDefaultInstance();
          onChanged();
        } else {
          psLocBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000002);
        return this;
      }
      /**
       * required .PSLocationProto psLoc = 2;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.Builder getPsLocBuilder() {
        bitField0_ |= 0x00000002;
        onChanged();
        return getPsLocFieldBuilder().getBuilder();
      }
      /**
       * required .PSLocationProto psLoc = 2;
       */
      public com.tencent.angel.protobuf.generated.MLProtos.PSLocationProtoOrBuilder getPsLocOrBuilder() {
        if (psLocBuilder_ != null) {
          return psLocBuilder_.getMessageOrBuilder();
        } else {
          return psLoc_;
        }
      }
      /**
       * required .PSLocationProto psLoc = 2;
       */
      private com.google.protobuf.SingleFieldBuilder<
          com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProtoOrBuilder> 
          getPsLocFieldBuilder() {
        if (psLocBuilder_ == null) {
          psLocBuilder_ = new com.google.protobuf.SingleFieldBuilder<
              com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProto.Builder, com.tencent.angel.protobuf.generated.MLProtos.PSLocationProtoOrBuilder>(
                  psLoc_,
                  getParentForChildren(),
                  isClean());
          psLoc_ = null;
        }
        return psLocBuilder_;
      }

      // @@protoc_insertion_point(builder_scope:CheckPSExitRequest)
    }

    static {
      defaultInstance = new CheckPSExitRequest(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:CheckPSExitRequest)
  }

  public interface CheckPSExitResponseOrBuilder
      extends com.google.protobuf.MessageOrBuilder {

    // required int32 exited = 1;
    /**
     * required int32 exited = 1;
     *
     * 
     * 1 means exited, 0 means not
     * 
*/ boolean hasExited(); /** * required int32 exited = 1; * *
     * 1 means exited, 0 means not
     * 
*/ int getExited(); } /** * Protobuf type {@code CheckPSExitResponse} */ public static final class CheckPSExitResponse extends com.google.protobuf.GeneratedMessage implements CheckPSExitResponseOrBuilder { // Use CheckPSExitResponse.newBuilder() to construct. private CheckPSExitResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private CheckPSExitResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final CheckPSExitResponse defaultInstance; public static CheckPSExitResponse getDefaultInstance() { return defaultInstance; } public CheckPSExitResponse getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CheckPSExitResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; exited_ = input.readInt32(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_CheckPSExitResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_CheckPSExitResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitResponse.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public CheckPSExitResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CheckPSExitResponse(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // required int32 exited = 1; public static final int EXITED_FIELD_NUMBER = 1; private int exited_; /** * required int32 exited = 1; * *
     * 1 means exited, 0 means not
     * 
*/ public boolean hasExited() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required int32 exited = 1; * *
     * 1 means exited, 0 means not
     * 
*/ public int getExited() { return exited_; } private void initFields() { exited_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasExited()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, exited_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, exited_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitResponse)) { return super.equals(obj); } com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitResponse other = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitResponse) obj; boolean result = true; result = result && (hasExited() == other.hasExited()); if (hasExited()) { result = result && (getExited() == other.getExited()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasExited()) { hash = (37 * hash) + EXITED_FIELD_NUMBER; hash = (53 * hash) + getExited(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitResponse prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code CheckPSExitResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_CheckPSExitResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_CheckPSExitResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitResponse.Builder.class); } // Construct using com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); exited_ = 0; bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.internal_static_CheckPSExitResponse_descriptor; } public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitResponse getDefaultInstanceForType() { return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitResponse.getDefaultInstance(); } public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitResponse build() { com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitResponse buildPartial() { com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitResponse result = new com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitResponse(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.exited_ = exited_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitResponse) { return mergeFrom((com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitResponse other) { if (other == com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitResponse.getDefaultInstance()) return this; if (other.hasExited()) { setExited(other.getExited()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (!hasExited()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitResponse) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // required int32 exited = 1; private int exited_ ; /** * required int32 exited = 1; * *
       * 1 means exited, 0 means not
       * 
*/ public boolean hasExited() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required int32 exited = 1; * *
       * 1 means exited, 0 means not
       * 
*/ public int getExited() { return exited_; } /** * required int32 exited = 1; * *
       * 1 means exited, 0 means not
       * 
*/ public Builder setExited(int value) { bitField0_ |= 0x00000001; exited_ = value; onChanged(); return this; } /** * required int32 exited = 1; * *
       * 1 means exited, 0 means not
       * 
*/ public Builder clearExited() { bitField0_ = (bitField0_ & ~0x00000001); exited_ = 0; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:CheckPSExitResponse) } static { defaultInstance = new CheckPSExitResponse(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:CheckPSExitResponse) } /** * Protobuf service {@code PSAgentMasterService} */ public static abstract class PSAgentMasterService implements com.google.protobuf.Service { protected PSAgentMasterService() {} public interface Interface { /** * rpc psAgentReport(.PSAgentReportRequest) returns (.PSAgentReportResponse); */ public abstract void psAgentReport( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportRequest request, com.google.protobuf.RpcCallback done); /** * rpc psAgentRegister(.PSAgentRegisterRequest) returns (.PSAgentRegisterResponse); */ public abstract void psAgentRegister( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterRequest request, com.google.protobuf.RpcCallback done); /** * rpc getAllMatrixMeta(.GetAllMatrixMetaRequest) returns (.GetAllMatrixMetaResponse); */ public abstract void getAllMatrixMeta( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaRequest request, com.google.protobuf.RpcCallback done); /** * rpc getAllPSLocation(.GetAllPSLocationRequest) returns (.GetAllPSLocationResponse); */ public abstract void getAllPSLocation( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationRequest request, com.google.protobuf.RpcCallback done); /** * rpc getPSLocation(.GetPSLocationRequest) returns (.GetPSLocationReponse); */ public abstract void getPSLocation( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationRequest request, com.google.protobuf.RpcCallback done); /** * rpc fetchMinClock(.FetchMinClockRequest) returns (.FetchMinClockResponse); */ public abstract void fetchMinClock( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockRequest request, com.google.protobuf.RpcCallback done); /** * rpc psAgentDone(.PSAgentDoneRequest) returns (.PSAgentDoneResponse); */ public abstract void psAgentDone( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneRequest request, com.google.protobuf.RpcCallback done); /** * rpc psAgentError(.PSAgentErrorRequest) returns (.PSAgentErrorResponse); */ public abstract void psAgentError( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorRequest request, com.google.protobuf.RpcCallback done); /** * rpc createMatrices(.CreateMatricesRequest) returns (.CreateMatricesResponse); */ public abstract void createMatrices( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesRequest request, com.google.protobuf.RpcCallback done); /** * rpc getMatrices(.GetMatricesRequest) returns (.GetMatricesResponse); */ public abstract void getMatrices( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesRequest request, com.google.protobuf.RpcCallback done); /** * rpc releaseMatrices(.ReleaseMatricesRequest) returns (.ReleaseMatricesResponse); */ public abstract void releaseMatrices( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesRequest request, com.google.protobuf.RpcCallback done); /** * rpc taskClock(.TaskClockRequest) returns (.TaskClockResponse); */ public abstract void taskClock( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockRequest request, com.google.protobuf.RpcCallback done); /** * rpc taskIteration(.TaskIterationRequest) returns (.TaskIterationResponse); */ public abstract void taskIteration( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationRequest request, com.google.protobuf.RpcCallback done); /** * rpc taskCountersUpdate(.TaskCounterUpdateRequest) returns (.TaskCountersUpdateResponse); */ public abstract void taskCountersUpdate( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCounterUpdateRequest request, com.google.protobuf.RpcCallback done); /** * rpc setAlgoMetrics(.SetAlgoMetricsRequest) returns (.SetAlgoMetricsResponse); */ public abstract void setAlgoMetrics( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsRequest request, com.google.protobuf.RpcCallback done); /** * rpc psFailedReport(.PSFailedReportRequest) returns (.PSFailedReportResponse); */ public abstract void psFailedReport( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportRequest request, com.google.protobuf.RpcCallback done); /** * rpc getPartLocation(.GetPartLocationRequest) returns (.GetPartLocationResponse); */ public abstract void getPartLocation( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationRequest request, com.google.protobuf.RpcCallback done); /** * rpc getStoredPss(.GetStoredPssRequest) returns (.GetStoredPssResponse); */ public abstract void getStoredPss( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssRequest request, com.google.protobuf.RpcCallback done); /** * rpc getPSAgentId(.GetPSAgentIdRequest) returns (.GetPSAgentIdResponse); */ public abstract void getPSAgentId( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdRequest request, com.google.protobuf.RpcCallback done); /** * rpc checkPSExited(.CheckPSExitRequest) returns (.CheckPSExitResponse); */ public abstract void checkPSExited( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitRequest request, com.google.protobuf.RpcCallback done); } public static com.google.protobuf.Service newReflectiveService( final Interface impl) { return new PSAgentMasterService() { @java.lang.Override public void psAgentReport( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportRequest request, com.google.protobuf.RpcCallback done) { impl.psAgentReport(controller, request, done); } @java.lang.Override public void psAgentRegister( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterRequest request, com.google.protobuf.RpcCallback done) { impl.psAgentRegister(controller, request, done); } @java.lang.Override public void getAllMatrixMeta( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaRequest request, com.google.protobuf.RpcCallback done) { impl.getAllMatrixMeta(controller, request, done); } @java.lang.Override public void getAllPSLocation( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationRequest request, com.google.protobuf.RpcCallback done) { impl.getAllPSLocation(controller, request, done); } @java.lang.Override public void getPSLocation( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationRequest request, com.google.protobuf.RpcCallback done) { impl.getPSLocation(controller, request, done); } @java.lang.Override public void fetchMinClock( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockRequest request, com.google.protobuf.RpcCallback done) { impl.fetchMinClock(controller, request, done); } @java.lang.Override public void psAgentDone( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneRequest request, com.google.protobuf.RpcCallback done) { impl.psAgentDone(controller, request, done); } @java.lang.Override public void psAgentError( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorRequest request, com.google.protobuf.RpcCallback done) { impl.psAgentError(controller, request, done); } @java.lang.Override public void createMatrices( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesRequest request, com.google.protobuf.RpcCallback done) { impl.createMatrices(controller, request, done); } @java.lang.Override public void getMatrices( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesRequest request, com.google.protobuf.RpcCallback done) { impl.getMatrices(controller, request, done); } @java.lang.Override public void releaseMatrices( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesRequest request, com.google.protobuf.RpcCallback done) { impl.releaseMatrices(controller, request, done); } @java.lang.Override public void taskClock( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockRequest request, com.google.protobuf.RpcCallback done) { impl.taskClock(controller, request, done); } @java.lang.Override public void taskIteration( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationRequest request, com.google.protobuf.RpcCallback done) { impl.taskIteration(controller, request, done); } @java.lang.Override public void taskCountersUpdate( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCounterUpdateRequest request, com.google.protobuf.RpcCallback done) { impl.taskCountersUpdate(controller, request, done); } @java.lang.Override public void setAlgoMetrics( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsRequest request, com.google.protobuf.RpcCallback done) { impl.setAlgoMetrics(controller, request, done); } @java.lang.Override public void psFailedReport( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportRequest request, com.google.protobuf.RpcCallback done) { impl.psFailedReport(controller, request, done); } @java.lang.Override public void getPartLocation( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationRequest request, com.google.protobuf.RpcCallback done) { impl.getPartLocation(controller, request, done); } @java.lang.Override public void getStoredPss( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssRequest request, com.google.protobuf.RpcCallback done) { impl.getStoredPss(controller, request, done); } @java.lang.Override public void getPSAgentId( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdRequest request, com.google.protobuf.RpcCallback done) { impl.getPSAgentId(controller, request, done); } @java.lang.Override public void checkPSExited( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitRequest request, com.google.protobuf.RpcCallback done) { impl.checkPSExited(controller, request, done); } }; } public static com.google.protobuf.BlockingService newReflectiveBlockingService(final BlockingInterface impl) { return new com.google.protobuf.BlockingService() { public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType() { return getDescriptor(); } public final com.google.protobuf.Message callBlockingMethod( com.google.protobuf.Descriptors.MethodDescriptor method, com.google.protobuf.RpcController controller, com.google.protobuf.Message request) throws com.google.protobuf.ServiceException { if (method.getService() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "Service.callBlockingMethod() given method descriptor for " + "wrong service type."); } switch(method.getIndex()) { case 0: return impl.psAgentReport(controller, (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportRequest)request); case 1: return impl.psAgentRegister(controller, (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterRequest)request); case 2: return impl.getAllMatrixMeta(controller, (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaRequest)request); case 3: return impl.getAllPSLocation(controller, (com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationRequest)request); case 4: return impl.getPSLocation(controller, (com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationRequest)request); case 5: return impl.fetchMinClock(controller, (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockRequest)request); case 6: return impl.psAgentDone(controller, (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneRequest)request); case 7: return impl.psAgentError(controller, (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorRequest)request); case 8: return impl.createMatrices(controller, (com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesRequest)request); case 9: return impl.getMatrices(controller, (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesRequest)request); case 10: return impl.releaseMatrices(controller, (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesRequest)request); case 11: return impl.taskClock(controller, (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockRequest)request); case 12: return impl.taskIteration(controller, (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationRequest)request); case 13: return impl.taskCountersUpdate(controller, (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCounterUpdateRequest)request); case 14: return impl.setAlgoMetrics(controller, (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsRequest)request); case 15: return impl.psFailedReport(controller, (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportRequest)request); case 16: return impl.getPartLocation(controller, (com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationRequest)request); case 17: return impl.getStoredPss(controller, (com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssRequest)request); case 18: return impl.getPSAgentId(controller, (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdRequest)request); case 19: return impl.checkPSExited(controller, (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitRequest)request); default: throw new java.lang.AssertionError("Can't get here."); } } public final com.google.protobuf.Message getRequestPrototype( com.google.protobuf.Descriptors.MethodDescriptor method) { if (method.getService() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "Service.getRequestPrototype() given method " + "descriptor for wrong service type."); } switch(method.getIndex()) { case 0: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportRequest.getDefaultInstance(); case 1: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterRequest.getDefaultInstance(); case 2: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaRequest.getDefaultInstance(); case 3: return com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationRequest.getDefaultInstance(); case 4: return com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationRequest.getDefaultInstance(); case 5: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockRequest.getDefaultInstance(); case 6: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneRequest.getDefaultInstance(); case 7: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorRequest.getDefaultInstance(); case 8: return com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesRequest.getDefaultInstance(); case 9: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesRequest.getDefaultInstance(); case 10: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesRequest.getDefaultInstance(); case 11: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockRequest.getDefaultInstance(); case 12: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationRequest.getDefaultInstance(); case 13: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCounterUpdateRequest.getDefaultInstance(); case 14: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsRequest.getDefaultInstance(); case 15: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportRequest.getDefaultInstance(); case 16: return com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationRequest.getDefaultInstance(); case 17: return com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssRequest.getDefaultInstance(); case 18: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdRequest.getDefaultInstance(); case 19: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitRequest.getDefaultInstance(); default: throw new java.lang.AssertionError("Can't get here."); } } public final com.google.protobuf.Message getResponsePrototype( com.google.protobuf.Descriptors.MethodDescriptor method) { if (method.getService() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "Service.getResponsePrototype() given method " + "descriptor for wrong service type."); } switch(method.getIndex()) { case 0: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportResponse.getDefaultInstance(); case 1: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterResponse.getDefaultInstance(); case 2: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaResponse.getDefaultInstance(); case 3: return com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationResponse.getDefaultInstance(); case 4: return com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationReponse.getDefaultInstance(); case 5: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockResponse.getDefaultInstance(); case 6: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneResponse.getDefaultInstance(); case 7: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorResponse.getDefaultInstance(); case 8: return com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesResponse.getDefaultInstance(); case 9: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesResponse.getDefaultInstance(); case 10: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesResponse.getDefaultInstance(); case 11: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockResponse.getDefaultInstance(); case 12: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationResponse.getDefaultInstance(); case 13: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCountersUpdateResponse.getDefaultInstance(); case 14: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsResponse.getDefaultInstance(); case 15: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportResponse.getDefaultInstance(); case 16: return com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationResponse.getDefaultInstance(); case 17: return com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssResponse.getDefaultInstance(); case 18: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdResponse.getDefaultInstance(); case 19: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitResponse.getDefaultInstance(); default: throw new java.lang.AssertionError("Can't get here."); } } }; } /** * rpc psAgentReport(.PSAgentReportRequest) returns (.PSAgentReportResponse); */ public abstract void psAgentReport( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportRequest request, com.google.protobuf.RpcCallback done); /** * rpc psAgentRegister(.PSAgentRegisterRequest) returns (.PSAgentRegisterResponse); */ public abstract void psAgentRegister( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterRequest request, com.google.protobuf.RpcCallback done); /** * rpc getAllMatrixMeta(.GetAllMatrixMetaRequest) returns (.GetAllMatrixMetaResponse); */ public abstract void getAllMatrixMeta( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaRequest request, com.google.protobuf.RpcCallback done); /** * rpc getAllPSLocation(.GetAllPSLocationRequest) returns (.GetAllPSLocationResponse); */ public abstract void getAllPSLocation( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationRequest request, com.google.protobuf.RpcCallback done); /** * rpc getPSLocation(.GetPSLocationRequest) returns (.GetPSLocationReponse); */ public abstract void getPSLocation( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationRequest request, com.google.protobuf.RpcCallback done); /** * rpc fetchMinClock(.FetchMinClockRequest) returns (.FetchMinClockResponse); */ public abstract void fetchMinClock( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockRequest request, com.google.protobuf.RpcCallback done); /** * rpc psAgentDone(.PSAgentDoneRequest) returns (.PSAgentDoneResponse); */ public abstract void psAgentDone( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneRequest request, com.google.protobuf.RpcCallback done); /** * rpc psAgentError(.PSAgentErrorRequest) returns (.PSAgentErrorResponse); */ public abstract void psAgentError( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorRequest request, com.google.protobuf.RpcCallback done); /** * rpc createMatrices(.CreateMatricesRequest) returns (.CreateMatricesResponse); */ public abstract void createMatrices( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesRequest request, com.google.protobuf.RpcCallback done); /** * rpc getMatrices(.GetMatricesRequest) returns (.GetMatricesResponse); */ public abstract void getMatrices( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesRequest request, com.google.protobuf.RpcCallback done); /** * rpc releaseMatrices(.ReleaseMatricesRequest) returns (.ReleaseMatricesResponse); */ public abstract void releaseMatrices( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesRequest request, com.google.protobuf.RpcCallback done); /** * rpc taskClock(.TaskClockRequest) returns (.TaskClockResponse); */ public abstract void taskClock( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockRequest request, com.google.protobuf.RpcCallback done); /** * rpc taskIteration(.TaskIterationRequest) returns (.TaskIterationResponse); */ public abstract void taskIteration( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationRequest request, com.google.protobuf.RpcCallback done); /** * rpc taskCountersUpdate(.TaskCounterUpdateRequest) returns (.TaskCountersUpdateResponse); */ public abstract void taskCountersUpdate( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCounterUpdateRequest request, com.google.protobuf.RpcCallback done); /** * rpc setAlgoMetrics(.SetAlgoMetricsRequest) returns (.SetAlgoMetricsResponse); */ public abstract void setAlgoMetrics( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsRequest request, com.google.protobuf.RpcCallback done); /** * rpc psFailedReport(.PSFailedReportRequest) returns (.PSFailedReportResponse); */ public abstract void psFailedReport( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportRequest request, com.google.protobuf.RpcCallback done); /** * rpc getPartLocation(.GetPartLocationRequest) returns (.GetPartLocationResponse); */ public abstract void getPartLocation( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationRequest request, com.google.protobuf.RpcCallback done); /** * rpc getStoredPss(.GetStoredPssRequest) returns (.GetStoredPssResponse); */ public abstract void getStoredPss( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssRequest request, com.google.protobuf.RpcCallback done); /** * rpc getPSAgentId(.GetPSAgentIdRequest) returns (.GetPSAgentIdResponse); */ public abstract void getPSAgentId( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdRequest request, com.google.protobuf.RpcCallback done); /** * rpc checkPSExited(.CheckPSExitRequest) returns (.CheckPSExitResponse); */ public abstract void checkPSExited( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitRequest request, com.google.protobuf.RpcCallback done); public static final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptor() { return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.getDescriptor().getServices().get(0); } public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType() { return getDescriptor(); } public final void callMethod( com.google.protobuf.Descriptors.MethodDescriptor method, com.google.protobuf.RpcController controller, com.google.protobuf.Message request, com.google.protobuf.RpcCallback< com.google.protobuf.Message> done) { if (method.getService() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "Service.callMethod() given method descriptor for wrong " + "service type."); } switch(method.getIndex()) { case 0: this.psAgentReport(controller, (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportRequest)request, com.google.protobuf.RpcUtil.specializeCallback( done)); return; case 1: this.psAgentRegister(controller, (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterRequest)request, com.google.protobuf.RpcUtil.specializeCallback( done)); return; case 2: this.getAllMatrixMeta(controller, (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaRequest)request, com.google.protobuf.RpcUtil.specializeCallback( done)); return; case 3: this.getAllPSLocation(controller, (com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationRequest)request, com.google.protobuf.RpcUtil.specializeCallback( done)); return; case 4: this.getPSLocation(controller, (com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationRequest)request, com.google.protobuf.RpcUtil.specializeCallback( done)); return; case 5: this.fetchMinClock(controller, (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockRequest)request, com.google.protobuf.RpcUtil.specializeCallback( done)); return; case 6: this.psAgentDone(controller, (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneRequest)request, com.google.protobuf.RpcUtil.specializeCallback( done)); return; case 7: this.psAgentError(controller, (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorRequest)request, com.google.protobuf.RpcUtil.specializeCallback( done)); return; case 8: this.createMatrices(controller, (com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesRequest)request, com.google.protobuf.RpcUtil.specializeCallback( done)); return; case 9: this.getMatrices(controller, (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesRequest)request, com.google.protobuf.RpcUtil.specializeCallback( done)); return; case 10: this.releaseMatrices(controller, (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesRequest)request, com.google.protobuf.RpcUtil.specializeCallback( done)); return; case 11: this.taskClock(controller, (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockRequest)request, com.google.protobuf.RpcUtil.specializeCallback( done)); return; case 12: this.taskIteration(controller, (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationRequest)request, com.google.protobuf.RpcUtil.specializeCallback( done)); return; case 13: this.taskCountersUpdate(controller, (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCounterUpdateRequest)request, com.google.protobuf.RpcUtil.specializeCallback( done)); return; case 14: this.setAlgoMetrics(controller, (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsRequest)request, com.google.protobuf.RpcUtil.specializeCallback( done)); return; case 15: this.psFailedReport(controller, (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportRequest)request, com.google.protobuf.RpcUtil.specializeCallback( done)); return; case 16: this.getPartLocation(controller, (com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationRequest)request, com.google.protobuf.RpcUtil.specializeCallback( done)); return; case 17: this.getStoredPss(controller, (com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssRequest)request, com.google.protobuf.RpcUtil.specializeCallback( done)); return; case 18: this.getPSAgentId(controller, (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdRequest)request, com.google.protobuf.RpcUtil.specializeCallback( done)); return; case 19: this.checkPSExited(controller, (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitRequest)request, com.google.protobuf.RpcUtil.specializeCallback( done)); return; default: throw new java.lang.AssertionError("Can't get here."); } } public final com.google.protobuf.Message getRequestPrototype( com.google.protobuf.Descriptors.MethodDescriptor method) { if (method.getService() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "Service.getRequestPrototype() given method " + "descriptor for wrong service type."); } switch(method.getIndex()) { case 0: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportRequest.getDefaultInstance(); case 1: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterRequest.getDefaultInstance(); case 2: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaRequest.getDefaultInstance(); case 3: return com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationRequest.getDefaultInstance(); case 4: return com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationRequest.getDefaultInstance(); case 5: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockRequest.getDefaultInstance(); case 6: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneRequest.getDefaultInstance(); case 7: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorRequest.getDefaultInstance(); case 8: return com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesRequest.getDefaultInstance(); case 9: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesRequest.getDefaultInstance(); case 10: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesRequest.getDefaultInstance(); case 11: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockRequest.getDefaultInstance(); case 12: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationRequest.getDefaultInstance(); case 13: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCounterUpdateRequest.getDefaultInstance(); case 14: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsRequest.getDefaultInstance(); case 15: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportRequest.getDefaultInstance(); case 16: return com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationRequest.getDefaultInstance(); case 17: return com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssRequest.getDefaultInstance(); case 18: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdRequest.getDefaultInstance(); case 19: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitRequest.getDefaultInstance(); default: throw new java.lang.AssertionError("Can't get here."); } } public final com.google.protobuf.Message getResponsePrototype( com.google.protobuf.Descriptors.MethodDescriptor method) { if (method.getService() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "Service.getResponsePrototype() given method " + "descriptor for wrong service type."); } switch(method.getIndex()) { case 0: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportResponse.getDefaultInstance(); case 1: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterResponse.getDefaultInstance(); case 2: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaResponse.getDefaultInstance(); case 3: return com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationResponse.getDefaultInstance(); case 4: return com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationReponse.getDefaultInstance(); case 5: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockResponse.getDefaultInstance(); case 6: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneResponse.getDefaultInstance(); case 7: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorResponse.getDefaultInstance(); case 8: return com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesResponse.getDefaultInstance(); case 9: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesResponse.getDefaultInstance(); case 10: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesResponse.getDefaultInstance(); case 11: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockResponse.getDefaultInstance(); case 12: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationResponse.getDefaultInstance(); case 13: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCountersUpdateResponse.getDefaultInstance(); case 14: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsResponse.getDefaultInstance(); case 15: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportResponse.getDefaultInstance(); case 16: return com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationResponse.getDefaultInstance(); case 17: return com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssResponse.getDefaultInstance(); case 18: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdResponse.getDefaultInstance(); case 19: return com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitResponse.getDefaultInstance(); default: throw new java.lang.AssertionError("Can't get here."); } } public static Stub newStub( com.google.protobuf.RpcChannel channel) { return new Stub(channel); } public static final class Stub extends com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentMasterService implements Interface { private Stub(com.google.protobuf.RpcChannel channel) { this.channel = channel; } private final com.google.protobuf.RpcChannel channel; public com.google.protobuf.RpcChannel getChannel() { return channel; } public void psAgentReport( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportRequest request, com.google.protobuf.RpcCallback done) { channel.callMethod( getDescriptor().getMethods().get(0), controller, request, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportResponse.getDefaultInstance(), com.google.protobuf.RpcUtil.generalizeCallback( done, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportResponse.getDefaultInstance())); } public void psAgentRegister( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterRequest request, com.google.protobuf.RpcCallback done) { channel.callMethod( getDescriptor().getMethods().get(1), controller, request, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterResponse.getDefaultInstance(), com.google.protobuf.RpcUtil.generalizeCallback( done, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterResponse.getDefaultInstance())); } public void getAllMatrixMeta( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaRequest request, com.google.protobuf.RpcCallback done) { channel.callMethod( getDescriptor().getMethods().get(2), controller, request, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaResponse.getDefaultInstance(), com.google.protobuf.RpcUtil.generalizeCallback( done, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaResponse.getDefaultInstance())); } public void getAllPSLocation( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationRequest request, com.google.protobuf.RpcCallback done) { channel.callMethod( getDescriptor().getMethods().get(3), controller, request, com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationResponse.getDefaultInstance(), com.google.protobuf.RpcUtil.generalizeCallback( done, com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationResponse.class, com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationResponse.getDefaultInstance())); } public void getPSLocation( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationRequest request, com.google.protobuf.RpcCallback done) { channel.callMethod( getDescriptor().getMethods().get(4), controller, request, com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationReponse.getDefaultInstance(), com.google.protobuf.RpcUtil.generalizeCallback( done, com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationReponse.class, com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationReponse.getDefaultInstance())); } public void fetchMinClock( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockRequest request, com.google.protobuf.RpcCallback done) { channel.callMethod( getDescriptor().getMethods().get(5), controller, request, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockResponse.getDefaultInstance(), com.google.protobuf.RpcUtil.generalizeCallback( done, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockResponse.getDefaultInstance())); } public void psAgentDone( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneRequest request, com.google.protobuf.RpcCallback done) { channel.callMethod( getDescriptor().getMethods().get(6), controller, request, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneResponse.getDefaultInstance(), com.google.protobuf.RpcUtil.generalizeCallback( done, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneResponse.getDefaultInstance())); } public void psAgentError( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorRequest request, com.google.protobuf.RpcCallback done) { channel.callMethod( getDescriptor().getMethods().get(7), controller, request, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorResponse.getDefaultInstance(), com.google.protobuf.RpcUtil.generalizeCallback( done, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorResponse.getDefaultInstance())); } public void createMatrices( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesRequest request, com.google.protobuf.RpcCallback done) { channel.callMethod( getDescriptor().getMethods().get(8), controller, request, com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesResponse.getDefaultInstance(), com.google.protobuf.RpcUtil.generalizeCallback( done, com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesResponse.class, com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesResponse.getDefaultInstance())); } public void getMatrices( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesRequest request, com.google.protobuf.RpcCallback done) { channel.callMethod( getDescriptor().getMethods().get(9), controller, request, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesResponse.getDefaultInstance(), com.google.protobuf.RpcUtil.generalizeCallback( done, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesResponse.getDefaultInstance())); } public void releaseMatrices( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesRequest request, com.google.protobuf.RpcCallback done) { channel.callMethod( getDescriptor().getMethods().get(10), controller, request, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesResponse.getDefaultInstance(), com.google.protobuf.RpcUtil.generalizeCallback( done, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesResponse.getDefaultInstance())); } public void taskClock( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockRequest request, com.google.protobuf.RpcCallback done) { channel.callMethod( getDescriptor().getMethods().get(11), controller, request, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockResponse.getDefaultInstance(), com.google.protobuf.RpcUtil.generalizeCallback( done, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockResponse.getDefaultInstance())); } public void taskIteration( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationRequest request, com.google.protobuf.RpcCallback done) { channel.callMethod( getDescriptor().getMethods().get(12), controller, request, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationResponse.getDefaultInstance(), com.google.protobuf.RpcUtil.generalizeCallback( done, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationResponse.getDefaultInstance())); } public void taskCountersUpdate( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCounterUpdateRequest request, com.google.protobuf.RpcCallback done) { channel.callMethod( getDescriptor().getMethods().get(13), controller, request, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCountersUpdateResponse.getDefaultInstance(), com.google.protobuf.RpcUtil.generalizeCallback( done, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCountersUpdateResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCountersUpdateResponse.getDefaultInstance())); } public void setAlgoMetrics( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsRequest request, com.google.protobuf.RpcCallback done) { channel.callMethod( getDescriptor().getMethods().get(14), controller, request, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsResponse.getDefaultInstance(), com.google.protobuf.RpcUtil.generalizeCallback( done, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsResponse.getDefaultInstance())); } public void psFailedReport( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportRequest request, com.google.protobuf.RpcCallback done) { channel.callMethod( getDescriptor().getMethods().get(15), controller, request, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportResponse.getDefaultInstance(), com.google.protobuf.RpcUtil.generalizeCallback( done, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportResponse.getDefaultInstance())); } public void getPartLocation( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationRequest request, com.google.protobuf.RpcCallback done) { channel.callMethod( getDescriptor().getMethods().get(16), controller, request, com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationResponse.getDefaultInstance(), com.google.protobuf.RpcUtil.generalizeCallback( done, com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationResponse.class, com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationResponse.getDefaultInstance())); } public void getStoredPss( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssRequest request, com.google.protobuf.RpcCallback done) { channel.callMethod( getDescriptor().getMethods().get(17), controller, request, com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssResponse.getDefaultInstance(), com.google.protobuf.RpcUtil.generalizeCallback( done, com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssResponse.class, com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssResponse.getDefaultInstance())); } public void getPSAgentId( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdRequest request, com.google.protobuf.RpcCallback done) { channel.callMethod( getDescriptor().getMethods().get(18), controller, request, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdResponse.getDefaultInstance(), com.google.protobuf.RpcUtil.generalizeCallback( done, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdResponse.getDefaultInstance())); } public void checkPSExited( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitRequest request, com.google.protobuf.RpcCallback done) { channel.callMethod( getDescriptor().getMethods().get(19), controller, request, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitResponse.getDefaultInstance(), com.google.protobuf.RpcUtil.generalizeCallback( done, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitResponse.class, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitResponse.getDefaultInstance())); } } public static BlockingInterface newBlockingStub( com.google.protobuf.BlockingRpcChannel channel) { return new BlockingStub(channel); } public interface BlockingInterface { public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportResponse psAgentReport( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportRequest request) throws com.google.protobuf.ServiceException; public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterResponse psAgentRegister( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterRequest request) throws com.google.protobuf.ServiceException; public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaResponse getAllMatrixMeta( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaRequest request) throws com.google.protobuf.ServiceException; public com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationResponse getAllPSLocation( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationRequest request) throws com.google.protobuf.ServiceException; public com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationReponse getPSLocation( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationRequest request) throws com.google.protobuf.ServiceException; public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockResponse fetchMinClock( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockRequest request) throws com.google.protobuf.ServiceException; public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneResponse psAgentDone( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneRequest request) throws com.google.protobuf.ServiceException; public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorResponse psAgentError( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorRequest request) throws com.google.protobuf.ServiceException; public com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesResponse createMatrices( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesRequest request) throws com.google.protobuf.ServiceException; public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesResponse getMatrices( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesRequest request) throws com.google.protobuf.ServiceException; public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesResponse releaseMatrices( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesRequest request) throws com.google.protobuf.ServiceException; public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockResponse taskClock( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockRequest request) throws com.google.protobuf.ServiceException; public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationResponse taskIteration( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationRequest request) throws com.google.protobuf.ServiceException; public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCountersUpdateResponse taskCountersUpdate( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCounterUpdateRequest request) throws com.google.protobuf.ServiceException; public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsResponse setAlgoMetrics( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsRequest request) throws com.google.protobuf.ServiceException; public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportResponse psFailedReport( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportRequest request) throws com.google.protobuf.ServiceException; public com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationResponse getPartLocation( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationRequest request) throws com.google.protobuf.ServiceException; public com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssResponse getStoredPss( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssRequest request) throws com.google.protobuf.ServiceException; public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdResponse getPSAgentId( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdRequest request) throws com.google.protobuf.ServiceException; public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitResponse checkPSExited( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitRequest request) throws com.google.protobuf.ServiceException; } private static final class BlockingStub implements BlockingInterface { private BlockingStub(com.google.protobuf.BlockingRpcChannel channel) { this.channel = channel; } private final com.google.protobuf.BlockingRpcChannel channel; public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportResponse psAgentReport( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportRequest request) throws com.google.protobuf.ServiceException { return (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportResponse) channel.callBlockingMethod( getDescriptor().getMethods().get(0), controller, request, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentReportResponse.getDefaultInstance()); } public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterResponse psAgentRegister( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterRequest request) throws com.google.protobuf.ServiceException { return (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterResponse) channel.callBlockingMethod( getDescriptor().getMethods().get(1), controller, request, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentRegisterResponse.getDefaultInstance()); } public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaResponse getAllMatrixMeta( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaRequest request) throws com.google.protobuf.ServiceException { return (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaResponse) channel.callBlockingMethod( getDescriptor().getMethods().get(2), controller, request, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetAllMatrixMetaResponse.getDefaultInstance()); } public com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationResponse getAllPSLocation( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationRequest request) throws com.google.protobuf.ServiceException { return (com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationResponse) channel.callBlockingMethod( getDescriptor().getMethods().get(3), controller, request, com.tencent.angel.protobuf.generated.MLProtos.GetAllPSLocationResponse.getDefaultInstance()); } public com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationReponse getPSLocation( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationRequest request) throws com.google.protobuf.ServiceException { return (com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationReponse) channel.callBlockingMethod( getDescriptor().getMethods().get(4), controller, request, com.tencent.angel.protobuf.generated.MLProtos.GetPSLocationReponse.getDefaultInstance()); } public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockResponse fetchMinClock( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockRequest request) throws com.google.protobuf.ServiceException { return (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockResponse) channel.callBlockingMethod( getDescriptor().getMethods().get(5), controller, request, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.FetchMinClockResponse.getDefaultInstance()); } public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneResponse psAgentDone( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneRequest request) throws com.google.protobuf.ServiceException { return (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneResponse) channel.callBlockingMethod( getDescriptor().getMethods().get(6), controller, request, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentDoneResponse.getDefaultInstance()); } public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorResponse psAgentError( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorRequest request) throws com.google.protobuf.ServiceException { return (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorResponse) channel.callBlockingMethod( getDescriptor().getMethods().get(7), controller, request, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSAgentErrorResponse.getDefaultInstance()); } public com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesResponse createMatrices( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesRequest request) throws com.google.protobuf.ServiceException { return (com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesResponse) channel.callBlockingMethod( getDescriptor().getMethods().get(8), controller, request, com.tencent.angel.protobuf.generated.MLProtos.CreateMatricesResponse.getDefaultInstance()); } public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesResponse getMatrices( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesRequest request) throws com.google.protobuf.ServiceException { return (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesResponse) channel.callBlockingMethod( getDescriptor().getMethods().get(9), controller, request, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetMatricesResponse.getDefaultInstance()); } public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesResponse releaseMatrices( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesRequest request) throws com.google.protobuf.ServiceException { return (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesResponse) channel.callBlockingMethod( getDescriptor().getMethods().get(10), controller, request, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.ReleaseMatricesResponse.getDefaultInstance()); } public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockResponse taskClock( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockRequest request) throws com.google.protobuf.ServiceException { return (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockResponse) channel.callBlockingMethod( getDescriptor().getMethods().get(11), controller, request, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskClockResponse.getDefaultInstance()); } public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationResponse taskIteration( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationRequest request) throws com.google.protobuf.ServiceException { return (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationResponse) channel.callBlockingMethod( getDescriptor().getMethods().get(12), controller, request, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskIterationResponse.getDefaultInstance()); } public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCountersUpdateResponse taskCountersUpdate( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCounterUpdateRequest request) throws com.google.protobuf.ServiceException { return (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCountersUpdateResponse) channel.callBlockingMethod( getDescriptor().getMethods().get(13), controller, request, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.TaskCountersUpdateResponse.getDefaultInstance()); } public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsResponse setAlgoMetrics( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsRequest request) throws com.google.protobuf.ServiceException { return (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsResponse) channel.callBlockingMethod( getDescriptor().getMethods().get(14), controller, request, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.SetAlgoMetricsResponse.getDefaultInstance()); } public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportResponse psFailedReport( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportRequest request) throws com.google.protobuf.ServiceException { return (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportResponse) channel.callBlockingMethod( getDescriptor().getMethods().get(15), controller, request, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.PSFailedReportResponse.getDefaultInstance()); } public com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationResponse getPartLocation( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationRequest request) throws com.google.protobuf.ServiceException { return (com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationResponse) channel.callBlockingMethod( getDescriptor().getMethods().get(16), controller, request, com.tencent.angel.protobuf.generated.MLProtos.GetPartLocationResponse.getDefaultInstance()); } public com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssResponse getStoredPss( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssRequest request) throws com.google.protobuf.ServiceException { return (com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssResponse) channel.callBlockingMethod( getDescriptor().getMethods().get(17), controller, request, com.tencent.angel.protobuf.generated.MLProtos.GetStoredPssResponse.getDefaultInstance()); } public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdResponse getPSAgentId( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdRequest request) throws com.google.protobuf.ServiceException { return (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdResponse) channel.callBlockingMethod( getDescriptor().getMethods().get(18), controller, request, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.GetPSAgentIdResponse.getDefaultInstance()); } public com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitResponse checkPSExited( com.google.protobuf.RpcController controller, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitRequest request) throws com.google.protobuf.ServiceException { return (com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitResponse) channel.callBlockingMethod( getDescriptor().getMethods().get(19), controller, request, com.tencent.angel.protobuf.generated.PSAgentMasterServiceProtos.CheckPSExitResponse.getDefaultInstance()); } } // @@protoc_insertion_point(class_scope:PSAgentMasterService) } private static com.google.protobuf.Descriptors.Descriptor internal_static_GetAllPSAgentLocationRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_GetAllPSAgentLocationRequest_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_GetAllPSAgentLocationResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_GetAllPSAgentLocationResponse_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_GetMatricesRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_GetMatricesRequest_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_GetMatricesResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_GetMatricesResponse_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_ReleaseMatricesRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_ReleaseMatricesRequest_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_ReleaseMatricesResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_ReleaseMatricesResponse_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_PSAgentReportRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_PSAgentReportRequest_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_PSAgentReportResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_PSAgentReportResponse_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_PSAgentRegisterRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_PSAgentRegisterRequest_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_PSAgentRegisterResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_PSAgentRegisterResponse_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_GetAllMatrixMetaRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_GetAllMatrixMetaRequest_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_GetAllMatrixMetaResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_GetAllMatrixMetaResponse_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_FetchMinClockRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_FetchMinClockRequest_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_FetchMinClockResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_FetchMinClockResponse_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_PSAgentDoneRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_PSAgentDoneRequest_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_PSAgentDoneResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_PSAgentDoneResponse_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_PSAgentErrorRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_PSAgentErrorRequest_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_PSAgentErrorResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_PSAgentErrorResponse_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_TaskClockRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_TaskClockRequest_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_TaskClockResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_TaskClockResponse_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_TaskIterationRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_TaskIterationRequest_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_TaskIterationResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_TaskIterationResponse_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_TaskCounterUpdateRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_TaskCounterUpdateRequest_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_TaskCountersUpdateResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_TaskCountersUpdateResponse_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_AlgoMetric_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_AlgoMetric_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_SetAlgoMetricsRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_SetAlgoMetricsRequest_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_SetAlgoMetricsResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_SetAlgoMetricsResponse_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_PSFailedReportRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_PSFailedReportRequest_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_PSFailedReportResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_PSFailedReportResponse_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_GetPSAgentIdRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_GetPSAgentIdRequest_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_GetPSAgentIdResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_GetPSAgentIdResponse_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_CheckPSExitRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_CheckPSExitRequest_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_CheckPSExitResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_CheckPSExitResponse_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\032PSAgentMasterService.proto\032\010ML.proto\"\036" + "\n\034GetAllPSAgentLocationRequest\"P\n\035GetAll" + "PSAgentLocationResponse\022/\n\020psAgentLocati" + "ons\030\001 \003(\0132\025.PSAgentLocationProto\")\n\022GetM" + "atricesRequest\022\023\n\013matrixNames\030\001 \003(\t\"<\n\023G" + "etMatricesResponse\022%\n\013matrixMetas\030\001 \003(\0132" + "\020.MatrixMetaProto\"-\n\026ReleaseMatricesRequ" + "est\022\023\n\013matrixNames\030\001 \003(\t\"\031\n\027ReleaseMatri" + "cesResponse\"?\n\024PSAgentReportRequest\022\021\n\tp" + "sAgentId\030\001 \002(\005\022\024\n\005pairs\030\003 \003(\0132\005.Pair\"O\n\025", "PSAgentReportResponse\0226\n\007command\030\001 \002(\0162\024" + ".PSAgentCommandProto:\017PSAGENT_SUCCESS\"M\n" + "\026PSAgentRegisterRequest\022\021\n\tpsAgentId\030\001 \002" + "(\005\022 \n\010location\030\002 \002(\0132\016.LocationProto\"Q\n\027" + "PSAgentRegisterResponse\0226\n\007command\030\001 \002(\016" + "2\024.PSAgentCommandProto:\017PSAGENT_SUCCESS\"" + "\031\n\027GetAllMatrixMetaRequest\"A\n\030GetAllMatr" + "ixMetaResponse\022%\n\013matrixMetas\030\002 \003(\0132\020.Ma" + "trixMetaProto\"\026\n\024FetchMinClockRequest\")\n" + "\025FetchMinClockResponse\022\020\n\010minClock\030\001 \002(\005", "\"\'\n\022PSAgentDoneRequest\022\021\n\tpsAgentId\030\001 \002(" + "\005\"<\n\023PSAgentDoneResponse\022%\n\007command\030\001 \002(" + "\0162\024.PSAgentCommandProto\"5\n\023PSAgentErrorR" + "equest\022\021\n\tpsAgentId\030\001 \002(\005\022\013\n\003msg\030\002 \002(\t\"=" + "\n\024PSAgentErrorResponse\022%\n\007command\030\001 \002(\0162" + "\024.PSAgentCommandProto\"S\n\020TaskClockReques" + "t\022\034\n\006taskId\030\001 \002(\0132\014.TaskIdProto\022!\n\013matri" + "xClock\030\002 \002(\0132\014.MatrixClock\"\023\n\021TaskClockR" + "esponse\"G\n\024TaskIterationRequest\022\034\n\006taskI" + "d\030\001 \002(\0132\014.TaskIdProto\022\021\n\titeration\030\002 \002(\005", "\"\027\n\025TaskIterationResponse\"Q\n\030TaskCounter" + "UpdateRequest\022\034\n\006taskId\030\001 \002(\0132\014.TaskIdPr" + "oto\022\027\n\010counters\030\002 \003(\0132\005.Pair\"\034\n\032TaskCoun" + "tersUpdateResponse\"4\n\nAlgoMetric\022\014\n\004name" + "\030\001 \002(\t\022\030\n\020serializedMetric\030\002 \002(\014\"W\n\025SetA" + "lgoMetricsRequest\022\034\n\006taskId\030\001 \002(\0132\014.Task" + "IdProto\022 \n\013algoMetrics\030\002 \003(\0132\013.AlgoMetri" + "c\"\030\n\026SetAlgoMetricsResponse\"J\n\025PSFailedR" + "eportRequest\022\020\n\010clientId\030\001 \002(\005\022\037\n\005psLoc\030" + "\002 \002(\0132\020.PSLocationProto\"\030\n\026PSFailedRepor", "tResponse\"\025\n\023GetPSAgentIdRequest\")\n\024GetP" + "SAgentIdResponse\022\021\n\tpsAgentId\030\001 \002(\005\"G\n\022C" + "heckPSExitRequest\022\020\n\010clientId\030\001 \002(\005\022\037\n\005p" + "sLoc\030\002 \002(\0132\020.PSLocationProto\"%\n\023CheckPSE" + "xitResponse\022\016\n\006exited\030\001 \002(\005*p\n\023PSAgentCo" + "mmandProto\022\023\n\017PSAGENT_SUCCESS\020\000\022\031\n\025PSAGE" + "NT_NEED_REGISTER\020\001\022\024\n\020PSAGENT_SHUTDOWN\020\002" + "\022\023\n\017PSAGENT_UNKNOWN\020\0032\253\n\n\024PSAgentMasterS" + "ervice\022>\n\rpsAgentReport\022\025.PSAgentReportR" + "equest\032\026.PSAgentReportResponse\022D\n\017psAgen", "tRegister\022\027.PSAgentRegisterRequest\032\030.PSA" + "gentRegisterResponse\022G\n\020getAllMatrixMeta" + "\022\030.GetAllMatrixMetaRequest\032\031.GetAllMatri" + "xMetaResponse\022G\n\020getAllPSLocation\022\030.GetA" + "llPSLocationRequest\032\031.GetAllPSLocationRe" + "sponse\022=\n\rgetPSLocation\022\025.GetPSLocationR" + "equest\032\025.GetPSLocationReponse\022>\n\rfetchMi" + "nClock\022\025.FetchMinClockRequest\032\026.FetchMin" + "ClockResponse\0228\n\013psAgentDone\022\023.PSAgentDo" + "neRequest\032\024.PSAgentDoneResponse\022;\n\014psAge", "ntError\022\024.PSAgentErrorRequest\032\025.PSAgentE" + "rrorResponse\022A\n\016createMatrices\022\026.CreateM" + "atricesRequest\032\027.CreateMatricesResponse\022" + "8\n\013getMatrices\022\023.GetMatricesRequest\032\024.Ge" + "tMatricesResponse\022D\n\017releaseMatrices\022\027.R" + "eleaseMatricesRequest\032\030.ReleaseMatricesR" + "esponse\0222\n\ttaskClock\022\021.TaskClockRequest\032" + "\022.TaskClockResponse\022>\n\rtaskIteration\022\025.T" + "askIterationRequest\032\026.TaskIterationRespo" + "nse\022L\n\022taskCountersUpdate\022\031.TaskCounterU", "pdateRequest\032\033.TaskCountersUpdateRespons" + "e\022A\n\016setAlgoMetrics\022\026.SetAlgoMetricsRequ" + "est\032\027.SetAlgoMetricsResponse\022A\n\016psFailed" + "Report\022\026.PSFailedReportRequest\032\027.PSFaile" + "dReportResponse\022D\n\017getPartLocation\022\027.Get" + "PartLocationRequest\032\030.GetPartLocationRes" + "ponse\022;\n\014getStoredPss\022\024.GetStoredPssRequ" + "est\032\025.GetStoredPssResponse\022;\n\014getPSAgent" + "Id\022\024.GetPSAgentIdRequest\032\025.GetPSAgentIdR" + "esponse\022:\n\rcheckPSExited\022\023.CheckPSExitRe", "quest\032\024.CheckPSExitResponseBJ\n$com.tence" + "nt.angel.protobuf.generatedB\032PSAgentMast" + "erServiceProtosH\001\210\001\001\240\001\001" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor root) { descriptor = root; internal_static_GetAllPSAgentLocationRequest_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_GetAllPSAgentLocationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_GetAllPSAgentLocationRequest_descriptor, new java.lang.String[] { }); internal_static_GetAllPSAgentLocationResponse_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_GetAllPSAgentLocationResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_GetAllPSAgentLocationResponse_descriptor, new java.lang.String[] { "PsAgentLocations", }); internal_static_GetMatricesRequest_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_GetMatricesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_GetMatricesRequest_descriptor, new java.lang.String[] { "MatrixNames", }); internal_static_GetMatricesResponse_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_GetMatricesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_GetMatricesResponse_descriptor, new java.lang.String[] { "MatrixMetas", }); internal_static_ReleaseMatricesRequest_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_ReleaseMatricesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_ReleaseMatricesRequest_descriptor, new java.lang.String[] { "MatrixNames", }); internal_static_ReleaseMatricesResponse_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_ReleaseMatricesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_ReleaseMatricesResponse_descriptor, new java.lang.String[] { }); internal_static_PSAgentReportRequest_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_PSAgentReportRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_PSAgentReportRequest_descriptor, new java.lang.String[] { "PsAgentId", "Pairs", }); internal_static_PSAgentReportResponse_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_PSAgentReportResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_PSAgentReportResponse_descriptor, new java.lang.String[] { "Command", }); internal_static_PSAgentRegisterRequest_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_PSAgentRegisterRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_PSAgentRegisterRequest_descriptor, new java.lang.String[] { "PsAgentId", "Location", }); internal_static_PSAgentRegisterResponse_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_PSAgentRegisterResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_PSAgentRegisterResponse_descriptor, new java.lang.String[] { "Command", }); internal_static_GetAllMatrixMetaRequest_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_GetAllMatrixMetaRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_GetAllMatrixMetaRequest_descriptor, new java.lang.String[] { }); internal_static_GetAllMatrixMetaResponse_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_GetAllMatrixMetaResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_GetAllMatrixMetaResponse_descriptor, new java.lang.String[] { "MatrixMetas", }); internal_static_FetchMinClockRequest_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_FetchMinClockRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_FetchMinClockRequest_descriptor, new java.lang.String[] { }); internal_static_FetchMinClockResponse_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_FetchMinClockResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_FetchMinClockResponse_descriptor, new java.lang.String[] { "MinClock", }); internal_static_PSAgentDoneRequest_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_PSAgentDoneRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_PSAgentDoneRequest_descriptor, new java.lang.String[] { "PsAgentId", }); internal_static_PSAgentDoneResponse_descriptor = getDescriptor().getMessageTypes().get(15); internal_static_PSAgentDoneResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_PSAgentDoneResponse_descriptor, new java.lang.String[] { "Command", }); internal_static_PSAgentErrorRequest_descriptor = getDescriptor().getMessageTypes().get(16); internal_static_PSAgentErrorRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_PSAgentErrorRequest_descriptor, new java.lang.String[] { "PsAgentId", "Msg", }); internal_static_PSAgentErrorResponse_descriptor = getDescriptor().getMessageTypes().get(17); internal_static_PSAgentErrorResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_PSAgentErrorResponse_descriptor, new java.lang.String[] { "Command", }); internal_static_TaskClockRequest_descriptor = getDescriptor().getMessageTypes().get(18); internal_static_TaskClockRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_TaskClockRequest_descriptor, new java.lang.String[] { "TaskId", "MatrixClock", }); internal_static_TaskClockResponse_descriptor = getDescriptor().getMessageTypes().get(19); internal_static_TaskClockResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_TaskClockResponse_descriptor, new java.lang.String[] { }); internal_static_TaskIterationRequest_descriptor = getDescriptor().getMessageTypes().get(20); internal_static_TaskIterationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_TaskIterationRequest_descriptor, new java.lang.String[] { "TaskId", "Iteration", }); internal_static_TaskIterationResponse_descriptor = getDescriptor().getMessageTypes().get(21); internal_static_TaskIterationResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_TaskIterationResponse_descriptor, new java.lang.String[] { }); internal_static_TaskCounterUpdateRequest_descriptor = getDescriptor().getMessageTypes().get(22); internal_static_TaskCounterUpdateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_TaskCounterUpdateRequest_descriptor, new java.lang.String[] { "TaskId", "Counters", }); internal_static_TaskCountersUpdateResponse_descriptor = getDescriptor().getMessageTypes().get(23); internal_static_TaskCountersUpdateResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_TaskCountersUpdateResponse_descriptor, new java.lang.String[] { }); internal_static_AlgoMetric_descriptor = getDescriptor().getMessageTypes().get(24); internal_static_AlgoMetric_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_AlgoMetric_descriptor, new java.lang.String[] { "Name", "SerializedMetric", }); internal_static_SetAlgoMetricsRequest_descriptor = getDescriptor().getMessageTypes().get(25); internal_static_SetAlgoMetricsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_SetAlgoMetricsRequest_descriptor, new java.lang.String[] { "TaskId", "AlgoMetrics", }); internal_static_SetAlgoMetricsResponse_descriptor = getDescriptor().getMessageTypes().get(26); internal_static_SetAlgoMetricsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_SetAlgoMetricsResponse_descriptor, new java.lang.String[] { }); internal_static_PSFailedReportRequest_descriptor = getDescriptor().getMessageTypes().get(27); internal_static_PSFailedReportRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_PSFailedReportRequest_descriptor, new java.lang.String[] { "ClientId", "PsLoc", }); internal_static_PSFailedReportResponse_descriptor = getDescriptor().getMessageTypes().get(28); internal_static_PSFailedReportResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_PSFailedReportResponse_descriptor, new java.lang.String[] { }); internal_static_GetPSAgentIdRequest_descriptor = getDescriptor().getMessageTypes().get(29); internal_static_GetPSAgentIdRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_GetPSAgentIdRequest_descriptor, new java.lang.String[] { }); internal_static_GetPSAgentIdResponse_descriptor = getDescriptor().getMessageTypes().get(30); internal_static_GetPSAgentIdResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_GetPSAgentIdResponse_descriptor, new java.lang.String[] { "PsAgentId", }); internal_static_CheckPSExitRequest_descriptor = getDescriptor().getMessageTypes().get(31); internal_static_CheckPSExitRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_CheckPSExitRequest_descriptor, new java.lang.String[] { "ClientId", "PsLoc", }); internal_static_CheckPSExitResponse_descriptor = getDescriptor().getMessageTypes().get(32); internal_static_CheckPSExitResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_CheckPSExitResponse_descriptor, new java.lang.String[] { "Exited", }); return null; } }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.tencent.angel.protobuf.generated.MLProtos.getDescriptor(), }, assigner); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy