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

io.grpc.alts.internal.HandshakerResult Maven / Gradle / Ivy

There is a newer version: 1.68.1
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: grpc/gcp/handshaker.proto

// Protobuf Java Version: 3.25.1
package io.grpc.alts.internal;

/**
 * Protobuf type {@code grpc.gcp.HandshakerResult}
 */
public final class HandshakerResult extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:grpc.gcp.HandshakerResult)
    HandshakerResultOrBuilder {
private static final long serialVersionUID = 0L;
  // Use HandshakerResult.newBuilder() to construct.
  private HandshakerResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private HandshakerResult() {
    applicationProtocol_ = "";
    recordProtocol_ = "";
    keyData_ = com.google.protobuf.ByteString.EMPTY;
  }

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

  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return io.grpc.alts.internal.HandshakerProto.internal_static_grpc_gcp_HandshakerResult_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return io.grpc.alts.internal.HandshakerProto.internal_static_grpc_gcp_HandshakerResult_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            io.grpc.alts.internal.HandshakerResult.class, io.grpc.alts.internal.HandshakerResult.Builder.class);
  }

  private int bitField0_;
  public static final int APPLICATION_PROTOCOL_FIELD_NUMBER = 1;
  @SuppressWarnings("serial")
  private volatile java.lang.Object applicationProtocol_ = "";
  /**
   * 
   * The application protocol negotiated for this connection.
   * 
* * string application_protocol = 1; * @return The applicationProtocol. */ @java.lang.Override public java.lang.String getApplicationProtocol() { java.lang.Object ref = applicationProtocol_; 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(); applicationProtocol_ = s; return s; } } /** *
   * The application protocol negotiated for this connection.
   * 
* * string application_protocol = 1; * @return The bytes for applicationProtocol. */ @java.lang.Override public com.google.protobuf.ByteString getApplicationProtocolBytes() { java.lang.Object ref = applicationProtocol_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); applicationProtocol_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int RECORD_PROTOCOL_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object recordProtocol_ = ""; /** *
   * The record protocol negotiated for this connection.
   * 
* * string record_protocol = 2; * @return The recordProtocol. */ @java.lang.Override public java.lang.String getRecordProtocol() { java.lang.Object ref = recordProtocol_; 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(); recordProtocol_ = s; return s; } } /** *
   * The record protocol negotiated for this connection.
   * 
* * string record_protocol = 2; * @return The bytes for recordProtocol. */ @java.lang.Override public com.google.protobuf.ByteString getRecordProtocolBytes() { java.lang.Object ref = recordProtocol_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); recordProtocol_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int KEY_DATA_FIELD_NUMBER = 3; private com.google.protobuf.ByteString keyData_ = com.google.protobuf.ByteString.EMPTY; /** *
   * Cryptographic key data. The key data may be more than the key length
   * required for the record protocol, thus the client of the handshaker
   * service needs to truncate the key data into the right key length.
   * 
* * bytes key_data = 3; * @return The keyData. */ @java.lang.Override public com.google.protobuf.ByteString getKeyData() { return keyData_; } public static final int PEER_IDENTITY_FIELD_NUMBER = 4; private io.grpc.alts.internal.Identity peerIdentity_; /** *
   * The authenticated identity of the peer.
   * 
* * .grpc.gcp.Identity peer_identity = 4; * @return Whether the peerIdentity field is set. */ @java.lang.Override public boolean hasPeerIdentity() { return ((bitField0_ & 0x00000001) != 0); } /** *
   * The authenticated identity of the peer.
   * 
* * .grpc.gcp.Identity peer_identity = 4; * @return The peerIdentity. */ @java.lang.Override public io.grpc.alts.internal.Identity getPeerIdentity() { return peerIdentity_ == null ? io.grpc.alts.internal.Identity.getDefaultInstance() : peerIdentity_; } /** *
   * The authenticated identity of the peer.
   * 
* * .grpc.gcp.Identity peer_identity = 4; */ @java.lang.Override public io.grpc.alts.internal.IdentityOrBuilder getPeerIdentityOrBuilder() { return peerIdentity_ == null ? io.grpc.alts.internal.Identity.getDefaultInstance() : peerIdentity_; } public static final int LOCAL_IDENTITY_FIELD_NUMBER = 5; private io.grpc.alts.internal.Identity localIdentity_; /** *
   * The local identity used in the handshake.
   * 
* * .grpc.gcp.Identity local_identity = 5; * @return Whether the localIdentity field is set. */ @java.lang.Override public boolean hasLocalIdentity() { return ((bitField0_ & 0x00000002) != 0); } /** *
   * The local identity used in the handshake.
   * 
* * .grpc.gcp.Identity local_identity = 5; * @return The localIdentity. */ @java.lang.Override public io.grpc.alts.internal.Identity getLocalIdentity() { return localIdentity_ == null ? io.grpc.alts.internal.Identity.getDefaultInstance() : localIdentity_; } /** *
   * The local identity used in the handshake.
   * 
* * .grpc.gcp.Identity local_identity = 5; */ @java.lang.Override public io.grpc.alts.internal.IdentityOrBuilder getLocalIdentityOrBuilder() { return localIdentity_ == null ? io.grpc.alts.internal.Identity.getDefaultInstance() : localIdentity_; } public static final int KEEP_CHANNEL_OPEN_FIELD_NUMBER = 6; private boolean keepChannelOpen_ = false; /** *
   * Indicate whether the handshaker service client should keep the channel
   * between the handshaker service open, e.g., in order to handle
   * post-handshake messages in the future.
   * 
* * bool keep_channel_open = 6; * @return The keepChannelOpen. */ @java.lang.Override public boolean getKeepChannelOpen() { return keepChannelOpen_; } public static final int PEER_RPC_VERSIONS_FIELD_NUMBER = 7; private io.grpc.alts.internal.RpcProtocolVersions peerRpcVersions_; /** *
   * The RPC protocol versions supported by the peer.
   * 
* * .grpc.gcp.RpcProtocolVersions peer_rpc_versions = 7; * @return Whether the peerRpcVersions field is set. */ @java.lang.Override public boolean hasPeerRpcVersions() { return ((bitField0_ & 0x00000004) != 0); } /** *
   * The RPC protocol versions supported by the peer.
   * 
* * .grpc.gcp.RpcProtocolVersions peer_rpc_versions = 7; * @return The peerRpcVersions. */ @java.lang.Override public io.grpc.alts.internal.RpcProtocolVersions getPeerRpcVersions() { return peerRpcVersions_ == null ? io.grpc.alts.internal.RpcProtocolVersions.getDefaultInstance() : peerRpcVersions_; } /** *
   * The RPC protocol versions supported by the peer.
   * 
* * .grpc.gcp.RpcProtocolVersions peer_rpc_versions = 7; */ @java.lang.Override public io.grpc.alts.internal.RpcProtocolVersionsOrBuilder getPeerRpcVersionsOrBuilder() { return peerRpcVersions_ == null ? io.grpc.alts.internal.RpcProtocolVersions.getDefaultInstance() : peerRpcVersions_; } public static final int MAX_FRAME_SIZE_FIELD_NUMBER = 8; private int maxFrameSize_ = 0; /** *
   * The maximum frame size of the peer.
   * 
* * uint32 max_frame_size = 8; * @return The maxFrameSize. */ @java.lang.Override public int getMaxFrameSize() { return maxFrameSize_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(applicationProtocol_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, applicationProtocol_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(recordProtocol_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, recordProtocol_); } if (!keyData_.isEmpty()) { output.writeBytes(3, keyData_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(4, getPeerIdentity()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(5, getLocalIdentity()); } if (keepChannelOpen_ != false) { output.writeBool(6, keepChannelOpen_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(7, getPeerRpcVersions()); } if (maxFrameSize_ != 0) { output.writeUInt32(8, maxFrameSize_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(applicationProtocol_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, applicationProtocol_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(recordProtocol_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, recordProtocol_); } if (!keyData_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, keyData_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getPeerIdentity()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getLocalIdentity()); } if (keepChannelOpen_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(6, keepChannelOpen_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getPeerRpcVersions()); } if (maxFrameSize_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(8, maxFrameSize_); } 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 io.grpc.alts.internal.HandshakerResult)) { return super.equals(obj); } io.grpc.alts.internal.HandshakerResult other = (io.grpc.alts.internal.HandshakerResult) obj; if (!getApplicationProtocol() .equals(other.getApplicationProtocol())) return false; if (!getRecordProtocol() .equals(other.getRecordProtocol())) return false; if (!getKeyData() .equals(other.getKeyData())) return false; if (hasPeerIdentity() != other.hasPeerIdentity()) return false; if (hasPeerIdentity()) { if (!getPeerIdentity() .equals(other.getPeerIdentity())) return false; } if (hasLocalIdentity() != other.hasLocalIdentity()) return false; if (hasLocalIdentity()) { if (!getLocalIdentity() .equals(other.getLocalIdentity())) return false; } if (getKeepChannelOpen() != other.getKeepChannelOpen()) return false; if (hasPeerRpcVersions() != other.hasPeerRpcVersions()) return false; if (hasPeerRpcVersions()) { if (!getPeerRpcVersions() .equals(other.getPeerRpcVersions())) return false; } if (getMaxFrameSize() != other.getMaxFrameSize()) 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(); hash = (37 * hash) + APPLICATION_PROTOCOL_FIELD_NUMBER; hash = (53 * hash) + getApplicationProtocol().hashCode(); hash = (37 * hash) + RECORD_PROTOCOL_FIELD_NUMBER; hash = (53 * hash) + getRecordProtocol().hashCode(); hash = (37 * hash) + KEY_DATA_FIELD_NUMBER; hash = (53 * hash) + getKeyData().hashCode(); if (hasPeerIdentity()) { hash = (37 * hash) + PEER_IDENTITY_FIELD_NUMBER; hash = (53 * hash) + getPeerIdentity().hashCode(); } if (hasLocalIdentity()) { hash = (37 * hash) + LOCAL_IDENTITY_FIELD_NUMBER; hash = (53 * hash) + getLocalIdentity().hashCode(); } hash = (37 * hash) + KEEP_CHANNEL_OPEN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getKeepChannelOpen()); if (hasPeerRpcVersions()) { hash = (37 * hash) + PEER_RPC_VERSIONS_FIELD_NUMBER; hash = (53 * hash) + getPeerRpcVersions().hashCode(); } hash = (37 * hash) + MAX_FRAME_SIZE_FIELD_NUMBER; hash = (53 * hash) + getMaxFrameSize(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.grpc.alts.internal.HandshakerResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.grpc.alts.internal.HandshakerResult parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.grpc.alts.internal.HandshakerResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.grpc.alts.internal.HandshakerResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.grpc.alts.internal.HandshakerResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.grpc.alts.internal.HandshakerResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.grpc.alts.internal.HandshakerResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.grpc.alts.internal.HandshakerResult 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 io.grpc.alts.internal.HandshakerResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.grpc.alts.internal.HandshakerResult 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 io.grpc.alts.internal.HandshakerResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.grpc.alts.internal.HandshakerResult 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(io.grpc.alts.internal.HandshakerResult 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 grpc.gcp.HandshakerResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:grpc.gcp.HandshakerResult) io.grpc.alts.internal.HandshakerResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.grpc.alts.internal.HandshakerProto.internal_static_grpc_gcp_HandshakerResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.grpc.alts.internal.HandshakerProto.internal_static_grpc_gcp_HandshakerResult_fieldAccessorTable .ensureFieldAccessorsInitialized( io.grpc.alts.internal.HandshakerResult.class, io.grpc.alts.internal.HandshakerResult.Builder.class); } // Construct using io.grpc.alts.internal.HandshakerResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getPeerIdentityFieldBuilder(); getLocalIdentityFieldBuilder(); getPeerRpcVersionsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; applicationProtocol_ = ""; recordProtocol_ = ""; keyData_ = com.google.protobuf.ByteString.EMPTY; peerIdentity_ = null; if (peerIdentityBuilder_ != null) { peerIdentityBuilder_.dispose(); peerIdentityBuilder_ = null; } localIdentity_ = null; if (localIdentityBuilder_ != null) { localIdentityBuilder_.dispose(); localIdentityBuilder_ = null; } keepChannelOpen_ = false; peerRpcVersions_ = null; if (peerRpcVersionsBuilder_ != null) { peerRpcVersionsBuilder_.dispose(); peerRpcVersionsBuilder_ = null; } maxFrameSize_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.grpc.alts.internal.HandshakerProto.internal_static_grpc_gcp_HandshakerResult_descriptor; } @java.lang.Override public io.grpc.alts.internal.HandshakerResult getDefaultInstanceForType() { return io.grpc.alts.internal.HandshakerResult.getDefaultInstance(); } @java.lang.Override public io.grpc.alts.internal.HandshakerResult build() { io.grpc.alts.internal.HandshakerResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.grpc.alts.internal.HandshakerResult buildPartial() { io.grpc.alts.internal.HandshakerResult result = new io.grpc.alts.internal.HandshakerResult(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(io.grpc.alts.internal.HandshakerResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.applicationProtocol_ = applicationProtocol_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.recordProtocol_ = recordProtocol_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.keyData_ = keyData_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000008) != 0)) { result.peerIdentity_ = peerIdentityBuilder_ == null ? peerIdentity_ : peerIdentityBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000010) != 0)) { result.localIdentity_ = localIdentityBuilder_ == null ? localIdentity_ : localIdentityBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000020) != 0)) { result.keepChannelOpen_ = keepChannelOpen_; } if (((from_bitField0_ & 0x00000040) != 0)) { result.peerRpcVersions_ = peerRpcVersionsBuilder_ == null ? peerRpcVersions_ : peerRpcVersionsBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000080) != 0)) { result.maxFrameSize_ = maxFrameSize_; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.grpc.alts.internal.HandshakerResult) { return mergeFrom((io.grpc.alts.internal.HandshakerResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.grpc.alts.internal.HandshakerResult other) { if (other == io.grpc.alts.internal.HandshakerResult.getDefaultInstance()) return this; if (!other.getApplicationProtocol().isEmpty()) { applicationProtocol_ = other.applicationProtocol_; bitField0_ |= 0x00000001; onChanged(); } if (!other.getRecordProtocol().isEmpty()) { recordProtocol_ = other.recordProtocol_; bitField0_ |= 0x00000002; onChanged(); } if (other.getKeyData() != com.google.protobuf.ByteString.EMPTY) { setKeyData(other.getKeyData()); } if (other.hasPeerIdentity()) { mergePeerIdentity(other.getPeerIdentity()); } if (other.hasLocalIdentity()) { mergeLocalIdentity(other.getLocalIdentity()); } if (other.getKeepChannelOpen() != false) { setKeepChannelOpen(other.getKeepChannelOpen()); } if (other.hasPeerRpcVersions()) { mergePeerRpcVersions(other.getPeerRpcVersions()); } if (other.getMaxFrameSize() != 0) { setMaxFrameSize(other.getMaxFrameSize()); } 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: { applicationProtocol_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { recordProtocol_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { keyData_ = input.readBytes(); bitField0_ |= 0x00000004; break; } // case 26 case 34: { input.readMessage( getPeerIdentityFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000008; break; } // case 34 case 42: { input.readMessage( getLocalIdentityFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000010; break; } // case 42 case 48: { keepChannelOpen_ = input.readBool(); bitField0_ |= 0x00000020; break; } // case 48 case 58: { input.readMessage( getPeerRpcVersionsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000040; break; } // case 58 case 64: { maxFrameSize_ = input.readUInt32(); bitField0_ |= 0x00000080; break; } // case 64 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.lang.Object applicationProtocol_ = ""; /** *
     * The application protocol negotiated for this connection.
     * 
* * string application_protocol = 1; * @return The applicationProtocol. */ public java.lang.String getApplicationProtocol() { java.lang.Object ref = applicationProtocol_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); applicationProtocol_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * The application protocol negotiated for this connection.
     * 
* * string application_protocol = 1; * @return The bytes for applicationProtocol. */ public com.google.protobuf.ByteString getApplicationProtocolBytes() { java.lang.Object ref = applicationProtocol_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); applicationProtocol_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * The application protocol negotiated for this connection.
     * 
* * string application_protocol = 1; * @param value The applicationProtocol to set. * @return This builder for chaining. */ public Builder setApplicationProtocol( java.lang.String value) { if (value == null) { throw new NullPointerException(); } applicationProtocol_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * The application protocol negotiated for this connection.
     * 
* * string application_protocol = 1; * @return This builder for chaining. */ public Builder clearApplicationProtocol() { applicationProtocol_ = getDefaultInstance().getApplicationProtocol(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
     * The application protocol negotiated for this connection.
     * 
* * string application_protocol = 1; * @param value The bytes for applicationProtocol to set. * @return This builder for chaining. */ public Builder setApplicationProtocolBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); applicationProtocol_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object recordProtocol_ = ""; /** *
     * The record protocol negotiated for this connection.
     * 
* * string record_protocol = 2; * @return The recordProtocol. */ public java.lang.String getRecordProtocol() { java.lang.Object ref = recordProtocol_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); recordProtocol_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * The record protocol negotiated for this connection.
     * 
* * string record_protocol = 2; * @return The bytes for recordProtocol. */ public com.google.protobuf.ByteString getRecordProtocolBytes() { java.lang.Object ref = recordProtocol_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); recordProtocol_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * The record protocol negotiated for this connection.
     * 
* * string record_protocol = 2; * @param value The recordProtocol to set. * @return This builder for chaining. */ public Builder setRecordProtocol( java.lang.String value) { if (value == null) { throw new NullPointerException(); } recordProtocol_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * The record protocol negotiated for this connection.
     * 
* * string record_protocol = 2; * @return This builder for chaining. */ public Builder clearRecordProtocol() { recordProtocol_ = getDefaultInstance().getRecordProtocol(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
     * The record protocol negotiated for this connection.
     * 
* * string record_protocol = 2; * @param value The bytes for recordProtocol to set. * @return This builder for chaining. */ public Builder setRecordProtocolBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); recordProtocol_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private com.google.protobuf.ByteString keyData_ = com.google.protobuf.ByteString.EMPTY; /** *
     * Cryptographic key data. The key data may be more than the key length
     * required for the record protocol, thus the client of the handshaker
     * service needs to truncate the key data into the right key length.
     * 
* * bytes key_data = 3; * @return The keyData. */ @java.lang.Override public com.google.protobuf.ByteString getKeyData() { return keyData_; } /** *
     * Cryptographic key data. The key data may be more than the key length
     * required for the record protocol, thus the client of the handshaker
     * service needs to truncate the key data into the right key length.
     * 
* * bytes key_data = 3; * @param value The keyData to set. * @return This builder for chaining. */ public Builder setKeyData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } keyData_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * Cryptographic key data. The key data may be more than the key length
     * required for the record protocol, thus the client of the handshaker
     * service needs to truncate the key data into the right key length.
     * 
* * bytes key_data = 3; * @return This builder for chaining. */ public Builder clearKeyData() { bitField0_ = (bitField0_ & ~0x00000004); keyData_ = getDefaultInstance().getKeyData(); onChanged(); return this; } private io.grpc.alts.internal.Identity peerIdentity_; private com.google.protobuf.SingleFieldBuilderV3< io.grpc.alts.internal.Identity, io.grpc.alts.internal.Identity.Builder, io.grpc.alts.internal.IdentityOrBuilder> peerIdentityBuilder_; /** *
     * The authenticated identity of the peer.
     * 
* * .grpc.gcp.Identity peer_identity = 4; * @return Whether the peerIdentity field is set. */ public boolean hasPeerIdentity() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * The authenticated identity of the peer.
     * 
* * .grpc.gcp.Identity peer_identity = 4; * @return The peerIdentity. */ public io.grpc.alts.internal.Identity getPeerIdentity() { if (peerIdentityBuilder_ == null) { return peerIdentity_ == null ? io.grpc.alts.internal.Identity.getDefaultInstance() : peerIdentity_; } else { return peerIdentityBuilder_.getMessage(); } } /** *
     * The authenticated identity of the peer.
     * 
* * .grpc.gcp.Identity peer_identity = 4; */ public Builder setPeerIdentity(io.grpc.alts.internal.Identity value) { if (peerIdentityBuilder_ == null) { if (value == null) { throw new NullPointerException(); } peerIdentity_ = value; } else { peerIdentityBuilder_.setMessage(value); } bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     * The authenticated identity of the peer.
     * 
* * .grpc.gcp.Identity peer_identity = 4; */ public Builder setPeerIdentity( io.grpc.alts.internal.Identity.Builder builderForValue) { if (peerIdentityBuilder_ == null) { peerIdentity_ = builderForValue.build(); } else { peerIdentityBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     * The authenticated identity of the peer.
     * 
* * .grpc.gcp.Identity peer_identity = 4; */ public Builder mergePeerIdentity(io.grpc.alts.internal.Identity value) { if (peerIdentityBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && peerIdentity_ != null && peerIdentity_ != io.grpc.alts.internal.Identity.getDefaultInstance()) { getPeerIdentityBuilder().mergeFrom(value); } else { peerIdentity_ = value; } } else { peerIdentityBuilder_.mergeFrom(value); } if (peerIdentity_ != null) { bitField0_ |= 0x00000008; onChanged(); } return this; } /** *
     * The authenticated identity of the peer.
     * 
* * .grpc.gcp.Identity peer_identity = 4; */ public Builder clearPeerIdentity() { bitField0_ = (bitField0_ & ~0x00000008); peerIdentity_ = null; if (peerIdentityBuilder_ != null) { peerIdentityBuilder_.dispose(); peerIdentityBuilder_ = null; } onChanged(); return this; } /** *
     * The authenticated identity of the peer.
     * 
* * .grpc.gcp.Identity peer_identity = 4; */ public io.grpc.alts.internal.Identity.Builder getPeerIdentityBuilder() { bitField0_ |= 0x00000008; onChanged(); return getPeerIdentityFieldBuilder().getBuilder(); } /** *
     * The authenticated identity of the peer.
     * 
* * .grpc.gcp.Identity peer_identity = 4; */ public io.grpc.alts.internal.IdentityOrBuilder getPeerIdentityOrBuilder() { if (peerIdentityBuilder_ != null) { return peerIdentityBuilder_.getMessageOrBuilder(); } else { return peerIdentity_ == null ? io.grpc.alts.internal.Identity.getDefaultInstance() : peerIdentity_; } } /** *
     * The authenticated identity of the peer.
     * 
* * .grpc.gcp.Identity peer_identity = 4; */ private com.google.protobuf.SingleFieldBuilderV3< io.grpc.alts.internal.Identity, io.grpc.alts.internal.Identity.Builder, io.grpc.alts.internal.IdentityOrBuilder> getPeerIdentityFieldBuilder() { if (peerIdentityBuilder_ == null) { peerIdentityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.grpc.alts.internal.Identity, io.grpc.alts.internal.Identity.Builder, io.grpc.alts.internal.IdentityOrBuilder>( getPeerIdentity(), getParentForChildren(), isClean()); peerIdentity_ = null; } return peerIdentityBuilder_; } private io.grpc.alts.internal.Identity localIdentity_; private com.google.protobuf.SingleFieldBuilderV3< io.grpc.alts.internal.Identity, io.grpc.alts.internal.Identity.Builder, io.grpc.alts.internal.IdentityOrBuilder> localIdentityBuilder_; /** *
     * The local identity used in the handshake.
     * 
* * .grpc.gcp.Identity local_identity = 5; * @return Whether the localIdentity field is set. */ public boolean hasLocalIdentity() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * The local identity used in the handshake.
     * 
* * .grpc.gcp.Identity local_identity = 5; * @return The localIdentity. */ public io.grpc.alts.internal.Identity getLocalIdentity() { if (localIdentityBuilder_ == null) { return localIdentity_ == null ? io.grpc.alts.internal.Identity.getDefaultInstance() : localIdentity_; } else { return localIdentityBuilder_.getMessage(); } } /** *
     * The local identity used in the handshake.
     * 
* * .grpc.gcp.Identity local_identity = 5; */ public Builder setLocalIdentity(io.grpc.alts.internal.Identity value) { if (localIdentityBuilder_ == null) { if (value == null) { throw new NullPointerException(); } localIdentity_ = value; } else { localIdentityBuilder_.setMessage(value); } bitField0_ |= 0x00000010; onChanged(); return this; } /** *
     * The local identity used in the handshake.
     * 
* * .grpc.gcp.Identity local_identity = 5; */ public Builder setLocalIdentity( io.grpc.alts.internal.Identity.Builder builderForValue) { if (localIdentityBuilder_ == null) { localIdentity_ = builderForValue.build(); } else { localIdentityBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; onChanged(); return this; } /** *
     * The local identity used in the handshake.
     * 
* * .grpc.gcp.Identity local_identity = 5; */ public Builder mergeLocalIdentity(io.grpc.alts.internal.Identity value) { if (localIdentityBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0) && localIdentity_ != null && localIdentity_ != io.grpc.alts.internal.Identity.getDefaultInstance()) { getLocalIdentityBuilder().mergeFrom(value); } else { localIdentity_ = value; } } else { localIdentityBuilder_.mergeFrom(value); } if (localIdentity_ != null) { bitField0_ |= 0x00000010; onChanged(); } return this; } /** *
     * The local identity used in the handshake.
     * 
* * .grpc.gcp.Identity local_identity = 5; */ public Builder clearLocalIdentity() { bitField0_ = (bitField0_ & ~0x00000010); localIdentity_ = null; if (localIdentityBuilder_ != null) { localIdentityBuilder_.dispose(); localIdentityBuilder_ = null; } onChanged(); return this; } /** *
     * The local identity used in the handshake.
     * 
* * .grpc.gcp.Identity local_identity = 5; */ public io.grpc.alts.internal.Identity.Builder getLocalIdentityBuilder() { bitField0_ |= 0x00000010; onChanged(); return getLocalIdentityFieldBuilder().getBuilder(); } /** *
     * The local identity used in the handshake.
     * 
* * .grpc.gcp.Identity local_identity = 5; */ public io.grpc.alts.internal.IdentityOrBuilder getLocalIdentityOrBuilder() { if (localIdentityBuilder_ != null) { return localIdentityBuilder_.getMessageOrBuilder(); } else { return localIdentity_ == null ? io.grpc.alts.internal.Identity.getDefaultInstance() : localIdentity_; } } /** *
     * The local identity used in the handshake.
     * 
* * .grpc.gcp.Identity local_identity = 5; */ private com.google.protobuf.SingleFieldBuilderV3< io.grpc.alts.internal.Identity, io.grpc.alts.internal.Identity.Builder, io.grpc.alts.internal.IdentityOrBuilder> getLocalIdentityFieldBuilder() { if (localIdentityBuilder_ == null) { localIdentityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.grpc.alts.internal.Identity, io.grpc.alts.internal.Identity.Builder, io.grpc.alts.internal.IdentityOrBuilder>( getLocalIdentity(), getParentForChildren(), isClean()); localIdentity_ = null; } return localIdentityBuilder_; } private boolean keepChannelOpen_ ; /** *
     * Indicate whether the handshaker service client should keep the channel
     * between the handshaker service open, e.g., in order to handle
     * post-handshake messages in the future.
     * 
* * bool keep_channel_open = 6; * @return The keepChannelOpen. */ @java.lang.Override public boolean getKeepChannelOpen() { return keepChannelOpen_; } /** *
     * Indicate whether the handshaker service client should keep the channel
     * between the handshaker service open, e.g., in order to handle
     * post-handshake messages in the future.
     * 
* * bool keep_channel_open = 6; * @param value The keepChannelOpen to set. * @return This builder for chaining. */ public Builder setKeepChannelOpen(boolean value) { keepChannelOpen_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** *
     * Indicate whether the handshaker service client should keep the channel
     * between the handshaker service open, e.g., in order to handle
     * post-handshake messages in the future.
     * 
* * bool keep_channel_open = 6; * @return This builder for chaining. */ public Builder clearKeepChannelOpen() { bitField0_ = (bitField0_ & ~0x00000020); keepChannelOpen_ = false; onChanged(); return this; } private io.grpc.alts.internal.RpcProtocolVersions peerRpcVersions_; private com.google.protobuf.SingleFieldBuilderV3< io.grpc.alts.internal.RpcProtocolVersions, io.grpc.alts.internal.RpcProtocolVersions.Builder, io.grpc.alts.internal.RpcProtocolVersionsOrBuilder> peerRpcVersionsBuilder_; /** *
     * The RPC protocol versions supported by the peer.
     * 
* * .grpc.gcp.RpcProtocolVersions peer_rpc_versions = 7; * @return Whether the peerRpcVersions field is set. */ public boolean hasPeerRpcVersions() { return ((bitField0_ & 0x00000040) != 0); } /** *
     * The RPC protocol versions supported by the peer.
     * 
* * .grpc.gcp.RpcProtocolVersions peer_rpc_versions = 7; * @return The peerRpcVersions. */ public io.grpc.alts.internal.RpcProtocolVersions getPeerRpcVersions() { if (peerRpcVersionsBuilder_ == null) { return peerRpcVersions_ == null ? io.grpc.alts.internal.RpcProtocolVersions.getDefaultInstance() : peerRpcVersions_; } else { return peerRpcVersionsBuilder_.getMessage(); } } /** *
     * The RPC protocol versions supported by the peer.
     * 
* * .grpc.gcp.RpcProtocolVersions peer_rpc_versions = 7; */ public Builder setPeerRpcVersions(io.grpc.alts.internal.RpcProtocolVersions value) { if (peerRpcVersionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } peerRpcVersions_ = value; } else { peerRpcVersionsBuilder_.setMessage(value); } bitField0_ |= 0x00000040; onChanged(); return this; } /** *
     * The RPC protocol versions supported by the peer.
     * 
* * .grpc.gcp.RpcProtocolVersions peer_rpc_versions = 7; */ public Builder setPeerRpcVersions( io.grpc.alts.internal.RpcProtocolVersions.Builder builderForValue) { if (peerRpcVersionsBuilder_ == null) { peerRpcVersions_ = builderForValue.build(); } else { peerRpcVersionsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000040; onChanged(); return this; } /** *
     * The RPC protocol versions supported by the peer.
     * 
* * .grpc.gcp.RpcProtocolVersions peer_rpc_versions = 7; */ public Builder mergePeerRpcVersions(io.grpc.alts.internal.RpcProtocolVersions value) { if (peerRpcVersionsBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0) && peerRpcVersions_ != null && peerRpcVersions_ != io.grpc.alts.internal.RpcProtocolVersions.getDefaultInstance()) { getPeerRpcVersionsBuilder().mergeFrom(value); } else { peerRpcVersions_ = value; } } else { peerRpcVersionsBuilder_.mergeFrom(value); } if (peerRpcVersions_ != null) { bitField0_ |= 0x00000040; onChanged(); } return this; } /** *
     * The RPC protocol versions supported by the peer.
     * 
* * .grpc.gcp.RpcProtocolVersions peer_rpc_versions = 7; */ public Builder clearPeerRpcVersions() { bitField0_ = (bitField0_ & ~0x00000040); peerRpcVersions_ = null; if (peerRpcVersionsBuilder_ != null) { peerRpcVersionsBuilder_.dispose(); peerRpcVersionsBuilder_ = null; } onChanged(); return this; } /** *
     * The RPC protocol versions supported by the peer.
     * 
* * .grpc.gcp.RpcProtocolVersions peer_rpc_versions = 7; */ public io.grpc.alts.internal.RpcProtocolVersions.Builder getPeerRpcVersionsBuilder() { bitField0_ |= 0x00000040; onChanged(); return getPeerRpcVersionsFieldBuilder().getBuilder(); } /** *
     * The RPC protocol versions supported by the peer.
     * 
* * .grpc.gcp.RpcProtocolVersions peer_rpc_versions = 7; */ public io.grpc.alts.internal.RpcProtocolVersionsOrBuilder getPeerRpcVersionsOrBuilder() { if (peerRpcVersionsBuilder_ != null) { return peerRpcVersionsBuilder_.getMessageOrBuilder(); } else { return peerRpcVersions_ == null ? io.grpc.alts.internal.RpcProtocolVersions.getDefaultInstance() : peerRpcVersions_; } } /** *
     * The RPC protocol versions supported by the peer.
     * 
* * .grpc.gcp.RpcProtocolVersions peer_rpc_versions = 7; */ private com.google.protobuf.SingleFieldBuilderV3< io.grpc.alts.internal.RpcProtocolVersions, io.grpc.alts.internal.RpcProtocolVersions.Builder, io.grpc.alts.internal.RpcProtocolVersionsOrBuilder> getPeerRpcVersionsFieldBuilder() { if (peerRpcVersionsBuilder_ == null) { peerRpcVersionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.grpc.alts.internal.RpcProtocolVersions, io.grpc.alts.internal.RpcProtocolVersions.Builder, io.grpc.alts.internal.RpcProtocolVersionsOrBuilder>( getPeerRpcVersions(), getParentForChildren(), isClean()); peerRpcVersions_ = null; } return peerRpcVersionsBuilder_; } private int maxFrameSize_ ; /** *
     * The maximum frame size of the peer.
     * 
* * uint32 max_frame_size = 8; * @return The maxFrameSize. */ @java.lang.Override public int getMaxFrameSize() { return maxFrameSize_; } /** *
     * The maximum frame size of the peer.
     * 
* * uint32 max_frame_size = 8; * @param value The maxFrameSize to set. * @return This builder for chaining. */ public Builder setMaxFrameSize(int value) { maxFrameSize_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** *
     * The maximum frame size of the peer.
     * 
* * uint32 max_frame_size = 8; * @return This builder for chaining. */ public Builder clearMaxFrameSize() { bitField0_ = (bitField0_ & ~0x00000080); maxFrameSize_ = 0; 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:grpc.gcp.HandshakerResult) } // @@protoc_insertion_point(class_scope:grpc.gcp.HandshakerResult) private static final io.grpc.alts.internal.HandshakerResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.grpc.alts.internal.HandshakerResult(); } public static io.grpc.alts.internal.HandshakerResult getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public HandshakerResult 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 parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.grpc.alts.internal.HandshakerResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy