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

grpc.control_client._ListSigningKeysResponse Maven / Gradle / Ivy

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

package grpc.control_client;

/**
 * Protobuf type {@code control_client._ListSigningKeysResponse}
 */
public final class _ListSigningKeysResponse extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:control_client._ListSigningKeysResponse)
    _ListSigningKeysResponseOrBuilder {
private static final long serialVersionUID = 0L;
  // Use _ListSigningKeysResponse.newBuilder() to construct.
  private _ListSigningKeysResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private _ListSigningKeysResponse() {
    signingKey_ = java.util.Collections.emptyList();
    nextToken_ = "";
  }

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

  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return grpc.control_client.Controlclient.internal_static_control_client__ListSigningKeysResponse_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return grpc.control_client.Controlclient.internal_static_control_client__ListSigningKeysResponse_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            grpc.control_client._ListSigningKeysResponse.class, grpc.control_client._ListSigningKeysResponse.Builder.class);
  }

  public static final int SIGNING_KEY_FIELD_NUMBER = 1;
  @SuppressWarnings("serial")
  private java.util.List signingKey_;
  /**
   * repeated .control_client._SigningKey signing_key = 1;
   */
  @java.lang.Override
  public java.util.List getSigningKeyList() {
    return signingKey_;
  }
  /**
   * repeated .control_client._SigningKey signing_key = 1;
   */
  @java.lang.Override
  public java.util.List 
      getSigningKeyOrBuilderList() {
    return signingKey_;
  }
  /**
   * repeated .control_client._SigningKey signing_key = 1;
   */
  @java.lang.Override
  public int getSigningKeyCount() {
    return signingKey_.size();
  }
  /**
   * repeated .control_client._SigningKey signing_key = 1;
   */
  @java.lang.Override
  public grpc.control_client._SigningKey getSigningKey(int index) {
    return signingKey_.get(index);
  }
  /**
   * repeated .control_client._SigningKey signing_key = 1;
   */
  @java.lang.Override
  public grpc.control_client._SigningKeyOrBuilder getSigningKeyOrBuilder(
      int index) {
    return signingKey_.get(index);
  }

  public static final int NEXT_TOKEN_FIELD_NUMBER = 2;
  @SuppressWarnings("serial")
  private volatile java.lang.Object nextToken_ = "";
  /**
   * string next_token = 2;
   * @return The nextToken.
   */
  @java.lang.Override
  public java.lang.String getNextToken() {
    java.lang.Object ref = nextToken_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      nextToken_ = s;
      return s;
    }
  }
  /**
   * string next_token = 2;
   * @return The bytes for nextToken.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getNextTokenBytes() {
    java.lang.Object ref = nextToken_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      nextToken_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

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

    memoizedIsInitialized = 1;
    return true;
  }

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

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

    size = 0;
    for (int i = 0; i < signingKey_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(1, signingKey_.get(i));
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextToken_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextToken_);
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }

  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof grpc.control_client._ListSigningKeysResponse)) {
      return super.equals(obj);
    }
    grpc.control_client._ListSigningKeysResponse other = (grpc.control_client._ListSigningKeysResponse) obj;

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

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    if (getSigningKeyCount() > 0) {
      hash = (37 * hash) + SIGNING_KEY_FIELD_NUMBER;
      hash = (53 * hash) + getSigningKeyList().hashCode();
    }
    hash = (37 * hash) + NEXT_TOKEN_FIELD_NUMBER;
    hash = (53 * hash) + getNextToken().hashCode();
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static grpc.control_client._ListSigningKeysResponse parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static grpc.control_client._ListSigningKeysResponse parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static grpc.control_client._ListSigningKeysResponse parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static grpc.control_client._ListSigningKeysResponse parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static grpc.control_client._ListSigningKeysResponse parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static grpc.control_client._ListSigningKeysResponse parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static grpc.control_client._ListSigningKeysResponse parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static grpc.control_client._ListSigningKeysResponse parseFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }
  public static grpc.control_client._ListSigningKeysResponse parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static grpc.control_client._ListSigningKeysResponse parseDelimitedFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
  }
  public static grpc.control_client._ListSigningKeysResponse parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static grpc.control_client._ListSigningKeysResponse parseFrom(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }

  @java.lang.Override
  public Builder newBuilderForType() { return newBuilder(); }
  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }
  public static Builder newBuilder(grpc.control_client._ListSigningKeysResponse prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }
  @java.lang.Override
  public Builder toBuilder() {
    return this == DEFAULT_INSTANCE
        ? new Builder() : new Builder().mergeFrom(this);
  }

  @java.lang.Override
  protected Builder newBuilderForType(
      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   * Protobuf type {@code control_client._ListSigningKeysResponse}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder implements
      // @@protoc_insertion_point(builder_implements:control_client._ListSigningKeysResponse)
      grpc.control_client._ListSigningKeysResponseOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return grpc.control_client.Controlclient.internal_static_control_client__ListSigningKeysResponse_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return grpc.control_client.Controlclient.internal_static_control_client__ListSigningKeysResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              grpc.control_client._ListSigningKeysResponse.class, grpc.control_client._ListSigningKeysResponse.Builder.class);
    }

    // Construct using grpc.control_client._ListSigningKeysResponse.newBuilder()
    private Builder() {

    }

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

    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      if (signingKeyBuilder_ == null) {
        signingKey_ = java.util.Collections.emptyList();
      } else {
        signingKey_ = null;
        signingKeyBuilder_.clear();
      }
      bitField0_ = (bitField0_ & ~0x00000001);
      nextToken_ = "";
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return grpc.control_client.Controlclient.internal_static_control_client__ListSigningKeysResponse_descriptor;
    }

    @java.lang.Override
    public grpc.control_client._ListSigningKeysResponse getDefaultInstanceForType() {
      return grpc.control_client._ListSigningKeysResponse.getDefaultInstance();
    }

    @java.lang.Override
    public grpc.control_client._ListSigningKeysResponse build() {
      grpc.control_client._ListSigningKeysResponse result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public grpc.control_client._ListSigningKeysResponse buildPartial() {
      grpc.control_client._ListSigningKeysResponse result = new grpc.control_client._ListSigningKeysResponse(this);
      buildPartialRepeatedFields(result);
      if (bitField0_ != 0) { buildPartial0(result); }
      onBuilt();
      return result;
    }

    private void buildPartialRepeatedFields(grpc.control_client._ListSigningKeysResponse result) {
      if (signingKeyBuilder_ == null) {
        if (((bitField0_ & 0x00000001) != 0)) {
          signingKey_ = java.util.Collections.unmodifiableList(signingKey_);
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.signingKey_ = signingKey_;
      } else {
        result.signingKey_ = signingKeyBuilder_.build();
      }
    }

    private void buildPartial0(grpc.control_client._ListSigningKeysResponse result) {
      int from_bitField0_ = bitField0_;
      if (((from_bitField0_ & 0x00000002) != 0)) {
        result.nextToken_ = nextToken_;
      }
    }

    @java.lang.Override
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof grpc.control_client._ListSigningKeysResponse) {
        return mergeFrom((grpc.control_client._ListSigningKeysResponse)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(grpc.control_client._ListSigningKeysResponse other) {
      if (other == grpc.control_client._ListSigningKeysResponse.getDefaultInstance()) return this;
      if (signingKeyBuilder_ == null) {
        if (!other.signingKey_.isEmpty()) {
          if (signingKey_.isEmpty()) {
            signingKey_ = other.signingKey_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureSigningKeyIsMutable();
            signingKey_.addAll(other.signingKey_);
          }
          onChanged();
        }
      } else {
        if (!other.signingKey_.isEmpty()) {
          if (signingKeyBuilder_.isEmpty()) {
            signingKeyBuilder_.dispose();
            signingKeyBuilder_ = null;
            signingKey_ = other.signingKey_;
            bitField0_ = (bitField0_ & ~0x00000001);
            signingKeyBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getSigningKeyFieldBuilder() : null;
          } else {
            signingKeyBuilder_.addAllMessages(other.signingKey_);
          }
        }
      }
      if (!other.getNextToken().isEmpty()) {
        nextToken_ = other.nextToken_;
        bitField0_ |= 0x00000002;
        onChanged();
      }
      this.mergeUnknownFields(other.getUnknownFields());
      onChanged();
      return this;
    }

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

    @java.lang.Override
    public Builder mergeFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              grpc.control_client._SigningKey m =
                  input.readMessage(
                      grpc.control_client._SigningKey.parser(),
                      extensionRegistry);
              if (signingKeyBuilder_ == null) {
                ensureSigningKeyIsMutable();
                signingKey_.add(m);
              } else {
                signingKeyBuilder_.addMessage(m);
              }
              break;
            } // case 10
            case 18: {
              nextToken_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000002;
              break;
            } // case 18
            default: {
              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                done = true; // was an endgroup tag
              }
              break;
            } // default:
          } // switch (tag)
        } // while (!done)
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.unwrapIOException();
      } finally {
        onChanged();
      } // finally
      return this;
    }
    private int bitField0_;

    private java.util.List signingKey_ =
      java.util.Collections.emptyList();
    private void ensureSigningKeyIsMutable() {
      if (!((bitField0_ & 0x00000001) != 0)) {
        signingKey_ = new java.util.ArrayList(signingKey_);
        bitField0_ |= 0x00000001;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        grpc.control_client._SigningKey, grpc.control_client._SigningKey.Builder, grpc.control_client._SigningKeyOrBuilder> signingKeyBuilder_;

    /**
     * repeated .control_client._SigningKey signing_key = 1;
     */
    public java.util.List getSigningKeyList() {
      if (signingKeyBuilder_ == null) {
        return java.util.Collections.unmodifiableList(signingKey_);
      } else {
        return signingKeyBuilder_.getMessageList();
      }
    }
    /**
     * repeated .control_client._SigningKey signing_key = 1;
     */
    public int getSigningKeyCount() {
      if (signingKeyBuilder_ == null) {
        return signingKey_.size();
      } else {
        return signingKeyBuilder_.getCount();
      }
    }
    /**
     * repeated .control_client._SigningKey signing_key = 1;
     */
    public grpc.control_client._SigningKey getSigningKey(int index) {
      if (signingKeyBuilder_ == null) {
        return signingKey_.get(index);
      } else {
        return signingKeyBuilder_.getMessage(index);
      }
    }
    /**
     * repeated .control_client._SigningKey signing_key = 1;
     */
    public Builder setSigningKey(
        int index, grpc.control_client._SigningKey value) {
      if (signingKeyBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureSigningKeyIsMutable();
        signingKey_.set(index, value);
        onChanged();
      } else {
        signingKeyBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .control_client._SigningKey signing_key = 1;
     */
    public Builder setSigningKey(
        int index, grpc.control_client._SigningKey.Builder builderForValue) {
      if (signingKeyBuilder_ == null) {
        ensureSigningKeyIsMutable();
        signingKey_.set(index, builderForValue.build());
        onChanged();
      } else {
        signingKeyBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .control_client._SigningKey signing_key = 1;
     */
    public Builder addSigningKey(grpc.control_client._SigningKey value) {
      if (signingKeyBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureSigningKeyIsMutable();
        signingKey_.add(value);
        onChanged();
      } else {
        signingKeyBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * repeated .control_client._SigningKey signing_key = 1;
     */
    public Builder addSigningKey(
        int index, grpc.control_client._SigningKey value) {
      if (signingKeyBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureSigningKeyIsMutable();
        signingKey_.add(index, value);
        onChanged();
      } else {
        signingKeyBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .control_client._SigningKey signing_key = 1;
     */
    public Builder addSigningKey(
        grpc.control_client._SigningKey.Builder builderForValue) {
      if (signingKeyBuilder_ == null) {
        ensureSigningKeyIsMutable();
        signingKey_.add(builderForValue.build());
        onChanged();
      } else {
        signingKeyBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .control_client._SigningKey signing_key = 1;
     */
    public Builder addSigningKey(
        int index, grpc.control_client._SigningKey.Builder builderForValue) {
      if (signingKeyBuilder_ == null) {
        ensureSigningKeyIsMutable();
        signingKey_.add(index, builderForValue.build());
        onChanged();
      } else {
        signingKeyBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .control_client._SigningKey signing_key = 1;
     */
    public Builder addAllSigningKey(
        java.lang.Iterable values) {
      if (signingKeyBuilder_ == null) {
        ensureSigningKeyIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, signingKey_);
        onChanged();
      } else {
        signingKeyBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * repeated .control_client._SigningKey signing_key = 1;
     */
    public Builder clearSigningKey() {
      if (signingKeyBuilder_ == null) {
        signingKey_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
      } else {
        signingKeyBuilder_.clear();
      }
      return this;
    }
    /**
     * repeated .control_client._SigningKey signing_key = 1;
     */
    public Builder removeSigningKey(int index) {
      if (signingKeyBuilder_ == null) {
        ensureSigningKeyIsMutable();
        signingKey_.remove(index);
        onChanged();
      } else {
        signingKeyBuilder_.remove(index);
      }
      return this;
    }
    /**
     * repeated .control_client._SigningKey signing_key = 1;
     */
    public grpc.control_client._SigningKey.Builder getSigningKeyBuilder(
        int index) {
      return getSigningKeyFieldBuilder().getBuilder(index);
    }
    /**
     * repeated .control_client._SigningKey signing_key = 1;
     */
    public grpc.control_client._SigningKeyOrBuilder getSigningKeyOrBuilder(
        int index) {
      if (signingKeyBuilder_ == null) {
        return signingKey_.get(index);  } else {
        return signingKeyBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * repeated .control_client._SigningKey signing_key = 1;
     */
    public java.util.List 
         getSigningKeyOrBuilderList() {
      if (signingKeyBuilder_ != null) {
        return signingKeyBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(signingKey_);
      }
    }
    /**
     * repeated .control_client._SigningKey signing_key = 1;
     */
    public grpc.control_client._SigningKey.Builder addSigningKeyBuilder() {
      return getSigningKeyFieldBuilder().addBuilder(
          grpc.control_client._SigningKey.getDefaultInstance());
    }
    /**
     * repeated .control_client._SigningKey signing_key = 1;
     */
    public grpc.control_client._SigningKey.Builder addSigningKeyBuilder(
        int index) {
      return getSigningKeyFieldBuilder().addBuilder(
          index, grpc.control_client._SigningKey.getDefaultInstance());
    }
    /**
     * repeated .control_client._SigningKey signing_key = 1;
     */
    public java.util.List 
         getSigningKeyBuilderList() {
      return getSigningKeyFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        grpc.control_client._SigningKey, grpc.control_client._SigningKey.Builder, grpc.control_client._SigningKeyOrBuilder> 
        getSigningKeyFieldBuilder() {
      if (signingKeyBuilder_ == null) {
        signingKeyBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            grpc.control_client._SigningKey, grpc.control_client._SigningKey.Builder, grpc.control_client._SigningKeyOrBuilder>(
                signingKey_,
                ((bitField0_ & 0x00000001) != 0),
                getParentForChildren(),
                isClean());
        signingKey_ = null;
      }
      return signingKeyBuilder_;
    }

    private java.lang.Object nextToken_ = "";
    /**
     * string next_token = 2;
     * @return The nextToken.
     */
    public java.lang.String getNextToken() {
      java.lang.Object ref = nextToken_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        nextToken_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string next_token = 2;
     * @return The bytes for nextToken.
     */
    public com.google.protobuf.ByteString
        getNextTokenBytes() {
      java.lang.Object ref = nextToken_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        nextToken_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string next_token = 2;
     * @param value The nextToken to set.
     * @return This builder for chaining.
     */
    public Builder setNextToken(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      nextToken_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
    /**
     * string next_token = 2;
     * @return This builder for chaining.
     */
    public Builder clearNextToken() {
      nextToken_ = getDefaultInstance().getNextToken();
      bitField0_ = (bitField0_ & ~0x00000002);
      onChanged();
      return this;
    }
    /**
     * string next_token = 2;
     * @param value The bytes for nextToken to set.
     * @return This builder for chaining.
     */
    public Builder setNextTokenBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      nextToken_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
    @java.lang.Override
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFields(unknownFields);
    }

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


    // @@protoc_insertion_point(builder_scope:control_client._ListSigningKeysResponse)
  }

  // @@protoc_insertion_point(class_scope:control_client._ListSigningKeysResponse)
  private static final grpc.control_client._ListSigningKeysResponse DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new grpc.control_client._ListSigningKeysResponse();
  }

  public static grpc.control_client._ListSigningKeysResponse getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

  @java.lang.Override
  public grpc.control_client._ListSigningKeysResponse getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy