github.com/craicoverflow/tyk@v2.9.6-rc3+incompatible/coprocess/bindings/java/CoprocessSessionState.java (about)

     1  // Generated by the protocol buffer compiler.  DO NOT EDIT!
     2  // source: coprocess_session_state.proto
     3  
     4  package coprocess;
     5  
     6  public final class CoprocessSessionState {
     7    private CoprocessSessionState() {}
     8    public static void registerAllExtensions(
     9        com.google.protobuf.ExtensionRegistryLite registry) {
    10    }
    11  
    12    public static void registerAllExtensions(
    13        com.google.protobuf.ExtensionRegistry registry) {
    14      registerAllExtensions(
    15          (com.google.protobuf.ExtensionRegistryLite) registry);
    16    }
    17    public interface AccessSpecOrBuilder extends
    18        // @@protoc_insertion_point(interface_extends:coprocess.AccessSpec)
    19        com.google.protobuf.MessageOrBuilder {
    20  
    21      /**
    22       * <code>optional string url = 1;</code>
    23       */
    24      java.lang.String getUrl();
    25      /**
    26       * <code>optional string url = 1;</code>
    27       */
    28      com.google.protobuf.ByteString
    29          getUrlBytes();
    30  
    31      /**
    32       * <code>repeated string methods = 2;</code>
    33       */
    34      java.util.List<java.lang.String>
    35          getMethodsList();
    36      /**
    37       * <code>repeated string methods = 2;</code>
    38       */
    39      int getMethodsCount();
    40      /**
    41       * <code>repeated string methods = 2;</code>
    42       */
    43      java.lang.String getMethods(int index);
    44      /**
    45       * <code>repeated string methods = 2;</code>
    46       */
    47      com.google.protobuf.ByteString
    48          getMethodsBytes(int index);
    49    }
    50    /**
    51     * Protobuf type {@code coprocess.AccessSpec}
    52     */
    53    public  static final class AccessSpec extends
    54        com.google.protobuf.GeneratedMessageV3 implements
    55        // @@protoc_insertion_point(message_implements:coprocess.AccessSpec)
    56        AccessSpecOrBuilder {
    57      // Use AccessSpec.newBuilder() to construct.
    58      private AccessSpec(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    59        super(builder);
    60      }
    61      private AccessSpec() {
    62        url_ = "";
    63        methods_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    64      }
    65  
    66      @java.lang.Override
    67      public final com.google.protobuf.UnknownFieldSet
    68      getUnknownFields() {
    69        return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
    70      }
    71      private AccessSpec(
    72          com.google.protobuf.CodedInputStream input,
    73          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    74          throws com.google.protobuf.InvalidProtocolBufferException {
    75        this();
    76        int mutable_bitField0_ = 0;
    77        try {
    78          boolean done = false;
    79          while (!done) {
    80            int tag = input.readTag();
    81            switch (tag) {
    82              case 0:
    83                done = true;
    84                break;
    85              default: {
    86                if (!input.skipField(tag)) {
    87                  done = true;
    88                }
    89                break;
    90              }
    91              case 10: {
    92                java.lang.String s = input.readStringRequireUtf8();
    93  
    94                url_ = s;
    95                break;
    96              }
    97              case 18: {
    98                java.lang.String s = input.readStringRequireUtf8();
    99                if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
   100                  methods_ = new com.google.protobuf.LazyStringArrayList();
   101                  mutable_bitField0_ |= 0x00000002;
   102                }
   103                methods_.add(s);
   104                break;
   105              }
   106            }
   107          }
   108        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
   109          throw e.setUnfinishedMessage(this);
   110        } catch (java.io.IOException e) {
   111          throw new com.google.protobuf.InvalidProtocolBufferException(
   112              e).setUnfinishedMessage(this);
   113        } finally {
   114          if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
   115            methods_ = methods_.getUnmodifiableView();
   116          }
   117          makeExtensionsImmutable();
   118        }
   119      }
   120      public static final com.google.protobuf.Descriptors.Descriptor
   121          getDescriptor() {
   122        return coprocess.CoprocessSessionState.internal_static_coprocess_AccessSpec_descriptor;
   123      }
   124  
   125      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
   126          internalGetFieldAccessorTable() {
   127        return coprocess.CoprocessSessionState.internal_static_coprocess_AccessSpec_fieldAccessorTable
   128            .ensureFieldAccessorsInitialized(
   129                coprocess.CoprocessSessionState.AccessSpec.class, coprocess.CoprocessSessionState.AccessSpec.Builder.class);
   130      }
   131  
   132      private int bitField0_;
   133      public static final int URL_FIELD_NUMBER = 1;
   134      private volatile java.lang.Object url_;
   135      /**
   136       * <code>optional string url = 1;</code>
   137       */
   138      public java.lang.String getUrl() {
   139        java.lang.Object ref = url_;
   140        if (ref instanceof java.lang.String) {
   141          return (java.lang.String) ref;
   142        } else {
   143          com.google.protobuf.ByteString bs = 
   144              (com.google.protobuf.ByteString) ref;
   145          java.lang.String s = bs.toStringUtf8();
   146          url_ = s;
   147          return s;
   148        }
   149      }
   150      /**
   151       * <code>optional string url = 1;</code>
   152       */
   153      public com.google.protobuf.ByteString
   154          getUrlBytes() {
   155        java.lang.Object ref = url_;
   156        if (ref instanceof java.lang.String) {
   157          com.google.protobuf.ByteString b = 
   158              com.google.protobuf.ByteString.copyFromUtf8(
   159                  (java.lang.String) ref);
   160          url_ = b;
   161          return b;
   162        } else {
   163          return (com.google.protobuf.ByteString) ref;
   164        }
   165      }
   166  
   167      public static final int METHODS_FIELD_NUMBER = 2;
   168      private com.google.protobuf.LazyStringList methods_;
   169      /**
   170       * <code>repeated string methods = 2;</code>
   171       */
   172      public com.google.protobuf.ProtocolStringList
   173          getMethodsList() {
   174        return methods_;
   175      }
   176      /**
   177       * <code>repeated string methods = 2;</code>
   178       */
   179      public int getMethodsCount() {
   180        return methods_.size();
   181      }
   182      /**
   183       * <code>repeated string methods = 2;</code>
   184       */
   185      public java.lang.String getMethods(int index) {
   186        return methods_.get(index);
   187      }
   188      /**
   189       * <code>repeated string methods = 2;</code>
   190       */
   191      public com.google.protobuf.ByteString
   192          getMethodsBytes(int index) {
   193        return methods_.getByteString(index);
   194      }
   195  
   196      private byte memoizedIsInitialized = -1;
   197      public final boolean isInitialized() {
   198        byte isInitialized = memoizedIsInitialized;
   199        if (isInitialized == 1) return true;
   200        if (isInitialized == 0) return false;
   201  
   202        memoizedIsInitialized = 1;
   203        return true;
   204      }
   205  
   206      public void writeTo(com.google.protobuf.CodedOutputStream output)
   207                          throws java.io.IOException {
   208        if (!getUrlBytes().isEmpty()) {
   209          com.google.protobuf.GeneratedMessageV3.writeString(output, 1, url_);
   210        }
   211        for (int i = 0; i < methods_.size(); i++) {
   212          com.google.protobuf.GeneratedMessageV3.writeString(output, 2, methods_.getRaw(i));
   213        }
   214      }
   215  
   216      public int getSerializedSize() {
   217        int size = memoizedSize;
   218        if (size != -1) return size;
   219  
   220        size = 0;
   221        if (!getUrlBytes().isEmpty()) {
   222          size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, url_);
   223        }
   224        {
   225          int dataSize = 0;
   226          for (int i = 0; i < methods_.size(); i++) {
   227            dataSize += computeStringSizeNoTag(methods_.getRaw(i));
   228          }
   229          size += dataSize;
   230          size += 1 * getMethodsList().size();
   231        }
   232        memoizedSize = size;
   233        return size;
   234      }
   235  
   236      private static final long serialVersionUID = 0L;
   237      @java.lang.Override
   238      public boolean equals(final java.lang.Object obj) {
   239        if (obj == this) {
   240         return true;
   241        }
   242        if (!(obj instanceof coprocess.CoprocessSessionState.AccessSpec)) {
   243          return super.equals(obj);
   244        }
   245        coprocess.CoprocessSessionState.AccessSpec other = (coprocess.CoprocessSessionState.AccessSpec) obj;
   246  
   247        boolean result = true;
   248        result = result && getUrl()
   249            .equals(other.getUrl());
   250        result = result && getMethodsList()
   251            .equals(other.getMethodsList());
   252        return result;
   253      }
   254  
   255      @java.lang.Override
   256      public int hashCode() {
   257        if (memoizedHashCode != 0) {
   258          return memoizedHashCode;
   259        }
   260        int hash = 41;
   261        hash = (19 * hash) + getDescriptorForType().hashCode();
   262        hash = (37 * hash) + URL_FIELD_NUMBER;
   263        hash = (53 * hash) + getUrl().hashCode();
   264        if (getMethodsCount() > 0) {
   265          hash = (37 * hash) + METHODS_FIELD_NUMBER;
   266          hash = (53 * hash) + getMethodsList().hashCode();
   267        }
   268        hash = (29 * hash) + unknownFields.hashCode();
   269        memoizedHashCode = hash;
   270        return hash;
   271      }
   272  
   273      public static coprocess.CoprocessSessionState.AccessSpec parseFrom(
   274          com.google.protobuf.ByteString data)
   275          throws com.google.protobuf.InvalidProtocolBufferException {
   276        return PARSER.parseFrom(data);
   277      }
   278      public static coprocess.CoprocessSessionState.AccessSpec parseFrom(
   279          com.google.protobuf.ByteString data,
   280          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
   281          throws com.google.protobuf.InvalidProtocolBufferException {
   282        return PARSER.parseFrom(data, extensionRegistry);
   283      }
   284      public static coprocess.CoprocessSessionState.AccessSpec parseFrom(byte[] data)
   285          throws com.google.protobuf.InvalidProtocolBufferException {
   286        return PARSER.parseFrom(data);
   287      }
   288      public static coprocess.CoprocessSessionState.AccessSpec parseFrom(
   289          byte[] data,
   290          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
   291          throws com.google.protobuf.InvalidProtocolBufferException {
   292        return PARSER.parseFrom(data, extensionRegistry);
   293      }
   294      public static coprocess.CoprocessSessionState.AccessSpec parseFrom(java.io.InputStream input)
   295          throws java.io.IOException {
   296        return com.google.protobuf.GeneratedMessageV3
   297            .parseWithIOException(PARSER, input);
   298      }
   299      public static coprocess.CoprocessSessionState.AccessSpec parseFrom(
   300          java.io.InputStream input,
   301          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
   302          throws java.io.IOException {
   303        return com.google.protobuf.GeneratedMessageV3
   304            .parseWithIOException(PARSER, input, extensionRegistry);
   305      }
   306      public static coprocess.CoprocessSessionState.AccessSpec parseDelimitedFrom(java.io.InputStream input)
   307          throws java.io.IOException {
   308        return com.google.protobuf.GeneratedMessageV3
   309            .parseDelimitedWithIOException(PARSER, input);
   310      }
   311      public static coprocess.CoprocessSessionState.AccessSpec parseDelimitedFrom(
   312          java.io.InputStream input,
   313          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
   314          throws java.io.IOException {
   315        return com.google.protobuf.GeneratedMessageV3
   316            .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   317      }
   318      public static coprocess.CoprocessSessionState.AccessSpec parseFrom(
   319          com.google.protobuf.CodedInputStream input)
   320          throws java.io.IOException {
   321        return com.google.protobuf.GeneratedMessageV3
   322            .parseWithIOException(PARSER, input);
   323      }
   324      public static coprocess.CoprocessSessionState.AccessSpec parseFrom(
   325          com.google.protobuf.CodedInputStream input,
   326          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
   327          throws java.io.IOException {
   328        return com.google.protobuf.GeneratedMessageV3
   329            .parseWithIOException(PARSER, input, extensionRegistry);
   330      }
   331  
   332      public Builder newBuilderForType() { return newBuilder(); }
   333      public static Builder newBuilder() {
   334        return DEFAULT_INSTANCE.toBuilder();
   335      }
   336      public static Builder newBuilder(coprocess.CoprocessSessionState.AccessSpec prototype) {
   337        return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   338      }
   339      public Builder toBuilder() {
   340        return this == DEFAULT_INSTANCE
   341            ? new Builder() : new Builder().mergeFrom(this);
   342      }
   343  
   344      @java.lang.Override
   345      protected Builder newBuilderForType(
   346          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
   347        Builder builder = new Builder(parent);
   348        return builder;
   349      }
   350      /**
   351       * Protobuf type {@code coprocess.AccessSpec}
   352       */
   353      public static final class Builder extends
   354          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
   355          // @@protoc_insertion_point(builder_implements:coprocess.AccessSpec)
   356          coprocess.CoprocessSessionState.AccessSpecOrBuilder {
   357        public static final com.google.protobuf.Descriptors.Descriptor
   358            getDescriptor() {
   359          return coprocess.CoprocessSessionState.internal_static_coprocess_AccessSpec_descriptor;
   360        }
   361  
   362        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
   363            internalGetFieldAccessorTable() {
   364          return coprocess.CoprocessSessionState.internal_static_coprocess_AccessSpec_fieldAccessorTable
   365              .ensureFieldAccessorsInitialized(
   366                  coprocess.CoprocessSessionState.AccessSpec.class, coprocess.CoprocessSessionState.AccessSpec.Builder.class);
   367        }
   368  
   369        // Construct using coprocess.CoprocessSessionState.AccessSpec.newBuilder()
   370        private Builder() {
   371          maybeForceBuilderInitialization();
   372        }
   373  
   374        private Builder(
   375            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
   376          super(parent);
   377          maybeForceBuilderInitialization();
   378        }
   379        private void maybeForceBuilderInitialization() {
   380          if (com.google.protobuf.GeneratedMessageV3
   381                  .alwaysUseFieldBuilders) {
   382          }
   383        }
   384        public Builder clear() {
   385          super.clear();
   386          url_ = "";
   387  
   388          methods_ = com.google.protobuf.LazyStringArrayList.EMPTY;
   389          bitField0_ = (bitField0_ & ~0x00000002);
   390          return this;
   391        }
   392  
   393        public com.google.protobuf.Descriptors.Descriptor
   394            getDescriptorForType() {
   395          return coprocess.CoprocessSessionState.internal_static_coprocess_AccessSpec_descriptor;
   396        }
   397  
   398        public coprocess.CoprocessSessionState.AccessSpec getDefaultInstanceForType() {
   399          return coprocess.CoprocessSessionState.AccessSpec.getDefaultInstance();
   400        }
   401  
   402        public coprocess.CoprocessSessionState.AccessSpec build() {
   403          coprocess.CoprocessSessionState.AccessSpec result = buildPartial();
   404          if (!result.isInitialized()) {
   405            throw newUninitializedMessageException(result);
   406          }
   407          return result;
   408        }
   409  
   410        public coprocess.CoprocessSessionState.AccessSpec buildPartial() {
   411          coprocess.CoprocessSessionState.AccessSpec result = new coprocess.CoprocessSessionState.AccessSpec(this);
   412          int from_bitField0_ = bitField0_;
   413          int to_bitField0_ = 0;
   414          result.url_ = url_;
   415          if (((bitField0_ & 0x00000002) == 0x00000002)) {
   416            methods_ = methods_.getUnmodifiableView();
   417            bitField0_ = (bitField0_ & ~0x00000002);
   418          }
   419          result.methods_ = methods_;
   420          result.bitField0_ = to_bitField0_;
   421          onBuilt();
   422          return result;
   423        }
   424  
   425        public Builder clone() {
   426          return (Builder) super.clone();
   427        }
   428        public Builder setField(
   429            com.google.protobuf.Descriptors.FieldDescriptor field,
   430            Object value) {
   431          return (Builder) super.setField(field, value);
   432        }
   433        public Builder clearField(
   434            com.google.protobuf.Descriptors.FieldDescriptor field) {
   435          return (Builder) super.clearField(field);
   436        }
   437        public Builder clearOneof(
   438            com.google.protobuf.Descriptors.OneofDescriptor oneof) {
   439          return (Builder) super.clearOneof(oneof);
   440        }
   441        public Builder setRepeatedField(
   442            com.google.protobuf.Descriptors.FieldDescriptor field,
   443            int index, Object value) {
   444          return (Builder) super.setRepeatedField(field, index, value);
   445        }
   446        public Builder addRepeatedField(
   447            com.google.protobuf.Descriptors.FieldDescriptor field,
   448            Object value) {
   449          return (Builder) super.addRepeatedField(field, value);
   450        }
   451        public Builder mergeFrom(com.google.protobuf.Message other) {
   452          if (other instanceof coprocess.CoprocessSessionState.AccessSpec) {
   453            return mergeFrom((coprocess.CoprocessSessionState.AccessSpec)other);
   454          } else {
   455            super.mergeFrom(other);
   456            return this;
   457          }
   458        }
   459  
   460        public Builder mergeFrom(coprocess.CoprocessSessionState.AccessSpec other) {
   461          if (other == coprocess.CoprocessSessionState.AccessSpec.getDefaultInstance()) return this;
   462          if (!other.getUrl().isEmpty()) {
   463            url_ = other.url_;
   464            onChanged();
   465          }
   466          if (!other.methods_.isEmpty()) {
   467            if (methods_.isEmpty()) {
   468              methods_ = other.methods_;
   469              bitField0_ = (bitField0_ & ~0x00000002);
   470            } else {
   471              ensureMethodsIsMutable();
   472              methods_.addAll(other.methods_);
   473            }
   474            onChanged();
   475          }
   476          onChanged();
   477          return this;
   478        }
   479  
   480        public final boolean isInitialized() {
   481          return true;
   482        }
   483  
   484        public Builder mergeFrom(
   485            com.google.protobuf.CodedInputStream input,
   486            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
   487            throws java.io.IOException {
   488          coprocess.CoprocessSessionState.AccessSpec parsedMessage = null;
   489          try {
   490            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
   491          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
   492            parsedMessage = (coprocess.CoprocessSessionState.AccessSpec) e.getUnfinishedMessage();
   493            throw e.unwrapIOException();
   494          } finally {
   495            if (parsedMessage != null) {
   496              mergeFrom(parsedMessage);
   497            }
   498          }
   499          return this;
   500        }
   501        private int bitField0_;
   502  
   503        private java.lang.Object url_ = "";
   504        /**
   505         * <code>optional string url = 1;</code>
   506         */
   507        public java.lang.String getUrl() {
   508          java.lang.Object ref = url_;
   509          if (!(ref instanceof java.lang.String)) {
   510            com.google.protobuf.ByteString bs =
   511                (com.google.protobuf.ByteString) ref;
   512            java.lang.String s = bs.toStringUtf8();
   513            url_ = s;
   514            return s;
   515          } else {
   516            return (java.lang.String) ref;
   517          }
   518        }
   519        /**
   520         * <code>optional string url = 1;</code>
   521         */
   522        public com.google.protobuf.ByteString
   523            getUrlBytes() {
   524          java.lang.Object ref = url_;
   525          if (ref instanceof String) {
   526            com.google.protobuf.ByteString b = 
   527                com.google.protobuf.ByteString.copyFromUtf8(
   528                    (java.lang.String) ref);
   529            url_ = b;
   530            return b;
   531          } else {
   532            return (com.google.protobuf.ByteString) ref;
   533          }
   534        }
   535        /**
   536         * <code>optional string url = 1;</code>
   537         */
   538        public Builder setUrl(
   539            java.lang.String value) {
   540          if (value == null) {
   541      throw new NullPointerException();
   542    }
   543    
   544          url_ = value;
   545          onChanged();
   546          return this;
   547        }
   548        /**
   549         * <code>optional string url = 1;</code>
   550         */
   551        public Builder clearUrl() {
   552          
   553          url_ = getDefaultInstance().getUrl();
   554          onChanged();
   555          return this;
   556        }
   557        /**
   558         * <code>optional string url = 1;</code>
   559         */
   560        public Builder setUrlBytes(
   561            com.google.protobuf.ByteString value) {
   562          if (value == null) {
   563      throw new NullPointerException();
   564    }
   565    checkByteStringIsUtf8(value);
   566          
   567          url_ = value;
   568          onChanged();
   569          return this;
   570        }
   571  
   572        private com.google.protobuf.LazyStringList methods_ = com.google.protobuf.LazyStringArrayList.EMPTY;
   573        private void ensureMethodsIsMutable() {
   574          if (!((bitField0_ & 0x00000002) == 0x00000002)) {
   575            methods_ = new com.google.protobuf.LazyStringArrayList(methods_);
   576            bitField0_ |= 0x00000002;
   577           }
   578        }
   579        /**
   580         * <code>repeated string methods = 2;</code>
   581         */
   582        public com.google.protobuf.ProtocolStringList
   583            getMethodsList() {
   584          return methods_.getUnmodifiableView();
   585        }
   586        /**
   587         * <code>repeated string methods = 2;</code>
   588         */
   589        public int getMethodsCount() {
   590          return methods_.size();
   591        }
   592        /**
   593         * <code>repeated string methods = 2;</code>
   594         */
   595        public java.lang.String getMethods(int index) {
   596          return methods_.get(index);
   597        }
   598        /**
   599         * <code>repeated string methods = 2;</code>
   600         */
   601        public com.google.protobuf.ByteString
   602            getMethodsBytes(int index) {
   603          return methods_.getByteString(index);
   604        }
   605        /**
   606         * <code>repeated string methods = 2;</code>
   607         */
   608        public Builder setMethods(
   609            int index, java.lang.String value) {
   610          if (value == null) {
   611      throw new NullPointerException();
   612    }
   613    ensureMethodsIsMutable();
   614          methods_.set(index, value);
   615          onChanged();
   616          return this;
   617        }
   618        /**
   619         * <code>repeated string methods = 2;</code>
   620         */
   621        public Builder addMethods(
   622            java.lang.String value) {
   623          if (value == null) {
   624      throw new NullPointerException();
   625    }
   626    ensureMethodsIsMutable();
   627          methods_.add(value);
   628          onChanged();
   629          return this;
   630        }
   631        /**
   632         * <code>repeated string methods = 2;</code>
   633         */
   634        public Builder addAllMethods(
   635            java.lang.Iterable<java.lang.String> values) {
   636          ensureMethodsIsMutable();
   637          com.google.protobuf.AbstractMessageLite.Builder.addAll(
   638              values, methods_);
   639          onChanged();
   640          return this;
   641        }
   642        /**
   643         * <code>repeated string methods = 2;</code>
   644         */
   645        public Builder clearMethods() {
   646          methods_ = com.google.protobuf.LazyStringArrayList.EMPTY;
   647          bitField0_ = (bitField0_ & ~0x00000002);
   648          onChanged();
   649          return this;
   650        }
   651        /**
   652         * <code>repeated string methods = 2;</code>
   653         */
   654        public Builder addMethodsBytes(
   655            com.google.protobuf.ByteString value) {
   656          if (value == null) {
   657      throw new NullPointerException();
   658    }
   659    checkByteStringIsUtf8(value);
   660          ensureMethodsIsMutable();
   661          methods_.add(value);
   662          onChanged();
   663          return this;
   664        }
   665        public final Builder setUnknownFields(
   666            final com.google.protobuf.UnknownFieldSet unknownFields) {
   667          return this;
   668        }
   669  
   670        public final Builder mergeUnknownFields(
   671            final com.google.protobuf.UnknownFieldSet unknownFields) {
   672          return this;
   673        }
   674  
   675  
   676        // @@protoc_insertion_point(builder_scope:coprocess.AccessSpec)
   677      }
   678  
   679      // @@protoc_insertion_point(class_scope:coprocess.AccessSpec)
   680      private static final coprocess.CoprocessSessionState.AccessSpec DEFAULT_INSTANCE;
   681      static {
   682        DEFAULT_INSTANCE = new coprocess.CoprocessSessionState.AccessSpec();
   683      }
   684  
   685      public static coprocess.CoprocessSessionState.AccessSpec getDefaultInstance() {
   686        return DEFAULT_INSTANCE;
   687      }
   688  
   689      private static final com.google.protobuf.Parser<AccessSpec>
   690          PARSER = new com.google.protobuf.AbstractParser<AccessSpec>() {
   691        public AccessSpec parsePartialFrom(
   692            com.google.protobuf.CodedInputStream input,
   693            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
   694            throws com.google.protobuf.InvalidProtocolBufferException {
   695            return new AccessSpec(input, extensionRegistry);
   696        }
   697      };
   698  
   699      public static com.google.protobuf.Parser<AccessSpec> parser() {
   700        return PARSER;
   701      }
   702  
   703      @java.lang.Override
   704      public com.google.protobuf.Parser<AccessSpec> getParserForType() {
   705        return PARSER;
   706      }
   707  
   708      public coprocess.CoprocessSessionState.AccessSpec getDefaultInstanceForType() {
   709        return DEFAULT_INSTANCE;
   710      }
   711  
   712    }
   713  
   714    public interface AccessDefinitionOrBuilder extends
   715        // @@protoc_insertion_point(interface_extends:coprocess.AccessDefinition)
   716        com.google.protobuf.MessageOrBuilder {
   717  
   718      /**
   719       * <code>optional string api_name = 1;</code>
   720       */
   721      java.lang.String getApiName();
   722      /**
   723       * <code>optional string api_name = 1;</code>
   724       */
   725      com.google.protobuf.ByteString
   726          getApiNameBytes();
   727  
   728      /**
   729       * <code>optional string api_id = 2;</code>
   730       */
   731      java.lang.String getApiId();
   732      /**
   733       * <code>optional string api_id = 2;</code>
   734       */
   735      com.google.protobuf.ByteString
   736          getApiIdBytes();
   737  
   738      /**
   739       * <code>repeated string versions = 3;</code>
   740       */
   741      java.util.List<java.lang.String>
   742          getVersionsList();
   743      /**
   744       * <code>repeated string versions = 3;</code>
   745       */
   746      int getVersionsCount();
   747      /**
   748       * <code>repeated string versions = 3;</code>
   749       */
   750      java.lang.String getVersions(int index);
   751      /**
   752       * <code>repeated string versions = 3;</code>
   753       */
   754      com.google.protobuf.ByteString
   755          getVersionsBytes(int index);
   756  
   757      /**
   758       * <code>repeated .coprocess.AccessSpec allowed_urls = 4;</code>
   759       */
   760      java.util.List<coprocess.CoprocessSessionState.AccessSpec> 
   761          getAllowedUrlsList();
   762      /**
   763       * <code>repeated .coprocess.AccessSpec allowed_urls = 4;</code>
   764       */
   765      coprocess.CoprocessSessionState.AccessSpec getAllowedUrls(int index);
   766      /**
   767       * <code>repeated .coprocess.AccessSpec allowed_urls = 4;</code>
   768       */
   769      int getAllowedUrlsCount();
   770      /**
   771       * <code>repeated .coprocess.AccessSpec allowed_urls = 4;</code>
   772       */
   773      java.util.List<? extends coprocess.CoprocessSessionState.AccessSpecOrBuilder> 
   774          getAllowedUrlsOrBuilderList();
   775      /**
   776       * <code>repeated .coprocess.AccessSpec allowed_urls = 4;</code>
   777       */
   778      coprocess.CoprocessSessionState.AccessSpecOrBuilder getAllowedUrlsOrBuilder(
   779          int index);
   780    }
   781    /**
   782     * Protobuf type {@code coprocess.AccessDefinition}
   783     */
   784    public  static final class AccessDefinition extends
   785        com.google.protobuf.GeneratedMessageV3 implements
   786        // @@protoc_insertion_point(message_implements:coprocess.AccessDefinition)
   787        AccessDefinitionOrBuilder {
   788      // Use AccessDefinition.newBuilder() to construct.
   789      private AccessDefinition(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
   790        super(builder);
   791      }
   792      private AccessDefinition() {
   793        apiName_ = "";
   794        apiId_ = "";
   795        versions_ = com.google.protobuf.LazyStringArrayList.EMPTY;
   796        allowedUrls_ = java.util.Collections.emptyList();
   797      }
   798  
   799      @java.lang.Override
   800      public final com.google.protobuf.UnknownFieldSet
   801      getUnknownFields() {
   802        return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
   803      }
   804      private AccessDefinition(
   805          com.google.protobuf.CodedInputStream input,
   806          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
   807          throws com.google.protobuf.InvalidProtocolBufferException {
   808        this();
   809        int mutable_bitField0_ = 0;
   810        try {
   811          boolean done = false;
   812          while (!done) {
   813            int tag = input.readTag();
   814            switch (tag) {
   815              case 0:
   816                done = true;
   817                break;
   818              default: {
   819                if (!input.skipField(tag)) {
   820                  done = true;
   821                }
   822                break;
   823              }
   824              case 10: {
   825                java.lang.String s = input.readStringRequireUtf8();
   826  
   827                apiName_ = s;
   828                break;
   829              }
   830              case 18: {
   831                java.lang.String s = input.readStringRequireUtf8();
   832  
   833                apiId_ = s;
   834                break;
   835              }
   836              case 26: {
   837                java.lang.String s = input.readStringRequireUtf8();
   838                if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
   839                  versions_ = new com.google.protobuf.LazyStringArrayList();
   840                  mutable_bitField0_ |= 0x00000004;
   841                }
   842                versions_.add(s);
   843                break;
   844              }
   845              case 34: {
   846                if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
   847                  allowedUrls_ = new java.util.ArrayList<coprocess.CoprocessSessionState.AccessSpec>();
   848                  mutable_bitField0_ |= 0x00000008;
   849                }
   850                allowedUrls_.add(
   851                    input.readMessage(coprocess.CoprocessSessionState.AccessSpec.parser(), extensionRegistry));
   852                break;
   853              }
   854            }
   855          }
   856        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
   857          throw e.setUnfinishedMessage(this);
   858        } catch (java.io.IOException e) {
   859          throw new com.google.protobuf.InvalidProtocolBufferException(
   860              e).setUnfinishedMessage(this);
   861        } finally {
   862          if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
   863            versions_ = versions_.getUnmodifiableView();
   864          }
   865          if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
   866            allowedUrls_ = java.util.Collections.unmodifiableList(allowedUrls_);
   867          }
   868          makeExtensionsImmutable();
   869        }
   870      }
   871      public static final com.google.protobuf.Descriptors.Descriptor
   872          getDescriptor() {
   873        return coprocess.CoprocessSessionState.internal_static_coprocess_AccessDefinition_descriptor;
   874      }
   875  
   876      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
   877          internalGetFieldAccessorTable() {
   878        return coprocess.CoprocessSessionState.internal_static_coprocess_AccessDefinition_fieldAccessorTable
   879            .ensureFieldAccessorsInitialized(
   880                coprocess.CoprocessSessionState.AccessDefinition.class, coprocess.CoprocessSessionState.AccessDefinition.Builder.class);
   881      }
   882  
   883      private int bitField0_;
   884      public static final int API_NAME_FIELD_NUMBER = 1;
   885      private volatile java.lang.Object apiName_;
   886      /**
   887       * <code>optional string api_name = 1;</code>
   888       */
   889      public java.lang.String getApiName() {
   890        java.lang.Object ref = apiName_;
   891        if (ref instanceof java.lang.String) {
   892          return (java.lang.String) ref;
   893        } else {
   894          com.google.protobuf.ByteString bs = 
   895              (com.google.protobuf.ByteString) ref;
   896          java.lang.String s = bs.toStringUtf8();
   897          apiName_ = s;
   898          return s;
   899        }
   900      }
   901      /**
   902       * <code>optional string api_name = 1;</code>
   903       */
   904      public com.google.protobuf.ByteString
   905          getApiNameBytes() {
   906        java.lang.Object ref = apiName_;
   907        if (ref instanceof java.lang.String) {
   908          com.google.protobuf.ByteString b = 
   909              com.google.protobuf.ByteString.copyFromUtf8(
   910                  (java.lang.String) ref);
   911          apiName_ = b;
   912          return b;
   913        } else {
   914          return (com.google.protobuf.ByteString) ref;
   915        }
   916      }
   917  
   918      public static final int API_ID_FIELD_NUMBER = 2;
   919      private volatile java.lang.Object apiId_;
   920      /**
   921       * <code>optional string api_id = 2;</code>
   922       */
   923      public java.lang.String getApiId() {
   924        java.lang.Object ref = apiId_;
   925        if (ref instanceof java.lang.String) {
   926          return (java.lang.String) ref;
   927        } else {
   928          com.google.protobuf.ByteString bs = 
   929              (com.google.protobuf.ByteString) ref;
   930          java.lang.String s = bs.toStringUtf8();
   931          apiId_ = s;
   932          return s;
   933        }
   934      }
   935      /**
   936       * <code>optional string api_id = 2;</code>
   937       */
   938      public com.google.protobuf.ByteString
   939          getApiIdBytes() {
   940        java.lang.Object ref = apiId_;
   941        if (ref instanceof java.lang.String) {
   942          com.google.protobuf.ByteString b = 
   943              com.google.protobuf.ByteString.copyFromUtf8(
   944                  (java.lang.String) ref);
   945          apiId_ = b;
   946          return b;
   947        } else {
   948          return (com.google.protobuf.ByteString) ref;
   949        }
   950      }
   951  
   952      public static final int VERSIONS_FIELD_NUMBER = 3;
   953      private com.google.protobuf.LazyStringList versions_;
   954      /**
   955       * <code>repeated string versions = 3;</code>
   956       */
   957      public com.google.protobuf.ProtocolStringList
   958          getVersionsList() {
   959        return versions_;
   960      }
   961      /**
   962       * <code>repeated string versions = 3;</code>
   963       */
   964      public int getVersionsCount() {
   965        return versions_.size();
   966      }
   967      /**
   968       * <code>repeated string versions = 3;</code>
   969       */
   970      public java.lang.String getVersions(int index) {
   971        return versions_.get(index);
   972      }
   973      /**
   974       * <code>repeated string versions = 3;</code>
   975       */
   976      public com.google.protobuf.ByteString
   977          getVersionsBytes(int index) {
   978        return versions_.getByteString(index);
   979      }
   980  
   981      public static final int ALLOWED_URLS_FIELD_NUMBER = 4;
   982      private java.util.List<coprocess.CoprocessSessionState.AccessSpec> allowedUrls_;
   983      /**
   984       * <code>repeated .coprocess.AccessSpec allowed_urls = 4;</code>
   985       */
   986      public java.util.List<coprocess.CoprocessSessionState.AccessSpec> getAllowedUrlsList() {
   987        return allowedUrls_;
   988      }
   989      /**
   990       * <code>repeated .coprocess.AccessSpec allowed_urls = 4;</code>
   991       */
   992      public java.util.List<? extends coprocess.CoprocessSessionState.AccessSpecOrBuilder> 
   993          getAllowedUrlsOrBuilderList() {
   994        return allowedUrls_;
   995      }
   996      /**
   997       * <code>repeated .coprocess.AccessSpec allowed_urls = 4;</code>
   998       */
   999      public int getAllowedUrlsCount() {
  1000        return allowedUrls_.size();
  1001      }
  1002      /**
  1003       * <code>repeated .coprocess.AccessSpec allowed_urls = 4;</code>
  1004       */
  1005      public coprocess.CoprocessSessionState.AccessSpec getAllowedUrls(int index) {
  1006        return allowedUrls_.get(index);
  1007      }
  1008      /**
  1009       * <code>repeated .coprocess.AccessSpec allowed_urls = 4;</code>
  1010       */
  1011      public coprocess.CoprocessSessionState.AccessSpecOrBuilder getAllowedUrlsOrBuilder(
  1012          int index) {
  1013        return allowedUrls_.get(index);
  1014      }
  1015  
  1016      private byte memoizedIsInitialized = -1;
  1017      public final boolean isInitialized() {
  1018        byte isInitialized = memoizedIsInitialized;
  1019        if (isInitialized == 1) return true;
  1020        if (isInitialized == 0) return false;
  1021  
  1022        memoizedIsInitialized = 1;
  1023        return true;
  1024      }
  1025  
  1026      public void writeTo(com.google.protobuf.CodedOutputStream output)
  1027                          throws java.io.IOException {
  1028        if (!getApiNameBytes().isEmpty()) {
  1029          com.google.protobuf.GeneratedMessageV3.writeString(output, 1, apiName_);
  1030        }
  1031        if (!getApiIdBytes().isEmpty()) {
  1032          com.google.protobuf.GeneratedMessageV3.writeString(output, 2, apiId_);
  1033        }
  1034        for (int i = 0; i < versions_.size(); i++) {
  1035          com.google.protobuf.GeneratedMessageV3.writeString(output, 3, versions_.getRaw(i));
  1036        }
  1037        for (int i = 0; i < allowedUrls_.size(); i++) {
  1038          output.writeMessage(4, allowedUrls_.get(i));
  1039        }
  1040      }
  1041  
  1042      public int getSerializedSize() {
  1043        int size = memoizedSize;
  1044        if (size != -1) return size;
  1045  
  1046        size = 0;
  1047        if (!getApiNameBytes().isEmpty()) {
  1048          size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, apiName_);
  1049        }
  1050        if (!getApiIdBytes().isEmpty()) {
  1051          size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, apiId_);
  1052        }
  1053        {
  1054          int dataSize = 0;
  1055          for (int i = 0; i < versions_.size(); i++) {
  1056            dataSize += computeStringSizeNoTag(versions_.getRaw(i));
  1057          }
  1058          size += dataSize;
  1059          size += 1 * getVersionsList().size();
  1060        }
  1061        for (int i = 0; i < allowedUrls_.size(); i++) {
  1062          size += com.google.protobuf.CodedOutputStream
  1063            .computeMessageSize(4, allowedUrls_.get(i));
  1064        }
  1065        memoizedSize = size;
  1066        return size;
  1067      }
  1068  
  1069      private static final long serialVersionUID = 0L;
  1070      @java.lang.Override
  1071      public boolean equals(final java.lang.Object obj) {
  1072        if (obj == this) {
  1073         return true;
  1074        }
  1075        if (!(obj instanceof coprocess.CoprocessSessionState.AccessDefinition)) {
  1076          return super.equals(obj);
  1077        }
  1078        coprocess.CoprocessSessionState.AccessDefinition other = (coprocess.CoprocessSessionState.AccessDefinition) obj;
  1079  
  1080        boolean result = true;
  1081        result = result && getApiName()
  1082            .equals(other.getApiName());
  1083        result = result && getApiId()
  1084            .equals(other.getApiId());
  1085        result = result && getVersionsList()
  1086            .equals(other.getVersionsList());
  1087        result = result && getAllowedUrlsList()
  1088            .equals(other.getAllowedUrlsList());
  1089        return result;
  1090      }
  1091  
  1092      @java.lang.Override
  1093      public int hashCode() {
  1094        if (memoizedHashCode != 0) {
  1095          return memoizedHashCode;
  1096        }
  1097        int hash = 41;
  1098        hash = (19 * hash) + getDescriptorForType().hashCode();
  1099        hash = (37 * hash) + API_NAME_FIELD_NUMBER;
  1100        hash = (53 * hash) + getApiName().hashCode();
  1101        hash = (37 * hash) + API_ID_FIELD_NUMBER;
  1102        hash = (53 * hash) + getApiId().hashCode();
  1103        if (getVersionsCount() > 0) {
  1104          hash = (37 * hash) + VERSIONS_FIELD_NUMBER;
  1105          hash = (53 * hash) + getVersionsList().hashCode();
  1106        }
  1107        if (getAllowedUrlsCount() > 0) {
  1108          hash = (37 * hash) + ALLOWED_URLS_FIELD_NUMBER;
  1109          hash = (53 * hash) + getAllowedUrlsList().hashCode();
  1110        }
  1111        hash = (29 * hash) + unknownFields.hashCode();
  1112        memoizedHashCode = hash;
  1113        return hash;
  1114      }
  1115  
  1116      public static coprocess.CoprocessSessionState.AccessDefinition parseFrom(
  1117          com.google.protobuf.ByteString data)
  1118          throws com.google.protobuf.InvalidProtocolBufferException {
  1119        return PARSER.parseFrom(data);
  1120      }
  1121      public static coprocess.CoprocessSessionState.AccessDefinition parseFrom(
  1122          com.google.protobuf.ByteString data,
  1123          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1124          throws com.google.protobuf.InvalidProtocolBufferException {
  1125        return PARSER.parseFrom(data, extensionRegistry);
  1126      }
  1127      public static coprocess.CoprocessSessionState.AccessDefinition parseFrom(byte[] data)
  1128          throws com.google.protobuf.InvalidProtocolBufferException {
  1129        return PARSER.parseFrom(data);
  1130      }
  1131      public static coprocess.CoprocessSessionState.AccessDefinition parseFrom(
  1132          byte[] data,
  1133          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1134          throws com.google.protobuf.InvalidProtocolBufferException {
  1135        return PARSER.parseFrom(data, extensionRegistry);
  1136      }
  1137      public static coprocess.CoprocessSessionState.AccessDefinition parseFrom(java.io.InputStream input)
  1138          throws java.io.IOException {
  1139        return com.google.protobuf.GeneratedMessageV3
  1140            .parseWithIOException(PARSER, input);
  1141      }
  1142      public static coprocess.CoprocessSessionState.AccessDefinition parseFrom(
  1143          java.io.InputStream input,
  1144          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1145          throws java.io.IOException {
  1146        return com.google.protobuf.GeneratedMessageV3
  1147            .parseWithIOException(PARSER, input, extensionRegistry);
  1148      }
  1149      public static coprocess.CoprocessSessionState.AccessDefinition parseDelimitedFrom(java.io.InputStream input)
  1150          throws java.io.IOException {
  1151        return com.google.protobuf.GeneratedMessageV3
  1152            .parseDelimitedWithIOException(PARSER, input);
  1153      }
  1154      public static coprocess.CoprocessSessionState.AccessDefinition parseDelimitedFrom(
  1155          java.io.InputStream input,
  1156          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1157          throws java.io.IOException {
  1158        return com.google.protobuf.GeneratedMessageV3
  1159            .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
  1160      }
  1161      public static coprocess.CoprocessSessionState.AccessDefinition parseFrom(
  1162          com.google.protobuf.CodedInputStream input)
  1163          throws java.io.IOException {
  1164        return com.google.protobuf.GeneratedMessageV3
  1165            .parseWithIOException(PARSER, input);
  1166      }
  1167      public static coprocess.CoprocessSessionState.AccessDefinition parseFrom(
  1168          com.google.protobuf.CodedInputStream input,
  1169          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1170          throws java.io.IOException {
  1171        return com.google.protobuf.GeneratedMessageV3
  1172            .parseWithIOException(PARSER, input, extensionRegistry);
  1173      }
  1174  
  1175      public Builder newBuilderForType() { return newBuilder(); }
  1176      public static Builder newBuilder() {
  1177        return DEFAULT_INSTANCE.toBuilder();
  1178      }
  1179      public static Builder newBuilder(coprocess.CoprocessSessionState.AccessDefinition prototype) {
  1180        return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  1181      }
  1182      public Builder toBuilder() {
  1183        return this == DEFAULT_INSTANCE
  1184            ? new Builder() : new Builder().mergeFrom(this);
  1185      }
  1186  
  1187      @java.lang.Override
  1188      protected Builder newBuilderForType(
  1189          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
  1190        Builder builder = new Builder(parent);
  1191        return builder;
  1192      }
  1193      /**
  1194       * Protobuf type {@code coprocess.AccessDefinition}
  1195       */
  1196      public static final class Builder extends
  1197          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
  1198          // @@protoc_insertion_point(builder_implements:coprocess.AccessDefinition)
  1199          coprocess.CoprocessSessionState.AccessDefinitionOrBuilder {
  1200        public static final com.google.protobuf.Descriptors.Descriptor
  1201            getDescriptor() {
  1202          return coprocess.CoprocessSessionState.internal_static_coprocess_AccessDefinition_descriptor;
  1203        }
  1204  
  1205        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
  1206            internalGetFieldAccessorTable() {
  1207          return coprocess.CoprocessSessionState.internal_static_coprocess_AccessDefinition_fieldAccessorTable
  1208              .ensureFieldAccessorsInitialized(
  1209                  coprocess.CoprocessSessionState.AccessDefinition.class, coprocess.CoprocessSessionState.AccessDefinition.Builder.class);
  1210        }
  1211  
  1212        // Construct using coprocess.CoprocessSessionState.AccessDefinition.newBuilder()
  1213        private Builder() {
  1214          maybeForceBuilderInitialization();
  1215        }
  1216  
  1217        private Builder(
  1218            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
  1219          super(parent);
  1220          maybeForceBuilderInitialization();
  1221        }
  1222        private void maybeForceBuilderInitialization() {
  1223          if (com.google.protobuf.GeneratedMessageV3
  1224                  .alwaysUseFieldBuilders) {
  1225            getAllowedUrlsFieldBuilder();
  1226          }
  1227        }
  1228        public Builder clear() {
  1229          super.clear();
  1230          apiName_ = "";
  1231  
  1232          apiId_ = "";
  1233  
  1234          versions_ = com.google.protobuf.LazyStringArrayList.EMPTY;
  1235          bitField0_ = (bitField0_ & ~0x00000004);
  1236          if (allowedUrlsBuilder_ == null) {
  1237            allowedUrls_ = java.util.Collections.emptyList();
  1238            bitField0_ = (bitField0_ & ~0x00000008);
  1239          } else {
  1240            allowedUrlsBuilder_.clear();
  1241          }
  1242          return this;
  1243        }
  1244  
  1245        public com.google.protobuf.Descriptors.Descriptor
  1246            getDescriptorForType() {
  1247          return coprocess.CoprocessSessionState.internal_static_coprocess_AccessDefinition_descriptor;
  1248        }
  1249  
  1250        public coprocess.CoprocessSessionState.AccessDefinition getDefaultInstanceForType() {
  1251          return coprocess.CoprocessSessionState.AccessDefinition.getDefaultInstance();
  1252        }
  1253  
  1254        public coprocess.CoprocessSessionState.AccessDefinition build() {
  1255          coprocess.CoprocessSessionState.AccessDefinition result = buildPartial();
  1256          if (!result.isInitialized()) {
  1257            throw newUninitializedMessageException(result);
  1258          }
  1259          return result;
  1260        }
  1261  
  1262        public coprocess.CoprocessSessionState.AccessDefinition buildPartial() {
  1263          coprocess.CoprocessSessionState.AccessDefinition result = new coprocess.CoprocessSessionState.AccessDefinition(this);
  1264          int from_bitField0_ = bitField0_;
  1265          int to_bitField0_ = 0;
  1266          result.apiName_ = apiName_;
  1267          result.apiId_ = apiId_;
  1268          if (((bitField0_ & 0x00000004) == 0x00000004)) {
  1269            versions_ = versions_.getUnmodifiableView();
  1270            bitField0_ = (bitField0_ & ~0x00000004);
  1271          }
  1272          result.versions_ = versions_;
  1273          if (allowedUrlsBuilder_ == null) {
  1274            if (((bitField0_ & 0x00000008) == 0x00000008)) {
  1275              allowedUrls_ = java.util.Collections.unmodifiableList(allowedUrls_);
  1276              bitField0_ = (bitField0_ & ~0x00000008);
  1277            }
  1278            result.allowedUrls_ = allowedUrls_;
  1279          } else {
  1280            result.allowedUrls_ = allowedUrlsBuilder_.build();
  1281          }
  1282          result.bitField0_ = to_bitField0_;
  1283          onBuilt();
  1284          return result;
  1285        }
  1286  
  1287        public Builder clone() {
  1288          return (Builder) super.clone();
  1289        }
  1290        public Builder setField(
  1291            com.google.protobuf.Descriptors.FieldDescriptor field,
  1292            Object value) {
  1293          return (Builder) super.setField(field, value);
  1294        }
  1295        public Builder clearField(
  1296            com.google.protobuf.Descriptors.FieldDescriptor field) {
  1297          return (Builder) super.clearField(field);
  1298        }
  1299        public Builder clearOneof(
  1300            com.google.protobuf.Descriptors.OneofDescriptor oneof) {
  1301          return (Builder) super.clearOneof(oneof);
  1302        }
  1303        public Builder setRepeatedField(
  1304            com.google.protobuf.Descriptors.FieldDescriptor field,
  1305            int index, Object value) {
  1306          return (Builder) super.setRepeatedField(field, index, value);
  1307        }
  1308        public Builder addRepeatedField(
  1309            com.google.protobuf.Descriptors.FieldDescriptor field,
  1310            Object value) {
  1311          return (Builder) super.addRepeatedField(field, value);
  1312        }
  1313        public Builder mergeFrom(com.google.protobuf.Message other) {
  1314          if (other instanceof coprocess.CoprocessSessionState.AccessDefinition) {
  1315            return mergeFrom((coprocess.CoprocessSessionState.AccessDefinition)other);
  1316          } else {
  1317            super.mergeFrom(other);
  1318            return this;
  1319          }
  1320        }
  1321  
  1322        public Builder mergeFrom(coprocess.CoprocessSessionState.AccessDefinition other) {
  1323          if (other == coprocess.CoprocessSessionState.AccessDefinition.getDefaultInstance()) return this;
  1324          if (!other.getApiName().isEmpty()) {
  1325            apiName_ = other.apiName_;
  1326            onChanged();
  1327          }
  1328          if (!other.getApiId().isEmpty()) {
  1329            apiId_ = other.apiId_;
  1330            onChanged();
  1331          }
  1332          if (!other.versions_.isEmpty()) {
  1333            if (versions_.isEmpty()) {
  1334              versions_ = other.versions_;
  1335              bitField0_ = (bitField0_ & ~0x00000004);
  1336            } else {
  1337              ensureVersionsIsMutable();
  1338              versions_.addAll(other.versions_);
  1339            }
  1340            onChanged();
  1341          }
  1342          if (allowedUrlsBuilder_ == null) {
  1343            if (!other.allowedUrls_.isEmpty()) {
  1344              if (allowedUrls_.isEmpty()) {
  1345                allowedUrls_ = other.allowedUrls_;
  1346                bitField0_ = (bitField0_ & ~0x00000008);
  1347              } else {
  1348                ensureAllowedUrlsIsMutable();
  1349                allowedUrls_.addAll(other.allowedUrls_);
  1350              }
  1351              onChanged();
  1352            }
  1353          } else {
  1354            if (!other.allowedUrls_.isEmpty()) {
  1355              if (allowedUrlsBuilder_.isEmpty()) {
  1356                allowedUrlsBuilder_.dispose();
  1357                allowedUrlsBuilder_ = null;
  1358                allowedUrls_ = other.allowedUrls_;
  1359                bitField0_ = (bitField0_ & ~0x00000008);
  1360                allowedUrlsBuilder_ = 
  1361                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
  1362                     getAllowedUrlsFieldBuilder() : null;
  1363              } else {
  1364                allowedUrlsBuilder_.addAllMessages(other.allowedUrls_);
  1365              }
  1366            }
  1367          }
  1368          onChanged();
  1369          return this;
  1370        }
  1371  
  1372        public final boolean isInitialized() {
  1373          return true;
  1374        }
  1375  
  1376        public Builder mergeFrom(
  1377            com.google.protobuf.CodedInputStream input,
  1378            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1379            throws java.io.IOException {
  1380          coprocess.CoprocessSessionState.AccessDefinition parsedMessage = null;
  1381          try {
  1382            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
  1383          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
  1384            parsedMessage = (coprocess.CoprocessSessionState.AccessDefinition) e.getUnfinishedMessage();
  1385            throw e.unwrapIOException();
  1386          } finally {
  1387            if (parsedMessage != null) {
  1388              mergeFrom(parsedMessage);
  1389            }
  1390          }
  1391          return this;
  1392        }
  1393        private int bitField0_;
  1394  
  1395        private java.lang.Object apiName_ = "";
  1396        /**
  1397         * <code>optional string api_name = 1;</code>
  1398         */
  1399        public java.lang.String getApiName() {
  1400          java.lang.Object ref = apiName_;
  1401          if (!(ref instanceof java.lang.String)) {
  1402            com.google.protobuf.ByteString bs =
  1403                (com.google.protobuf.ByteString) ref;
  1404            java.lang.String s = bs.toStringUtf8();
  1405            apiName_ = s;
  1406            return s;
  1407          } else {
  1408            return (java.lang.String) ref;
  1409          }
  1410        }
  1411        /**
  1412         * <code>optional string api_name = 1;</code>
  1413         */
  1414        public com.google.protobuf.ByteString
  1415            getApiNameBytes() {
  1416          java.lang.Object ref = apiName_;
  1417          if (ref instanceof String) {
  1418            com.google.protobuf.ByteString b = 
  1419                com.google.protobuf.ByteString.copyFromUtf8(
  1420                    (java.lang.String) ref);
  1421            apiName_ = b;
  1422            return b;
  1423          } else {
  1424            return (com.google.protobuf.ByteString) ref;
  1425          }
  1426        }
  1427        /**
  1428         * <code>optional string api_name = 1;</code>
  1429         */
  1430        public Builder setApiName(
  1431            java.lang.String value) {
  1432          if (value == null) {
  1433      throw new NullPointerException();
  1434    }
  1435    
  1436          apiName_ = value;
  1437          onChanged();
  1438          return this;
  1439        }
  1440        /**
  1441         * <code>optional string api_name = 1;</code>
  1442         */
  1443        public Builder clearApiName() {
  1444          
  1445          apiName_ = getDefaultInstance().getApiName();
  1446          onChanged();
  1447          return this;
  1448        }
  1449        /**
  1450         * <code>optional string api_name = 1;</code>
  1451         */
  1452        public Builder setApiNameBytes(
  1453            com.google.protobuf.ByteString value) {
  1454          if (value == null) {
  1455      throw new NullPointerException();
  1456    }
  1457    checkByteStringIsUtf8(value);
  1458          
  1459          apiName_ = value;
  1460          onChanged();
  1461          return this;
  1462        }
  1463  
  1464        private java.lang.Object apiId_ = "";
  1465        /**
  1466         * <code>optional string api_id = 2;</code>
  1467         */
  1468        public java.lang.String getApiId() {
  1469          java.lang.Object ref = apiId_;
  1470          if (!(ref instanceof java.lang.String)) {
  1471            com.google.protobuf.ByteString bs =
  1472                (com.google.protobuf.ByteString) ref;
  1473            java.lang.String s = bs.toStringUtf8();
  1474            apiId_ = s;
  1475            return s;
  1476          } else {
  1477            return (java.lang.String) ref;
  1478          }
  1479        }
  1480        /**
  1481         * <code>optional string api_id = 2;</code>
  1482         */
  1483        public com.google.protobuf.ByteString
  1484            getApiIdBytes() {
  1485          java.lang.Object ref = apiId_;
  1486          if (ref instanceof String) {
  1487            com.google.protobuf.ByteString b = 
  1488                com.google.protobuf.ByteString.copyFromUtf8(
  1489                    (java.lang.String) ref);
  1490            apiId_ = b;
  1491            return b;
  1492          } else {
  1493            return (com.google.protobuf.ByteString) ref;
  1494          }
  1495        }
  1496        /**
  1497         * <code>optional string api_id = 2;</code>
  1498         */
  1499        public Builder setApiId(
  1500            java.lang.String value) {
  1501          if (value == null) {
  1502      throw new NullPointerException();
  1503    }
  1504    
  1505          apiId_ = value;
  1506          onChanged();
  1507          return this;
  1508        }
  1509        /**
  1510         * <code>optional string api_id = 2;</code>
  1511         */
  1512        public Builder clearApiId() {
  1513          
  1514          apiId_ = getDefaultInstance().getApiId();
  1515          onChanged();
  1516          return this;
  1517        }
  1518        /**
  1519         * <code>optional string api_id = 2;</code>
  1520         */
  1521        public Builder setApiIdBytes(
  1522            com.google.protobuf.ByteString value) {
  1523          if (value == null) {
  1524      throw new NullPointerException();
  1525    }
  1526    checkByteStringIsUtf8(value);
  1527          
  1528          apiId_ = value;
  1529          onChanged();
  1530          return this;
  1531        }
  1532  
  1533        private com.google.protobuf.LazyStringList versions_ = com.google.protobuf.LazyStringArrayList.EMPTY;
  1534        private void ensureVersionsIsMutable() {
  1535          if (!((bitField0_ & 0x00000004) == 0x00000004)) {
  1536            versions_ = new com.google.protobuf.LazyStringArrayList(versions_);
  1537            bitField0_ |= 0x00000004;
  1538           }
  1539        }
  1540        /**
  1541         * <code>repeated string versions = 3;</code>
  1542         */
  1543        public com.google.protobuf.ProtocolStringList
  1544            getVersionsList() {
  1545          return versions_.getUnmodifiableView();
  1546        }
  1547        /**
  1548         * <code>repeated string versions = 3;</code>
  1549         */
  1550        public int getVersionsCount() {
  1551          return versions_.size();
  1552        }
  1553        /**
  1554         * <code>repeated string versions = 3;</code>
  1555         */
  1556        public java.lang.String getVersions(int index) {
  1557          return versions_.get(index);
  1558        }
  1559        /**
  1560         * <code>repeated string versions = 3;</code>
  1561         */
  1562        public com.google.protobuf.ByteString
  1563            getVersionsBytes(int index) {
  1564          return versions_.getByteString(index);
  1565        }
  1566        /**
  1567         * <code>repeated string versions = 3;</code>
  1568         */
  1569        public Builder setVersions(
  1570            int index, java.lang.String value) {
  1571          if (value == null) {
  1572      throw new NullPointerException();
  1573    }
  1574    ensureVersionsIsMutable();
  1575          versions_.set(index, value);
  1576          onChanged();
  1577          return this;
  1578        }
  1579        /**
  1580         * <code>repeated string versions = 3;</code>
  1581         */
  1582        public Builder addVersions(
  1583            java.lang.String value) {
  1584          if (value == null) {
  1585      throw new NullPointerException();
  1586    }
  1587    ensureVersionsIsMutable();
  1588          versions_.add(value);
  1589          onChanged();
  1590          return this;
  1591        }
  1592        /**
  1593         * <code>repeated string versions = 3;</code>
  1594         */
  1595        public Builder addAllVersions(
  1596            java.lang.Iterable<java.lang.String> values) {
  1597          ensureVersionsIsMutable();
  1598          com.google.protobuf.AbstractMessageLite.Builder.addAll(
  1599              values, versions_);
  1600          onChanged();
  1601          return this;
  1602        }
  1603        /**
  1604         * <code>repeated string versions = 3;</code>
  1605         */
  1606        public Builder clearVersions() {
  1607          versions_ = com.google.protobuf.LazyStringArrayList.EMPTY;
  1608          bitField0_ = (bitField0_ & ~0x00000004);
  1609          onChanged();
  1610          return this;
  1611        }
  1612        /**
  1613         * <code>repeated string versions = 3;</code>
  1614         */
  1615        public Builder addVersionsBytes(
  1616            com.google.protobuf.ByteString value) {
  1617          if (value == null) {
  1618      throw new NullPointerException();
  1619    }
  1620    checkByteStringIsUtf8(value);
  1621          ensureVersionsIsMutable();
  1622          versions_.add(value);
  1623          onChanged();
  1624          return this;
  1625        }
  1626  
  1627        private java.util.List<coprocess.CoprocessSessionState.AccessSpec> allowedUrls_ =
  1628          java.util.Collections.emptyList();
  1629        private void ensureAllowedUrlsIsMutable() {
  1630          if (!((bitField0_ & 0x00000008) == 0x00000008)) {
  1631            allowedUrls_ = new java.util.ArrayList<coprocess.CoprocessSessionState.AccessSpec>(allowedUrls_);
  1632            bitField0_ |= 0x00000008;
  1633           }
  1634        }
  1635  
  1636        private com.google.protobuf.RepeatedFieldBuilderV3<
  1637            coprocess.CoprocessSessionState.AccessSpec, coprocess.CoprocessSessionState.AccessSpec.Builder, coprocess.CoprocessSessionState.AccessSpecOrBuilder> allowedUrlsBuilder_;
  1638  
  1639        /**
  1640         * <code>repeated .coprocess.AccessSpec allowed_urls = 4;</code>
  1641         */
  1642        public java.util.List<coprocess.CoprocessSessionState.AccessSpec> getAllowedUrlsList() {
  1643          if (allowedUrlsBuilder_ == null) {
  1644            return java.util.Collections.unmodifiableList(allowedUrls_);
  1645          } else {
  1646            return allowedUrlsBuilder_.getMessageList();
  1647          }
  1648        }
  1649        /**
  1650         * <code>repeated .coprocess.AccessSpec allowed_urls = 4;</code>
  1651         */
  1652        public int getAllowedUrlsCount() {
  1653          if (allowedUrlsBuilder_ == null) {
  1654            return allowedUrls_.size();
  1655          } else {
  1656            return allowedUrlsBuilder_.getCount();
  1657          }
  1658        }
  1659        /**
  1660         * <code>repeated .coprocess.AccessSpec allowed_urls = 4;</code>
  1661         */
  1662        public coprocess.CoprocessSessionState.AccessSpec getAllowedUrls(int index) {
  1663          if (allowedUrlsBuilder_ == null) {
  1664            return allowedUrls_.get(index);
  1665          } else {
  1666            return allowedUrlsBuilder_.getMessage(index);
  1667          }
  1668        }
  1669        /**
  1670         * <code>repeated .coprocess.AccessSpec allowed_urls = 4;</code>
  1671         */
  1672        public Builder setAllowedUrls(
  1673            int index, coprocess.CoprocessSessionState.AccessSpec value) {
  1674          if (allowedUrlsBuilder_ == null) {
  1675            if (value == null) {
  1676              throw new NullPointerException();
  1677            }
  1678            ensureAllowedUrlsIsMutable();
  1679            allowedUrls_.set(index, value);
  1680            onChanged();
  1681          } else {
  1682            allowedUrlsBuilder_.setMessage(index, value);
  1683          }
  1684          return this;
  1685        }
  1686        /**
  1687         * <code>repeated .coprocess.AccessSpec allowed_urls = 4;</code>
  1688         */
  1689        public Builder setAllowedUrls(
  1690            int index, coprocess.CoprocessSessionState.AccessSpec.Builder builderForValue) {
  1691          if (allowedUrlsBuilder_ == null) {
  1692            ensureAllowedUrlsIsMutable();
  1693            allowedUrls_.set(index, builderForValue.build());
  1694            onChanged();
  1695          } else {
  1696            allowedUrlsBuilder_.setMessage(index, builderForValue.build());
  1697          }
  1698          return this;
  1699        }
  1700        /**
  1701         * <code>repeated .coprocess.AccessSpec allowed_urls = 4;</code>
  1702         */
  1703        public Builder addAllowedUrls(coprocess.CoprocessSessionState.AccessSpec value) {
  1704          if (allowedUrlsBuilder_ == null) {
  1705            if (value == null) {
  1706              throw new NullPointerException();
  1707            }
  1708            ensureAllowedUrlsIsMutable();
  1709            allowedUrls_.add(value);
  1710            onChanged();
  1711          } else {
  1712            allowedUrlsBuilder_.addMessage(value);
  1713          }
  1714          return this;
  1715        }
  1716        /**
  1717         * <code>repeated .coprocess.AccessSpec allowed_urls = 4;</code>
  1718         */
  1719        public Builder addAllowedUrls(
  1720            int index, coprocess.CoprocessSessionState.AccessSpec value) {
  1721          if (allowedUrlsBuilder_ == null) {
  1722            if (value == null) {
  1723              throw new NullPointerException();
  1724            }
  1725            ensureAllowedUrlsIsMutable();
  1726            allowedUrls_.add(index, value);
  1727            onChanged();
  1728          } else {
  1729            allowedUrlsBuilder_.addMessage(index, value);
  1730          }
  1731          return this;
  1732        }
  1733        /**
  1734         * <code>repeated .coprocess.AccessSpec allowed_urls = 4;</code>
  1735         */
  1736        public Builder addAllowedUrls(
  1737            coprocess.CoprocessSessionState.AccessSpec.Builder builderForValue) {
  1738          if (allowedUrlsBuilder_ == null) {
  1739            ensureAllowedUrlsIsMutable();
  1740            allowedUrls_.add(builderForValue.build());
  1741            onChanged();
  1742          } else {
  1743            allowedUrlsBuilder_.addMessage(builderForValue.build());
  1744          }
  1745          return this;
  1746        }
  1747        /**
  1748         * <code>repeated .coprocess.AccessSpec allowed_urls = 4;</code>
  1749         */
  1750        public Builder addAllowedUrls(
  1751            int index, coprocess.CoprocessSessionState.AccessSpec.Builder builderForValue) {
  1752          if (allowedUrlsBuilder_ == null) {
  1753            ensureAllowedUrlsIsMutable();
  1754            allowedUrls_.add(index, builderForValue.build());
  1755            onChanged();
  1756          } else {
  1757            allowedUrlsBuilder_.addMessage(index, builderForValue.build());
  1758          }
  1759          return this;
  1760        }
  1761        /**
  1762         * <code>repeated .coprocess.AccessSpec allowed_urls = 4;</code>
  1763         */
  1764        public Builder addAllAllowedUrls(
  1765            java.lang.Iterable<? extends coprocess.CoprocessSessionState.AccessSpec> values) {
  1766          if (allowedUrlsBuilder_ == null) {
  1767            ensureAllowedUrlsIsMutable();
  1768            com.google.protobuf.AbstractMessageLite.Builder.addAll(
  1769                values, allowedUrls_);
  1770            onChanged();
  1771          } else {
  1772            allowedUrlsBuilder_.addAllMessages(values);
  1773          }
  1774          return this;
  1775        }
  1776        /**
  1777         * <code>repeated .coprocess.AccessSpec allowed_urls = 4;</code>
  1778         */
  1779        public Builder clearAllowedUrls() {
  1780          if (allowedUrlsBuilder_ == null) {
  1781            allowedUrls_ = java.util.Collections.emptyList();
  1782            bitField0_ = (bitField0_ & ~0x00000008);
  1783            onChanged();
  1784          } else {
  1785            allowedUrlsBuilder_.clear();
  1786          }
  1787          return this;
  1788        }
  1789        /**
  1790         * <code>repeated .coprocess.AccessSpec allowed_urls = 4;</code>
  1791         */
  1792        public Builder removeAllowedUrls(int index) {
  1793          if (allowedUrlsBuilder_ == null) {
  1794            ensureAllowedUrlsIsMutable();
  1795            allowedUrls_.remove(index);
  1796            onChanged();
  1797          } else {
  1798            allowedUrlsBuilder_.remove(index);
  1799          }
  1800          return this;
  1801        }
  1802        /**
  1803         * <code>repeated .coprocess.AccessSpec allowed_urls = 4;</code>
  1804         */
  1805        public coprocess.CoprocessSessionState.AccessSpec.Builder getAllowedUrlsBuilder(
  1806            int index) {
  1807          return getAllowedUrlsFieldBuilder().getBuilder(index);
  1808        }
  1809        /**
  1810         * <code>repeated .coprocess.AccessSpec allowed_urls = 4;</code>
  1811         */
  1812        public coprocess.CoprocessSessionState.AccessSpecOrBuilder getAllowedUrlsOrBuilder(
  1813            int index) {
  1814          if (allowedUrlsBuilder_ == null) {
  1815            return allowedUrls_.get(index);  } else {
  1816            return allowedUrlsBuilder_.getMessageOrBuilder(index);
  1817          }
  1818        }
  1819        /**
  1820         * <code>repeated .coprocess.AccessSpec allowed_urls = 4;</code>
  1821         */
  1822        public java.util.List<? extends coprocess.CoprocessSessionState.AccessSpecOrBuilder> 
  1823             getAllowedUrlsOrBuilderList() {
  1824          if (allowedUrlsBuilder_ != null) {
  1825            return allowedUrlsBuilder_.getMessageOrBuilderList();
  1826          } else {
  1827            return java.util.Collections.unmodifiableList(allowedUrls_);
  1828          }
  1829        }
  1830        /**
  1831         * <code>repeated .coprocess.AccessSpec allowed_urls = 4;</code>
  1832         */
  1833        public coprocess.CoprocessSessionState.AccessSpec.Builder addAllowedUrlsBuilder() {
  1834          return getAllowedUrlsFieldBuilder().addBuilder(
  1835              coprocess.CoprocessSessionState.AccessSpec.getDefaultInstance());
  1836        }
  1837        /**
  1838         * <code>repeated .coprocess.AccessSpec allowed_urls = 4;</code>
  1839         */
  1840        public coprocess.CoprocessSessionState.AccessSpec.Builder addAllowedUrlsBuilder(
  1841            int index) {
  1842          return getAllowedUrlsFieldBuilder().addBuilder(
  1843              index, coprocess.CoprocessSessionState.AccessSpec.getDefaultInstance());
  1844        }
  1845        /**
  1846         * <code>repeated .coprocess.AccessSpec allowed_urls = 4;</code>
  1847         */
  1848        public java.util.List<coprocess.CoprocessSessionState.AccessSpec.Builder> 
  1849             getAllowedUrlsBuilderList() {
  1850          return getAllowedUrlsFieldBuilder().getBuilderList();
  1851        }
  1852        private com.google.protobuf.RepeatedFieldBuilderV3<
  1853            coprocess.CoprocessSessionState.AccessSpec, coprocess.CoprocessSessionState.AccessSpec.Builder, coprocess.CoprocessSessionState.AccessSpecOrBuilder> 
  1854            getAllowedUrlsFieldBuilder() {
  1855          if (allowedUrlsBuilder_ == null) {
  1856            allowedUrlsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
  1857                coprocess.CoprocessSessionState.AccessSpec, coprocess.CoprocessSessionState.AccessSpec.Builder, coprocess.CoprocessSessionState.AccessSpecOrBuilder>(
  1858                    allowedUrls_,
  1859                    ((bitField0_ & 0x00000008) == 0x00000008),
  1860                    getParentForChildren(),
  1861                    isClean());
  1862            allowedUrls_ = null;
  1863          }
  1864          return allowedUrlsBuilder_;
  1865        }
  1866        public final Builder setUnknownFields(
  1867            final com.google.protobuf.UnknownFieldSet unknownFields) {
  1868          return this;
  1869        }
  1870  
  1871        public final Builder mergeUnknownFields(
  1872            final com.google.protobuf.UnknownFieldSet unknownFields) {
  1873          return this;
  1874        }
  1875  
  1876  
  1877        // @@protoc_insertion_point(builder_scope:coprocess.AccessDefinition)
  1878      }
  1879  
  1880      // @@protoc_insertion_point(class_scope:coprocess.AccessDefinition)
  1881      private static final coprocess.CoprocessSessionState.AccessDefinition DEFAULT_INSTANCE;
  1882      static {
  1883        DEFAULT_INSTANCE = new coprocess.CoprocessSessionState.AccessDefinition();
  1884      }
  1885  
  1886      public static coprocess.CoprocessSessionState.AccessDefinition getDefaultInstance() {
  1887        return DEFAULT_INSTANCE;
  1888      }
  1889  
  1890      private static final com.google.protobuf.Parser<AccessDefinition>
  1891          PARSER = new com.google.protobuf.AbstractParser<AccessDefinition>() {
  1892        public AccessDefinition parsePartialFrom(
  1893            com.google.protobuf.CodedInputStream input,
  1894            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1895            throws com.google.protobuf.InvalidProtocolBufferException {
  1896            return new AccessDefinition(input, extensionRegistry);
  1897        }
  1898      };
  1899  
  1900      public static com.google.protobuf.Parser<AccessDefinition> parser() {
  1901        return PARSER;
  1902      }
  1903  
  1904      @java.lang.Override
  1905      public com.google.protobuf.Parser<AccessDefinition> getParserForType() {
  1906        return PARSER;
  1907      }
  1908  
  1909      public coprocess.CoprocessSessionState.AccessDefinition getDefaultInstanceForType() {
  1910        return DEFAULT_INSTANCE;
  1911      }
  1912  
  1913    }
  1914  
  1915    public interface BasicAuthDataOrBuilder extends
  1916        // @@protoc_insertion_point(interface_extends:coprocess.BasicAuthData)
  1917        com.google.protobuf.MessageOrBuilder {
  1918  
  1919      /**
  1920       * <code>optional string password = 1;</code>
  1921       */
  1922      java.lang.String getPassword();
  1923      /**
  1924       * <code>optional string password = 1;</code>
  1925       */
  1926      com.google.protobuf.ByteString
  1927          getPasswordBytes();
  1928  
  1929      /**
  1930       * <code>optional string hash = 2;</code>
  1931       */
  1932      java.lang.String getHash();
  1933      /**
  1934       * <code>optional string hash = 2;</code>
  1935       */
  1936      com.google.protobuf.ByteString
  1937          getHashBytes();
  1938    }
  1939    /**
  1940     * Protobuf type {@code coprocess.BasicAuthData}
  1941     */
  1942    public  static final class BasicAuthData extends
  1943        com.google.protobuf.GeneratedMessageV3 implements
  1944        // @@protoc_insertion_point(message_implements:coprocess.BasicAuthData)
  1945        BasicAuthDataOrBuilder {
  1946      // Use BasicAuthData.newBuilder() to construct.
  1947      private BasicAuthData(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
  1948        super(builder);
  1949      }
  1950      private BasicAuthData() {
  1951        password_ = "";
  1952        hash_ = "";
  1953      }
  1954  
  1955      @java.lang.Override
  1956      public final com.google.protobuf.UnknownFieldSet
  1957      getUnknownFields() {
  1958        return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
  1959      }
  1960      private BasicAuthData(
  1961          com.google.protobuf.CodedInputStream input,
  1962          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1963          throws com.google.protobuf.InvalidProtocolBufferException {
  1964        this();
  1965        int mutable_bitField0_ = 0;
  1966        try {
  1967          boolean done = false;
  1968          while (!done) {
  1969            int tag = input.readTag();
  1970            switch (tag) {
  1971              case 0:
  1972                done = true;
  1973                break;
  1974              default: {
  1975                if (!input.skipField(tag)) {
  1976                  done = true;
  1977                }
  1978                break;
  1979              }
  1980              case 10: {
  1981                java.lang.String s = input.readStringRequireUtf8();
  1982  
  1983                password_ = s;
  1984                break;
  1985              }
  1986              case 18: {
  1987                java.lang.String s = input.readStringRequireUtf8();
  1988  
  1989                hash_ = s;
  1990                break;
  1991              }
  1992            }
  1993          }
  1994        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
  1995          throw e.setUnfinishedMessage(this);
  1996        } catch (java.io.IOException e) {
  1997          throw new com.google.protobuf.InvalidProtocolBufferException(
  1998              e).setUnfinishedMessage(this);
  1999        } finally {
  2000          makeExtensionsImmutable();
  2001        }
  2002      }
  2003      public static final com.google.protobuf.Descriptors.Descriptor
  2004          getDescriptor() {
  2005        return coprocess.CoprocessSessionState.internal_static_coprocess_BasicAuthData_descriptor;
  2006      }
  2007  
  2008      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
  2009          internalGetFieldAccessorTable() {
  2010        return coprocess.CoprocessSessionState.internal_static_coprocess_BasicAuthData_fieldAccessorTable
  2011            .ensureFieldAccessorsInitialized(
  2012                coprocess.CoprocessSessionState.BasicAuthData.class, coprocess.CoprocessSessionState.BasicAuthData.Builder.class);
  2013      }
  2014  
  2015      public static final int PASSWORD_FIELD_NUMBER = 1;
  2016      private volatile java.lang.Object password_;
  2017      /**
  2018       * <code>optional string password = 1;</code>
  2019       */
  2020      public java.lang.String getPassword() {
  2021        java.lang.Object ref = password_;
  2022        if (ref instanceof java.lang.String) {
  2023          return (java.lang.String) ref;
  2024        } else {
  2025          com.google.protobuf.ByteString bs = 
  2026              (com.google.protobuf.ByteString) ref;
  2027          java.lang.String s = bs.toStringUtf8();
  2028          password_ = s;
  2029          return s;
  2030        }
  2031      }
  2032      /**
  2033       * <code>optional string password = 1;</code>
  2034       */
  2035      public com.google.protobuf.ByteString
  2036          getPasswordBytes() {
  2037        java.lang.Object ref = password_;
  2038        if (ref instanceof java.lang.String) {
  2039          com.google.protobuf.ByteString b = 
  2040              com.google.protobuf.ByteString.copyFromUtf8(
  2041                  (java.lang.String) ref);
  2042          password_ = b;
  2043          return b;
  2044        } else {
  2045          return (com.google.protobuf.ByteString) ref;
  2046        }
  2047      }
  2048  
  2049      public static final int HASH_FIELD_NUMBER = 2;
  2050      private volatile java.lang.Object hash_;
  2051      /**
  2052       * <code>optional string hash = 2;</code>
  2053       */
  2054      public java.lang.String getHash() {
  2055        java.lang.Object ref = hash_;
  2056        if (ref instanceof java.lang.String) {
  2057          return (java.lang.String) ref;
  2058        } else {
  2059          com.google.protobuf.ByteString bs = 
  2060              (com.google.protobuf.ByteString) ref;
  2061          java.lang.String s = bs.toStringUtf8();
  2062          hash_ = s;
  2063          return s;
  2064        }
  2065      }
  2066      /**
  2067       * <code>optional string hash = 2;</code>
  2068       */
  2069      public com.google.protobuf.ByteString
  2070          getHashBytes() {
  2071        java.lang.Object ref = hash_;
  2072        if (ref instanceof java.lang.String) {
  2073          com.google.protobuf.ByteString b = 
  2074              com.google.protobuf.ByteString.copyFromUtf8(
  2075                  (java.lang.String) ref);
  2076          hash_ = b;
  2077          return b;
  2078        } else {
  2079          return (com.google.protobuf.ByteString) ref;
  2080        }
  2081      }
  2082  
  2083      private byte memoizedIsInitialized = -1;
  2084      public final boolean isInitialized() {
  2085        byte isInitialized = memoizedIsInitialized;
  2086        if (isInitialized == 1) return true;
  2087        if (isInitialized == 0) return false;
  2088  
  2089        memoizedIsInitialized = 1;
  2090        return true;
  2091      }
  2092  
  2093      public void writeTo(com.google.protobuf.CodedOutputStream output)
  2094                          throws java.io.IOException {
  2095        if (!getPasswordBytes().isEmpty()) {
  2096          com.google.protobuf.GeneratedMessageV3.writeString(output, 1, password_);
  2097        }
  2098        if (!getHashBytes().isEmpty()) {
  2099          com.google.protobuf.GeneratedMessageV3.writeString(output, 2, hash_);
  2100        }
  2101      }
  2102  
  2103      public int getSerializedSize() {
  2104        int size = memoizedSize;
  2105        if (size != -1) return size;
  2106  
  2107        size = 0;
  2108        if (!getPasswordBytes().isEmpty()) {
  2109          size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, password_);
  2110        }
  2111        if (!getHashBytes().isEmpty()) {
  2112          size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, hash_);
  2113        }
  2114        memoizedSize = size;
  2115        return size;
  2116      }
  2117  
  2118      private static final long serialVersionUID = 0L;
  2119      @java.lang.Override
  2120      public boolean equals(final java.lang.Object obj) {
  2121        if (obj == this) {
  2122         return true;
  2123        }
  2124        if (!(obj instanceof coprocess.CoprocessSessionState.BasicAuthData)) {
  2125          return super.equals(obj);
  2126        }
  2127        coprocess.CoprocessSessionState.BasicAuthData other = (coprocess.CoprocessSessionState.BasicAuthData) obj;
  2128  
  2129        boolean result = true;
  2130        result = result && getPassword()
  2131            .equals(other.getPassword());
  2132        result = result && getHash()
  2133            .equals(other.getHash());
  2134        return result;
  2135      }
  2136  
  2137      @java.lang.Override
  2138      public int hashCode() {
  2139        if (memoizedHashCode != 0) {
  2140          return memoizedHashCode;
  2141        }
  2142        int hash = 41;
  2143        hash = (19 * hash) + getDescriptorForType().hashCode();
  2144        hash = (37 * hash) + PASSWORD_FIELD_NUMBER;
  2145        hash = (53 * hash) + getPassword().hashCode();
  2146        hash = (37 * hash) + HASH_FIELD_NUMBER;
  2147        hash = (53 * hash) + getHash().hashCode();
  2148        hash = (29 * hash) + unknownFields.hashCode();
  2149        memoizedHashCode = hash;
  2150        return hash;
  2151      }
  2152  
  2153      public static coprocess.CoprocessSessionState.BasicAuthData parseFrom(
  2154          com.google.protobuf.ByteString data)
  2155          throws com.google.protobuf.InvalidProtocolBufferException {
  2156        return PARSER.parseFrom(data);
  2157      }
  2158      public static coprocess.CoprocessSessionState.BasicAuthData parseFrom(
  2159          com.google.protobuf.ByteString data,
  2160          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  2161          throws com.google.protobuf.InvalidProtocolBufferException {
  2162        return PARSER.parseFrom(data, extensionRegistry);
  2163      }
  2164      public static coprocess.CoprocessSessionState.BasicAuthData parseFrom(byte[] data)
  2165          throws com.google.protobuf.InvalidProtocolBufferException {
  2166        return PARSER.parseFrom(data);
  2167      }
  2168      public static coprocess.CoprocessSessionState.BasicAuthData parseFrom(
  2169          byte[] data,
  2170          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  2171          throws com.google.protobuf.InvalidProtocolBufferException {
  2172        return PARSER.parseFrom(data, extensionRegistry);
  2173      }
  2174      public static coprocess.CoprocessSessionState.BasicAuthData parseFrom(java.io.InputStream input)
  2175          throws java.io.IOException {
  2176        return com.google.protobuf.GeneratedMessageV3
  2177            .parseWithIOException(PARSER, input);
  2178      }
  2179      public static coprocess.CoprocessSessionState.BasicAuthData parseFrom(
  2180          java.io.InputStream input,
  2181          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  2182          throws java.io.IOException {
  2183        return com.google.protobuf.GeneratedMessageV3
  2184            .parseWithIOException(PARSER, input, extensionRegistry);
  2185      }
  2186      public static coprocess.CoprocessSessionState.BasicAuthData parseDelimitedFrom(java.io.InputStream input)
  2187          throws java.io.IOException {
  2188        return com.google.protobuf.GeneratedMessageV3
  2189            .parseDelimitedWithIOException(PARSER, input);
  2190      }
  2191      public static coprocess.CoprocessSessionState.BasicAuthData parseDelimitedFrom(
  2192          java.io.InputStream input,
  2193          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  2194          throws java.io.IOException {
  2195        return com.google.protobuf.GeneratedMessageV3
  2196            .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
  2197      }
  2198      public static coprocess.CoprocessSessionState.BasicAuthData parseFrom(
  2199          com.google.protobuf.CodedInputStream input)
  2200          throws java.io.IOException {
  2201        return com.google.protobuf.GeneratedMessageV3
  2202            .parseWithIOException(PARSER, input);
  2203      }
  2204      public static coprocess.CoprocessSessionState.BasicAuthData parseFrom(
  2205          com.google.protobuf.CodedInputStream input,
  2206          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  2207          throws java.io.IOException {
  2208        return com.google.protobuf.GeneratedMessageV3
  2209            .parseWithIOException(PARSER, input, extensionRegistry);
  2210      }
  2211  
  2212      public Builder newBuilderForType() { return newBuilder(); }
  2213      public static Builder newBuilder() {
  2214        return DEFAULT_INSTANCE.toBuilder();
  2215      }
  2216      public static Builder newBuilder(coprocess.CoprocessSessionState.BasicAuthData prototype) {
  2217        return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  2218      }
  2219      public Builder toBuilder() {
  2220        return this == DEFAULT_INSTANCE
  2221            ? new Builder() : new Builder().mergeFrom(this);
  2222      }
  2223  
  2224      @java.lang.Override
  2225      protected Builder newBuilderForType(
  2226          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
  2227        Builder builder = new Builder(parent);
  2228        return builder;
  2229      }
  2230      /**
  2231       * Protobuf type {@code coprocess.BasicAuthData}
  2232       */
  2233      public static final class Builder extends
  2234          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
  2235          // @@protoc_insertion_point(builder_implements:coprocess.BasicAuthData)
  2236          coprocess.CoprocessSessionState.BasicAuthDataOrBuilder {
  2237        public static final com.google.protobuf.Descriptors.Descriptor
  2238            getDescriptor() {
  2239          return coprocess.CoprocessSessionState.internal_static_coprocess_BasicAuthData_descriptor;
  2240        }
  2241  
  2242        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
  2243            internalGetFieldAccessorTable() {
  2244          return coprocess.CoprocessSessionState.internal_static_coprocess_BasicAuthData_fieldAccessorTable
  2245              .ensureFieldAccessorsInitialized(
  2246                  coprocess.CoprocessSessionState.BasicAuthData.class, coprocess.CoprocessSessionState.BasicAuthData.Builder.class);
  2247        }
  2248  
  2249        // Construct using coprocess.CoprocessSessionState.BasicAuthData.newBuilder()
  2250        private Builder() {
  2251          maybeForceBuilderInitialization();
  2252        }
  2253  
  2254        private Builder(
  2255            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
  2256          super(parent);
  2257          maybeForceBuilderInitialization();
  2258        }
  2259        private void maybeForceBuilderInitialization() {
  2260          if (com.google.protobuf.GeneratedMessageV3
  2261                  .alwaysUseFieldBuilders) {
  2262          }
  2263        }
  2264        public Builder clear() {
  2265          super.clear();
  2266          password_ = "";
  2267  
  2268          hash_ = "";
  2269  
  2270          return this;
  2271        }
  2272  
  2273        public com.google.protobuf.Descriptors.Descriptor
  2274            getDescriptorForType() {
  2275          return coprocess.CoprocessSessionState.internal_static_coprocess_BasicAuthData_descriptor;
  2276        }
  2277  
  2278        public coprocess.CoprocessSessionState.BasicAuthData getDefaultInstanceForType() {
  2279          return coprocess.CoprocessSessionState.BasicAuthData.getDefaultInstance();
  2280        }
  2281  
  2282        public coprocess.CoprocessSessionState.BasicAuthData build() {
  2283          coprocess.CoprocessSessionState.BasicAuthData result = buildPartial();
  2284          if (!result.isInitialized()) {
  2285            throw newUninitializedMessageException(result);
  2286          }
  2287          return result;
  2288        }
  2289  
  2290        public coprocess.CoprocessSessionState.BasicAuthData buildPartial() {
  2291          coprocess.CoprocessSessionState.BasicAuthData result = new coprocess.CoprocessSessionState.BasicAuthData(this);
  2292          result.password_ = password_;
  2293          result.hash_ = hash_;
  2294          onBuilt();
  2295          return result;
  2296        }
  2297  
  2298        public Builder clone() {
  2299          return (Builder) super.clone();
  2300        }
  2301        public Builder setField(
  2302            com.google.protobuf.Descriptors.FieldDescriptor field,
  2303            Object value) {
  2304          return (Builder) super.setField(field, value);
  2305        }
  2306        public Builder clearField(
  2307            com.google.protobuf.Descriptors.FieldDescriptor field) {
  2308          return (Builder) super.clearField(field);
  2309        }
  2310        public Builder clearOneof(
  2311            com.google.protobuf.Descriptors.OneofDescriptor oneof) {
  2312          return (Builder) super.clearOneof(oneof);
  2313        }
  2314        public Builder setRepeatedField(
  2315            com.google.protobuf.Descriptors.FieldDescriptor field,
  2316            int index, Object value) {
  2317          return (Builder) super.setRepeatedField(field, index, value);
  2318        }
  2319        public Builder addRepeatedField(
  2320            com.google.protobuf.Descriptors.FieldDescriptor field,
  2321            Object value) {
  2322          return (Builder) super.addRepeatedField(field, value);
  2323        }
  2324        public Builder mergeFrom(com.google.protobuf.Message other) {
  2325          if (other instanceof coprocess.CoprocessSessionState.BasicAuthData) {
  2326            return mergeFrom((coprocess.CoprocessSessionState.BasicAuthData)other);
  2327          } else {
  2328            super.mergeFrom(other);
  2329            return this;
  2330          }
  2331        }
  2332  
  2333        public Builder mergeFrom(coprocess.CoprocessSessionState.BasicAuthData other) {
  2334          if (other == coprocess.CoprocessSessionState.BasicAuthData.getDefaultInstance()) return this;
  2335          if (!other.getPassword().isEmpty()) {
  2336            password_ = other.password_;
  2337            onChanged();
  2338          }
  2339          if (!other.getHash().isEmpty()) {
  2340            hash_ = other.hash_;
  2341            onChanged();
  2342          }
  2343          onChanged();
  2344          return this;
  2345        }
  2346  
  2347        public final boolean isInitialized() {
  2348          return true;
  2349        }
  2350  
  2351        public Builder mergeFrom(
  2352            com.google.protobuf.CodedInputStream input,
  2353            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  2354            throws java.io.IOException {
  2355          coprocess.CoprocessSessionState.BasicAuthData parsedMessage = null;
  2356          try {
  2357            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
  2358          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
  2359            parsedMessage = (coprocess.CoprocessSessionState.BasicAuthData) e.getUnfinishedMessage();
  2360            throw e.unwrapIOException();
  2361          } finally {
  2362            if (parsedMessage != null) {
  2363              mergeFrom(parsedMessage);
  2364            }
  2365          }
  2366          return this;
  2367        }
  2368  
  2369        private java.lang.Object password_ = "";
  2370        /**
  2371         * <code>optional string password = 1;</code>
  2372         */
  2373        public java.lang.String getPassword() {
  2374          java.lang.Object ref = password_;
  2375          if (!(ref instanceof java.lang.String)) {
  2376            com.google.protobuf.ByteString bs =
  2377                (com.google.protobuf.ByteString) ref;
  2378            java.lang.String s = bs.toStringUtf8();
  2379            password_ = s;
  2380            return s;
  2381          } else {
  2382            return (java.lang.String) ref;
  2383          }
  2384        }
  2385        /**
  2386         * <code>optional string password = 1;</code>
  2387         */
  2388        public com.google.protobuf.ByteString
  2389            getPasswordBytes() {
  2390          java.lang.Object ref = password_;
  2391          if (ref instanceof String) {
  2392            com.google.protobuf.ByteString b = 
  2393                com.google.protobuf.ByteString.copyFromUtf8(
  2394                    (java.lang.String) ref);
  2395            password_ = b;
  2396            return b;
  2397          } else {
  2398            return (com.google.protobuf.ByteString) ref;
  2399          }
  2400        }
  2401        /**
  2402         * <code>optional string password = 1;</code>
  2403         */
  2404        public Builder setPassword(
  2405            java.lang.String value) {
  2406          if (value == null) {
  2407      throw new NullPointerException();
  2408    }
  2409    
  2410          password_ = value;
  2411          onChanged();
  2412          return this;
  2413        }
  2414        /**
  2415         * <code>optional string password = 1;</code>
  2416         */
  2417        public Builder clearPassword() {
  2418          
  2419          password_ = getDefaultInstance().getPassword();
  2420          onChanged();
  2421          return this;
  2422        }
  2423        /**
  2424         * <code>optional string password = 1;</code>
  2425         */
  2426        public Builder setPasswordBytes(
  2427            com.google.protobuf.ByteString value) {
  2428          if (value == null) {
  2429      throw new NullPointerException();
  2430    }
  2431    checkByteStringIsUtf8(value);
  2432          
  2433          password_ = value;
  2434          onChanged();
  2435          return this;
  2436        }
  2437  
  2438        private java.lang.Object hash_ = "";
  2439        /**
  2440         * <code>optional string hash = 2;</code>
  2441         */
  2442        public java.lang.String getHash() {
  2443          java.lang.Object ref = hash_;
  2444          if (!(ref instanceof java.lang.String)) {
  2445            com.google.protobuf.ByteString bs =
  2446                (com.google.protobuf.ByteString) ref;
  2447            java.lang.String s = bs.toStringUtf8();
  2448            hash_ = s;
  2449            return s;
  2450          } else {
  2451            return (java.lang.String) ref;
  2452          }
  2453        }
  2454        /**
  2455         * <code>optional string hash = 2;</code>
  2456         */
  2457        public com.google.protobuf.ByteString
  2458            getHashBytes() {
  2459          java.lang.Object ref = hash_;
  2460          if (ref instanceof String) {
  2461            com.google.protobuf.ByteString b = 
  2462                com.google.protobuf.ByteString.copyFromUtf8(
  2463                    (java.lang.String) ref);
  2464            hash_ = b;
  2465            return b;
  2466          } else {
  2467            return (com.google.protobuf.ByteString) ref;
  2468          }
  2469        }
  2470        /**
  2471         * <code>optional string hash = 2;</code>
  2472         */
  2473        public Builder setHash(
  2474            java.lang.String value) {
  2475          if (value == null) {
  2476      throw new NullPointerException();
  2477    }
  2478    
  2479          hash_ = value;
  2480          onChanged();
  2481          return this;
  2482        }
  2483        /**
  2484         * <code>optional string hash = 2;</code>
  2485         */
  2486        public Builder clearHash() {
  2487          
  2488          hash_ = getDefaultInstance().getHash();
  2489          onChanged();
  2490          return this;
  2491        }
  2492        /**
  2493         * <code>optional string hash = 2;</code>
  2494         */
  2495        public Builder setHashBytes(
  2496            com.google.protobuf.ByteString value) {
  2497          if (value == null) {
  2498      throw new NullPointerException();
  2499    }
  2500    checkByteStringIsUtf8(value);
  2501          
  2502          hash_ = value;
  2503          onChanged();
  2504          return this;
  2505        }
  2506        public final Builder setUnknownFields(
  2507            final com.google.protobuf.UnknownFieldSet unknownFields) {
  2508          return this;
  2509        }
  2510  
  2511        public final Builder mergeUnknownFields(
  2512            final com.google.protobuf.UnknownFieldSet unknownFields) {
  2513          return this;
  2514        }
  2515  
  2516  
  2517        // @@protoc_insertion_point(builder_scope:coprocess.BasicAuthData)
  2518      }
  2519  
  2520      // @@protoc_insertion_point(class_scope:coprocess.BasicAuthData)
  2521      private static final coprocess.CoprocessSessionState.BasicAuthData DEFAULT_INSTANCE;
  2522      static {
  2523        DEFAULT_INSTANCE = new coprocess.CoprocessSessionState.BasicAuthData();
  2524      }
  2525  
  2526      public static coprocess.CoprocessSessionState.BasicAuthData getDefaultInstance() {
  2527        return DEFAULT_INSTANCE;
  2528      }
  2529  
  2530      private static final com.google.protobuf.Parser<BasicAuthData>
  2531          PARSER = new com.google.protobuf.AbstractParser<BasicAuthData>() {
  2532        public BasicAuthData parsePartialFrom(
  2533            com.google.protobuf.CodedInputStream input,
  2534            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  2535            throws com.google.protobuf.InvalidProtocolBufferException {
  2536            return new BasicAuthData(input, extensionRegistry);
  2537        }
  2538      };
  2539  
  2540      public static com.google.protobuf.Parser<BasicAuthData> parser() {
  2541        return PARSER;
  2542      }
  2543  
  2544      @java.lang.Override
  2545      public com.google.protobuf.Parser<BasicAuthData> getParserForType() {
  2546        return PARSER;
  2547      }
  2548  
  2549      public coprocess.CoprocessSessionState.BasicAuthData getDefaultInstanceForType() {
  2550        return DEFAULT_INSTANCE;
  2551      }
  2552  
  2553    }
  2554  
  2555    public interface JWTDataOrBuilder extends
  2556        // @@protoc_insertion_point(interface_extends:coprocess.JWTData)
  2557        com.google.protobuf.MessageOrBuilder {
  2558  
  2559      /**
  2560       * <code>optional string secret = 1;</code>
  2561       */
  2562      java.lang.String getSecret();
  2563      /**
  2564       * <code>optional string secret = 1;</code>
  2565       */
  2566      com.google.protobuf.ByteString
  2567          getSecretBytes();
  2568    }
  2569    /**
  2570     * Protobuf type {@code coprocess.JWTData}
  2571     */
  2572    public  static final class JWTData extends
  2573        com.google.protobuf.GeneratedMessageV3 implements
  2574        // @@protoc_insertion_point(message_implements:coprocess.JWTData)
  2575        JWTDataOrBuilder {
  2576      // Use JWTData.newBuilder() to construct.
  2577      private JWTData(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
  2578        super(builder);
  2579      }
  2580      private JWTData() {
  2581        secret_ = "";
  2582      }
  2583  
  2584      @java.lang.Override
  2585      public final com.google.protobuf.UnknownFieldSet
  2586      getUnknownFields() {
  2587        return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
  2588      }
  2589      private JWTData(
  2590          com.google.protobuf.CodedInputStream input,
  2591          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  2592          throws com.google.protobuf.InvalidProtocolBufferException {
  2593        this();
  2594        int mutable_bitField0_ = 0;
  2595        try {
  2596          boolean done = false;
  2597          while (!done) {
  2598            int tag = input.readTag();
  2599            switch (tag) {
  2600              case 0:
  2601                done = true;
  2602                break;
  2603              default: {
  2604                if (!input.skipField(tag)) {
  2605                  done = true;
  2606                }
  2607                break;
  2608              }
  2609              case 10: {
  2610                java.lang.String s = input.readStringRequireUtf8();
  2611  
  2612                secret_ = s;
  2613                break;
  2614              }
  2615            }
  2616          }
  2617        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
  2618          throw e.setUnfinishedMessage(this);
  2619        } catch (java.io.IOException e) {
  2620          throw new com.google.protobuf.InvalidProtocolBufferException(
  2621              e).setUnfinishedMessage(this);
  2622        } finally {
  2623          makeExtensionsImmutable();
  2624        }
  2625      }
  2626      public static final com.google.protobuf.Descriptors.Descriptor
  2627          getDescriptor() {
  2628        return coprocess.CoprocessSessionState.internal_static_coprocess_JWTData_descriptor;
  2629      }
  2630  
  2631      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
  2632          internalGetFieldAccessorTable() {
  2633        return coprocess.CoprocessSessionState.internal_static_coprocess_JWTData_fieldAccessorTable
  2634            .ensureFieldAccessorsInitialized(
  2635                coprocess.CoprocessSessionState.JWTData.class, coprocess.CoprocessSessionState.JWTData.Builder.class);
  2636      }
  2637  
  2638      public static final int SECRET_FIELD_NUMBER = 1;
  2639      private volatile java.lang.Object secret_;
  2640      /**
  2641       * <code>optional string secret = 1;</code>
  2642       */
  2643      public java.lang.String getSecret() {
  2644        java.lang.Object ref = secret_;
  2645        if (ref instanceof java.lang.String) {
  2646          return (java.lang.String) ref;
  2647        } else {
  2648          com.google.protobuf.ByteString bs = 
  2649              (com.google.protobuf.ByteString) ref;
  2650          java.lang.String s = bs.toStringUtf8();
  2651          secret_ = s;
  2652          return s;
  2653        }
  2654      }
  2655      /**
  2656       * <code>optional string secret = 1;</code>
  2657       */
  2658      public com.google.protobuf.ByteString
  2659          getSecretBytes() {
  2660        java.lang.Object ref = secret_;
  2661        if (ref instanceof java.lang.String) {
  2662          com.google.protobuf.ByteString b = 
  2663              com.google.protobuf.ByteString.copyFromUtf8(
  2664                  (java.lang.String) ref);
  2665          secret_ = b;
  2666          return b;
  2667        } else {
  2668          return (com.google.protobuf.ByteString) ref;
  2669        }
  2670      }
  2671  
  2672      private byte memoizedIsInitialized = -1;
  2673      public final boolean isInitialized() {
  2674        byte isInitialized = memoizedIsInitialized;
  2675        if (isInitialized == 1) return true;
  2676        if (isInitialized == 0) return false;
  2677  
  2678        memoizedIsInitialized = 1;
  2679        return true;
  2680      }
  2681  
  2682      public void writeTo(com.google.protobuf.CodedOutputStream output)
  2683                          throws java.io.IOException {
  2684        if (!getSecretBytes().isEmpty()) {
  2685          com.google.protobuf.GeneratedMessageV3.writeString(output, 1, secret_);
  2686        }
  2687      }
  2688  
  2689      public int getSerializedSize() {
  2690        int size = memoizedSize;
  2691        if (size != -1) return size;
  2692  
  2693        size = 0;
  2694        if (!getSecretBytes().isEmpty()) {
  2695          size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, secret_);
  2696        }
  2697        memoizedSize = size;
  2698        return size;
  2699      }
  2700  
  2701      private static final long serialVersionUID = 0L;
  2702      @java.lang.Override
  2703      public boolean equals(final java.lang.Object obj) {
  2704        if (obj == this) {
  2705         return true;
  2706        }
  2707        if (!(obj instanceof coprocess.CoprocessSessionState.JWTData)) {
  2708          return super.equals(obj);
  2709        }
  2710        coprocess.CoprocessSessionState.JWTData other = (coprocess.CoprocessSessionState.JWTData) obj;
  2711  
  2712        boolean result = true;
  2713        result = result && getSecret()
  2714            .equals(other.getSecret());
  2715        return result;
  2716      }
  2717  
  2718      @java.lang.Override
  2719      public int hashCode() {
  2720        if (memoizedHashCode != 0) {
  2721          return memoizedHashCode;
  2722        }
  2723        int hash = 41;
  2724        hash = (19 * hash) + getDescriptorForType().hashCode();
  2725        hash = (37 * hash) + SECRET_FIELD_NUMBER;
  2726        hash = (53 * hash) + getSecret().hashCode();
  2727        hash = (29 * hash) + unknownFields.hashCode();
  2728        memoizedHashCode = hash;
  2729        return hash;
  2730      }
  2731  
  2732      public static coprocess.CoprocessSessionState.JWTData parseFrom(
  2733          com.google.protobuf.ByteString data)
  2734          throws com.google.protobuf.InvalidProtocolBufferException {
  2735        return PARSER.parseFrom(data);
  2736      }
  2737      public static coprocess.CoprocessSessionState.JWTData parseFrom(
  2738          com.google.protobuf.ByteString data,
  2739          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  2740          throws com.google.protobuf.InvalidProtocolBufferException {
  2741        return PARSER.parseFrom(data, extensionRegistry);
  2742      }
  2743      public static coprocess.CoprocessSessionState.JWTData parseFrom(byte[] data)
  2744          throws com.google.protobuf.InvalidProtocolBufferException {
  2745        return PARSER.parseFrom(data);
  2746      }
  2747      public static coprocess.CoprocessSessionState.JWTData parseFrom(
  2748          byte[] data,
  2749          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  2750          throws com.google.protobuf.InvalidProtocolBufferException {
  2751        return PARSER.parseFrom(data, extensionRegistry);
  2752      }
  2753      public static coprocess.CoprocessSessionState.JWTData parseFrom(java.io.InputStream input)
  2754          throws java.io.IOException {
  2755        return com.google.protobuf.GeneratedMessageV3
  2756            .parseWithIOException(PARSER, input);
  2757      }
  2758      public static coprocess.CoprocessSessionState.JWTData parseFrom(
  2759          java.io.InputStream input,
  2760          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  2761          throws java.io.IOException {
  2762        return com.google.protobuf.GeneratedMessageV3
  2763            .parseWithIOException(PARSER, input, extensionRegistry);
  2764      }
  2765      public static coprocess.CoprocessSessionState.JWTData parseDelimitedFrom(java.io.InputStream input)
  2766          throws java.io.IOException {
  2767        return com.google.protobuf.GeneratedMessageV3
  2768            .parseDelimitedWithIOException(PARSER, input);
  2769      }
  2770      public static coprocess.CoprocessSessionState.JWTData parseDelimitedFrom(
  2771          java.io.InputStream input,
  2772          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  2773          throws java.io.IOException {
  2774        return com.google.protobuf.GeneratedMessageV3
  2775            .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
  2776      }
  2777      public static coprocess.CoprocessSessionState.JWTData parseFrom(
  2778          com.google.protobuf.CodedInputStream input)
  2779          throws java.io.IOException {
  2780        return com.google.protobuf.GeneratedMessageV3
  2781            .parseWithIOException(PARSER, input);
  2782      }
  2783      public static coprocess.CoprocessSessionState.JWTData parseFrom(
  2784          com.google.protobuf.CodedInputStream input,
  2785          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  2786          throws java.io.IOException {
  2787        return com.google.protobuf.GeneratedMessageV3
  2788            .parseWithIOException(PARSER, input, extensionRegistry);
  2789      }
  2790  
  2791      public Builder newBuilderForType() { return newBuilder(); }
  2792      public static Builder newBuilder() {
  2793        return DEFAULT_INSTANCE.toBuilder();
  2794      }
  2795      public static Builder newBuilder(coprocess.CoprocessSessionState.JWTData prototype) {
  2796        return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  2797      }
  2798      public Builder toBuilder() {
  2799        return this == DEFAULT_INSTANCE
  2800            ? new Builder() : new Builder().mergeFrom(this);
  2801      }
  2802  
  2803      @java.lang.Override
  2804      protected Builder newBuilderForType(
  2805          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
  2806        Builder builder = new Builder(parent);
  2807        return builder;
  2808      }
  2809      /**
  2810       * Protobuf type {@code coprocess.JWTData}
  2811       */
  2812      public static final class Builder extends
  2813          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
  2814          // @@protoc_insertion_point(builder_implements:coprocess.JWTData)
  2815          coprocess.CoprocessSessionState.JWTDataOrBuilder {
  2816        public static final com.google.protobuf.Descriptors.Descriptor
  2817            getDescriptor() {
  2818          return coprocess.CoprocessSessionState.internal_static_coprocess_JWTData_descriptor;
  2819        }
  2820  
  2821        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
  2822            internalGetFieldAccessorTable() {
  2823          return coprocess.CoprocessSessionState.internal_static_coprocess_JWTData_fieldAccessorTable
  2824              .ensureFieldAccessorsInitialized(
  2825                  coprocess.CoprocessSessionState.JWTData.class, coprocess.CoprocessSessionState.JWTData.Builder.class);
  2826        }
  2827  
  2828        // Construct using coprocess.CoprocessSessionState.JWTData.newBuilder()
  2829        private Builder() {
  2830          maybeForceBuilderInitialization();
  2831        }
  2832  
  2833        private Builder(
  2834            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
  2835          super(parent);
  2836          maybeForceBuilderInitialization();
  2837        }
  2838        private void maybeForceBuilderInitialization() {
  2839          if (com.google.protobuf.GeneratedMessageV3
  2840                  .alwaysUseFieldBuilders) {
  2841          }
  2842        }
  2843        public Builder clear() {
  2844          super.clear();
  2845          secret_ = "";
  2846  
  2847          return this;
  2848        }
  2849  
  2850        public com.google.protobuf.Descriptors.Descriptor
  2851            getDescriptorForType() {
  2852          return coprocess.CoprocessSessionState.internal_static_coprocess_JWTData_descriptor;
  2853        }
  2854  
  2855        public coprocess.CoprocessSessionState.JWTData getDefaultInstanceForType() {
  2856          return coprocess.CoprocessSessionState.JWTData.getDefaultInstance();
  2857        }
  2858  
  2859        public coprocess.CoprocessSessionState.JWTData build() {
  2860          coprocess.CoprocessSessionState.JWTData result = buildPartial();
  2861          if (!result.isInitialized()) {
  2862            throw newUninitializedMessageException(result);
  2863          }
  2864          return result;
  2865        }
  2866  
  2867        public coprocess.CoprocessSessionState.JWTData buildPartial() {
  2868          coprocess.CoprocessSessionState.JWTData result = new coprocess.CoprocessSessionState.JWTData(this);
  2869          result.secret_ = secret_;
  2870          onBuilt();
  2871          return result;
  2872        }
  2873  
  2874        public Builder clone() {
  2875          return (Builder) super.clone();
  2876        }
  2877        public Builder setField(
  2878            com.google.protobuf.Descriptors.FieldDescriptor field,
  2879            Object value) {
  2880          return (Builder) super.setField(field, value);
  2881        }
  2882        public Builder clearField(
  2883            com.google.protobuf.Descriptors.FieldDescriptor field) {
  2884          return (Builder) super.clearField(field);
  2885        }
  2886        public Builder clearOneof(
  2887            com.google.protobuf.Descriptors.OneofDescriptor oneof) {
  2888          return (Builder) super.clearOneof(oneof);
  2889        }
  2890        public Builder setRepeatedField(
  2891            com.google.protobuf.Descriptors.FieldDescriptor field,
  2892            int index, Object value) {
  2893          return (Builder) super.setRepeatedField(field, index, value);
  2894        }
  2895        public Builder addRepeatedField(
  2896            com.google.protobuf.Descriptors.FieldDescriptor field,
  2897            Object value) {
  2898          return (Builder) super.addRepeatedField(field, value);
  2899        }
  2900        public Builder mergeFrom(com.google.protobuf.Message other) {
  2901          if (other instanceof coprocess.CoprocessSessionState.JWTData) {
  2902            return mergeFrom((coprocess.CoprocessSessionState.JWTData)other);
  2903          } else {
  2904            super.mergeFrom(other);
  2905            return this;
  2906          }
  2907        }
  2908  
  2909        public Builder mergeFrom(coprocess.CoprocessSessionState.JWTData other) {
  2910          if (other == coprocess.CoprocessSessionState.JWTData.getDefaultInstance()) return this;
  2911          if (!other.getSecret().isEmpty()) {
  2912            secret_ = other.secret_;
  2913            onChanged();
  2914          }
  2915          onChanged();
  2916          return this;
  2917        }
  2918  
  2919        public final boolean isInitialized() {
  2920          return true;
  2921        }
  2922  
  2923        public Builder mergeFrom(
  2924            com.google.protobuf.CodedInputStream input,
  2925            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  2926            throws java.io.IOException {
  2927          coprocess.CoprocessSessionState.JWTData parsedMessage = null;
  2928          try {
  2929            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
  2930          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
  2931            parsedMessage = (coprocess.CoprocessSessionState.JWTData) e.getUnfinishedMessage();
  2932            throw e.unwrapIOException();
  2933          } finally {
  2934            if (parsedMessage != null) {
  2935              mergeFrom(parsedMessage);
  2936            }
  2937          }
  2938          return this;
  2939        }
  2940  
  2941        private java.lang.Object secret_ = "";
  2942        /**
  2943         * <code>optional string secret = 1;</code>
  2944         */
  2945        public java.lang.String getSecret() {
  2946          java.lang.Object ref = secret_;
  2947          if (!(ref instanceof java.lang.String)) {
  2948            com.google.protobuf.ByteString bs =
  2949                (com.google.protobuf.ByteString) ref;
  2950            java.lang.String s = bs.toStringUtf8();
  2951            secret_ = s;
  2952            return s;
  2953          } else {
  2954            return (java.lang.String) ref;
  2955          }
  2956        }
  2957        /**
  2958         * <code>optional string secret = 1;</code>
  2959         */
  2960        public com.google.protobuf.ByteString
  2961            getSecretBytes() {
  2962          java.lang.Object ref = secret_;
  2963          if (ref instanceof String) {
  2964            com.google.protobuf.ByteString b = 
  2965                com.google.protobuf.ByteString.copyFromUtf8(
  2966                    (java.lang.String) ref);
  2967            secret_ = b;
  2968            return b;
  2969          } else {
  2970            return (com.google.protobuf.ByteString) ref;
  2971          }
  2972        }
  2973        /**
  2974         * <code>optional string secret = 1;</code>
  2975         */
  2976        public Builder setSecret(
  2977            java.lang.String value) {
  2978          if (value == null) {
  2979      throw new NullPointerException();
  2980    }
  2981    
  2982          secret_ = value;
  2983          onChanged();
  2984          return this;
  2985        }
  2986        /**
  2987         * <code>optional string secret = 1;</code>
  2988         */
  2989        public Builder clearSecret() {
  2990          
  2991          secret_ = getDefaultInstance().getSecret();
  2992          onChanged();
  2993          return this;
  2994        }
  2995        /**
  2996         * <code>optional string secret = 1;</code>
  2997         */
  2998        public Builder setSecretBytes(
  2999            com.google.protobuf.ByteString value) {
  3000          if (value == null) {
  3001      throw new NullPointerException();
  3002    }
  3003    checkByteStringIsUtf8(value);
  3004          
  3005          secret_ = value;
  3006          onChanged();
  3007          return this;
  3008        }
  3009        public final Builder setUnknownFields(
  3010            final com.google.protobuf.UnknownFieldSet unknownFields) {
  3011          return this;
  3012        }
  3013  
  3014        public final Builder mergeUnknownFields(
  3015            final com.google.protobuf.UnknownFieldSet unknownFields) {
  3016          return this;
  3017        }
  3018  
  3019  
  3020        // @@protoc_insertion_point(builder_scope:coprocess.JWTData)
  3021      }
  3022  
  3023      // @@protoc_insertion_point(class_scope:coprocess.JWTData)
  3024      private static final coprocess.CoprocessSessionState.JWTData DEFAULT_INSTANCE;
  3025      static {
  3026        DEFAULT_INSTANCE = new coprocess.CoprocessSessionState.JWTData();
  3027      }
  3028  
  3029      public static coprocess.CoprocessSessionState.JWTData getDefaultInstance() {
  3030        return DEFAULT_INSTANCE;
  3031      }
  3032  
  3033      private static final com.google.protobuf.Parser<JWTData>
  3034          PARSER = new com.google.protobuf.AbstractParser<JWTData>() {
  3035        public JWTData parsePartialFrom(
  3036            com.google.protobuf.CodedInputStream input,
  3037            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  3038            throws com.google.protobuf.InvalidProtocolBufferException {
  3039            return new JWTData(input, extensionRegistry);
  3040        }
  3041      };
  3042  
  3043      public static com.google.protobuf.Parser<JWTData> parser() {
  3044        return PARSER;
  3045      }
  3046  
  3047      @java.lang.Override
  3048      public com.google.protobuf.Parser<JWTData> getParserForType() {
  3049        return PARSER;
  3050      }
  3051  
  3052      public coprocess.CoprocessSessionState.JWTData getDefaultInstanceForType() {
  3053        return DEFAULT_INSTANCE;
  3054      }
  3055  
  3056    }
  3057  
  3058    public interface MonitorOrBuilder extends
  3059        // @@protoc_insertion_point(interface_extends:coprocess.Monitor)
  3060        com.google.protobuf.MessageOrBuilder {
  3061  
  3062      /**
  3063       * <code>repeated double trigger_limits = 1;</code>
  3064       */
  3065      java.util.List<java.lang.Double> getTriggerLimitsList();
  3066      /**
  3067       * <code>repeated double trigger_limits = 1;</code>
  3068       */
  3069      int getTriggerLimitsCount();
  3070      /**
  3071       * <code>repeated double trigger_limits = 1;</code>
  3072       */
  3073      double getTriggerLimits(int index);
  3074    }
  3075    /**
  3076     * Protobuf type {@code coprocess.Monitor}
  3077     */
  3078    public  static final class Monitor extends
  3079        com.google.protobuf.GeneratedMessageV3 implements
  3080        // @@protoc_insertion_point(message_implements:coprocess.Monitor)
  3081        MonitorOrBuilder {
  3082      // Use Monitor.newBuilder() to construct.
  3083      private Monitor(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
  3084        super(builder);
  3085      }
  3086      private Monitor() {
  3087        triggerLimits_ = java.util.Collections.emptyList();
  3088      }
  3089  
  3090      @java.lang.Override
  3091      public final com.google.protobuf.UnknownFieldSet
  3092      getUnknownFields() {
  3093        return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
  3094      }
  3095      private Monitor(
  3096          com.google.protobuf.CodedInputStream input,
  3097          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  3098          throws com.google.protobuf.InvalidProtocolBufferException {
  3099        this();
  3100        int mutable_bitField0_ = 0;
  3101        try {
  3102          boolean done = false;
  3103          while (!done) {
  3104            int tag = input.readTag();
  3105            switch (tag) {
  3106              case 0:
  3107                done = true;
  3108                break;
  3109              default: {
  3110                if (!input.skipField(tag)) {
  3111                  done = true;
  3112                }
  3113                break;
  3114              }
  3115              case 9: {
  3116                if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
  3117                  triggerLimits_ = new java.util.ArrayList<java.lang.Double>();
  3118                  mutable_bitField0_ |= 0x00000001;
  3119                }
  3120                triggerLimits_.add(input.readDouble());
  3121                break;
  3122              }
  3123              case 10: {
  3124                int length = input.readRawVarint32();
  3125                int limit = input.pushLimit(length);
  3126                if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) {
  3127                  triggerLimits_ = new java.util.ArrayList<java.lang.Double>();
  3128                  mutable_bitField0_ |= 0x00000001;
  3129                }
  3130                while (input.getBytesUntilLimit() > 0) {
  3131                  triggerLimits_.add(input.readDouble());
  3132                }
  3133                input.popLimit(limit);
  3134                break;
  3135              }
  3136            }
  3137          }
  3138        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
  3139          throw e.setUnfinishedMessage(this);
  3140        } catch (java.io.IOException e) {
  3141          throw new com.google.protobuf.InvalidProtocolBufferException(
  3142              e).setUnfinishedMessage(this);
  3143        } finally {
  3144          if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
  3145            triggerLimits_ = java.util.Collections.unmodifiableList(triggerLimits_);
  3146          }
  3147          makeExtensionsImmutable();
  3148        }
  3149      }
  3150      public static final com.google.protobuf.Descriptors.Descriptor
  3151          getDescriptor() {
  3152        return coprocess.CoprocessSessionState.internal_static_coprocess_Monitor_descriptor;
  3153      }
  3154  
  3155      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
  3156          internalGetFieldAccessorTable() {
  3157        return coprocess.CoprocessSessionState.internal_static_coprocess_Monitor_fieldAccessorTable
  3158            .ensureFieldAccessorsInitialized(
  3159                coprocess.CoprocessSessionState.Monitor.class, coprocess.CoprocessSessionState.Monitor.Builder.class);
  3160      }
  3161  
  3162      public static final int TRIGGER_LIMITS_FIELD_NUMBER = 1;
  3163      private java.util.List<java.lang.Double> triggerLimits_;
  3164      /**
  3165       * <code>repeated double trigger_limits = 1;</code>
  3166       */
  3167      public java.util.List<java.lang.Double>
  3168          getTriggerLimitsList() {
  3169        return triggerLimits_;
  3170      }
  3171      /**
  3172       * <code>repeated double trigger_limits = 1;</code>
  3173       */
  3174      public int getTriggerLimitsCount() {
  3175        return triggerLimits_.size();
  3176      }
  3177      /**
  3178       * <code>repeated double trigger_limits = 1;</code>
  3179       */
  3180      public double getTriggerLimits(int index) {
  3181        return triggerLimits_.get(index);
  3182      }
  3183      private int triggerLimitsMemoizedSerializedSize = -1;
  3184  
  3185      private byte memoizedIsInitialized = -1;
  3186      public final boolean isInitialized() {
  3187        byte isInitialized = memoizedIsInitialized;
  3188        if (isInitialized == 1) return true;
  3189        if (isInitialized == 0) return false;
  3190  
  3191        memoizedIsInitialized = 1;
  3192        return true;
  3193      }
  3194  
  3195      public void writeTo(com.google.protobuf.CodedOutputStream output)
  3196                          throws java.io.IOException {
  3197        getSerializedSize();
  3198        if (getTriggerLimitsList().size() > 0) {
  3199          output.writeUInt32NoTag(10);
  3200          output.writeUInt32NoTag(triggerLimitsMemoizedSerializedSize);
  3201        }
  3202        for (int i = 0; i < triggerLimits_.size(); i++) {
  3203          output.writeDoubleNoTag(triggerLimits_.get(i));
  3204        }
  3205      }
  3206  
  3207      public int getSerializedSize() {
  3208        int size = memoizedSize;
  3209        if (size != -1) return size;
  3210  
  3211        size = 0;
  3212        {
  3213          int dataSize = 0;
  3214          dataSize = 8 * getTriggerLimitsList().size();
  3215          size += dataSize;
  3216          if (!getTriggerLimitsList().isEmpty()) {
  3217            size += 1;
  3218            size += com.google.protobuf.CodedOutputStream
  3219                .computeInt32SizeNoTag(dataSize);
  3220          }
  3221          triggerLimitsMemoizedSerializedSize = dataSize;
  3222        }
  3223        memoizedSize = size;
  3224        return size;
  3225      }
  3226  
  3227      private static final long serialVersionUID = 0L;
  3228      @java.lang.Override
  3229      public boolean equals(final java.lang.Object obj) {
  3230        if (obj == this) {
  3231         return true;
  3232        }
  3233        if (!(obj instanceof coprocess.CoprocessSessionState.Monitor)) {
  3234          return super.equals(obj);
  3235        }
  3236        coprocess.CoprocessSessionState.Monitor other = (coprocess.CoprocessSessionState.Monitor) obj;
  3237  
  3238        boolean result = true;
  3239        result = result && getTriggerLimitsList()
  3240            .equals(other.getTriggerLimitsList());
  3241        return result;
  3242      }
  3243  
  3244      @java.lang.Override
  3245      public int hashCode() {
  3246        if (memoizedHashCode != 0) {
  3247          return memoizedHashCode;
  3248        }
  3249        int hash = 41;
  3250        hash = (19 * hash) + getDescriptorForType().hashCode();
  3251        if (getTriggerLimitsCount() > 0) {
  3252          hash = (37 * hash) + TRIGGER_LIMITS_FIELD_NUMBER;
  3253          hash = (53 * hash) + getTriggerLimitsList().hashCode();
  3254        }
  3255        hash = (29 * hash) + unknownFields.hashCode();
  3256        memoizedHashCode = hash;
  3257        return hash;
  3258      }
  3259  
  3260      public static coprocess.CoprocessSessionState.Monitor parseFrom(
  3261          com.google.protobuf.ByteString data)
  3262          throws com.google.protobuf.InvalidProtocolBufferException {
  3263        return PARSER.parseFrom(data);
  3264      }
  3265      public static coprocess.CoprocessSessionState.Monitor parseFrom(
  3266          com.google.protobuf.ByteString data,
  3267          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  3268          throws com.google.protobuf.InvalidProtocolBufferException {
  3269        return PARSER.parseFrom(data, extensionRegistry);
  3270      }
  3271      public static coprocess.CoprocessSessionState.Monitor parseFrom(byte[] data)
  3272          throws com.google.protobuf.InvalidProtocolBufferException {
  3273        return PARSER.parseFrom(data);
  3274      }
  3275      public static coprocess.CoprocessSessionState.Monitor parseFrom(
  3276          byte[] data,
  3277          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  3278          throws com.google.protobuf.InvalidProtocolBufferException {
  3279        return PARSER.parseFrom(data, extensionRegistry);
  3280      }
  3281      public static coprocess.CoprocessSessionState.Monitor parseFrom(java.io.InputStream input)
  3282          throws java.io.IOException {
  3283        return com.google.protobuf.GeneratedMessageV3
  3284            .parseWithIOException(PARSER, input);
  3285      }
  3286      public static coprocess.CoprocessSessionState.Monitor parseFrom(
  3287          java.io.InputStream input,
  3288          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  3289          throws java.io.IOException {
  3290        return com.google.protobuf.GeneratedMessageV3
  3291            .parseWithIOException(PARSER, input, extensionRegistry);
  3292      }
  3293      public static coprocess.CoprocessSessionState.Monitor parseDelimitedFrom(java.io.InputStream input)
  3294          throws java.io.IOException {
  3295        return com.google.protobuf.GeneratedMessageV3
  3296            .parseDelimitedWithIOException(PARSER, input);
  3297      }
  3298      public static coprocess.CoprocessSessionState.Monitor parseDelimitedFrom(
  3299          java.io.InputStream input,
  3300          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  3301          throws java.io.IOException {
  3302        return com.google.protobuf.GeneratedMessageV3
  3303            .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
  3304      }
  3305      public static coprocess.CoprocessSessionState.Monitor parseFrom(
  3306          com.google.protobuf.CodedInputStream input)
  3307          throws java.io.IOException {
  3308        return com.google.protobuf.GeneratedMessageV3
  3309            .parseWithIOException(PARSER, input);
  3310      }
  3311      public static coprocess.CoprocessSessionState.Monitor parseFrom(
  3312          com.google.protobuf.CodedInputStream input,
  3313          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  3314          throws java.io.IOException {
  3315        return com.google.protobuf.GeneratedMessageV3
  3316            .parseWithIOException(PARSER, input, extensionRegistry);
  3317      }
  3318  
  3319      public Builder newBuilderForType() { return newBuilder(); }
  3320      public static Builder newBuilder() {
  3321        return DEFAULT_INSTANCE.toBuilder();
  3322      }
  3323      public static Builder newBuilder(coprocess.CoprocessSessionState.Monitor prototype) {
  3324        return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  3325      }
  3326      public Builder toBuilder() {
  3327        return this == DEFAULT_INSTANCE
  3328            ? new Builder() : new Builder().mergeFrom(this);
  3329      }
  3330  
  3331      @java.lang.Override
  3332      protected Builder newBuilderForType(
  3333          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
  3334        Builder builder = new Builder(parent);
  3335        return builder;
  3336      }
  3337      /**
  3338       * Protobuf type {@code coprocess.Monitor}
  3339       */
  3340      public static final class Builder extends
  3341          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
  3342          // @@protoc_insertion_point(builder_implements:coprocess.Monitor)
  3343          coprocess.CoprocessSessionState.MonitorOrBuilder {
  3344        public static final com.google.protobuf.Descriptors.Descriptor
  3345            getDescriptor() {
  3346          return coprocess.CoprocessSessionState.internal_static_coprocess_Monitor_descriptor;
  3347        }
  3348  
  3349        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
  3350            internalGetFieldAccessorTable() {
  3351          return coprocess.CoprocessSessionState.internal_static_coprocess_Monitor_fieldAccessorTable
  3352              .ensureFieldAccessorsInitialized(
  3353                  coprocess.CoprocessSessionState.Monitor.class, coprocess.CoprocessSessionState.Monitor.Builder.class);
  3354        }
  3355  
  3356        // Construct using coprocess.CoprocessSessionState.Monitor.newBuilder()
  3357        private Builder() {
  3358          maybeForceBuilderInitialization();
  3359        }
  3360  
  3361        private Builder(
  3362            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
  3363          super(parent);
  3364          maybeForceBuilderInitialization();
  3365        }
  3366        private void maybeForceBuilderInitialization() {
  3367          if (com.google.protobuf.GeneratedMessageV3
  3368                  .alwaysUseFieldBuilders) {
  3369          }
  3370        }
  3371        public Builder clear() {
  3372          super.clear();
  3373          triggerLimits_ = java.util.Collections.emptyList();
  3374          bitField0_ = (bitField0_ & ~0x00000001);
  3375          return this;
  3376        }
  3377  
  3378        public com.google.protobuf.Descriptors.Descriptor
  3379            getDescriptorForType() {
  3380          return coprocess.CoprocessSessionState.internal_static_coprocess_Monitor_descriptor;
  3381        }
  3382  
  3383        public coprocess.CoprocessSessionState.Monitor getDefaultInstanceForType() {
  3384          return coprocess.CoprocessSessionState.Monitor.getDefaultInstance();
  3385        }
  3386  
  3387        public coprocess.CoprocessSessionState.Monitor build() {
  3388          coprocess.CoprocessSessionState.Monitor result = buildPartial();
  3389          if (!result.isInitialized()) {
  3390            throw newUninitializedMessageException(result);
  3391          }
  3392          return result;
  3393        }
  3394  
  3395        public coprocess.CoprocessSessionState.Monitor buildPartial() {
  3396          coprocess.CoprocessSessionState.Monitor result = new coprocess.CoprocessSessionState.Monitor(this);
  3397          int from_bitField0_ = bitField0_;
  3398          if (((bitField0_ & 0x00000001) == 0x00000001)) {
  3399            triggerLimits_ = java.util.Collections.unmodifiableList(triggerLimits_);
  3400            bitField0_ = (bitField0_ & ~0x00000001);
  3401          }
  3402          result.triggerLimits_ = triggerLimits_;
  3403          onBuilt();
  3404          return result;
  3405        }
  3406  
  3407        public Builder clone() {
  3408          return (Builder) super.clone();
  3409        }
  3410        public Builder setField(
  3411            com.google.protobuf.Descriptors.FieldDescriptor field,
  3412            Object value) {
  3413          return (Builder) super.setField(field, value);
  3414        }
  3415        public Builder clearField(
  3416            com.google.protobuf.Descriptors.FieldDescriptor field) {
  3417          return (Builder) super.clearField(field);
  3418        }
  3419        public Builder clearOneof(
  3420            com.google.protobuf.Descriptors.OneofDescriptor oneof) {
  3421          return (Builder) super.clearOneof(oneof);
  3422        }
  3423        public Builder setRepeatedField(
  3424            com.google.protobuf.Descriptors.FieldDescriptor field,
  3425            int index, Object value) {
  3426          return (Builder) super.setRepeatedField(field, index, value);
  3427        }
  3428        public Builder addRepeatedField(
  3429            com.google.protobuf.Descriptors.FieldDescriptor field,
  3430            Object value) {
  3431          return (Builder) super.addRepeatedField(field, value);
  3432        }
  3433        public Builder mergeFrom(com.google.protobuf.Message other) {
  3434          if (other instanceof coprocess.CoprocessSessionState.Monitor) {
  3435            return mergeFrom((coprocess.CoprocessSessionState.Monitor)other);
  3436          } else {
  3437            super.mergeFrom(other);
  3438            return this;
  3439          }
  3440        }
  3441  
  3442        public Builder mergeFrom(coprocess.CoprocessSessionState.Monitor other) {
  3443          if (other == coprocess.CoprocessSessionState.Monitor.getDefaultInstance()) return this;
  3444          if (!other.triggerLimits_.isEmpty()) {
  3445            if (triggerLimits_.isEmpty()) {
  3446              triggerLimits_ = other.triggerLimits_;
  3447              bitField0_ = (bitField0_ & ~0x00000001);
  3448            } else {
  3449              ensureTriggerLimitsIsMutable();
  3450              triggerLimits_.addAll(other.triggerLimits_);
  3451            }
  3452            onChanged();
  3453          }
  3454          onChanged();
  3455          return this;
  3456        }
  3457  
  3458        public final boolean isInitialized() {
  3459          return true;
  3460        }
  3461  
  3462        public Builder mergeFrom(
  3463            com.google.protobuf.CodedInputStream input,
  3464            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  3465            throws java.io.IOException {
  3466          coprocess.CoprocessSessionState.Monitor parsedMessage = null;
  3467          try {
  3468            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
  3469          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
  3470            parsedMessage = (coprocess.CoprocessSessionState.Monitor) e.getUnfinishedMessage();
  3471            throw e.unwrapIOException();
  3472          } finally {
  3473            if (parsedMessage != null) {
  3474              mergeFrom(parsedMessage);
  3475            }
  3476          }
  3477          return this;
  3478        }
  3479        private int bitField0_;
  3480  
  3481        private java.util.List<java.lang.Double> triggerLimits_ = java.util.Collections.emptyList();
  3482        private void ensureTriggerLimitsIsMutable() {
  3483          if (!((bitField0_ & 0x00000001) == 0x00000001)) {
  3484            triggerLimits_ = new java.util.ArrayList<java.lang.Double>(triggerLimits_);
  3485            bitField0_ |= 0x00000001;
  3486           }
  3487        }
  3488        /**
  3489         * <code>repeated double trigger_limits = 1;</code>
  3490         */
  3491        public java.util.List<java.lang.Double>
  3492            getTriggerLimitsList() {
  3493          return java.util.Collections.unmodifiableList(triggerLimits_);
  3494        }
  3495        /**
  3496         * <code>repeated double trigger_limits = 1;</code>
  3497         */
  3498        public int getTriggerLimitsCount() {
  3499          return triggerLimits_.size();
  3500        }
  3501        /**
  3502         * <code>repeated double trigger_limits = 1;</code>
  3503         */
  3504        public double getTriggerLimits(int index) {
  3505          return triggerLimits_.get(index);
  3506        }
  3507        /**
  3508         * <code>repeated double trigger_limits = 1;</code>
  3509         */
  3510        public Builder setTriggerLimits(
  3511            int index, double value) {
  3512          ensureTriggerLimitsIsMutable();
  3513          triggerLimits_.set(index, value);
  3514          onChanged();
  3515          return this;
  3516        }
  3517        /**
  3518         * <code>repeated double trigger_limits = 1;</code>
  3519         */
  3520        public Builder addTriggerLimits(double value) {
  3521          ensureTriggerLimitsIsMutable();
  3522          triggerLimits_.add(value);
  3523          onChanged();
  3524          return this;
  3525        }
  3526        /**
  3527         * <code>repeated double trigger_limits = 1;</code>
  3528         */
  3529        public Builder addAllTriggerLimits(
  3530            java.lang.Iterable<? extends java.lang.Double> values) {
  3531          ensureTriggerLimitsIsMutable();
  3532          com.google.protobuf.AbstractMessageLite.Builder.addAll(
  3533              values, triggerLimits_);
  3534          onChanged();
  3535          return this;
  3536        }
  3537        /**
  3538         * <code>repeated double trigger_limits = 1;</code>
  3539         */
  3540        public Builder clearTriggerLimits() {
  3541          triggerLimits_ = java.util.Collections.emptyList();
  3542          bitField0_ = (bitField0_ & ~0x00000001);
  3543          onChanged();
  3544          return this;
  3545        }
  3546        public final Builder setUnknownFields(
  3547            final com.google.protobuf.UnknownFieldSet unknownFields) {
  3548          return this;
  3549        }
  3550  
  3551        public final Builder mergeUnknownFields(
  3552            final com.google.protobuf.UnknownFieldSet unknownFields) {
  3553          return this;
  3554        }
  3555  
  3556  
  3557        // @@protoc_insertion_point(builder_scope:coprocess.Monitor)
  3558      }
  3559  
  3560      // @@protoc_insertion_point(class_scope:coprocess.Monitor)
  3561      private static final coprocess.CoprocessSessionState.Monitor DEFAULT_INSTANCE;
  3562      static {
  3563        DEFAULT_INSTANCE = new coprocess.CoprocessSessionState.Monitor();
  3564      }
  3565  
  3566      public static coprocess.CoprocessSessionState.Monitor getDefaultInstance() {
  3567        return DEFAULT_INSTANCE;
  3568      }
  3569  
  3570      private static final com.google.protobuf.Parser<Monitor>
  3571          PARSER = new com.google.protobuf.AbstractParser<Monitor>() {
  3572        public Monitor parsePartialFrom(
  3573            com.google.protobuf.CodedInputStream input,
  3574            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  3575            throws com.google.protobuf.InvalidProtocolBufferException {
  3576            return new Monitor(input, extensionRegistry);
  3577        }
  3578      };
  3579  
  3580      public static com.google.protobuf.Parser<Monitor> parser() {
  3581        return PARSER;
  3582      }
  3583  
  3584      @java.lang.Override
  3585      public com.google.protobuf.Parser<Monitor> getParserForType() {
  3586        return PARSER;
  3587      }
  3588  
  3589      public coprocess.CoprocessSessionState.Monitor getDefaultInstanceForType() {
  3590        return DEFAULT_INSTANCE;
  3591      }
  3592  
  3593    }
  3594  
  3595    public interface SessionStateOrBuilder extends
  3596        // @@protoc_insertion_point(interface_extends:coprocess.SessionState)
  3597        com.google.protobuf.MessageOrBuilder {
  3598  
  3599      /**
  3600       * <code>optional int64 last_check = 1;</code>
  3601       */
  3602      long getLastCheck();
  3603  
  3604      /**
  3605       * <code>optional double allowance = 2;</code>
  3606       */
  3607      double getAllowance();
  3608  
  3609      /**
  3610       * <code>optional double rate = 3;</code>
  3611       */
  3612      double getRate();
  3613  
  3614      /**
  3615       * <code>optional double per = 4;</code>
  3616       */
  3617      double getPer();
  3618  
  3619      /**
  3620       * <code>optional int64 expires = 5;</code>
  3621       */
  3622      long getExpires();
  3623  
  3624      /**
  3625       * <code>optional int64 quota_max = 6;</code>
  3626       */
  3627      long getQuotaMax();
  3628  
  3629      /**
  3630       * <code>optional int64 quota_renews = 7;</code>
  3631       */
  3632      long getQuotaRenews();
  3633  
  3634      /**
  3635       * <code>optional int64 quota_remaining = 8;</code>
  3636       */
  3637      long getQuotaRemaining();
  3638  
  3639      /**
  3640       * <code>optional int64 quota_renewal_rate = 9;</code>
  3641       */
  3642      long getQuotaRenewalRate();
  3643  
  3644      /**
  3645       * <code>map&lt;string, .coprocess.AccessDefinition&gt; access_rights = 10;</code>
  3646       */
  3647      int getAccessRightsCount();
  3648      /**
  3649       * <code>map&lt;string, .coprocess.AccessDefinition&gt; access_rights = 10;</code>
  3650       */
  3651      boolean containsAccessRights(
  3652          java.lang.String key);
  3653      /**
  3654       * Use {@link #getAccessRightsMap()} instead.
  3655       */
  3656      @java.lang.Deprecated
  3657      java.util.Map<java.lang.String, coprocess.CoprocessSessionState.AccessDefinition>
  3658      getAccessRights();
  3659      /**
  3660       * <code>map&lt;string, .coprocess.AccessDefinition&gt; access_rights = 10;</code>
  3661       */
  3662      java.util.Map<java.lang.String, coprocess.CoprocessSessionState.AccessDefinition>
  3663      getAccessRightsMap();
  3664      /**
  3665       * <code>map&lt;string, .coprocess.AccessDefinition&gt; access_rights = 10;</code>
  3666       */
  3667  
  3668      coprocess.CoprocessSessionState.AccessDefinition getAccessRightsOrDefault(
  3669          java.lang.String key,
  3670          coprocess.CoprocessSessionState.AccessDefinition defaultValue);
  3671      /**
  3672       * <code>map&lt;string, .coprocess.AccessDefinition&gt; access_rights = 10;</code>
  3673       */
  3674  
  3675      coprocess.CoprocessSessionState.AccessDefinition getAccessRightsOrThrow(
  3676          java.lang.String key);
  3677  
  3678      /**
  3679       * <code>optional string org_id = 11;</code>
  3680       */
  3681      java.lang.String getOrgId();
  3682      /**
  3683       * <code>optional string org_id = 11;</code>
  3684       */
  3685      com.google.protobuf.ByteString
  3686          getOrgIdBytes();
  3687  
  3688      /**
  3689       * <code>optional string oauth_client_id = 12;</code>
  3690       */
  3691      java.lang.String getOauthClientId();
  3692      /**
  3693       * <code>optional string oauth_client_id = 12;</code>
  3694       */
  3695      com.google.protobuf.ByteString
  3696          getOauthClientIdBytes();
  3697  
  3698      /**
  3699       * <code>map&lt;string, string&gt; oauth_keys = 13;</code>
  3700       */
  3701      int getOauthKeysCount();
  3702      /**
  3703       * <code>map&lt;string, string&gt; oauth_keys = 13;</code>
  3704       */
  3705      boolean containsOauthKeys(
  3706          java.lang.String key);
  3707      /**
  3708       * Use {@link #getOauthKeysMap()} instead.
  3709       */
  3710      @java.lang.Deprecated
  3711      java.util.Map<java.lang.String, java.lang.String>
  3712      getOauthKeys();
  3713      /**
  3714       * <code>map&lt;string, string&gt; oauth_keys = 13;</code>
  3715       */
  3716      java.util.Map<java.lang.String, java.lang.String>
  3717      getOauthKeysMap();
  3718      /**
  3719       * <code>map&lt;string, string&gt; oauth_keys = 13;</code>
  3720       */
  3721  
  3722      java.lang.String getOauthKeysOrDefault(
  3723          java.lang.String key,
  3724          java.lang.String defaultValue);
  3725      /**
  3726       * <code>map&lt;string, string&gt; oauth_keys = 13;</code>
  3727       */
  3728  
  3729      java.lang.String getOauthKeysOrThrow(
  3730          java.lang.String key);
  3731  
  3732      /**
  3733       * <code>optional .coprocess.BasicAuthData basic_auth_data = 14;</code>
  3734       */
  3735      boolean hasBasicAuthData();
  3736      /**
  3737       * <code>optional .coprocess.BasicAuthData basic_auth_data = 14;</code>
  3738       */
  3739      coprocess.CoprocessSessionState.BasicAuthData getBasicAuthData();
  3740      /**
  3741       * <code>optional .coprocess.BasicAuthData basic_auth_data = 14;</code>
  3742       */
  3743      coprocess.CoprocessSessionState.BasicAuthDataOrBuilder getBasicAuthDataOrBuilder();
  3744  
  3745      /**
  3746       * <code>optional .coprocess.JWTData jwt_data = 15;</code>
  3747       */
  3748      boolean hasJwtData();
  3749      /**
  3750       * <code>optional .coprocess.JWTData jwt_data = 15;</code>
  3751       */
  3752      coprocess.CoprocessSessionState.JWTData getJwtData();
  3753      /**
  3754       * <code>optional .coprocess.JWTData jwt_data = 15;</code>
  3755       */
  3756      coprocess.CoprocessSessionState.JWTDataOrBuilder getJwtDataOrBuilder();
  3757  
  3758      /**
  3759       * <code>optional bool hmac_enabled = 16;</code>
  3760       */
  3761      boolean getHmacEnabled();
  3762  
  3763      /**
  3764       * <code>optional string hmac_secret = 17;</code>
  3765       */
  3766      java.lang.String getHmacSecret();
  3767      /**
  3768       * <code>optional string hmac_secret = 17;</code>
  3769       */
  3770      com.google.protobuf.ByteString
  3771          getHmacSecretBytes();
  3772  
  3773      /**
  3774       * <code>optional bool is_inactive = 18;</code>
  3775       */
  3776      boolean getIsInactive();
  3777  
  3778      /**
  3779       * <code>optional string apply_policy_id = 19;</code>
  3780       */
  3781      java.lang.String getApplyPolicyId();
  3782      /**
  3783       * <code>optional string apply_policy_id = 19;</code>
  3784       */
  3785      com.google.protobuf.ByteString
  3786          getApplyPolicyIdBytes();
  3787  
  3788      /**
  3789       * <code>optional int64 data_expires = 20;</code>
  3790       */
  3791      long getDataExpires();
  3792  
  3793      /**
  3794       * <code>optional .coprocess.Monitor monitor = 21;</code>
  3795       */
  3796      boolean hasMonitor();
  3797      /**
  3798       * <code>optional .coprocess.Monitor monitor = 21;</code>
  3799       */
  3800      coprocess.CoprocessSessionState.Monitor getMonitor();
  3801      /**
  3802       * <code>optional .coprocess.Monitor monitor = 21;</code>
  3803       */
  3804      coprocess.CoprocessSessionState.MonitorOrBuilder getMonitorOrBuilder();
  3805  
  3806      /**
  3807       * <code>optional bool enable_detailed_recording = 22;</code>
  3808       */
  3809      boolean getEnableDetailedRecording();
  3810  
  3811      /**
  3812       * <code>optional string metadata = 23;</code>
  3813       */
  3814      java.lang.String getMetadata();
  3815      /**
  3816       * <code>optional string metadata = 23;</code>
  3817       */
  3818      com.google.protobuf.ByteString
  3819          getMetadataBytes();
  3820  
  3821      /**
  3822       * <code>repeated string tags = 24;</code>
  3823       */
  3824      java.util.List<java.lang.String>
  3825          getTagsList();
  3826      /**
  3827       * <code>repeated string tags = 24;</code>
  3828       */
  3829      int getTagsCount();
  3830      /**
  3831       * <code>repeated string tags = 24;</code>
  3832       */
  3833      java.lang.String getTags(int index);
  3834      /**
  3835       * <code>repeated string tags = 24;</code>
  3836       */
  3837      com.google.protobuf.ByteString
  3838          getTagsBytes(int index);
  3839  
  3840      /**
  3841       * <code>optional string alias = 25;</code>
  3842       */
  3843      java.lang.String getAlias();
  3844      /**
  3845       * <code>optional string alias = 25;</code>
  3846       */
  3847      com.google.protobuf.ByteString
  3848          getAliasBytes();
  3849  
  3850      /**
  3851       * <code>optional string last_updated = 26;</code>
  3852       */
  3853      java.lang.String getLastUpdated();
  3854      /**
  3855       * <code>optional string last_updated = 26;</code>
  3856       */
  3857      com.google.protobuf.ByteString
  3858          getLastUpdatedBytes();
  3859  
  3860      /**
  3861       * <code>optional int64 id_extractor_deadline = 27;</code>
  3862       */
  3863      long getIdExtractorDeadline();
  3864  
  3865      /**
  3866       * <code>optional int64 session_lifetime = 28;</code>
  3867       */
  3868      long getSessionLifetime();
  3869    }
  3870    /**
  3871     * Protobuf type {@code coprocess.SessionState}
  3872     */
  3873    public  static final class SessionState extends
  3874        com.google.protobuf.GeneratedMessageV3 implements
  3875        // @@protoc_insertion_point(message_implements:coprocess.SessionState)
  3876        SessionStateOrBuilder {
  3877      // Use SessionState.newBuilder() to construct.
  3878      private SessionState(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
  3879        super(builder);
  3880      }
  3881      private SessionState() {
  3882        lastCheck_ = 0L;
  3883        allowance_ = 0D;
  3884        rate_ = 0D;
  3885        per_ = 0D;
  3886        expires_ = 0L;
  3887        quotaMax_ = 0L;
  3888        quotaRenews_ = 0L;
  3889        quotaRemaining_ = 0L;
  3890        quotaRenewalRate_ = 0L;
  3891        orgId_ = "";
  3892        oauthClientId_ = "";
  3893        hmacEnabled_ = false;
  3894        hmacSecret_ = "";
  3895        isInactive_ = false;
  3896        applyPolicyId_ = "";
  3897        dataExpires_ = 0L;
  3898        enableDetailedRecording_ = false;
  3899        metadata_ = "";
  3900        tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
  3901        alias_ = "";
  3902        lastUpdated_ = "";
  3903        idExtractorDeadline_ = 0L;
  3904        sessionLifetime_ = 0L;
  3905      }
  3906  
  3907      @java.lang.Override
  3908      public final com.google.protobuf.UnknownFieldSet
  3909      getUnknownFields() {
  3910        return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
  3911      }
  3912      private SessionState(
  3913          com.google.protobuf.CodedInputStream input,
  3914          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  3915          throws com.google.protobuf.InvalidProtocolBufferException {
  3916        this();
  3917        int mutable_bitField0_ = 0;
  3918        try {
  3919          boolean done = false;
  3920          while (!done) {
  3921            int tag = input.readTag();
  3922            switch (tag) {
  3923              case 0:
  3924                done = true;
  3925                break;
  3926              default: {
  3927                if (!input.skipField(tag)) {
  3928                  done = true;
  3929                }
  3930                break;
  3931              }
  3932              case 8: {
  3933  
  3934                lastCheck_ = input.readInt64();
  3935                break;
  3936              }
  3937              case 17: {
  3938  
  3939                allowance_ = input.readDouble();
  3940                break;
  3941              }
  3942              case 25: {
  3943  
  3944                rate_ = input.readDouble();
  3945                break;
  3946              }
  3947              case 33: {
  3948  
  3949                per_ = input.readDouble();
  3950                break;
  3951              }
  3952              case 40: {
  3953  
  3954                expires_ = input.readInt64();
  3955                break;
  3956              }
  3957              case 48: {
  3958  
  3959                quotaMax_ = input.readInt64();
  3960                break;
  3961              }
  3962              case 56: {
  3963  
  3964                quotaRenews_ = input.readInt64();
  3965                break;
  3966              }
  3967              case 64: {
  3968  
  3969                quotaRemaining_ = input.readInt64();
  3970                break;
  3971              }
  3972              case 72: {
  3973  
  3974                quotaRenewalRate_ = input.readInt64();
  3975                break;
  3976              }
  3977              case 82: {
  3978                if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
  3979                  accessRights_ = com.google.protobuf.MapField.newMapField(
  3980                      AccessRightsDefaultEntryHolder.defaultEntry);
  3981                  mutable_bitField0_ |= 0x00000200;
  3982                }
  3983                com.google.protobuf.MapEntry<java.lang.String, coprocess.CoprocessSessionState.AccessDefinition>
  3984                accessRights__ = input.readMessage(
  3985                    AccessRightsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
  3986                accessRights_.getMutableMap().put(
  3987                    accessRights__.getKey(), accessRights__.getValue());
  3988                break;
  3989              }
  3990              case 90: {
  3991                java.lang.String s = input.readStringRequireUtf8();
  3992  
  3993                orgId_ = s;
  3994                break;
  3995              }
  3996              case 98: {
  3997                java.lang.String s = input.readStringRequireUtf8();
  3998  
  3999                oauthClientId_ = s;
  4000                break;
  4001              }
  4002              case 106: {
  4003                if (!((mutable_bitField0_ & 0x00001000) == 0x00001000)) {
  4004                  oauthKeys_ = com.google.protobuf.MapField.newMapField(
  4005                      OauthKeysDefaultEntryHolder.defaultEntry);
  4006                  mutable_bitField0_ |= 0x00001000;
  4007                }
  4008                com.google.protobuf.MapEntry<java.lang.String, java.lang.String>
  4009                oauthKeys__ = input.readMessage(
  4010                    OauthKeysDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
  4011                oauthKeys_.getMutableMap().put(
  4012                    oauthKeys__.getKey(), oauthKeys__.getValue());
  4013                break;
  4014              }
  4015              case 114: {
  4016                coprocess.CoprocessSessionState.BasicAuthData.Builder subBuilder = null;
  4017                if (basicAuthData_ != null) {
  4018                  subBuilder = basicAuthData_.toBuilder();
  4019                }
  4020                basicAuthData_ = input.readMessage(coprocess.CoprocessSessionState.BasicAuthData.parser(), extensionRegistry);
  4021                if (subBuilder != null) {
  4022                  subBuilder.mergeFrom(basicAuthData_);
  4023                  basicAuthData_ = subBuilder.buildPartial();
  4024                }
  4025  
  4026                break;
  4027              }
  4028              case 122: {
  4029                coprocess.CoprocessSessionState.JWTData.Builder subBuilder = null;
  4030                if (jwtData_ != null) {
  4031                  subBuilder = jwtData_.toBuilder();
  4032                }
  4033                jwtData_ = input.readMessage(coprocess.CoprocessSessionState.JWTData.parser(), extensionRegistry);
  4034                if (subBuilder != null) {
  4035                  subBuilder.mergeFrom(jwtData_);
  4036                  jwtData_ = subBuilder.buildPartial();
  4037                }
  4038  
  4039                break;
  4040              }
  4041              case 128: {
  4042  
  4043                hmacEnabled_ = input.readBool();
  4044                break;
  4045              }
  4046              case 138: {
  4047                java.lang.String s = input.readStringRequireUtf8();
  4048  
  4049                hmacSecret_ = s;
  4050                break;
  4051              }
  4052              case 144: {
  4053  
  4054                isInactive_ = input.readBool();
  4055                break;
  4056              }
  4057              case 154: {
  4058                java.lang.String s = input.readStringRequireUtf8();
  4059  
  4060                applyPolicyId_ = s;
  4061                break;
  4062              }
  4063              case 160: {
  4064  
  4065                dataExpires_ = input.readInt64();
  4066                break;
  4067              }
  4068              case 170: {
  4069                coprocess.CoprocessSessionState.Monitor.Builder subBuilder = null;
  4070                if (monitor_ != null) {
  4071                  subBuilder = monitor_.toBuilder();
  4072                }
  4073                monitor_ = input.readMessage(coprocess.CoprocessSessionState.Monitor.parser(), extensionRegistry);
  4074                if (subBuilder != null) {
  4075                  subBuilder.mergeFrom(monitor_);
  4076                  monitor_ = subBuilder.buildPartial();
  4077                }
  4078  
  4079                break;
  4080              }
  4081              case 176: {
  4082  
  4083                enableDetailedRecording_ = input.readBool();
  4084                break;
  4085              }
  4086              case 186: {
  4087                java.lang.String s = input.readStringRequireUtf8();
  4088  
  4089                metadata_ = s;
  4090                break;
  4091              }
  4092              case 194: {
  4093                java.lang.String s = input.readStringRequireUtf8();
  4094                if (!((mutable_bitField0_ & 0x00800000) == 0x00800000)) {
  4095                  tags_ = new com.google.protobuf.LazyStringArrayList();
  4096                  mutable_bitField0_ |= 0x00800000;
  4097                }
  4098                tags_.add(s);
  4099                break;
  4100              }
  4101              case 202: {
  4102                java.lang.String s = input.readStringRequireUtf8();
  4103  
  4104                alias_ = s;
  4105                break;
  4106              }
  4107              case 210: {
  4108                java.lang.String s = input.readStringRequireUtf8();
  4109  
  4110                lastUpdated_ = s;
  4111                break;
  4112              }
  4113              case 216: {
  4114  
  4115                idExtractorDeadline_ = input.readInt64();
  4116                break;
  4117              }
  4118              case 224: {
  4119  
  4120                sessionLifetime_ = input.readInt64();
  4121                break;
  4122              }
  4123            }
  4124          }
  4125        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
  4126          throw e.setUnfinishedMessage(this);
  4127        } catch (java.io.IOException e) {
  4128          throw new com.google.protobuf.InvalidProtocolBufferException(
  4129              e).setUnfinishedMessage(this);
  4130        } finally {
  4131          if (((mutable_bitField0_ & 0x00800000) == 0x00800000)) {
  4132            tags_ = tags_.getUnmodifiableView();
  4133          }
  4134          makeExtensionsImmutable();
  4135        }
  4136      }
  4137      public static final com.google.protobuf.Descriptors.Descriptor
  4138          getDescriptor() {
  4139        return coprocess.CoprocessSessionState.internal_static_coprocess_SessionState_descriptor;
  4140      }
  4141  
  4142      @SuppressWarnings({"rawtypes"})
  4143      protected com.google.protobuf.MapField internalGetMapField(
  4144          int number) {
  4145        switch (number) {
  4146          case 10:
  4147            return internalGetAccessRights();
  4148          case 13:
  4149            return internalGetOauthKeys();
  4150          default:
  4151            throw new RuntimeException(
  4152                "Invalid map field number: " + number);
  4153        }
  4154      }
  4155      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
  4156          internalGetFieldAccessorTable() {
  4157        return coprocess.CoprocessSessionState.internal_static_coprocess_SessionState_fieldAccessorTable
  4158            .ensureFieldAccessorsInitialized(
  4159                coprocess.CoprocessSessionState.SessionState.class, coprocess.CoprocessSessionState.SessionState.Builder.class);
  4160      }
  4161  
  4162      private int bitField0_;
  4163      public static final int LAST_CHECK_FIELD_NUMBER = 1;
  4164      private long lastCheck_;
  4165      /**
  4166       * <code>optional int64 last_check = 1;</code>
  4167       */
  4168      public long getLastCheck() {
  4169        return lastCheck_;
  4170      }
  4171  
  4172      public static final int ALLOWANCE_FIELD_NUMBER = 2;
  4173      private double allowance_;
  4174      /**
  4175       * <code>optional double allowance = 2;</code>
  4176       */
  4177      public double getAllowance() {
  4178        return allowance_;
  4179      }
  4180  
  4181      public static final int RATE_FIELD_NUMBER = 3;
  4182      private double rate_;
  4183      /**
  4184       * <code>optional double rate = 3;</code>
  4185       */
  4186      public double getRate() {
  4187        return rate_;
  4188      }
  4189  
  4190      public static final int PER_FIELD_NUMBER = 4;
  4191      private double per_;
  4192      /**
  4193       * <code>optional double per = 4;</code>
  4194       */
  4195      public double getPer() {
  4196        return per_;
  4197      }
  4198  
  4199      public static final int EXPIRES_FIELD_NUMBER = 5;
  4200      private long expires_;
  4201      /**
  4202       * <code>optional int64 expires = 5;</code>
  4203       */
  4204      public long getExpires() {
  4205        return expires_;
  4206      }
  4207  
  4208      public static final int QUOTA_MAX_FIELD_NUMBER = 6;
  4209      private long quotaMax_;
  4210      /**
  4211       * <code>optional int64 quota_max = 6;</code>
  4212       */
  4213      public long getQuotaMax() {
  4214        return quotaMax_;
  4215      }
  4216  
  4217      public static final int QUOTA_RENEWS_FIELD_NUMBER = 7;
  4218      private long quotaRenews_;
  4219      /**
  4220       * <code>optional int64 quota_renews = 7;</code>
  4221       */
  4222      public long getQuotaRenews() {
  4223        return quotaRenews_;
  4224      }
  4225  
  4226      public static final int QUOTA_REMAINING_FIELD_NUMBER = 8;
  4227      private long quotaRemaining_;
  4228      /**
  4229       * <code>optional int64 quota_remaining = 8;</code>
  4230       */
  4231      public long getQuotaRemaining() {
  4232        return quotaRemaining_;
  4233      }
  4234  
  4235      public static final int QUOTA_RENEWAL_RATE_FIELD_NUMBER = 9;
  4236      private long quotaRenewalRate_;
  4237      /**
  4238       * <code>optional int64 quota_renewal_rate = 9;</code>
  4239       */
  4240      public long getQuotaRenewalRate() {
  4241        return quotaRenewalRate_;
  4242      }
  4243  
  4244      public static final int ACCESS_RIGHTS_FIELD_NUMBER = 10;
  4245      private static final class AccessRightsDefaultEntryHolder {
  4246        static final com.google.protobuf.MapEntry<
  4247            java.lang.String, coprocess.CoprocessSessionState.AccessDefinition> defaultEntry =
  4248                com.google.protobuf.MapEntry
  4249                .<java.lang.String, coprocess.CoprocessSessionState.AccessDefinition>newDefaultInstance(
  4250                    coprocess.CoprocessSessionState.internal_static_coprocess_SessionState_AccessRightsEntry_descriptor, 
  4251                    com.google.protobuf.WireFormat.FieldType.STRING,
  4252                    "",
  4253                    com.google.protobuf.WireFormat.FieldType.MESSAGE,
  4254                    coprocess.CoprocessSessionState.AccessDefinition.getDefaultInstance());
  4255      }
  4256      private com.google.protobuf.MapField<
  4257          java.lang.String, coprocess.CoprocessSessionState.AccessDefinition> accessRights_;
  4258      private com.google.protobuf.MapField<java.lang.String, coprocess.CoprocessSessionState.AccessDefinition>
  4259      internalGetAccessRights() {
  4260        if (accessRights_ == null) {
  4261          return com.google.protobuf.MapField.emptyMapField(
  4262              AccessRightsDefaultEntryHolder.defaultEntry);
  4263        }
  4264        return accessRights_;
  4265      }
  4266  
  4267      public int getAccessRightsCount() {
  4268        return internalGetAccessRights().getMap().size();
  4269      }
  4270      /**
  4271       * <code>map&lt;string, .coprocess.AccessDefinition&gt; access_rights = 10;</code>
  4272       */
  4273  
  4274      public boolean containsAccessRights(
  4275          java.lang.String key) {
  4276        if (key == null) { throw new java.lang.NullPointerException(); }
  4277        return internalGetAccessRights().getMap().containsKey(key);
  4278      }
  4279      /**
  4280       * Use {@link #getAccessRightsMap()} instead.
  4281       */
  4282      @java.lang.Deprecated
  4283      public java.util.Map<java.lang.String, coprocess.CoprocessSessionState.AccessDefinition> getAccessRights() {
  4284        return getAccessRightsMap();
  4285      }
  4286      /**
  4287       * <code>map&lt;string, .coprocess.AccessDefinition&gt; access_rights = 10;</code>
  4288       */
  4289  
  4290      public java.util.Map<java.lang.String, coprocess.CoprocessSessionState.AccessDefinition> getAccessRightsMap() {
  4291        return internalGetAccessRights().getMap();
  4292      }
  4293      /**
  4294       * <code>map&lt;string, .coprocess.AccessDefinition&gt; access_rights = 10;</code>
  4295       */
  4296  
  4297      public coprocess.CoprocessSessionState.AccessDefinition getAccessRightsOrDefault(
  4298          java.lang.String key,
  4299          coprocess.CoprocessSessionState.AccessDefinition defaultValue) {
  4300        if (key == null) { throw new java.lang.NullPointerException(); }
  4301        java.util.Map<java.lang.String, coprocess.CoprocessSessionState.AccessDefinition> map =
  4302            internalGetAccessRights().getMap();
  4303        return map.containsKey(key) ? map.get(key) : defaultValue;
  4304      }
  4305      /**
  4306       * <code>map&lt;string, .coprocess.AccessDefinition&gt; access_rights = 10;</code>
  4307       */
  4308  
  4309      public coprocess.CoprocessSessionState.AccessDefinition getAccessRightsOrThrow(
  4310          java.lang.String key) {
  4311        if (key == null) { throw new java.lang.NullPointerException(); }
  4312        java.util.Map<java.lang.String, coprocess.CoprocessSessionState.AccessDefinition> map =
  4313            internalGetAccessRights().getMap();
  4314        if (!map.containsKey(key)) {
  4315          throw new java.lang.IllegalArgumentException();
  4316        }
  4317        return map.get(key);
  4318      }
  4319  
  4320      public static final int ORG_ID_FIELD_NUMBER = 11;
  4321      private volatile java.lang.Object orgId_;
  4322      /**
  4323       * <code>optional string org_id = 11;</code>
  4324       */
  4325      public java.lang.String getOrgId() {
  4326        java.lang.Object ref = orgId_;
  4327        if (ref instanceof java.lang.String) {
  4328          return (java.lang.String) ref;
  4329        } else {
  4330          com.google.protobuf.ByteString bs = 
  4331              (com.google.protobuf.ByteString) ref;
  4332          java.lang.String s = bs.toStringUtf8();
  4333          orgId_ = s;
  4334          return s;
  4335        }
  4336      }
  4337      /**
  4338       * <code>optional string org_id = 11;</code>
  4339       */
  4340      public com.google.protobuf.ByteString
  4341          getOrgIdBytes() {
  4342        java.lang.Object ref = orgId_;
  4343        if (ref instanceof java.lang.String) {
  4344          com.google.protobuf.ByteString b = 
  4345              com.google.protobuf.ByteString.copyFromUtf8(
  4346                  (java.lang.String) ref);
  4347          orgId_ = b;
  4348          return b;
  4349        } else {
  4350          return (com.google.protobuf.ByteString) ref;
  4351        }
  4352      }
  4353  
  4354      public static final int OAUTH_CLIENT_ID_FIELD_NUMBER = 12;
  4355      private volatile java.lang.Object oauthClientId_;
  4356      /**
  4357       * <code>optional string oauth_client_id = 12;</code>
  4358       */
  4359      public java.lang.String getOauthClientId() {
  4360        java.lang.Object ref = oauthClientId_;
  4361        if (ref instanceof java.lang.String) {
  4362          return (java.lang.String) ref;
  4363        } else {
  4364          com.google.protobuf.ByteString bs = 
  4365              (com.google.protobuf.ByteString) ref;
  4366          java.lang.String s = bs.toStringUtf8();
  4367          oauthClientId_ = s;
  4368          return s;
  4369        }
  4370      }
  4371      /**
  4372       * <code>optional string oauth_client_id = 12;</code>
  4373       */
  4374      public com.google.protobuf.ByteString
  4375          getOauthClientIdBytes() {
  4376        java.lang.Object ref = oauthClientId_;
  4377        if (ref instanceof java.lang.String) {
  4378          com.google.protobuf.ByteString b = 
  4379              com.google.protobuf.ByteString.copyFromUtf8(
  4380                  (java.lang.String) ref);
  4381          oauthClientId_ = b;
  4382          return b;
  4383        } else {
  4384          return (com.google.protobuf.ByteString) ref;
  4385        }
  4386      }
  4387  
  4388      public static final int OAUTH_KEYS_FIELD_NUMBER = 13;
  4389      private static final class OauthKeysDefaultEntryHolder {
  4390        static final com.google.protobuf.MapEntry<
  4391            java.lang.String, java.lang.String> defaultEntry =
  4392                com.google.protobuf.MapEntry
  4393                .<java.lang.String, java.lang.String>newDefaultInstance(
  4394                    coprocess.CoprocessSessionState.internal_static_coprocess_SessionState_OauthKeysEntry_descriptor, 
  4395                    com.google.protobuf.WireFormat.FieldType.STRING,
  4396                    "",
  4397                    com.google.protobuf.WireFormat.FieldType.STRING,
  4398                    "");
  4399      }
  4400      private com.google.protobuf.MapField<
  4401          java.lang.String, java.lang.String> oauthKeys_;
  4402      private com.google.protobuf.MapField<java.lang.String, java.lang.String>
  4403      internalGetOauthKeys() {
  4404        if (oauthKeys_ == null) {
  4405          return com.google.protobuf.MapField.emptyMapField(
  4406              OauthKeysDefaultEntryHolder.defaultEntry);
  4407        }
  4408        return oauthKeys_;
  4409      }
  4410  
  4411      public int getOauthKeysCount() {
  4412        return internalGetOauthKeys().getMap().size();
  4413      }
  4414      /**
  4415       * <code>map&lt;string, string&gt; oauth_keys = 13;</code>
  4416       */
  4417  
  4418      public boolean containsOauthKeys(
  4419          java.lang.String key) {
  4420        if (key == null) { throw new java.lang.NullPointerException(); }
  4421        return internalGetOauthKeys().getMap().containsKey(key);
  4422      }
  4423      /**
  4424       * Use {@link #getOauthKeysMap()} instead.
  4425       */
  4426      @java.lang.Deprecated
  4427      public java.util.Map<java.lang.String, java.lang.String> getOauthKeys() {
  4428        return getOauthKeysMap();
  4429      }
  4430      /**
  4431       * <code>map&lt;string, string&gt; oauth_keys = 13;</code>
  4432       */
  4433  
  4434      public java.util.Map<java.lang.String, java.lang.String> getOauthKeysMap() {
  4435        return internalGetOauthKeys().getMap();
  4436      }
  4437      /**
  4438       * <code>map&lt;string, string&gt; oauth_keys = 13;</code>
  4439       */
  4440  
  4441      public java.lang.String getOauthKeysOrDefault(
  4442          java.lang.String key,
  4443          java.lang.String defaultValue) {
  4444        if (key == null) { throw new java.lang.NullPointerException(); }
  4445        java.util.Map<java.lang.String, java.lang.String> map =
  4446            internalGetOauthKeys().getMap();
  4447        return map.containsKey(key) ? map.get(key) : defaultValue;
  4448      }
  4449      /**
  4450       * <code>map&lt;string, string&gt; oauth_keys = 13;</code>
  4451       */
  4452  
  4453      public java.lang.String getOauthKeysOrThrow(
  4454          java.lang.String key) {
  4455        if (key == null) { throw new java.lang.NullPointerException(); }
  4456        java.util.Map<java.lang.String, java.lang.String> map =
  4457            internalGetOauthKeys().getMap();
  4458        if (!map.containsKey(key)) {
  4459          throw new java.lang.IllegalArgumentException();
  4460        }
  4461        return map.get(key);
  4462      }
  4463  
  4464      public static final int BASIC_AUTH_DATA_FIELD_NUMBER = 14;
  4465      private coprocess.CoprocessSessionState.BasicAuthData basicAuthData_;
  4466      /**
  4467       * <code>optional .coprocess.BasicAuthData basic_auth_data = 14;</code>
  4468       */
  4469      public boolean hasBasicAuthData() {
  4470        return basicAuthData_ != null;
  4471      }
  4472      /**
  4473       * <code>optional .coprocess.BasicAuthData basic_auth_data = 14;</code>
  4474       */
  4475      public coprocess.CoprocessSessionState.BasicAuthData getBasicAuthData() {
  4476        return basicAuthData_ == null ? coprocess.CoprocessSessionState.BasicAuthData.getDefaultInstance() : basicAuthData_;
  4477      }
  4478      /**
  4479       * <code>optional .coprocess.BasicAuthData basic_auth_data = 14;</code>
  4480       */
  4481      public coprocess.CoprocessSessionState.BasicAuthDataOrBuilder getBasicAuthDataOrBuilder() {
  4482        return getBasicAuthData();
  4483      }
  4484  
  4485      public static final int JWT_DATA_FIELD_NUMBER = 15;
  4486      private coprocess.CoprocessSessionState.JWTData jwtData_;
  4487      /**
  4488       * <code>optional .coprocess.JWTData jwt_data = 15;</code>
  4489       */
  4490      public boolean hasJwtData() {
  4491        return jwtData_ != null;
  4492      }
  4493      /**
  4494       * <code>optional .coprocess.JWTData jwt_data = 15;</code>
  4495       */
  4496      public coprocess.CoprocessSessionState.JWTData getJwtData() {
  4497        return jwtData_ == null ? coprocess.CoprocessSessionState.JWTData.getDefaultInstance() : jwtData_;
  4498      }
  4499      /**
  4500       * <code>optional .coprocess.JWTData jwt_data = 15;</code>
  4501       */
  4502      public coprocess.CoprocessSessionState.JWTDataOrBuilder getJwtDataOrBuilder() {
  4503        return getJwtData();
  4504      }
  4505  
  4506      public static final int HMAC_ENABLED_FIELD_NUMBER = 16;
  4507      private boolean hmacEnabled_;
  4508      /**
  4509       * <code>optional bool hmac_enabled = 16;</code>
  4510       */
  4511      public boolean getHmacEnabled() {
  4512        return hmacEnabled_;
  4513      }
  4514  
  4515      public static final int HMAC_SECRET_FIELD_NUMBER = 17;
  4516      private volatile java.lang.Object hmacSecret_;
  4517      /**
  4518       * <code>optional string hmac_secret = 17;</code>
  4519       */
  4520      public java.lang.String getHmacSecret() {
  4521        java.lang.Object ref = hmacSecret_;
  4522        if (ref instanceof java.lang.String) {
  4523          return (java.lang.String) ref;
  4524        } else {
  4525          com.google.protobuf.ByteString bs = 
  4526              (com.google.protobuf.ByteString) ref;
  4527          java.lang.String s = bs.toStringUtf8();
  4528          hmacSecret_ = s;
  4529          return s;
  4530        }
  4531      }
  4532      /**
  4533       * <code>optional string hmac_secret = 17;</code>
  4534       */
  4535      public com.google.protobuf.ByteString
  4536          getHmacSecretBytes() {
  4537        java.lang.Object ref = hmacSecret_;
  4538        if (ref instanceof java.lang.String) {
  4539          com.google.protobuf.ByteString b = 
  4540              com.google.protobuf.ByteString.copyFromUtf8(
  4541                  (java.lang.String) ref);
  4542          hmacSecret_ = b;
  4543          return b;
  4544        } else {
  4545          return (com.google.protobuf.ByteString) ref;
  4546        }
  4547      }
  4548  
  4549      public static final int IS_INACTIVE_FIELD_NUMBER = 18;
  4550      private boolean isInactive_;
  4551      /**
  4552       * <code>optional bool is_inactive = 18;</code>
  4553       */
  4554      public boolean getIsInactive() {
  4555        return isInactive_;
  4556      }
  4557  
  4558      public static final int APPLY_POLICY_ID_FIELD_NUMBER = 19;
  4559      private volatile java.lang.Object applyPolicyId_;
  4560      /**
  4561       * <code>optional string apply_policy_id = 19;</code>
  4562       */
  4563      public java.lang.String getApplyPolicyId() {
  4564        java.lang.Object ref = applyPolicyId_;
  4565        if (ref instanceof java.lang.String) {
  4566          return (java.lang.String) ref;
  4567        } else {
  4568          com.google.protobuf.ByteString bs = 
  4569              (com.google.protobuf.ByteString) ref;
  4570          java.lang.String s = bs.toStringUtf8();
  4571          applyPolicyId_ = s;
  4572          return s;
  4573        }
  4574      }
  4575      /**
  4576       * <code>optional string apply_policy_id = 19;</code>
  4577       */
  4578      public com.google.protobuf.ByteString
  4579          getApplyPolicyIdBytes() {
  4580        java.lang.Object ref = applyPolicyId_;
  4581        if (ref instanceof java.lang.String) {
  4582          com.google.protobuf.ByteString b = 
  4583              com.google.protobuf.ByteString.copyFromUtf8(
  4584                  (java.lang.String) ref);
  4585          applyPolicyId_ = b;
  4586          return b;
  4587        } else {
  4588          return (com.google.protobuf.ByteString) ref;
  4589        }
  4590      }
  4591  
  4592      public static final int DATA_EXPIRES_FIELD_NUMBER = 20;
  4593      private long dataExpires_;
  4594      /**
  4595       * <code>optional int64 data_expires = 20;</code>
  4596       */
  4597      public long getDataExpires() {
  4598        return dataExpires_;
  4599      }
  4600  
  4601      public static final int MONITOR_FIELD_NUMBER = 21;
  4602      private coprocess.CoprocessSessionState.Monitor monitor_;
  4603      /**
  4604       * <code>optional .coprocess.Monitor monitor = 21;</code>
  4605       */
  4606      public boolean hasMonitor() {
  4607        return monitor_ != null;
  4608      }
  4609      /**
  4610       * <code>optional .coprocess.Monitor monitor = 21;</code>
  4611       */
  4612      public coprocess.CoprocessSessionState.Monitor getMonitor() {
  4613        return monitor_ == null ? coprocess.CoprocessSessionState.Monitor.getDefaultInstance() : monitor_;
  4614      }
  4615      /**
  4616       * <code>optional .coprocess.Monitor monitor = 21;</code>
  4617       */
  4618      public coprocess.CoprocessSessionState.MonitorOrBuilder getMonitorOrBuilder() {
  4619        return getMonitor();
  4620      }
  4621  
  4622      public static final int ENABLE_DETAILED_RECORDING_FIELD_NUMBER = 22;
  4623      private boolean enableDetailedRecording_;
  4624      /**
  4625       * <code>optional bool enable_detailed_recording = 22;</code>
  4626       */
  4627      public boolean getEnableDetailedRecording() {
  4628        return enableDetailedRecording_;
  4629      }
  4630  
  4631      public static final int METADATA_FIELD_NUMBER = 23;
  4632      private volatile java.lang.Object metadata_;
  4633      /**
  4634       * <code>optional string metadata = 23;</code>
  4635       */
  4636      public java.lang.String getMetadata() {
  4637        java.lang.Object ref = metadata_;
  4638        if (ref instanceof java.lang.String) {
  4639          return (java.lang.String) ref;
  4640        } else {
  4641          com.google.protobuf.ByteString bs = 
  4642              (com.google.protobuf.ByteString) ref;
  4643          java.lang.String s = bs.toStringUtf8();
  4644          metadata_ = s;
  4645          return s;
  4646        }
  4647      }
  4648      /**
  4649       * <code>optional string metadata = 23;</code>
  4650       */
  4651      public com.google.protobuf.ByteString
  4652          getMetadataBytes() {
  4653        java.lang.Object ref = metadata_;
  4654        if (ref instanceof java.lang.String) {
  4655          com.google.protobuf.ByteString b = 
  4656              com.google.protobuf.ByteString.copyFromUtf8(
  4657                  (java.lang.String) ref);
  4658          metadata_ = b;
  4659          return b;
  4660        } else {
  4661          return (com.google.protobuf.ByteString) ref;
  4662        }
  4663      }
  4664  
  4665      public static final int TAGS_FIELD_NUMBER = 24;
  4666      private com.google.protobuf.LazyStringList tags_;
  4667      /**
  4668       * <code>repeated string tags = 24;</code>
  4669       */
  4670      public com.google.protobuf.ProtocolStringList
  4671          getTagsList() {
  4672        return tags_;
  4673      }
  4674      /**
  4675       * <code>repeated string tags = 24;</code>
  4676       */
  4677      public int getTagsCount() {
  4678        return tags_.size();
  4679      }
  4680      /**
  4681       * <code>repeated string tags = 24;</code>
  4682       */
  4683      public java.lang.String getTags(int index) {
  4684        return tags_.get(index);
  4685      }
  4686      /**
  4687       * <code>repeated string tags = 24;</code>
  4688       */
  4689      public com.google.protobuf.ByteString
  4690          getTagsBytes(int index) {
  4691        return tags_.getByteString(index);
  4692      }
  4693  
  4694      public static final int ALIAS_FIELD_NUMBER = 25;
  4695      private volatile java.lang.Object alias_;
  4696      /**
  4697       * <code>optional string alias = 25;</code>
  4698       */
  4699      public java.lang.String getAlias() {
  4700        java.lang.Object ref = alias_;
  4701        if (ref instanceof java.lang.String) {
  4702          return (java.lang.String) ref;
  4703        } else {
  4704          com.google.protobuf.ByteString bs = 
  4705              (com.google.protobuf.ByteString) ref;
  4706          java.lang.String s = bs.toStringUtf8();
  4707          alias_ = s;
  4708          return s;
  4709        }
  4710      }
  4711      /**
  4712       * <code>optional string alias = 25;</code>
  4713       */
  4714      public com.google.protobuf.ByteString
  4715          getAliasBytes() {
  4716        java.lang.Object ref = alias_;
  4717        if (ref instanceof java.lang.String) {
  4718          com.google.protobuf.ByteString b = 
  4719              com.google.protobuf.ByteString.copyFromUtf8(
  4720                  (java.lang.String) ref);
  4721          alias_ = b;
  4722          return b;
  4723        } else {
  4724          return (com.google.protobuf.ByteString) ref;
  4725        }
  4726      }
  4727  
  4728      public static final int LAST_UPDATED_FIELD_NUMBER = 26;
  4729      private volatile java.lang.Object lastUpdated_;
  4730      /**
  4731       * <code>optional string last_updated = 26;</code>
  4732       */
  4733      public java.lang.String getLastUpdated() {
  4734        java.lang.Object ref = lastUpdated_;
  4735        if (ref instanceof java.lang.String) {
  4736          return (java.lang.String) ref;
  4737        } else {
  4738          com.google.protobuf.ByteString bs = 
  4739              (com.google.protobuf.ByteString) ref;
  4740          java.lang.String s = bs.toStringUtf8();
  4741          lastUpdated_ = s;
  4742          return s;
  4743        }
  4744      }
  4745      /**
  4746       * <code>optional string last_updated = 26;</code>
  4747       */
  4748      public com.google.protobuf.ByteString
  4749          getLastUpdatedBytes() {
  4750        java.lang.Object ref = lastUpdated_;
  4751        if (ref instanceof java.lang.String) {
  4752          com.google.protobuf.ByteString b = 
  4753              com.google.protobuf.ByteString.copyFromUtf8(
  4754                  (java.lang.String) ref);
  4755          lastUpdated_ = b;
  4756          return b;
  4757        } else {
  4758          return (com.google.protobuf.ByteString) ref;
  4759        }
  4760      }
  4761  
  4762      public static final int ID_EXTRACTOR_DEADLINE_FIELD_NUMBER = 27;
  4763      private long idExtractorDeadline_;
  4764      /**
  4765       * <code>optional int64 id_extractor_deadline = 27;</code>
  4766       */
  4767      public long getIdExtractorDeadline() {
  4768        return idExtractorDeadline_;
  4769      }
  4770  
  4771      public static final int SESSION_LIFETIME_FIELD_NUMBER = 28;
  4772      private long sessionLifetime_;
  4773      /**
  4774       * <code>optional int64 session_lifetime = 28;</code>
  4775       */
  4776      public long getSessionLifetime() {
  4777        return sessionLifetime_;
  4778      }
  4779  
  4780      private byte memoizedIsInitialized = -1;
  4781      public final boolean isInitialized() {
  4782        byte isInitialized = memoizedIsInitialized;
  4783        if (isInitialized == 1) return true;
  4784        if (isInitialized == 0) return false;
  4785  
  4786        memoizedIsInitialized = 1;
  4787        return true;
  4788      }
  4789  
  4790      public void writeTo(com.google.protobuf.CodedOutputStream output)
  4791                          throws java.io.IOException {
  4792        if (lastCheck_ != 0L) {
  4793          output.writeInt64(1, lastCheck_);
  4794        }
  4795        if (allowance_ != 0D) {
  4796          output.writeDouble(2, allowance_);
  4797        }
  4798        if (rate_ != 0D) {
  4799          output.writeDouble(3, rate_);
  4800        }
  4801        if (per_ != 0D) {
  4802          output.writeDouble(4, per_);
  4803        }
  4804        if (expires_ != 0L) {
  4805          output.writeInt64(5, expires_);
  4806        }
  4807        if (quotaMax_ != 0L) {
  4808          output.writeInt64(6, quotaMax_);
  4809        }
  4810        if (quotaRenews_ != 0L) {
  4811          output.writeInt64(7, quotaRenews_);
  4812        }
  4813        if (quotaRemaining_ != 0L) {
  4814          output.writeInt64(8, quotaRemaining_);
  4815        }
  4816        if (quotaRenewalRate_ != 0L) {
  4817          output.writeInt64(9, quotaRenewalRate_);
  4818        }
  4819        com.google.protobuf.GeneratedMessageV3
  4820          .serializeStringMapTo(
  4821            output,
  4822            internalGetAccessRights(),
  4823            AccessRightsDefaultEntryHolder.defaultEntry,
  4824            10);
  4825        if (!getOrgIdBytes().isEmpty()) {
  4826          com.google.protobuf.GeneratedMessageV3.writeString(output, 11, orgId_);
  4827        }
  4828        if (!getOauthClientIdBytes().isEmpty()) {
  4829          com.google.protobuf.GeneratedMessageV3.writeString(output, 12, oauthClientId_);
  4830        }
  4831        com.google.protobuf.GeneratedMessageV3
  4832          .serializeStringMapTo(
  4833            output,
  4834            internalGetOauthKeys(),
  4835            OauthKeysDefaultEntryHolder.defaultEntry,
  4836            13);
  4837        if (basicAuthData_ != null) {
  4838          output.writeMessage(14, getBasicAuthData());
  4839        }
  4840        if (jwtData_ != null) {
  4841          output.writeMessage(15, getJwtData());
  4842        }
  4843        if (hmacEnabled_ != false) {
  4844          output.writeBool(16, hmacEnabled_);
  4845        }
  4846        if (!getHmacSecretBytes().isEmpty()) {
  4847          com.google.protobuf.GeneratedMessageV3.writeString(output, 17, hmacSecret_);
  4848        }
  4849        if (isInactive_ != false) {
  4850          output.writeBool(18, isInactive_);
  4851        }
  4852        if (!getApplyPolicyIdBytes().isEmpty()) {
  4853          com.google.protobuf.GeneratedMessageV3.writeString(output, 19, applyPolicyId_);
  4854        }
  4855        if (dataExpires_ != 0L) {
  4856          output.writeInt64(20, dataExpires_);
  4857        }
  4858        if (monitor_ != null) {
  4859          output.writeMessage(21, getMonitor());
  4860        }
  4861        if (enableDetailedRecording_ != false) {
  4862          output.writeBool(22, enableDetailedRecording_);
  4863        }
  4864        if (!getMetadataBytes().isEmpty()) {
  4865          com.google.protobuf.GeneratedMessageV3.writeString(output, 23, metadata_);
  4866        }
  4867        for (int i = 0; i < tags_.size(); i++) {
  4868          com.google.protobuf.GeneratedMessageV3.writeString(output, 24, tags_.getRaw(i));
  4869        }
  4870        if (!getAliasBytes().isEmpty()) {
  4871          com.google.protobuf.GeneratedMessageV3.writeString(output, 25, alias_);
  4872        }
  4873        if (!getLastUpdatedBytes().isEmpty()) {
  4874          com.google.protobuf.GeneratedMessageV3.writeString(output, 26, lastUpdated_);
  4875        }
  4876        if (idExtractorDeadline_ != 0L) {
  4877          output.writeInt64(27, idExtractorDeadline_);
  4878        }
  4879        if (sessionLifetime_ != 0L) {
  4880          output.writeInt64(28, sessionLifetime_);
  4881        }
  4882      }
  4883  
  4884      public int getSerializedSize() {
  4885        int size = memoizedSize;
  4886        if (size != -1) return size;
  4887  
  4888        size = 0;
  4889        if (lastCheck_ != 0L) {
  4890          size += com.google.protobuf.CodedOutputStream
  4891            .computeInt64Size(1, lastCheck_);
  4892        }
  4893        if (allowance_ != 0D) {
  4894          size += com.google.protobuf.CodedOutputStream
  4895            .computeDoubleSize(2, allowance_);
  4896        }
  4897        if (rate_ != 0D) {
  4898          size += com.google.protobuf.CodedOutputStream
  4899            .computeDoubleSize(3, rate_);
  4900        }
  4901        if (per_ != 0D) {
  4902          size += com.google.protobuf.CodedOutputStream
  4903            .computeDoubleSize(4, per_);
  4904        }
  4905        if (expires_ != 0L) {
  4906          size += com.google.protobuf.CodedOutputStream
  4907            .computeInt64Size(5, expires_);
  4908        }
  4909        if (quotaMax_ != 0L) {
  4910          size += com.google.protobuf.CodedOutputStream
  4911            .computeInt64Size(6, quotaMax_);
  4912        }
  4913        if (quotaRenews_ != 0L) {
  4914          size += com.google.protobuf.CodedOutputStream
  4915            .computeInt64Size(7, quotaRenews_);
  4916        }
  4917        if (quotaRemaining_ != 0L) {
  4918          size += com.google.protobuf.CodedOutputStream
  4919            .computeInt64Size(8, quotaRemaining_);
  4920        }
  4921        if (quotaRenewalRate_ != 0L) {
  4922          size += com.google.protobuf.CodedOutputStream
  4923            .computeInt64Size(9, quotaRenewalRate_);
  4924        }
  4925        for (java.util.Map.Entry<java.lang.String, coprocess.CoprocessSessionState.AccessDefinition> entry
  4926             : internalGetAccessRights().getMap().entrySet()) {
  4927          com.google.protobuf.MapEntry<java.lang.String, coprocess.CoprocessSessionState.AccessDefinition>
  4928          accessRights__ = AccessRightsDefaultEntryHolder.defaultEntry.newBuilderForType()
  4929              .setKey(entry.getKey())
  4930              .setValue(entry.getValue())
  4931              .build();
  4932          size += com.google.protobuf.CodedOutputStream
  4933              .computeMessageSize(10, accessRights__);
  4934        }
  4935        if (!getOrgIdBytes().isEmpty()) {
  4936          size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, orgId_);
  4937        }
  4938        if (!getOauthClientIdBytes().isEmpty()) {
  4939          size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, oauthClientId_);
  4940        }
  4941        for (java.util.Map.Entry<java.lang.String, java.lang.String> entry
  4942             : internalGetOauthKeys().getMap().entrySet()) {
  4943          com.google.protobuf.MapEntry<java.lang.String, java.lang.String>
  4944          oauthKeys__ = OauthKeysDefaultEntryHolder.defaultEntry.newBuilderForType()
  4945              .setKey(entry.getKey())
  4946              .setValue(entry.getValue())
  4947              .build();
  4948          size += com.google.protobuf.CodedOutputStream
  4949              .computeMessageSize(13, oauthKeys__);
  4950        }
  4951        if (basicAuthData_ != null) {
  4952          size += com.google.protobuf.CodedOutputStream
  4953            .computeMessageSize(14, getBasicAuthData());
  4954        }
  4955        if (jwtData_ != null) {
  4956          size += com.google.protobuf.CodedOutputStream
  4957            .computeMessageSize(15, getJwtData());
  4958        }
  4959        if (hmacEnabled_ != false) {
  4960          size += com.google.protobuf.CodedOutputStream
  4961            .computeBoolSize(16, hmacEnabled_);
  4962        }
  4963        if (!getHmacSecretBytes().isEmpty()) {
  4964          size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, hmacSecret_);
  4965        }
  4966        if (isInactive_ != false) {
  4967          size += com.google.protobuf.CodedOutputStream
  4968            .computeBoolSize(18, isInactive_);
  4969        }
  4970        if (!getApplyPolicyIdBytes().isEmpty()) {
  4971          size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, applyPolicyId_);
  4972        }
  4973        if (dataExpires_ != 0L) {
  4974          size += com.google.protobuf.CodedOutputStream
  4975            .computeInt64Size(20, dataExpires_);
  4976        }
  4977        if (monitor_ != null) {
  4978          size += com.google.protobuf.CodedOutputStream
  4979            .computeMessageSize(21, getMonitor());
  4980        }
  4981        if (enableDetailedRecording_ != false) {
  4982          size += com.google.protobuf.CodedOutputStream
  4983            .computeBoolSize(22, enableDetailedRecording_);
  4984        }
  4985        if (!getMetadataBytes().isEmpty()) {
  4986          size += com.google.protobuf.GeneratedMessageV3.computeStringSize(23, metadata_);
  4987        }
  4988        {
  4989          int dataSize = 0;
  4990          for (int i = 0; i < tags_.size(); i++) {
  4991            dataSize += computeStringSizeNoTag(tags_.getRaw(i));
  4992          }
  4993          size += dataSize;
  4994          size += 2 * getTagsList().size();
  4995        }
  4996        if (!getAliasBytes().isEmpty()) {
  4997          size += com.google.protobuf.GeneratedMessageV3.computeStringSize(25, alias_);
  4998        }
  4999        if (!getLastUpdatedBytes().isEmpty()) {
  5000          size += com.google.protobuf.GeneratedMessageV3.computeStringSize(26, lastUpdated_);
  5001        }
  5002        if (idExtractorDeadline_ != 0L) {
  5003          size += com.google.protobuf.CodedOutputStream
  5004            .computeInt64Size(27, idExtractorDeadline_);
  5005        }
  5006        if (sessionLifetime_ != 0L) {
  5007          size += com.google.protobuf.CodedOutputStream
  5008            .computeInt64Size(28, sessionLifetime_);
  5009        }
  5010        memoizedSize = size;
  5011        return size;
  5012      }
  5013  
  5014      private static final long serialVersionUID = 0L;
  5015      @java.lang.Override
  5016      public boolean equals(final java.lang.Object obj) {
  5017        if (obj == this) {
  5018         return true;
  5019        }
  5020        if (!(obj instanceof coprocess.CoprocessSessionState.SessionState)) {
  5021          return super.equals(obj);
  5022        }
  5023        coprocess.CoprocessSessionState.SessionState other = (coprocess.CoprocessSessionState.SessionState) obj;
  5024  
  5025        boolean result = true;
  5026        result = result && (getLastCheck()
  5027            == other.getLastCheck());
  5028        result = result && (
  5029            java.lang.Double.doubleToLongBits(getAllowance())
  5030            == java.lang.Double.doubleToLongBits(
  5031                other.getAllowance()));
  5032        result = result && (
  5033            java.lang.Double.doubleToLongBits(getRate())
  5034            == java.lang.Double.doubleToLongBits(
  5035                other.getRate()));
  5036        result = result && (
  5037            java.lang.Double.doubleToLongBits(getPer())
  5038            == java.lang.Double.doubleToLongBits(
  5039                other.getPer()));
  5040        result = result && (getExpires()
  5041            == other.getExpires());
  5042        result = result && (getQuotaMax()
  5043            == other.getQuotaMax());
  5044        result = result && (getQuotaRenews()
  5045            == other.getQuotaRenews());
  5046        result = result && (getQuotaRemaining()
  5047            == other.getQuotaRemaining());
  5048        result = result && (getQuotaRenewalRate()
  5049            == other.getQuotaRenewalRate());
  5050        result = result && internalGetAccessRights().equals(
  5051            other.internalGetAccessRights());
  5052        result = result && getOrgId()
  5053            .equals(other.getOrgId());
  5054        result = result && getOauthClientId()
  5055            .equals(other.getOauthClientId());
  5056        result = result && internalGetOauthKeys().equals(
  5057            other.internalGetOauthKeys());
  5058        result = result && (hasBasicAuthData() == other.hasBasicAuthData());
  5059        if (hasBasicAuthData()) {
  5060          result = result && getBasicAuthData()
  5061              .equals(other.getBasicAuthData());
  5062        }
  5063        result = result && (hasJwtData() == other.hasJwtData());
  5064        if (hasJwtData()) {
  5065          result = result && getJwtData()
  5066              .equals(other.getJwtData());
  5067        }
  5068        result = result && (getHmacEnabled()
  5069            == other.getHmacEnabled());
  5070        result = result && getHmacSecret()
  5071            .equals(other.getHmacSecret());
  5072        result = result && (getIsInactive()
  5073            == other.getIsInactive());
  5074        result = result && getApplyPolicyId()
  5075            .equals(other.getApplyPolicyId());
  5076        result = result && (getDataExpires()
  5077            == other.getDataExpires());
  5078        result = result && (hasMonitor() == other.hasMonitor());
  5079        if (hasMonitor()) {
  5080          result = result && getMonitor()
  5081              .equals(other.getMonitor());
  5082        }
  5083        result = result && (getEnableDetailedRecording()
  5084            == other.getEnableDetailedRecording());
  5085        result = result && getMetadata()
  5086            .equals(other.getMetadata());
  5087        result = result && getTagsList()
  5088            .equals(other.getTagsList());
  5089        result = result && getAlias()
  5090            .equals(other.getAlias());
  5091        result = result && getLastUpdated()
  5092            .equals(other.getLastUpdated());
  5093        result = result && (getIdExtractorDeadline()
  5094            == other.getIdExtractorDeadline());
  5095        result = result && (getSessionLifetime()
  5096            == other.getSessionLifetime());
  5097        return result;
  5098      }
  5099  
  5100      @java.lang.Override
  5101      public int hashCode() {
  5102        if (memoizedHashCode != 0) {
  5103          return memoizedHashCode;
  5104        }
  5105        int hash = 41;
  5106        hash = (19 * hash) + getDescriptorForType().hashCode();
  5107        hash = (37 * hash) + LAST_CHECK_FIELD_NUMBER;
  5108        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
  5109            getLastCheck());
  5110        hash = (37 * hash) + ALLOWANCE_FIELD_NUMBER;
  5111        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
  5112            java.lang.Double.doubleToLongBits(getAllowance()));
  5113        hash = (37 * hash) + RATE_FIELD_NUMBER;
  5114        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
  5115            java.lang.Double.doubleToLongBits(getRate()));
  5116        hash = (37 * hash) + PER_FIELD_NUMBER;
  5117        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
  5118            java.lang.Double.doubleToLongBits(getPer()));
  5119        hash = (37 * hash) + EXPIRES_FIELD_NUMBER;
  5120        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
  5121            getExpires());
  5122        hash = (37 * hash) + QUOTA_MAX_FIELD_NUMBER;
  5123        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
  5124            getQuotaMax());
  5125        hash = (37 * hash) + QUOTA_RENEWS_FIELD_NUMBER;
  5126        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
  5127            getQuotaRenews());
  5128        hash = (37 * hash) + QUOTA_REMAINING_FIELD_NUMBER;
  5129        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
  5130            getQuotaRemaining());
  5131        hash = (37 * hash) + QUOTA_RENEWAL_RATE_FIELD_NUMBER;
  5132        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
  5133            getQuotaRenewalRate());
  5134        if (!internalGetAccessRights().getMap().isEmpty()) {
  5135          hash = (37 * hash) + ACCESS_RIGHTS_FIELD_NUMBER;
  5136          hash = (53 * hash) + internalGetAccessRights().hashCode();
  5137        }
  5138        hash = (37 * hash) + ORG_ID_FIELD_NUMBER;
  5139        hash = (53 * hash) + getOrgId().hashCode();
  5140        hash = (37 * hash) + OAUTH_CLIENT_ID_FIELD_NUMBER;
  5141        hash = (53 * hash) + getOauthClientId().hashCode();
  5142        if (!internalGetOauthKeys().getMap().isEmpty()) {
  5143          hash = (37 * hash) + OAUTH_KEYS_FIELD_NUMBER;
  5144          hash = (53 * hash) + internalGetOauthKeys().hashCode();
  5145        }
  5146        if (hasBasicAuthData()) {
  5147          hash = (37 * hash) + BASIC_AUTH_DATA_FIELD_NUMBER;
  5148          hash = (53 * hash) + getBasicAuthData().hashCode();
  5149        }
  5150        if (hasJwtData()) {
  5151          hash = (37 * hash) + JWT_DATA_FIELD_NUMBER;
  5152          hash = (53 * hash) + getJwtData().hashCode();
  5153        }
  5154        hash = (37 * hash) + HMAC_ENABLED_FIELD_NUMBER;
  5155        hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
  5156            getHmacEnabled());
  5157        hash = (37 * hash) + HMAC_SECRET_FIELD_NUMBER;
  5158        hash = (53 * hash) + getHmacSecret().hashCode();
  5159        hash = (37 * hash) + IS_INACTIVE_FIELD_NUMBER;
  5160        hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
  5161            getIsInactive());
  5162        hash = (37 * hash) + APPLY_POLICY_ID_FIELD_NUMBER;
  5163        hash = (53 * hash) + getApplyPolicyId().hashCode();
  5164        hash = (37 * hash) + DATA_EXPIRES_FIELD_NUMBER;
  5165        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
  5166            getDataExpires());
  5167        if (hasMonitor()) {
  5168          hash = (37 * hash) + MONITOR_FIELD_NUMBER;
  5169          hash = (53 * hash) + getMonitor().hashCode();
  5170        }
  5171        hash = (37 * hash) + ENABLE_DETAILED_RECORDING_FIELD_NUMBER;
  5172        hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
  5173            getEnableDetailedRecording());
  5174        hash = (37 * hash) + METADATA_FIELD_NUMBER;
  5175        hash = (53 * hash) + getMetadata().hashCode();
  5176        if (getTagsCount() > 0) {
  5177          hash = (37 * hash) + TAGS_FIELD_NUMBER;
  5178          hash = (53 * hash) + getTagsList().hashCode();
  5179        }
  5180        hash = (37 * hash) + ALIAS_FIELD_NUMBER;
  5181        hash = (53 * hash) + getAlias().hashCode();
  5182        hash = (37 * hash) + LAST_UPDATED_FIELD_NUMBER;
  5183        hash = (53 * hash) + getLastUpdated().hashCode();
  5184        hash = (37 * hash) + ID_EXTRACTOR_DEADLINE_FIELD_NUMBER;
  5185        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
  5186            getIdExtractorDeadline());
  5187        hash = (37 * hash) + SESSION_LIFETIME_FIELD_NUMBER;
  5188        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
  5189            getSessionLifetime());
  5190        hash = (29 * hash) + unknownFields.hashCode();
  5191        memoizedHashCode = hash;
  5192        return hash;
  5193      }
  5194  
  5195      public static coprocess.CoprocessSessionState.SessionState parseFrom(
  5196          com.google.protobuf.ByteString data)
  5197          throws com.google.protobuf.InvalidProtocolBufferException {
  5198        return PARSER.parseFrom(data);
  5199      }
  5200      public static coprocess.CoprocessSessionState.SessionState parseFrom(
  5201          com.google.protobuf.ByteString data,
  5202          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  5203          throws com.google.protobuf.InvalidProtocolBufferException {
  5204        return PARSER.parseFrom(data, extensionRegistry);
  5205      }
  5206      public static coprocess.CoprocessSessionState.SessionState parseFrom(byte[] data)
  5207          throws com.google.protobuf.InvalidProtocolBufferException {
  5208        return PARSER.parseFrom(data);
  5209      }
  5210      public static coprocess.CoprocessSessionState.SessionState parseFrom(
  5211          byte[] data,
  5212          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  5213          throws com.google.protobuf.InvalidProtocolBufferException {
  5214        return PARSER.parseFrom(data, extensionRegistry);
  5215      }
  5216      public static coprocess.CoprocessSessionState.SessionState parseFrom(java.io.InputStream input)
  5217          throws java.io.IOException {
  5218        return com.google.protobuf.GeneratedMessageV3
  5219            .parseWithIOException(PARSER, input);
  5220      }
  5221      public static coprocess.CoprocessSessionState.SessionState parseFrom(
  5222          java.io.InputStream input,
  5223          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  5224          throws java.io.IOException {
  5225        return com.google.protobuf.GeneratedMessageV3
  5226            .parseWithIOException(PARSER, input, extensionRegistry);
  5227      }
  5228      public static coprocess.CoprocessSessionState.SessionState parseDelimitedFrom(java.io.InputStream input)
  5229          throws java.io.IOException {
  5230        return com.google.protobuf.GeneratedMessageV3
  5231            .parseDelimitedWithIOException(PARSER, input);
  5232      }
  5233      public static coprocess.CoprocessSessionState.SessionState parseDelimitedFrom(
  5234          java.io.InputStream input,
  5235          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  5236          throws java.io.IOException {
  5237        return com.google.protobuf.GeneratedMessageV3
  5238            .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
  5239      }
  5240      public static coprocess.CoprocessSessionState.SessionState parseFrom(
  5241          com.google.protobuf.CodedInputStream input)
  5242          throws java.io.IOException {
  5243        return com.google.protobuf.GeneratedMessageV3
  5244            .parseWithIOException(PARSER, input);
  5245      }
  5246      public static coprocess.CoprocessSessionState.SessionState parseFrom(
  5247          com.google.protobuf.CodedInputStream input,
  5248          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  5249          throws java.io.IOException {
  5250        return com.google.protobuf.GeneratedMessageV3
  5251            .parseWithIOException(PARSER, input, extensionRegistry);
  5252      }
  5253  
  5254      public Builder newBuilderForType() { return newBuilder(); }
  5255      public static Builder newBuilder() {
  5256        return DEFAULT_INSTANCE.toBuilder();
  5257      }
  5258      public static Builder newBuilder(coprocess.CoprocessSessionState.SessionState prototype) {
  5259        return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  5260      }
  5261      public Builder toBuilder() {
  5262        return this == DEFAULT_INSTANCE
  5263            ? new Builder() : new Builder().mergeFrom(this);
  5264      }
  5265  
  5266      @java.lang.Override
  5267      protected Builder newBuilderForType(
  5268          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
  5269        Builder builder = new Builder(parent);
  5270        return builder;
  5271      }
  5272      /**
  5273       * Protobuf type {@code coprocess.SessionState}
  5274       */
  5275      public static final class Builder extends
  5276          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
  5277          // @@protoc_insertion_point(builder_implements:coprocess.SessionState)
  5278          coprocess.CoprocessSessionState.SessionStateOrBuilder {
  5279        public static final com.google.protobuf.Descriptors.Descriptor
  5280            getDescriptor() {
  5281          return coprocess.CoprocessSessionState.internal_static_coprocess_SessionState_descriptor;
  5282        }
  5283  
  5284        @SuppressWarnings({"rawtypes"})
  5285        protected com.google.protobuf.MapField internalGetMapField(
  5286            int number) {
  5287          switch (number) {
  5288            case 10:
  5289              return internalGetAccessRights();
  5290            case 13:
  5291              return internalGetOauthKeys();
  5292            default:
  5293              throw new RuntimeException(
  5294                  "Invalid map field number: " + number);
  5295          }
  5296        }
  5297        @SuppressWarnings({"rawtypes"})
  5298        protected com.google.protobuf.MapField internalGetMutableMapField(
  5299            int number) {
  5300          switch (number) {
  5301            case 10:
  5302              return internalGetMutableAccessRights();
  5303            case 13:
  5304              return internalGetMutableOauthKeys();
  5305            default:
  5306              throw new RuntimeException(
  5307                  "Invalid map field number: " + number);
  5308          }
  5309        }
  5310        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
  5311            internalGetFieldAccessorTable() {
  5312          return coprocess.CoprocessSessionState.internal_static_coprocess_SessionState_fieldAccessorTable
  5313              .ensureFieldAccessorsInitialized(
  5314                  coprocess.CoprocessSessionState.SessionState.class, coprocess.CoprocessSessionState.SessionState.Builder.class);
  5315        }
  5316  
  5317        // Construct using coprocess.CoprocessSessionState.SessionState.newBuilder()
  5318        private Builder() {
  5319          maybeForceBuilderInitialization();
  5320        }
  5321  
  5322        private Builder(
  5323            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
  5324          super(parent);
  5325          maybeForceBuilderInitialization();
  5326        }
  5327        private void maybeForceBuilderInitialization() {
  5328          if (com.google.protobuf.GeneratedMessageV3
  5329                  .alwaysUseFieldBuilders) {
  5330          }
  5331        }
  5332        public Builder clear() {
  5333          super.clear();
  5334          lastCheck_ = 0L;
  5335  
  5336          allowance_ = 0D;
  5337  
  5338          rate_ = 0D;
  5339  
  5340          per_ = 0D;
  5341  
  5342          expires_ = 0L;
  5343  
  5344          quotaMax_ = 0L;
  5345  
  5346          quotaRenews_ = 0L;
  5347  
  5348          quotaRemaining_ = 0L;
  5349  
  5350          quotaRenewalRate_ = 0L;
  5351  
  5352          internalGetMutableAccessRights().clear();
  5353          orgId_ = "";
  5354  
  5355          oauthClientId_ = "";
  5356  
  5357          internalGetMutableOauthKeys().clear();
  5358          if (basicAuthDataBuilder_ == null) {
  5359            basicAuthData_ = null;
  5360          } else {
  5361            basicAuthData_ = null;
  5362            basicAuthDataBuilder_ = null;
  5363          }
  5364          if (jwtDataBuilder_ == null) {
  5365            jwtData_ = null;
  5366          } else {
  5367            jwtData_ = null;
  5368            jwtDataBuilder_ = null;
  5369          }
  5370          hmacEnabled_ = false;
  5371  
  5372          hmacSecret_ = "";
  5373  
  5374          isInactive_ = false;
  5375  
  5376          applyPolicyId_ = "";
  5377  
  5378          dataExpires_ = 0L;
  5379  
  5380          if (monitorBuilder_ == null) {
  5381            monitor_ = null;
  5382          } else {
  5383            monitor_ = null;
  5384            monitorBuilder_ = null;
  5385          }
  5386          enableDetailedRecording_ = false;
  5387  
  5388          metadata_ = "";
  5389  
  5390          tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
  5391          bitField0_ = (bitField0_ & ~0x00800000);
  5392          alias_ = "";
  5393  
  5394          lastUpdated_ = "";
  5395  
  5396          idExtractorDeadline_ = 0L;
  5397  
  5398          sessionLifetime_ = 0L;
  5399  
  5400          return this;
  5401        }
  5402  
  5403        public com.google.protobuf.Descriptors.Descriptor
  5404            getDescriptorForType() {
  5405          return coprocess.CoprocessSessionState.internal_static_coprocess_SessionState_descriptor;
  5406        }
  5407  
  5408        public coprocess.CoprocessSessionState.SessionState getDefaultInstanceForType() {
  5409          return coprocess.CoprocessSessionState.SessionState.getDefaultInstance();
  5410        }
  5411  
  5412        public coprocess.CoprocessSessionState.SessionState build() {
  5413          coprocess.CoprocessSessionState.SessionState result = buildPartial();
  5414          if (!result.isInitialized()) {
  5415            throw newUninitializedMessageException(result);
  5416          }
  5417          return result;
  5418        }
  5419  
  5420        public coprocess.CoprocessSessionState.SessionState buildPartial() {
  5421          coprocess.CoprocessSessionState.SessionState result = new coprocess.CoprocessSessionState.SessionState(this);
  5422          int from_bitField0_ = bitField0_;
  5423          int to_bitField0_ = 0;
  5424          result.lastCheck_ = lastCheck_;
  5425          result.allowance_ = allowance_;
  5426          result.rate_ = rate_;
  5427          result.per_ = per_;
  5428          result.expires_ = expires_;
  5429          result.quotaMax_ = quotaMax_;
  5430          result.quotaRenews_ = quotaRenews_;
  5431          result.quotaRemaining_ = quotaRemaining_;
  5432          result.quotaRenewalRate_ = quotaRenewalRate_;
  5433          result.accessRights_ = internalGetAccessRights();
  5434          result.accessRights_.makeImmutable();
  5435          result.orgId_ = orgId_;
  5436          result.oauthClientId_ = oauthClientId_;
  5437          result.oauthKeys_ = internalGetOauthKeys();
  5438          result.oauthKeys_.makeImmutable();
  5439          if (basicAuthDataBuilder_ == null) {
  5440            result.basicAuthData_ = basicAuthData_;
  5441          } else {
  5442            result.basicAuthData_ = basicAuthDataBuilder_.build();
  5443          }
  5444          if (jwtDataBuilder_ == null) {
  5445            result.jwtData_ = jwtData_;
  5446          } else {
  5447            result.jwtData_ = jwtDataBuilder_.build();
  5448          }
  5449          result.hmacEnabled_ = hmacEnabled_;
  5450          result.hmacSecret_ = hmacSecret_;
  5451          result.isInactive_ = isInactive_;
  5452          result.applyPolicyId_ = applyPolicyId_;
  5453          result.dataExpires_ = dataExpires_;
  5454          if (monitorBuilder_ == null) {
  5455            result.monitor_ = monitor_;
  5456          } else {
  5457            result.monitor_ = monitorBuilder_.build();
  5458          }
  5459          result.enableDetailedRecording_ = enableDetailedRecording_;
  5460          result.metadata_ = metadata_;
  5461          if (((bitField0_ & 0x00800000) == 0x00800000)) {
  5462            tags_ = tags_.getUnmodifiableView();
  5463            bitField0_ = (bitField0_ & ~0x00800000);
  5464          }
  5465          result.tags_ = tags_;
  5466          result.alias_ = alias_;
  5467          result.lastUpdated_ = lastUpdated_;
  5468          result.idExtractorDeadline_ = idExtractorDeadline_;
  5469          result.sessionLifetime_ = sessionLifetime_;
  5470          result.bitField0_ = to_bitField0_;
  5471          onBuilt();
  5472          return result;
  5473        }
  5474  
  5475        public Builder clone() {
  5476          return (Builder) super.clone();
  5477        }
  5478        public Builder setField(
  5479            com.google.protobuf.Descriptors.FieldDescriptor field,
  5480            Object value) {
  5481          return (Builder) super.setField(field, value);
  5482        }
  5483        public Builder clearField(
  5484            com.google.protobuf.Descriptors.FieldDescriptor field) {
  5485          return (Builder) super.clearField(field);
  5486        }
  5487        public Builder clearOneof(
  5488            com.google.protobuf.Descriptors.OneofDescriptor oneof) {
  5489          return (Builder) super.clearOneof(oneof);
  5490        }
  5491        public Builder setRepeatedField(
  5492            com.google.protobuf.Descriptors.FieldDescriptor field,
  5493            int index, Object value) {
  5494          return (Builder) super.setRepeatedField(field, index, value);
  5495        }
  5496        public Builder addRepeatedField(
  5497            com.google.protobuf.Descriptors.FieldDescriptor field,
  5498            Object value) {
  5499          return (Builder) super.addRepeatedField(field, value);
  5500        }
  5501        public Builder mergeFrom(com.google.protobuf.Message other) {
  5502          if (other instanceof coprocess.CoprocessSessionState.SessionState) {
  5503            return mergeFrom((coprocess.CoprocessSessionState.SessionState)other);
  5504          } else {
  5505            super.mergeFrom(other);
  5506            return this;
  5507          }
  5508        }
  5509  
  5510        public Builder mergeFrom(coprocess.CoprocessSessionState.SessionState other) {
  5511          if (other == coprocess.CoprocessSessionState.SessionState.getDefaultInstance()) return this;
  5512          if (other.getLastCheck() != 0L) {
  5513            setLastCheck(other.getLastCheck());
  5514          }
  5515          if (other.getAllowance() != 0D) {
  5516            setAllowance(other.getAllowance());
  5517          }
  5518          if (other.getRate() != 0D) {
  5519            setRate(other.getRate());
  5520          }
  5521          if (other.getPer() != 0D) {
  5522            setPer(other.getPer());
  5523          }
  5524          if (other.getExpires() != 0L) {
  5525            setExpires(other.getExpires());
  5526          }
  5527          if (other.getQuotaMax() != 0L) {
  5528            setQuotaMax(other.getQuotaMax());
  5529          }
  5530          if (other.getQuotaRenews() != 0L) {
  5531            setQuotaRenews(other.getQuotaRenews());
  5532          }
  5533          if (other.getQuotaRemaining() != 0L) {
  5534            setQuotaRemaining(other.getQuotaRemaining());
  5535          }
  5536          if (other.getQuotaRenewalRate() != 0L) {
  5537            setQuotaRenewalRate(other.getQuotaRenewalRate());
  5538          }
  5539          internalGetMutableAccessRights().mergeFrom(
  5540              other.internalGetAccessRights());
  5541          if (!other.getOrgId().isEmpty()) {
  5542            orgId_ = other.orgId_;
  5543            onChanged();
  5544          }
  5545          if (!other.getOauthClientId().isEmpty()) {
  5546            oauthClientId_ = other.oauthClientId_;
  5547            onChanged();
  5548          }
  5549          internalGetMutableOauthKeys().mergeFrom(
  5550              other.internalGetOauthKeys());
  5551          if (other.hasBasicAuthData()) {
  5552            mergeBasicAuthData(other.getBasicAuthData());
  5553          }
  5554          if (other.hasJwtData()) {
  5555            mergeJwtData(other.getJwtData());
  5556          }
  5557          if (other.getHmacEnabled() != false) {
  5558            setHmacEnabled(other.getHmacEnabled());
  5559          }
  5560          if (!other.getHmacSecret().isEmpty()) {
  5561            hmacSecret_ = other.hmacSecret_;
  5562            onChanged();
  5563          }
  5564          if (other.getIsInactive() != false) {
  5565            setIsInactive(other.getIsInactive());
  5566          }
  5567          if (!other.getApplyPolicyId().isEmpty()) {
  5568            applyPolicyId_ = other.applyPolicyId_;
  5569            onChanged();
  5570          }
  5571          if (other.getDataExpires() != 0L) {
  5572            setDataExpires(other.getDataExpires());
  5573          }
  5574          if (other.hasMonitor()) {
  5575            mergeMonitor(other.getMonitor());
  5576          }
  5577          if (other.getEnableDetailedRecording() != false) {
  5578            setEnableDetailedRecording(other.getEnableDetailedRecording());
  5579          }
  5580          if (!other.getMetadata().isEmpty()) {
  5581            metadata_ = other.metadata_;
  5582            onChanged();
  5583          }
  5584          if (!other.tags_.isEmpty()) {
  5585            if (tags_.isEmpty()) {
  5586              tags_ = other.tags_;
  5587              bitField0_ = (bitField0_ & ~0x00800000);
  5588            } else {
  5589              ensureTagsIsMutable();
  5590              tags_.addAll(other.tags_);
  5591            }
  5592            onChanged();
  5593          }
  5594          if (!other.getAlias().isEmpty()) {
  5595            alias_ = other.alias_;
  5596            onChanged();
  5597          }
  5598          if (!other.getLastUpdated().isEmpty()) {
  5599            lastUpdated_ = other.lastUpdated_;
  5600            onChanged();
  5601          }
  5602          if (other.getIdExtractorDeadline() != 0L) {
  5603            setIdExtractorDeadline(other.getIdExtractorDeadline());
  5604          }
  5605          if (other.getSessionLifetime() != 0L) {
  5606            setSessionLifetime(other.getSessionLifetime());
  5607          }
  5608          onChanged();
  5609          return this;
  5610        }
  5611  
  5612        public final boolean isInitialized() {
  5613          return true;
  5614        }
  5615  
  5616        public Builder mergeFrom(
  5617            com.google.protobuf.CodedInputStream input,
  5618            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  5619            throws java.io.IOException {
  5620          coprocess.CoprocessSessionState.SessionState parsedMessage = null;
  5621          try {
  5622            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
  5623          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
  5624            parsedMessage = (coprocess.CoprocessSessionState.SessionState) e.getUnfinishedMessage();
  5625            throw e.unwrapIOException();
  5626          } finally {
  5627            if (parsedMessage != null) {
  5628              mergeFrom(parsedMessage);
  5629            }
  5630          }
  5631          return this;
  5632        }
  5633        private int bitField0_;
  5634  
  5635        private long lastCheck_ ;
  5636        /**
  5637         * <code>optional int64 last_check = 1;</code>
  5638         */
  5639        public long getLastCheck() {
  5640          return lastCheck_;
  5641        }
  5642        /**
  5643         * <code>optional int64 last_check = 1;</code>
  5644         */
  5645        public Builder setLastCheck(long value) {
  5646          
  5647          lastCheck_ = value;
  5648          onChanged();
  5649          return this;
  5650        }
  5651        /**
  5652         * <code>optional int64 last_check = 1;</code>
  5653         */
  5654        public Builder clearLastCheck() {
  5655          
  5656          lastCheck_ = 0L;
  5657          onChanged();
  5658          return this;
  5659        }
  5660  
  5661        private double allowance_ ;
  5662        /**
  5663         * <code>optional double allowance = 2;</code>
  5664         */
  5665        public double getAllowance() {
  5666          return allowance_;
  5667        }
  5668        /**
  5669         * <code>optional double allowance = 2;</code>
  5670         */
  5671        public Builder setAllowance(double value) {
  5672          
  5673          allowance_ = value;
  5674          onChanged();
  5675          return this;
  5676        }
  5677        /**
  5678         * <code>optional double allowance = 2;</code>
  5679         */
  5680        public Builder clearAllowance() {
  5681          
  5682          allowance_ = 0D;
  5683          onChanged();
  5684          return this;
  5685        }
  5686  
  5687        private double rate_ ;
  5688        /**
  5689         * <code>optional double rate = 3;</code>
  5690         */
  5691        public double getRate() {
  5692          return rate_;
  5693        }
  5694        /**
  5695         * <code>optional double rate = 3;</code>
  5696         */
  5697        public Builder setRate(double value) {
  5698          
  5699          rate_ = value;
  5700          onChanged();
  5701          return this;
  5702        }
  5703        /**
  5704         * <code>optional double rate = 3;</code>
  5705         */
  5706        public Builder clearRate() {
  5707          
  5708          rate_ = 0D;
  5709          onChanged();
  5710          return this;
  5711        }
  5712  
  5713        private double per_ ;
  5714        /**
  5715         * <code>optional double per = 4;</code>
  5716         */
  5717        public double getPer() {
  5718          return per_;
  5719        }
  5720        /**
  5721         * <code>optional double per = 4;</code>
  5722         */
  5723        public Builder setPer(double value) {
  5724          
  5725          per_ = value;
  5726          onChanged();
  5727          return this;
  5728        }
  5729        /**
  5730         * <code>optional double per = 4;</code>
  5731         */
  5732        public Builder clearPer() {
  5733          
  5734          per_ = 0D;
  5735          onChanged();
  5736          return this;
  5737        }
  5738  
  5739        private long expires_ ;
  5740        /**
  5741         * <code>optional int64 expires = 5;</code>
  5742         */
  5743        public long getExpires() {
  5744          return expires_;
  5745        }
  5746        /**
  5747         * <code>optional int64 expires = 5;</code>
  5748         */
  5749        public Builder setExpires(long value) {
  5750          
  5751          expires_ = value;
  5752          onChanged();
  5753          return this;
  5754        }
  5755        /**
  5756         * <code>optional int64 expires = 5;</code>
  5757         */
  5758        public Builder clearExpires() {
  5759          
  5760          expires_ = 0L;
  5761          onChanged();
  5762          return this;
  5763        }
  5764  
  5765        private long quotaMax_ ;
  5766        /**
  5767         * <code>optional int64 quota_max = 6;</code>
  5768         */
  5769        public long getQuotaMax() {
  5770          return quotaMax_;
  5771        }
  5772        /**
  5773         * <code>optional int64 quota_max = 6;</code>
  5774         */
  5775        public Builder setQuotaMax(long value) {
  5776          
  5777          quotaMax_ = value;
  5778          onChanged();
  5779          return this;
  5780        }
  5781        /**
  5782         * <code>optional int64 quota_max = 6;</code>
  5783         */
  5784        public Builder clearQuotaMax() {
  5785          
  5786          quotaMax_ = 0L;
  5787          onChanged();
  5788          return this;
  5789        }
  5790  
  5791        private long quotaRenews_ ;
  5792        /**
  5793         * <code>optional int64 quota_renews = 7;</code>
  5794         */
  5795        public long getQuotaRenews() {
  5796          return quotaRenews_;
  5797        }
  5798        /**
  5799         * <code>optional int64 quota_renews = 7;</code>
  5800         */
  5801        public Builder setQuotaRenews(long value) {
  5802          
  5803          quotaRenews_ = value;
  5804          onChanged();
  5805          return this;
  5806        }
  5807        /**
  5808         * <code>optional int64 quota_renews = 7;</code>
  5809         */
  5810        public Builder clearQuotaRenews() {
  5811          
  5812          quotaRenews_ = 0L;
  5813          onChanged();
  5814          return this;
  5815        }
  5816  
  5817        private long quotaRemaining_ ;
  5818        /**
  5819         * <code>optional int64 quota_remaining = 8;</code>
  5820         */
  5821        public long getQuotaRemaining() {
  5822          return quotaRemaining_;
  5823        }
  5824        /**
  5825         * <code>optional int64 quota_remaining = 8;</code>
  5826         */
  5827        public Builder setQuotaRemaining(long value) {
  5828          
  5829          quotaRemaining_ = value;
  5830          onChanged();
  5831          return this;
  5832        }
  5833        /**
  5834         * <code>optional int64 quota_remaining = 8;</code>
  5835         */
  5836        public Builder clearQuotaRemaining() {
  5837          
  5838          quotaRemaining_ = 0L;
  5839          onChanged();
  5840          return this;
  5841        }
  5842  
  5843        private long quotaRenewalRate_ ;
  5844        /**
  5845         * <code>optional int64 quota_renewal_rate = 9;</code>
  5846         */
  5847        public long getQuotaRenewalRate() {
  5848          return quotaRenewalRate_;
  5849        }
  5850        /**
  5851         * <code>optional int64 quota_renewal_rate = 9;</code>
  5852         */
  5853        public Builder setQuotaRenewalRate(long value) {
  5854          
  5855          quotaRenewalRate_ = value;
  5856          onChanged();
  5857          return this;
  5858        }
  5859        /**
  5860         * <code>optional int64 quota_renewal_rate = 9;</code>
  5861         */
  5862        public Builder clearQuotaRenewalRate() {
  5863          
  5864          quotaRenewalRate_ = 0L;
  5865          onChanged();
  5866          return this;
  5867        }
  5868  
  5869        private com.google.protobuf.MapField<
  5870            java.lang.String, coprocess.CoprocessSessionState.AccessDefinition> accessRights_;
  5871        private com.google.protobuf.MapField<java.lang.String, coprocess.CoprocessSessionState.AccessDefinition>
  5872        internalGetAccessRights() {
  5873          if (accessRights_ == null) {
  5874            return com.google.protobuf.MapField.emptyMapField(
  5875                AccessRightsDefaultEntryHolder.defaultEntry);
  5876          }
  5877          return accessRights_;
  5878        }
  5879        private com.google.protobuf.MapField<java.lang.String, coprocess.CoprocessSessionState.AccessDefinition>
  5880        internalGetMutableAccessRights() {
  5881          onChanged();;
  5882          if (accessRights_ == null) {
  5883            accessRights_ = com.google.protobuf.MapField.newMapField(
  5884                AccessRightsDefaultEntryHolder.defaultEntry);
  5885          }
  5886          if (!accessRights_.isMutable()) {
  5887            accessRights_ = accessRights_.copy();
  5888          }
  5889          return accessRights_;
  5890        }
  5891  
  5892        public int getAccessRightsCount() {
  5893          return internalGetAccessRights().getMap().size();
  5894        }
  5895        /**
  5896         * <code>map&lt;string, .coprocess.AccessDefinition&gt; access_rights = 10;</code>
  5897         */
  5898  
  5899        public boolean containsAccessRights(
  5900            java.lang.String key) {
  5901          if (key == null) { throw new java.lang.NullPointerException(); }
  5902          return internalGetAccessRights().getMap().containsKey(key);
  5903        }
  5904        /**
  5905         * Use {@link #getAccessRightsMap()} instead.
  5906         */
  5907        @java.lang.Deprecated
  5908        public java.util.Map<java.lang.String, coprocess.CoprocessSessionState.AccessDefinition> getAccessRights() {
  5909          return getAccessRightsMap();
  5910        }
  5911        /**
  5912         * <code>map&lt;string, .coprocess.AccessDefinition&gt; access_rights = 10;</code>
  5913         */
  5914  
  5915        public java.util.Map<java.lang.String, coprocess.CoprocessSessionState.AccessDefinition> getAccessRightsMap() {
  5916          return internalGetAccessRights().getMap();
  5917        }
  5918        /**
  5919         * <code>map&lt;string, .coprocess.AccessDefinition&gt; access_rights = 10;</code>
  5920         */
  5921  
  5922        public coprocess.CoprocessSessionState.AccessDefinition getAccessRightsOrDefault(
  5923            java.lang.String key,
  5924            coprocess.CoprocessSessionState.AccessDefinition defaultValue) {
  5925          if (key == null) { throw new java.lang.NullPointerException(); }
  5926          java.util.Map<java.lang.String, coprocess.CoprocessSessionState.AccessDefinition> map =
  5927              internalGetAccessRights().getMap();
  5928          return map.containsKey(key) ? map.get(key) : defaultValue;
  5929        }
  5930        /**
  5931         * <code>map&lt;string, .coprocess.AccessDefinition&gt; access_rights = 10;</code>
  5932         */
  5933  
  5934        public coprocess.CoprocessSessionState.AccessDefinition getAccessRightsOrThrow(
  5935            java.lang.String key) {
  5936          if (key == null) { throw new java.lang.NullPointerException(); }
  5937          java.util.Map<java.lang.String, coprocess.CoprocessSessionState.AccessDefinition> map =
  5938              internalGetAccessRights().getMap();
  5939          if (!map.containsKey(key)) {
  5940            throw new java.lang.IllegalArgumentException();
  5941          }
  5942          return map.get(key);
  5943        }
  5944  
  5945        public Builder clearAccessRights() {
  5946          getMutableAccessRights().clear();
  5947          return this;
  5948        }
  5949        /**
  5950         * <code>map&lt;string, .coprocess.AccessDefinition&gt; access_rights = 10;</code>
  5951         */
  5952  
  5953        public Builder removeAccessRights(
  5954            java.lang.String key) {
  5955          if (key == null) { throw new java.lang.NullPointerException(); }
  5956          getMutableAccessRights().remove(key);
  5957          return this;
  5958        }
  5959        /**
  5960         * Use alternate mutation accessors instead.
  5961         */
  5962        @java.lang.Deprecated
  5963        public java.util.Map<java.lang.String, coprocess.CoprocessSessionState.AccessDefinition>
  5964        getMutableAccessRights() {
  5965          return internalGetMutableAccessRights().getMutableMap();
  5966        }
  5967        /**
  5968         * <code>map&lt;string, .coprocess.AccessDefinition&gt; access_rights = 10;</code>
  5969         */
  5970        public Builder putAccessRights(
  5971            java.lang.String key,
  5972            coprocess.CoprocessSessionState.AccessDefinition value) {
  5973          if (key == null) { throw new java.lang.NullPointerException(); }
  5974          if (value == null) { throw new java.lang.NullPointerException(); }
  5975          getMutableAccessRights().put(key, value);
  5976          return this;
  5977        }
  5978        /**
  5979         * <code>map&lt;string, .coprocess.AccessDefinition&gt; access_rights = 10;</code>
  5980         */
  5981  
  5982        public Builder putAllAccessRights(
  5983            java.util.Map<java.lang.String, coprocess.CoprocessSessionState.AccessDefinition> values) {
  5984          getMutableAccessRights().putAll(values);
  5985          return this;
  5986        }
  5987  
  5988        private java.lang.Object orgId_ = "";
  5989        /**
  5990         * <code>optional string org_id = 11;</code>
  5991         */
  5992        public java.lang.String getOrgId() {
  5993          java.lang.Object ref = orgId_;
  5994          if (!(ref instanceof java.lang.String)) {
  5995            com.google.protobuf.ByteString bs =
  5996                (com.google.protobuf.ByteString) ref;
  5997            java.lang.String s = bs.toStringUtf8();
  5998            orgId_ = s;
  5999            return s;
  6000          } else {
  6001            return (java.lang.String) ref;
  6002          }
  6003        }
  6004        /**
  6005         * <code>optional string org_id = 11;</code>
  6006         */
  6007        public com.google.protobuf.ByteString
  6008            getOrgIdBytes() {
  6009          java.lang.Object ref = orgId_;
  6010          if (ref instanceof String) {
  6011            com.google.protobuf.ByteString b = 
  6012                com.google.protobuf.ByteString.copyFromUtf8(
  6013                    (java.lang.String) ref);
  6014            orgId_ = b;
  6015            return b;
  6016          } else {
  6017            return (com.google.protobuf.ByteString) ref;
  6018          }
  6019        }
  6020        /**
  6021         * <code>optional string org_id = 11;</code>
  6022         */
  6023        public Builder setOrgId(
  6024            java.lang.String value) {
  6025          if (value == null) {
  6026      throw new NullPointerException();
  6027    }
  6028    
  6029          orgId_ = value;
  6030          onChanged();
  6031          return this;
  6032        }
  6033        /**
  6034         * <code>optional string org_id = 11;</code>
  6035         */
  6036        public Builder clearOrgId() {
  6037          
  6038          orgId_ = getDefaultInstance().getOrgId();
  6039          onChanged();
  6040          return this;
  6041        }
  6042        /**
  6043         * <code>optional string org_id = 11;</code>
  6044         */
  6045        public Builder setOrgIdBytes(
  6046            com.google.protobuf.ByteString value) {
  6047          if (value == null) {
  6048      throw new NullPointerException();
  6049    }
  6050    checkByteStringIsUtf8(value);
  6051          
  6052          orgId_ = value;
  6053          onChanged();
  6054          return this;
  6055        }
  6056  
  6057        private java.lang.Object oauthClientId_ = "";
  6058        /**
  6059         * <code>optional string oauth_client_id = 12;</code>
  6060         */
  6061        public java.lang.String getOauthClientId() {
  6062          java.lang.Object ref = oauthClientId_;
  6063          if (!(ref instanceof java.lang.String)) {
  6064            com.google.protobuf.ByteString bs =
  6065                (com.google.protobuf.ByteString) ref;
  6066            java.lang.String s = bs.toStringUtf8();
  6067            oauthClientId_ = s;
  6068            return s;
  6069          } else {
  6070            return (java.lang.String) ref;
  6071          }
  6072        }
  6073        /**
  6074         * <code>optional string oauth_client_id = 12;</code>
  6075         */
  6076        public com.google.protobuf.ByteString
  6077            getOauthClientIdBytes() {
  6078          java.lang.Object ref = oauthClientId_;
  6079          if (ref instanceof String) {
  6080            com.google.protobuf.ByteString b = 
  6081                com.google.protobuf.ByteString.copyFromUtf8(
  6082                    (java.lang.String) ref);
  6083            oauthClientId_ = b;
  6084            return b;
  6085          } else {
  6086            return (com.google.protobuf.ByteString) ref;
  6087          }
  6088        }
  6089        /**
  6090         * <code>optional string oauth_client_id = 12;</code>
  6091         */
  6092        public Builder setOauthClientId(
  6093            java.lang.String value) {
  6094          if (value == null) {
  6095      throw new NullPointerException();
  6096    }
  6097    
  6098          oauthClientId_ = value;
  6099          onChanged();
  6100          return this;
  6101        }
  6102        /**
  6103         * <code>optional string oauth_client_id = 12;</code>
  6104         */
  6105        public Builder clearOauthClientId() {
  6106          
  6107          oauthClientId_ = getDefaultInstance().getOauthClientId();
  6108          onChanged();
  6109          return this;
  6110        }
  6111        /**
  6112         * <code>optional string oauth_client_id = 12;</code>
  6113         */
  6114        public Builder setOauthClientIdBytes(
  6115            com.google.protobuf.ByteString value) {
  6116          if (value == null) {
  6117      throw new NullPointerException();
  6118    }
  6119    checkByteStringIsUtf8(value);
  6120          
  6121          oauthClientId_ = value;
  6122          onChanged();
  6123          return this;
  6124        }
  6125  
  6126        private com.google.protobuf.MapField<
  6127            java.lang.String, java.lang.String> oauthKeys_;
  6128        private com.google.protobuf.MapField<java.lang.String, java.lang.String>
  6129        internalGetOauthKeys() {
  6130          if (oauthKeys_ == null) {
  6131            return com.google.protobuf.MapField.emptyMapField(
  6132                OauthKeysDefaultEntryHolder.defaultEntry);
  6133          }
  6134          return oauthKeys_;
  6135        }
  6136        private com.google.protobuf.MapField<java.lang.String, java.lang.String>
  6137        internalGetMutableOauthKeys() {
  6138          onChanged();;
  6139          if (oauthKeys_ == null) {
  6140            oauthKeys_ = com.google.protobuf.MapField.newMapField(
  6141                OauthKeysDefaultEntryHolder.defaultEntry);
  6142          }
  6143          if (!oauthKeys_.isMutable()) {
  6144            oauthKeys_ = oauthKeys_.copy();
  6145          }
  6146          return oauthKeys_;
  6147        }
  6148  
  6149        public int getOauthKeysCount() {
  6150          return internalGetOauthKeys().getMap().size();
  6151        }
  6152        /**
  6153         * <code>map&lt;string, string&gt; oauth_keys = 13;</code>
  6154         */
  6155  
  6156        public boolean containsOauthKeys(
  6157            java.lang.String key) {
  6158          if (key == null) { throw new java.lang.NullPointerException(); }
  6159          return internalGetOauthKeys().getMap().containsKey(key);
  6160        }
  6161        /**
  6162         * Use {@link #getOauthKeysMap()} instead.
  6163         */
  6164        @java.lang.Deprecated
  6165        public java.util.Map<java.lang.String, java.lang.String> getOauthKeys() {
  6166          return getOauthKeysMap();
  6167        }
  6168        /**
  6169         * <code>map&lt;string, string&gt; oauth_keys = 13;</code>
  6170         */
  6171  
  6172        public java.util.Map<java.lang.String, java.lang.String> getOauthKeysMap() {
  6173          return internalGetOauthKeys().getMap();
  6174        }
  6175        /**
  6176         * <code>map&lt;string, string&gt; oauth_keys = 13;</code>
  6177         */
  6178  
  6179        public java.lang.String getOauthKeysOrDefault(
  6180            java.lang.String key,
  6181            java.lang.String defaultValue) {
  6182          if (key == null) { throw new java.lang.NullPointerException(); }
  6183          java.util.Map<java.lang.String, java.lang.String> map =
  6184              internalGetOauthKeys().getMap();
  6185          return map.containsKey(key) ? map.get(key) : defaultValue;
  6186        }
  6187        /**
  6188         * <code>map&lt;string, string&gt; oauth_keys = 13;</code>
  6189         */
  6190  
  6191        public java.lang.String getOauthKeysOrThrow(
  6192            java.lang.String key) {
  6193          if (key == null) { throw new java.lang.NullPointerException(); }
  6194          java.util.Map<java.lang.String, java.lang.String> map =
  6195              internalGetOauthKeys().getMap();
  6196          if (!map.containsKey(key)) {
  6197            throw new java.lang.IllegalArgumentException();
  6198          }
  6199          return map.get(key);
  6200        }
  6201  
  6202        public Builder clearOauthKeys() {
  6203          getMutableOauthKeys().clear();
  6204          return this;
  6205        }
  6206        /**
  6207         * <code>map&lt;string, string&gt; oauth_keys = 13;</code>
  6208         */
  6209  
  6210        public Builder removeOauthKeys(
  6211            java.lang.String key) {
  6212          if (key == null) { throw new java.lang.NullPointerException(); }
  6213          getMutableOauthKeys().remove(key);
  6214          return this;
  6215        }
  6216        /**
  6217         * Use alternate mutation accessors instead.
  6218         */
  6219        @java.lang.Deprecated
  6220        public java.util.Map<java.lang.String, java.lang.String>
  6221        getMutableOauthKeys() {
  6222          return internalGetMutableOauthKeys().getMutableMap();
  6223        }
  6224        /**
  6225         * <code>map&lt;string, string&gt; oauth_keys = 13;</code>
  6226         */
  6227        public Builder putOauthKeys(
  6228            java.lang.String key,
  6229            java.lang.String value) {
  6230          if (key == null) { throw new java.lang.NullPointerException(); }
  6231          if (value == null) { throw new java.lang.NullPointerException(); }
  6232          getMutableOauthKeys().put(key, value);
  6233          return this;
  6234        }
  6235        /**
  6236         * <code>map&lt;string, string&gt; oauth_keys = 13;</code>
  6237         */
  6238  
  6239        public Builder putAllOauthKeys(
  6240            java.util.Map<java.lang.String, java.lang.String> values) {
  6241          getMutableOauthKeys().putAll(values);
  6242          return this;
  6243        }
  6244  
  6245        private coprocess.CoprocessSessionState.BasicAuthData basicAuthData_ = null;
  6246        private com.google.protobuf.SingleFieldBuilderV3<
  6247            coprocess.CoprocessSessionState.BasicAuthData, coprocess.CoprocessSessionState.BasicAuthData.Builder, coprocess.CoprocessSessionState.BasicAuthDataOrBuilder> basicAuthDataBuilder_;
  6248        /**
  6249         * <code>optional .coprocess.BasicAuthData basic_auth_data = 14;</code>
  6250         */
  6251        public boolean hasBasicAuthData() {
  6252          return basicAuthDataBuilder_ != null || basicAuthData_ != null;
  6253        }
  6254        /**
  6255         * <code>optional .coprocess.BasicAuthData basic_auth_data = 14;</code>
  6256         */
  6257        public coprocess.CoprocessSessionState.BasicAuthData getBasicAuthData() {
  6258          if (basicAuthDataBuilder_ == null) {
  6259            return basicAuthData_ == null ? coprocess.CoprocessSessionState.BasicAuthData.getDefaultInstance() : basicAuthData_;
  6260          } else {
  6261            return basicAuthDataBuilder_.getMessage();
  6262          }
  6263        }
  6264        /**
  6265         * <code>optional .coprocess.BasicAuthData basic_auth_data = 14;</code>
  6266         */
  6267        public Builder setBasicAuthData(coprocess.CoprocessSessionState.BasicAuthData value) {
  6268          if (basicAuthDataBuilder_ == null) {
  6269            if (value == null) {
  6270              throw new NullPointerException();
  6271            }
  6272            basicAuthData_ = value;
  6273            onChanged();
  6274          } else {
  6275            basicAuthDataBuilder_.setMessage(value);
  6276          }
  6277  
  6278          return this;
  6279        }
  6280        /**
  6281         * <code>optional .coprocess.BasicAuthData basic_auth_data = 14;</code>
  6282         */
  6283        public Builder setBasicAuthData(
  6284            coprocess.CoprocessSessionState.BasicAuthData.Builder builderForValue) {
  6285          if (basicAuthDataBuilder_ == null) {
  6286            basicAuthData_ = builderForValue.build();
  6287            onChanged();
  6288          } else {
  6289            basicAuthDataBuilder_.setMessage(builderForValue.build());
  6290          }
  6291  
  6292          return this;
  6293        }
  6294        /**
  6295         * <code>optional .coprocess.BasicAuthData basic_auth_data = 14;</code>
  6296         */
  6297        public Builder mergeBasicAuthData(coprocess.CoprocessSessionState.BasicAuthData value) {
  6298          if (basicAuthDataBuilder_ == null) {
  6299            if (basicAuthData_ != null) {
  6300              basicAuthData_ =
  6301                coprocess.CoprocessSessionState.BasicAuthData.newBuilder(basicAuthData_).mergeFrom(value).buildPartial();
  6302            } else {
  6303              basicAuthData_ = value;
  6304            }
  6305            onChanged();
  6306          } else {
  6307            basicAuthDataBuilder_.mergeFrom(value);
  6308          }
  6309  
  6310          return this;
  6311        }
  6312        /**
  6313         * <code>optional .coprocess.BasicAuthData basic_auth_data = 14;</code>
  6314         */
  6315        public Builder clearBasicAuthData() {
  6316          if (basicAuthDataBuilder_ == null) {
  6317            basicAuthData_ = null;
  6318            onChanged();
  6319          } else {
  6320            basicAuthData_ = null;
  6321            basicAuthDataBuilder_ = null;
  6322          }
  6323  
  6324          return this;
  6325        }
  6326        /**
  6327         * <code>optional .coprocess.BasicAuthData basic_auth_data = 14;</code>
  6328         */
  6329        public coprocess.CoprocessSessionState.BasicAuthData.Builder getBasicAuthDataBuilder() {
  6330          
  6331          onChanged();
  6332          return getBasicAuthDataFieldBuilder().getBuilder();
  6333        }
  6334        /**
  6335         * <code>optional .coprocess.BasicAuthData basic_auth_data = 14;</code>
  6336         */
  6337        public coprocess.CoprocessSessionState.BasicAuthDataOrBuilder getBasicAuthDataOrBuilder() {
  6338          if (basicAuthDataBuilder_ != null) {
  6339            return basicAuthDataBuilder_.getMessageOrBuilder();
  6340          } else {
  6341            return basicAuthData_ == null ?
  6342                coprocess.CoprocessSessionState.BasicAuthData.getDefaultInstance() : basicAuthData_;
  6343          }
  6344        }
  6345        /**
  6346         * <code>optional .coprocess.BasicAuthData basic_auth_data = 14;</code>
  6347         */
  6348        private com.google.protobuf.SingleFieldBuilderV3<
  6349            coprocess.CoprocessSessionState.BasicAuthData, coprocess.CoprocessSessionState.BasicAuthData.Builder, coprocess.CoprocessSessionState.BasicAuthDataOrBuilder> 
  6350            getBasicAuthDataFieldBuilder() {
  6351          if (basicAuthDataBuilder_ == null) {
  6352            basicAuthDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
  6353                coprocess.CoprocessSessionState.BasicAuthData, coprocess.CoprocessSessionState.BasicAuthData.Builder, coprocess.CoprocessSessionState.BasicAuthDataOrBuilder>(
  6354                    getBasicAuthData(),
  6355                    getParentForChildren(),
  6356                    isClean());
  6357            basicAuthData_ = null;
  6358          }
  6359          return basicAuthDataBuilder_;
  6360        }
  6361  
  6362        private coprocess.CoprocessSessionState.JWTData jwtData_ = null;
  6363        private com.google.protobuf.SingleFieldBuilderV3<
  6364            coprocess.CoprocessSessionState.JWTData, coprocess.CoprocessSessionState.JWTData.Builder, coprocess.CoprocessSessionState.JWTDataOrBuilder> jwtDataBuilder_;
  6365        /**
  6366         * <code>optional .coprocess.JWTData jwt_data = 15;</code>
  6367         */
  6368        public boolean hasJwtData() {
  6369          return jwtDataBuilder_ != null || jwtData_ != null;
  6370        }
  6371        /**
  6372         * <code>optional .coprocess.JWTData jwt_data = 15;</code>
  6373         */
  6374        public coprocess.CoprocessSessionState.JWTData getJwtData() {
  6375          if (jwtDataBuilder_ == null) {
  6376            return jwtData_ == null ? coprocess.CoprocessSessionState.JWTData.getDefaultInstance() : jwtData_;
  6377          } else {
  6378            return jwtDataBuilder_.getMessage();
  6379          }
  6380        }
  6381        /**
  6382         * <code>optional .coprocess.JWTData jwt_data = 15;</code>
  6383         */
  6384        public Builder setJwtData(coprocess.CoprocessSessionState.JWTData value) {
  6385          if (jwtDataBuilder_ == null) {
  6386            if (value == null) {
  6387              throw new NullPointerException();
  6388            }
  6389            jwtData_ = value;
  6390            onChanged();
  6391          } else {
  6392            jwtDataBuilder_.setMessage(value);
  6393          }
  6394  
  6395          return this;
  6396        }
  6397        /**
  6398         * <code>optional .coprocess.JWTData jwt_data = 15;</code>
  6399         */
  6400        public Builder setJwtData(
  6401            coprocess.CoprocessSessionState.JWTData.Builder builderForValue) {
  6402          if (jwtDataBuilder_ == null) {
  6403            jwtData_ = builderForValue.build();
  6404            onChanged();
  6405          } else {
  6406            jwtDataBuilder_.setMessage(builderForValue.build());
  6407          }
  6408  
  6409          return this;
  6410        }
  6411        /**
  6412         * <code>optional .coprocess.JWTData jwt_data = 15;</code>
  6413         */
  6414        public Builder mergeJwtData(coprocess.CoprocessSessionState.JWTData value) {
  6415          if (jwtDataBuilder_ == null) {
  6416            if (jwtData_ != null) {
  6417              jwtData_ =
  6418                coprocess.CoprocessSessionState.JWTData.newBuilder(jwtData_).mergeFrom(value).buildPartial();
  6419            } else {
  6420              jwtData_ = value;
  6421            }
  6422            onChanged();
  6423          } else {
  6424            jwtDataBuilder_.mergeFrom(value);
  6425          }
  6426  
  6427          return this;
  6428        }
  6429        /**
  6430         * <code>optional .coprocess.JWTData jwt_data = 15;</code>
  6431         */
  6432        public Builder clearJwtData() {
  6433          if (jwtDataBuilder_ == null) {
  6434            jwtData_ = null;
  6435            onChanged();
  6436          } else {
  6437            jwtData_ = null;
  6438            jwtDataBuilder_ = null;
  6439          }
  6440  
  6441          return this;
  6442        }
  6443        /**
  6444         * <code>optional .coprocess.JWTData jwt_data = 15;</code>
  6445         */
  6446        public coprocess.CoprocessSessionState.JWTData.Builder getJwtDataBuilder() {
  6447          
  6448          onChanged();
  6449          return getJwtDataFieldBuilder().getBuilder();
  6450        }
  6451        /**
  6452         * <code>optional .coprocess.JWTData jwt_data = 15;</code>
  6453         */
  6454        public coprocess.CoprocessSessionState.JWTDataOrBuilder getJwtDataOrBuilder() {
  6455          if (jwtDataBuilder_ != null) {
  6456            return jwtDataBuilder_.getMessageOrBuilder();
  6457          } else {
  6458            return jwtData_ == null ?
  6459                coprocess.CoprocessSessionState.JWTData.getDefaultInstance() : jwtData_;
  6460          }
  6461        }
  6462        /**
  6463         * <code>optional .coprocess.JWTData jwt_data = 15;</code>
  6464         */
  6465        private com.google.protobuf.SingleFieldBuilderV3<
  6466            coprocess.CoprocessSessionState.JWTData, coprocess.CoprocessSessionState.JWTData.Builder, coprocess.CoprocessSessionState.JWTDataOrBuilder> 
  6467            getJwtDataFieldBuilder() {
  6468          if (jwtDataBuilder_ == null) {
  6469            jwtDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
  6470                coprocess.CoprocessSessionState.JWTData, coprocess.CoprocessSessionState.JWTData.Builder, coprocess.CoprocessSessionState.JWTDataOrBuilder>(
  6471                    getJwtData(),
  6472                    getParentForChildren(),
  6473                    isClean());
  6474            jwtData_ = null;
  6475          }
  6476          return jwtDataBuilder_;
  6477        }
  6478  
  6479        private boolean hmacEnabled_ ;
  6480        /**
  6481         * <code>optional bool hmac_enabled = 16;</code>
  6482         */
  6483        public boolean getHmacEnabled() {
  6484          return hmacEnabled_;
  6485        }
  6486        /**
  6487         * <code>optional bool hmac_enabled = 16;</code>
  6488         */
  6489        public Builder setHmacEnabled(boolean value) {
  6490          
  6491          hmacEnabled_ = value;
  6492          onChanged();
  6493          return this;
  6494        }
  6495        /**
  6496         * <code>optional bool hmac_enabled = 16;</code>
  6497         */
  6498        public Builder clearHmacEnabled() {
  6499          
  6500          hmacEnabled_ = false;
  6501          onChanged();
  6502          return this;
  6503        }
  6504  
  6505        private java.lang.Object hmacSecret_ = "";
  6506        /**
  6507         * <code>optional string hmac_secret = 17;</code>
  6508         */
  6509        public java.lang.String getHmacSecret() {
  6510          java.lang.Object ref = hmacSecret_;
  6511          if (!(ref instanceof java.lang.String)) {
  6512            com.google.protobuf.ByteString bs =
  6513                (com.google.protobuf.ByteString) ref;
  6514            java.lang.String s = bs.toStringUtf8();
  6515            hmacSecret_ = s;
  6516            return s;
  6517          } else {
  6518            return (java.lang.String) ref;
  6519          }
  6520        }
  6521        /**
  6522         * <code>optional string hmac_secret = 17;</code>
  6523         */
  6524        public com.google.protobuf.ByteString
  6525            getHmacSecretBytes() {
  6526          java.lang.Object ref = hmacSecret_;
  6527          if (ref instanceof String) {
  6528            com.google.protobuf.ByteString b = 
  6529                com.google.protobuf.ByteString.copyFromUtf8(
  6530                    (java.lang.String) ref);
  6531            hmacSecret_ = b;
  6532            return b;
  6533          } else {
  6534            return (com.google.protobuf.ByteString) ref;
  6535          }
  6536        }
  6537        /**
  6538         * <code>optional string hmac_secret = 17;</code>
  6539         */
  6540        public Builder setHmacSecret(
  6541            java.lang.String value) {
  6542          if (value == null) {
  6543      throw new NullPointerException();
  6544    }
  6545    
  6546          hmacSecret_ = value;
  6547          onChanged();
  6548          return this;
  6549        }
  6550        /**
  6551         * <code>optional string hmac_secret = 17;</code>
  6552         */
  6553        public Builder clearHmacSecret() {
  6554          
  6555          hmacSecret_ = getDefaultInstance().getHmacSecret();
  6556          onChanged();
  6557          return this;
  6558        }
  6559        /**
  6560         * <code>optional string hmac_secret = 17;</code>
  6561         */
  6562        public Builder setHmacSecretBytes(
  6563            com.google.protobuf.ByteString value) {
  6564          if (value == null) {
  6565      throw new NullPointerException();
  6566    }
  6567    checkByteStringIsUtf8(value);
  6568          
  6569          hmacSecret_ = value;
  6570          onChanged();
  6571          return this;
  6572        }
  6573  
  6574        private boolean isInactive_ ;
  6575        /**
  6576         * <code>optional bool is_inactive = 18;</code>
  6577         */
  6578        public boolean getIsInactive() {
  6579          return isInactive_;
  6580        }
  6581        /**
  6582         * <code>optional bool is_inactive = 18;</code>
  6583         */
  6584        public Builder setIsInactive(boolean value) {
  6585          
  6586          isInactive_ = value;
  6587          onChanged();
  6588          return this;
  6589        }
  6590        /**
  6591         * <code>optional bool is_inactive = 18;</code>
  6592         */
  6593        public Builder clearIsInactive() {
  6594          
  6595          isInactive_ = false;
  6596          onChanged();
  6597          return this;
  6598        }
  6599  
  6600        private java.lang.Object applyPolicyId_ = "";
  6601        /**
  6602         * <code>optional string apply_policy_id = 19;</code>
  6603         */
  6604        public java.lang.String getApplyPolicyId() {
  6605          java.lang.Object ref = applyPolicyId_;
  6606          if (!(ref instanceof java.lang.String)) {
  6607            com.google.protobuf.ByteString bs =
  6608                (com.google.protobuf.ByteString) ref;
  6609            java.lang.String s = bs.toStringUtf8();
  6610            applyPolicyId_ = s;
  6611            return s;
  6612          } else {
  6613            return (java.lang.String) ref;
  6614          }
  6615        }
  6616        /**
  6617         * <code>optional string apply_policy_id = 19;</code>
  6618         */
  6619        public com.google.protobuf.ByteString
  6620            getApplyPolicyIdBytes() {
  6621          java.lang.Object ref = applyPolicyId_;
  6622          if (ref instanceof String) {
  6623            com.google.protobuf.ByteString b = 
  6624                com.google.protobuf.ByteString.copyFromUtf8(
  6625                    (java.lang.String) ref);
  6626            applyPolicyId_ = b;
  6627            return b;
  6628          } else {
  6629            return (com.google.protobuf.ByteString) ref;
  6630          }
  6631        }
  6632        /**
  6633         * <code>optional string apply_policy_id = 19;</code>
  6634         */
  6635        public Builder setApplyPolicyId(
  6636            java.lang.String value) {
  6637          if (value == null) {
  6638      throw new NullPointerException();
  6639    }
  6640    
  6641          applyPolicyId_ = value;
  6642          onChanged();
  6643          return this;
  6644        }
  6645        /**
  6646         * <code>optional string apply_policy_id = 19;</code>
  6647         */
  6648        public Builder clearApplyPolicyId() {
  6649          
  6650          applyPolicyId_ = getDefaultInstance().getApplyPolicyId();
  6651          onChanged();
  6652          return this;
  6653        }
  6654        /**
  6655         * <code>optional string apply_policy_id = 19;</code>
  6656         */
  6657        public Builder setApplyPolicyIdBytes(
  6658            com.google.protobuf.ByteString value) {
  6659          if (value == null) {
  6660      throw new NullPointerException();
  6661    }
  6662    checkByteStringIsUtf8(value);
  6663          
  6664          applyPolicyId_ = value;
  6665          onChanged();
  6666          return this;
  6667        }
  6668  
  6669        private long dataExpires_ ;
  6670        /**
  6671         * <code>optional int64 data_expires = 20;</code>
  6672         */
  6673        public long getDataExpires() {
  6674          return dataExpires_;
  6675        }
  6676        /**
  6677         * <code>optional int64 data_expires = 20;</code>
  6678         */
  6679        public Builder setDataExpires(long value) {
  6680          
  6681          dataExpires_ = value;
  6682          onChanged();
  6683          return this;
  6684        }
  6685        /**
  6686         * <code>optional int64 data_expires = 20;</code>
  6687         */
  6688        public Builder clearDataExpires() {
  6689          
  6690          dataExpires_ = 0L;
  6691          onChanged();
  6692          return this;
  6693        }
  6694  
  6695        private coprocess.CoprocessSessionState.Monitor monitor_ = null;
  6696        private com.google.protobuf.SingleFieldBuilderV3<
  6697            coprocess.CoprocessSessionState.Monitor, coprocess.CoprocessSessionState.Monitor.Builder, coprocess.CoprocessSessionState.MonitorOrBuilder> monitorBuilder_;
  6698        /**
  6699         * <code>optional .coprocess.Monitor monitor = 21;</code>
  6700         */
  6701        public boolean hasMonitor() {
  6702          return monitorBuilder_ != null || monitor_ != null;
  6703        }
  6704        /**
  6705         * <code>optional .coprocess.Monitor monitor = 21;</code>
  6706         */
  6707        public coprocess.CoprocessSessionState.Monitor getMonitor() {
  6708          if (monitorBuilder_ == null) {
  6709            return monitor_ == null ? coprocess.CoprocessSessionState.Monitor.getDefaultInstance() : monitor_;
  6710          } else {
  6711            return monitorBuilder_.getMessage();
  6712          }
  6713        }
  6714        /**
  6715         * <code>optional .coprocess.Monitor monitor = 21;</code>
  6716         */
  6717        public Builder setMonitor(coprocess.CoprocessSessionState.Monitor value) {
  6718          if (monitorBuilder_ == null) {
  6719            if (value == null) {
  6720              throw new NullPointerException();
  6721            }
  6722            monitor_ = value;
  6723            onChanged();
  6724          } else {
  6725            monitorBuilder_.setMessage(value);
  6726          }
  6727  
  6728          return this;
  6729        }
  6730        /**
  6731         * <code>optional .coprocess.Monitor monitor = 21;</code>
  6732         */
  6733        public Builder setMonitor(
  6734            coprocess.CoprocessSessionState.Monitor.Builder builderForValue) {
  6735          if (monitorBuilder_ == null) {
  6736            monitor_ = builderForValue.build();
  6737            onChanged();
  6738          } else {
  6739            monitorBuilder_.setMessage(builderForValue.build());
  6740          }
  6741  
  6742          return this;
  6743        }
  6744        /**
  6745         * <code>optional .coprocess.Monitor monitor = 21;</code>
  6746         */
  6747        public Builder mergeMonitor(coprocess.CoprocessSessionState.Monitor value) {
  6748          if (monitorBuilder_ == null) {
  6749            if (monitor_ != null) {
  6750              monitor_ =
  6751                coprocess.CoprocessSessionState.Monitor.newBuilder(monitor_).mergeFrom(value).buildPartial();
  6752            } else {
  6753              monitor_ = value;
  6754            }
  6755            onChanged();
  6756          } else {
  6757            monitorBuilder_.mergeFrom(value);
  6758          }
  6759  
  6760          return this;
  6761        }
  6762        /**
  6763         * <code>optional .coprocess.Monitor monitor = 21;</code>
  6764         */
  6765        public Builder clearMonitor() {
  6766          if (monitorBuilder_ == null) {
  6767            monitor_ = null;
  6768            onChanged();
  6769          } else {
  6770            monitor_ = null;
  6771            monitorBuilder_ = null;
  6772          }
  6773  
  6774          return this;
  6775        }
  6776        /**
  6777         * <code>optional .coprocess.Monitor monitor = 21;</code>
  6778         */
  6779        public coprocess.CoprocessSessionState.Monitor.Builder getMonitorBuilder() {
  6780          
  6781          onChanged();
  6782          return getMonitorFieldBuilder().getBuilder();
  6783        }
  6784        /**
  6785         * <code>optional .coprocess.Monitor monitor = 21;</code>
  6786         */
  6787        public coprocess.CoprocessSessionState.MonitorOrBuilder getMonitorOrBuilder() {
  6788          if (monitorBuilder_ != null) {
  6789            return monitorBuilder_.getMessageOrBuilder();
  6790          } else {
  6791            return monitor_ == null ?
  6792                coprocess.CoprocessSessionState.Monitor.getDefaultInstance() : monitor_;
  6793          }
  6794        }
  6795        /**
  6796         * <code>optional .coprocess.Monitor monitor = 21;</code>
  6797         */
  6798        private com.google.protobuf.SingleFieldBuilderV3<
  6799            coprocess.CoprocessSessionState.Monitor, coprocess.CoprocessSessionState.Monitor.Builder, coprocess.CoprocessSessionState.MonitorOrBuilder> 
  6800            getMonitorFieldBuilder() {
  6801          if (monitorBuilder_ == null) {
  6802            monitorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
  6803                coprocess.CoprocessSessionState.Monitor, coprocess.CoprocessSessionState.Monitor.Builder, coprocess.CoprocessSessionState.MonitorOrBuilder>(
  6804                    getMonitor(),
  6805                    getParentForChildren(),
  6806                    isClean());
  6807            monitor_ = null;
  6808          }
  6809          return monitorBuilder_;
  6810        }
  6811  
  6812        private boolean enableDetailedRecording_ ;
  6813        /**
  6814         * <code>optional bool enable_detailed_recording = 22;</code>
  6815         */
  6816        public boolean getEnableDetailedRecording() {
  6817          return enableDetailedRecording_;
  6818        }
  6819        /**
  6820         * <code>optional bool enable_detailed_recording = 22;</code>
  6821         */
  6822        public Builder setEnableDetailedRecording(boolean value) {
  6823          
  6824          enableDetailedRecording_ = value;
  6825          onChanged();
  6826          return this;
  6827        }
  6828        /**
  6829         * <code>optional bool enable_detailed_recording = 22;</code>
  6830         */
  6831        public Builder clearEnableDetailedRecording() {
  6832          
  6833          enableDetailedRecording_ = false;
  6834          onChanged();
  6835          return this;
  6836        }
  6837  
  6838        private java.lang.Object metadata_ = "";
  6839        /**
  6840         * <code>optional string metadata = 23;</code>
  6841         */
  6842        public java.lang.String getMetadata() {
  6843          java.lang.Object ref = metadata_;
  6844          if (!(ref instanceof java.lang.String)) {
  6845            com.google.protobuf.ByteString bs =
  6846                (com.google.protobuf.ByteString) ref;
  6847            java.lang.String s = bs.toStringUtf8();
  6848            metadata_ = s;
  6849            return s;
  6850          } else {
  6851            return (java.lang.String) ref;
  6852          }
  6853        }
  6854        /**
  6855         * <code>optional string metadata = 23;</code>
  6856         */
  6857        public com.google.protobuf.ByteString
  6858            getMetadataBytes() {
  6859          java.lang.Object ref = metadata_;
  6860          if (ref instanceof String) {
  6861            com.google.protobuf.ByteString b = 
  6862                com.google.protobuf.ByteString.copyFromUtf8(
  6863                    (java.lang.String) ref);
  6864            metadata_ = b;
  6865            return b;
  6866          } else {
  6867            return (com.google.protobuf.ByteString) ref;
  6868          }
  6869        }
  6870        /**
  6871         * <code>optional string metadata = 23;</code>
  6872         */
  6873        public Builder setMetadata(
  6874            java.lang.String value) {
  6875          if (value == null) {
  6876      throw new NullPointerException();
  6877    }
  6878    
  6879          metadata_ = value;
  6880          onChanged();
  6881          return this;
  6882        }
  6883        /**
  6884         * <code>optional string metadata = 23;</code>
  6885         */
  6886        public Builder clearMetadata() {
  6887          
  6888          metadata_ = getDefaultInstance().getMetadata();
  6889          onChanged();
  6890          return this;
  6891        }
  6892        /**
  6893         * <code>optional string metadata = 23;</code>
  6894         */
  6895        public Builder setMetadataBytes(
  6896            com.google.protobuf.ByteString value) {
  6897          if (value == null) {
  6898      throw new NullPointerException();
  6899    }
  6900    checkByteStringIsUtf8(value);
  6901          
  6902          metadata_ = value;
  6903          onChanged();
  6904          return this;
  6905        }
  6906  
  6907        private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
  6908        private void ensureTagsIsMutable() {
  6909          if (!((bitField0_ & 0x00800000) == 0x00800000)) {
  6910            tags_ = new com.google.protobuf.LazyStringArrayList(tags_);
  6911            bitField0_ |= 0x00800000;
  6912           }
  6913        }
  6914        /**
  6915         * <code>repeated string tags = 24;</code>
  6916         */
  6917        public com.google.protobuf.ProtocolStringList
  6918            getTagsList() {
  6919          return tags_.getUnmodifiableView();
  6920        }
  6921        /**
  6922         * <code>repeated string tags = 24;</code>
  6923         */
  6924        public int getTagsCount() {
  6925          return tags_.size();
  6926        }
  6927        /**
  6928         * <code>repeated string tags = 24;</code>
  6929         */
  6930        public java.lang.String getTags(int index) {
  6931          return tags_.get(index);
  6932        }
  6933        /**
  6934         * <code>repeated string tags = 24;</code>
  6935         */
  6936        public com.google.protobuf.ByteString
  6937            getTagsBytes(int index) {
  6938          return tags_.getByteString(index);
  6939        }
  6940        /**
  6941         * <code>repeated string tags = 24;</code>
  6942         */
  6943        public Builder setTags(
  6944            int index, java.lang.String value) {
  6945          if (value == null) {
  6946      throw new NullPointerException();
  6947    }
  6948    ensureTagsIsMutable();
  6949          tags_.set(index, value);
  6950          onChanged();
  6951          return this;
  6952        }
  6953        /**
  6954         * <code>repeated string tags = 24;</code>
  6955         */
  6956        public Builder addTags(
  6957            java.lang.String value) {
  6958          if (value == null) {
  6959      throw new NullPointerException();
  6960    }
  6961    ensureTagsIsMutable();
  6962          tags_.add(value);
  6963          onChanged();
  6964          return this;
  6965        }
  6966        /**
  6967         * <code>repeated string tags = 24;</code>
  6968         */
  6969        public Builder addAllTags(
  6970            java.lang.Iterable<java.lang.String> values) {
  6971          ensureTagsIsMutable();
  6972          com.google.protobuf.AbstractMessageLite.Builder.addAll(
  6973              values, tags_);
  6974          onChanged();
  6975          return this;
  6976        }
  6977        /**
  6978         * <code>repeated string tags = 24;</code>
  6979         */
  6980        public Builder clearTags() {
  6981          tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
  6982          bitField0_ = (bitField0_ & ~0x00800000);
  6983          onChanged();
  6984          return this;
  6985        }
  6986        /**
  6987         * <code>repeated string tags = 24;</code>
  6988         */
  6989        public Builder addTagsBytes(
  6990            com.google.protobuf.ByteString value) {
  6991          if (value == null) {
  6992      throw new NullPointerException();
  6993    }
  6994    checkByteStringIsUtf8(value);
  6995          ensureTagsIsMutable();
  6996          tags_.add(value);
  6997          onChanged();
  6998          return this;
  6999        }
  7000  
  7001        private java.lang.Object alias_ = "";
  7002        /**
  7003         * <code>optional string alias = 25;</code>
  7004         */
  7005        public java.lang.String getAlias() {
  7006          java.lang.Object ref = alias_;
  7007          if (!(ref instanceof java.lang.String)) {
  7008            com.google.protobuf.ByteString bs =
  7009                (com.google.protobuf.ByteString) ref;
  7010            java.lang.String s = bs.toStringUtf8();
  7011            alias_ = s;
  7012            return s;
  7013          } else {
  7014            return (java.lang.String) ref;
  7015          }
  7016        }
  7017        /**
  7018         * <code>optional string alias = 25;</code>
  7019         */
  7020        public com.google.protobuf.ByteString
  7021            getAliasBytes() {
  7022          java.lang.Object ref = alias_;
  7023          if (ref instanceof String) {
  7024            com.google.protobuf.ByteString b = 
  7025                com.google.protobuf.ByteString.copyFromUtf8(
  7026                    (java.lang.String) ref);
  7027            alias_ = b;
  7028            return b;
  7029          } else {
  7030            return (com.google.protobuf.ByteString) ref;
  7031          }
  7032        }
  7033        /**
  7034         * <code>optional string alias = 25;</code>
  7035         */
  7036        public Builder setAlias(
  7037            java.lang.String value) {
  7038          if (value == null) {
  7039      throw new NullPointerException();
  7040    }
  7041    
  7042          alias_ = value;
  7043          onChanged();
  7044          return this;
  7045        }
  7046        /**
  7047         * <code>optional string alias = 25;</code>
  7048         */
  7049        public Builder clearAlias() {
  7050          
  7051          alias_ = getDefaultInstance().getAlias();
  7052          onChanged();
  7053          return this;
  7054        }
  7055        /**
  7056         * <code>optional string alias = 25;</code>
  7057         */
  7058        public Builder setAliasBytes(
  7059            com.google.protobuf.ByteString value) {
  7060          if (value == null) {
  7061      throw new NullPointerException();
  7062    }
  7063    checkByteStringIsUtf8(value);
  7064          
  7065          alias_ = value;
  7066          onChanged();
  7067          return this;
  7068        }
  7069  
  7070        private java.lang.Object lastUpdated_ = "";
  7071        /**
  7072         * <code>optional string last_updated = 26;</code>
  7073         */
  7074        public java.lang.String getLastUpdated() {
  7075          java.lang.Object ref = lastUpdated_;
  7076          if (!(ref instanceof java.lang.String)) {
  7077            com.google.protobuf.ByteString bs =
  7078                (com.google.protobuf.ByteString) ref;
  7079            java.lang.String s = bs.toStringUtf8();
  7080            lastUpdated_ = s;
  7081            return s;
  7082          } else {
  7083            return (java.lang.String) ref;
  7084          }
  7085        }
  7086        /**
  7087         * <code>optional string last_updated = 26;</code>
  7088         */
  7089        public com.google.protobuf.ByteString
  7090            getLastUpdatedBytes() {
  7091          java.lang.Object ref = lastUpdated_;
  7092          if (ref instanceof String) {
  7093            com.google.protobuf.ByteString b = 
  7094                com.google.protobuf.ByteString.copyFromUtf8(
  7095                    (java.lang.String) ref);
  7096            lastUpdated_ = b;
  7097            return b;
  7098          } else {
  7099            return (com.google.protobuf.ByteString) ref;
  7100          }
  7101        }
  7102        /**
  7103         * <code>optional string last_updated = 26;</code>
  7104         */
  7105        public Builder setLastUpdated(
  7106            java.lang.String value) {
  7107          if (value == null) {
  7108      throw new NullPointerException();
  7109    }
  7110    
  7111          lastUpdated_ = value;
  7112          onChanged();
  7113          return this;
  7114        }
  7115        /**
  7116         * <code>optional string last_updated = 26;</code>
  7117         */
  7118        public Builder clearLastUpdated() {
  7119          
  7120          lastUpdated_ = getDefaultInstance().getLastUpdated();
  7121          onChanged();
  7122          return this;
  7123        }
  7124        /**
  7125         * <code>optional string last_updated = 26;</code>
  7126         */
  7127        public Builder setLastUpdatedBytes(
  7128            com.google.protobuf.ByteString value) {
  7129          if (value == null) {
  7130      throw new NullPointerException();
  7131    }
  7132    checkByteStringIsUtf8(value);
  7133          
  7134          lastUpdated_ = value;
  7135          onChanged();
  7136          return this;
  7137        }
  7138  
  7139        private long idExtractorDeadline_ ;
  7140        /**
  7141         * <code>optional int64 id_extractor_deadline = 27;</code>
  7142         */
  7143        public long getIdExtractorDeadline() {
  7144          return idExtractorDeadline_;
  7145        }
  7146        /**
  7147         * <code>optional int64 id_extractor_deadline = 27;</code>
  7148         */
  7149        public Builder setIdExtractorDeadline(long value) {
  7150          
  7151          idExtractorDeadline_ = value;
  7152          onChanged();
  7153          return this;
  7154        }
  7155        /**
  7156         * <code>optional int64 id_extractor_deadline = 27;</code>
  7157         */
  7158        public Builder clearIdExtractorDeadline() {
  7159          
  7160          idExtractorDeadline_ = 0L;
  7161          onChanged();
  7162          return this;
  7163        }
  7164  
  7165        private long sessionLifetime_ ;
  7166        /**
  7167         * <code>optional int64 session_lifetime = 28;</code>
  7168         */
  7169        public long getSessionLifetime() {
  7170          return sessionLifetime_;
  7171        }
  7172        /**
  7173         * <code>optional int64 session_lifetime = 28;</code>
  7174         */
  7175        public Builder setSessionLifetime(long value) {
  7176          
  7177          sessionLifetime_ = value;
  7178          onChanged();
  7179          return this;
  7180        }
  7181        /**
  7182         * <code>optional int64 session_lifetime = 28;</code>
  7183         */
  7184        public Builder clearSessionLifetime() {
  7185          
  7186          sessionLifetime_ = 0L;
  7187          onChanged();
  7188          return this;
  7189        }
  7190        public final Builder setUnknownFields(
  7191            final com.google.protobuf.UnknownFieldSet unknownFields) {
  7192          return this;
  7193        }
  7194  
  7195        public final Builder mergeUnknownFields(
  7196            final com.google.protobuf.UnknownFieldSet unknownFields) {
  7197          return this;
  7198        }
  7199  
  7200  
  7201        // @@protoc_insertion_point(builder_scope:coprocess.SessionState)
  7202      }
  7203  
  7204      // @@protoc_insertion_point(class_scope:coprocess.SessionState)
  7205      private static final coprocess.CoprocessSessionState.SessionState DEFAULT_INSTANCE;
  7206      static {
  7207        DEFAULT_INSTANCE = new coprocess.CoprocessSessionState.SessionState();
  7208      }
  7209  
  7210      public static coprocess.CoprocessSessionState.SessionState getDefaultInstance() {
  7211        return DEFAULT_INSTANCE;
  7212      }
  7213  
  7214      private static final com.google.protobuf.Parser<SessionState>
  7215          PARSER = new com.google.protobuf.AbstractParser<SessionState>() {
  7216        public SessionState parsePartialFrom(
  7217            com.google.protobuf.CodedInputStream input,
  7218            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  7219            throws com.google.protobuf.InvalidProtocolBufferException {
  7220            return new SessionState(input, extensionRegistry);
  7221        }
  7222      };
  7223  
  7224      public static com.google.protobuf.Parser<SessionState> parser() {
  7225        return PARSER;
  7226      }
  7227  
  7228      @java.lang.Override
  7229      public com.google.protobuf.Parser<SessionState> getParserForType() {
  7230        return PARSER;
  7231      }
  7232  
  7233      public coprocess.CoprocessSessionState.SessionState getDefaultInstanceForType() {
  7234        return DEFAULT_INSTANCE;
  7235      }
  7236  
  7237    }
  7238  
  7239    private static final com.google.protobuf.Descriptors.Descriptor
  7240      internal_static_coprocess_AccessSpec_descriptor;
  7241    private static final 
  7242      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
  7243        internal_static_coprocess_AccessSpec_fieldAccessorTable;
  7244    private static final com.google.protobuf.Descriptors.Descriptor
  7245      internal_static_coprocess_AccessDefinition_descriptor;
  7246    private static final 
  7247      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
  7248        internal_static_coprocess_AccessDefinition_fieldAccessorTable;
  7249    private static final com.google.protobuf.Descriptors.Descriptor
  7250      internal_static_coprocess_BasicAuthData_descriptor;
  7251    private static final 
  7252      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
  7253        internal_static_coprocess_BasicAuthData_fieldAccessorTable;
  7254    private static final com.google.protobuf.Descriptors.Descriptor
  7255      internal_static_coprocess_JWTData_descriptor;
  7256    private static final 
  7257      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
  7258        internal_static_coprocess_JWTData_fieldAccessorTable;
  7259    private static final com.google.protobuf.Descriptors.Descriptor
  7260      internal_static_coprocess_Monitor_descriptor;
  7261    private static final 
  7262      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
  7263        internal_static_coprocess_Monitor_fieldAccessorTable;
  7264    private static final com.google.protobuf.Descriptors.Descriptor
  7265      internal_static_coprocess_SessionState_descriptor;
  7266    private static final 
  7267      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
  7268        internal_static_coprocess_SessionState_fieldAccessorTable;
  7269    private static final com.google.protobuf.Descriptors.Descriptor
  7270      internal_static_coprocess_SessionState_AccessRightsEntry_descriptor;
  7271    private static final 
  7272      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
  7273        internal_static_coprocess_SessionState_AccessRightsEntry_fieldAccessorTable;
  7274    private static final com.google.protobuf.Descriptors.Descriptor
  7275      internal_static_coprocess_SessionState_OauthKeysEntry_descriptor;
  7276    private static final 
  7277      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
  7278        internal_static_coprocess_SessionState_OauthKeysEntry_fieldAccessorTable;
  7279  
  7280    public static com.google.protobuf.Descriptors.FileDescriptor
  7281        getDescriptor() {
  7282      return descriptor;
  7283    }
  7284    private static  com.google.protobuf.Descriptors.FileDescriptor
  7285        descriptor;
  7286    static {
  7287      java.lang.String[] descriptorData = {
  7288        "\n\035coprocess_session_state.proto\022\tcoproce" +
  7289        "ss\"*\n\nAccessSpec\022\013\n\003url\030\001 \001(\t\022\017\n\007methods" +
  7290        "\030\002 \003(\t\"s\n\020AccessDefinition\022\020\n\010api_name\030\001" +
  7291        " \001(\t\022\016\n\006api_id\030\002 \001(\t\022\020\n\010versions\030\003 \003(\t\022+" +
  7292        "\n\014allowed_urls\030\004 \003(\0132\025.coprocess.AccessS" +
  7293        "pec\"/\n\rBasicAuthData\022\020\n\010password\030\001 \001(\t\022\014" +
  7294        "\n\004hash\030\002 \001(\t\"\031\n\007JWTData\022\016\n\006secret\030\001 \001(\t\"" +
  7295        "!\n\007Monitor\022\026\n\016trigger_limits\030\001 \003(\001\"\370\006\n\014S" +
  7296        "essionState\022\022\n\nlast_check\030\001 \001(\003\022\021\n\tallow" +
  7297        "ance\030\002 \001(\001\022\014\n\004rate\030\003 \001(\001\022\013\n\003per\030\004 \001(\001\022\017\n",
  7298        "\007expires\030\005 \001(\003\022\021\n\tquota_max\030\006 \001(\003\022\024\n\014quo" +
  7299        "ta_renews\030\007 \001(\003\022\027\n\017quota_remaining\030\010 \001(\003" +
  7300        "\022\032\n\022quota_renewal_rate\030\t \001(\003\022@\n\raccess_r" +
  7301        "ights\030\n \003(\0132).coprocess.SessionState.Acc" +
  7302        "essRightsEntry\022\016\n\006org_id\030\013 \001(\t\022\027\n\017oauth_" +
  7303        "client_id\030\014 \001(\t\022:\n\noauth_keys\030\r \003(\0132&.co" +
  7304        "process.SessionState.OauthKeysEntry\0221\n\017b" +
  7305        "asic_auth_data\030\016 \001(\0132\030.coprocess.BasicAu" +
  7306        "thData\022$\n\010jwt_data\030\017 \001(\0132\022.coprocess.JWT" +
  7307        "Data\022\024\n\014hmac_enabled\030\020 \001(\010\022\023\n\013hmac_secre",
  7308        "t\030\021 \001(\t\022\023\n\013is_inactive\030\022 \001(\010\022\027\n\017apply_po" +
  7309        "licy_id\030\023 \001(\t\022\024\n\014data_expires\030\024 \001(\003\022#\n\007m" +
  7310        "onitor\030\025 \001(\0132\022.coprocess.Monitor\022!\n\031enab" +
  7311        "le_detailed_recording\030\026 \001(\010\022\020\n\010metadata\030" +
  7312        "\027 \001(\t\022\014\n\004tags\030\030 \003(\t\022\r\n\005alias\030\031 \001(\t\022\024\n\014la" +
  7313        "st_updated\030\032 \001(\t\022\035\n\025id_extractor_deadlin" +
  7314        "e\030\033 \001(\003\022\030\n\020session_lifetime\030\034 \001(\003\032P\n\021Acc" +
  7315        "essRightsEntry\022\013\n\003key\030\001 \001(\t\022*\n\005value\030\002 \001" +
  7316        "(\0132\033.coprocess.AccessDefinition:\0028\001\0320\n\016O" +
  7317        "authKeysEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(",
  7318        "\t:\0028\001b\006proto3"
  7319      };
  7320      com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
  7321          new com.google.protobuf.Descriptors.FileDescriptor.    InternalDescriptorAssigner() {
  7322            public com.google.protobuf.ExtensionRegistry assignDescriptors(
  7323                com.google.protobuf.Descriptors.FileDescriptor root) {
  7324              descriptor = root;
  7325              return null;
  7326            }
  7327          };
  7328      com.google.protobuf.Descriptors.FileDescriptor
  7329        .internalBuildGeneratedFileFrom(descriptorData,
  7330          new com.google.protobuf.Descriptors.FileDescriptor[] {
  7331          }, assigner);
  7332      internal_static_coprocess_AccessSpec_descriptor =
  7333        getDescriptor().getMessageTypes().get(0);
  7334      internal_static_coprocess_AccessSpec_fieldAccessorTable = new
  7335        com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
  7336          internal_static_coprocess_AccessSpec_descriptor,
  7337          new java.lang.String[] { "Url", "Methods", });
  7338      internal_static_coprocess_AccessDefinition_descriptor =
  7339        getDescriptor().getMessageTypes().get(1);
  7340      internal_static_coprocess_AccessDefinition_fieldAccessorTable = new
  7341        com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
  7342          internal_static_coprocess_AccessDefinition_descriptor,
  7343          new java.lang.String[] { "ApiName", "ApiId", "Versions", "AllowedUrls", });
  7344      internal_static_coprocess_BasicAuthData_descriptor =
  7345        getDescriptor().getMessageTypes().get(2);
  7346      internal_static_coprocess_BasicAuthData_fieldAccessorTable = new
  7347        com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
  7348          internal_static_coprocess_BasicAuthData_descriptor,
  7349          new java.lang.String[] { "Password", "Hash", });
  7350      internal_static_coprocess_JWTData_descriptor =
  7351        getDescriptor().getMessageTypes().get(3);
  7352      internal_static_coprocess_JWTData_fieldAccessorTable = new
  7353        com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
  7354          internal_static_coprocess_JWTData_descriptor,
  7355          new java.lang.String[] { "Secret", });
  7356      internal_static_coprocess_Monitor_descriptor =
  7357        getDescriptor().getMessageTypes().get(4);
  7358      internal_static_coprocess_Monitor_fieldAccessorTable = new
  7359        com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
  7360          internal_static_coprocess_Monitor_descriptor,
  7361          new java.lang.String[] { "TriggerLimits", });
  7362      internal_static_coprocess_SessionState_descriptor =
  7363        getDescriptor().getMessageTypes().get(5);
  7364      internal_static_coprocess_SessionState_fieldAccessorTable = new
  7365        com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
  7366          internal_static_coprocess_SessionState_descriptor,
  7367          new java.lang.String[] { "LastCheck", "Allowance", "Rate", "Per", "Expires", "QuotaMax", "QuotaRenews", "QuotaRemaining", "QuotaRenewalRate", "AccessRights", "OrgId", "OauthClientId", "OauthKeys", "BasicAuthData", "JwtData", "HmacEnabled", "HmacSecret", "IsInactive", "ApplyPolicyId", "DataExpires", "Monitor", "EnableDetailedRecording", "Metadata", "Tags", "Alias", "LastUpdated", "IdExtractorDeadline", "SessionLifetime", });
  7368      internal_static_coprocess_SessionState_AccessRightsEntry_descriptor =
  7369        internal_static_coprocess_SessionState_descriptor.getNestedTypes().get(0);
  7370      internal_static_coprocess_SessionState_AccessRightsEntry_fieldAccessorTable = new
  7371        com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
  7372          internal_static_coprocess_SessionState_AccessRightsEntry_descriptor,
  7373          new java.lang.String[] { "Key", "Value", });
  7374      internal_static_coprocess_SessionState_OauthKeysEntry_descriptor =
  7375        internal_static_coprocess_SessionState_descriptor.getNestedTypes().get(1);
  7376      internal_static_coprocess_SessionState_OauthKeysEntry_fieldAccessorTable = new
  7377        com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
  7378          internal_static_coprocess_SessionState_OauthKeysEntry_descriptor,
  7379          new java.lang.String[] { "Key", "Value", });
  7380    }
  7381  
  7382    // @@protoc_insertion_point(outer_class_scope)
  7383  }