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

io.grpc.alts.internal.AltsContext 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/altscontext.proto

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

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

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

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

  @SuppressWarnings({"rawtypes"})
  @java.lang.Override
  protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
      int number) {
    switch (number) {
      case 7:
        return internalGetPeerAttributes();
      default:
        throw new RuntimeException(
            "Invalid map field number: " + number);
    }
  }
  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return io.grpc.alts.internal.AltsContextProto.internal_static_grpc_gcp_AltsContext_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            io.grpc.alts.internal.AltsContext.class, io.grpc.alts.internal.AltsContext.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 SECURITY_LEVEL_FIELD_NUMBER = 3; private int securityLevel_ = 0; /** *
   * The security level of the created secure channel.
   * 
* * .grpc.gcp.SecurityLevel security_level = 3; * @return The enum numeric value on the wire for securityLevel. */ @java.lang.Override public int getSecurityLevelValue() { return securityLevel_; } /** *
   * The security level of the created secure channel.
   * 
* * .grpc.gcp.SecurityLevel security_level = 3; * @return The securityLevel. */ @java.lang.Override public io.grpc.alts.internal.SecurityLevel getSecurityLevel() { io.grpc.alts.internal.SecurityLevel result = io.grpc.alts.internal.SecurityLevel.forNumber(securityLevel_); return result == null ? io.grpc.alts.internal.SecurityLevel.UNRECOGNIZED : result; } public static final int PEER_SERVICE_ACCOUNT_FIELD_NUMBER = 4; @SuppressWarnings("serial") private volatile java.lang.Object peerServiceAccount_ = ""; /** *
   * The peer service account.
   * 
* * string peer_service_account = 4; * @return The peerServiceAccount. */ @java.lang.Override public java.lang.String getPeerServiceAccount() { java.lang.Object ref = peerServiceAccount_; 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(); peerServiceAccount_ = s; return s; } } /** *
   * The peer service account.
   * 
* * string peer_service_account = 4; * @return The bytes for peerServiceAccount. */ @java.lang.Override public com.google.protobuf.ByteString getPeerServiceAccountBytes() { java.lang.Object ref = peerServiceAccount_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); peerServiceAccount_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LOCAL_SERVICE_ACCOUNT_FIELD_NUMBER = 5; @SuppressWarnings("serial") private volatile java.lang.Object localServiceAccount_ = ""; /** *
   * The local service account.
   * 
* * string local_service_account = 5; * @return The localServiceAccount. */ @java.lang.Override public java.lang.String getLocalServiceAccount() { java.lang.Object ref = localServiceAccount_; 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(); localServiceAccount_ = s; return s; } } /** *
   * The local service account.
   * 
* * string local_service_account = 5; * @return The bytes for localServiceAccount. */ @java.lang.Override public com.google.protobuf.ByteString getLocalServiceAccountBytes() { java.lang.Object ref = localServiceAccount_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); localServiceAccount_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PEER_RPC_VERSIONS_FIELD_NUMBER = 6; private io.grpc.alts.internal.RpcProtocolVersions peerRpcVersions_; /** *
   * The RPC protocol versions supported by the peer.
   * 
* * .grpc.gcp.RpcProtocolVersions peer_rpc_versions = 6; * @return Whether the peerRpcVersions field is set. */ @java.lang.Override public boolean hasPeerRpcVersions() { return ((bitField0_ & 0x00000001) != 0); } /** *
   * The RPC protocol versions supported by the peer.
   * 
* * .grpc.gcp.RpcProtocolVersions peer_rpc_versions = 6; * @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 = 6; */ @java.lang.Override public io.grpc.alts.internal.RpcProtocolVersionsOrBuilder getPeerRpcVersionsOrBuilder() { return peerRpcVersions_ == null ? io.grpc.alts.internal.RpcProtocolVersions.getDefaultInstance() : peerRpcVersions_; } public static final int PEER_ATTRIBUTES_FIELD_NUMBER = 7; private static final class PeerAttributesDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( io.grpc.alts.internal.AltsContextProto.internal_static_grpc_gcp_AltsContext_PeerAttributesEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } @SuppressWarnings("serial") private com.google.protobuf.MapField< java.lang.String, java.lang.String> peerAttributes_; private com.google.protobuf.MapField internalGetPeerAttributes() { if (peerAttributes_ == null) { return com.google.protobuf.MapField.emptyMapField( PeerAttributesDefaultEntryHolder.defaultEntry); } return peerAttributes_; } public int getPeerAttributesCount() { return internalGetPeerAttributes().getMap().size(); } /** *
   * Additional attributes of the peer.
   * 
* * map<string, string> peer_attributes = 7; */ @java.lang.Override public boolean containsPeerAttributes( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetPeerAttributes().getMap().containsKey(key); } /** * Use {@link #getPeerAttributesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getPeerAttributes() { return getPeerAttributesMap(); } /** *
   * Additional attributes of the peer.
   * 
* * map<string, string> peer_attributes = 7; */ @java.lang.Override public java.util.Map getPeerAttributesMap() { return internalGetPeerAttributes().getMap(); } /** *
   * Additional attributes of the peer.
   * 
* * map<string, string> peer_attributes = 7; */ @java.lang.Override public /* nullable */ java.lang.String getPeerAttributesOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetPeerAttributes().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
   * Additional attributes of the peer.
   * 
* * map<string, string> peer_attributes = 7; */ @java.lang.Override public java.lang.String getPeerAttributesOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetPeerAttributes().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } 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 (securityLevel_ != io.grpc.alts.internal.SecurityLevel.SECURITY_NONE.getNumber()) { output.writeEnum(3, securityLevel_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(peerServiceAccount_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, peerServiceAccount_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(localServiceAccount_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, localServiceAccount_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(6, getPeerRpcVersions()); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetPeerAttributes(), PeerAttributesDefaultEntryHolder.defaultEntry, 7); 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 (securityLevel_ != io.grpc.alts.internal.SecurityLevel.SECURITY_NONE.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, securityLevel_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(peerServiceAccount_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, peerServiceAccount_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(localServiceAccount_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, localServiceAccount_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getPeerRpcVersions()); } for (java.util.Map.Entry entry : internalGetPeerAttributes().getMap().entrySet()) { com.google.protobuf.MapEntry peerAttributes__ = PeerAttributesDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, peerAttributes__); } 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.AltsContext)) { return super.equals(obj); } io.grpc.alts.internal.AltsContext other = (io.grpc.alts.internal.AltsContext) obj; if (!getApplicationProtocol() .equals(other.getApplicationProtocol())) return false; if (!getRecordProtocol() .equals(other.getRecordProtocol())) return false; if (securityLevel_ != other.securityLevel_) return false; if (!getPeerServiceAccount() .equals(other.getPeerServiceAccount())) return false; if (!getLocalServiceAccount() .equals(other.getLocalServiceAccount())) return false; if (hasPeerRpcVersions() != other.hasPeerRpcVersions()) return false; if (hasPeerRpcVersions()) { if (!getPeerRpcVersions() .equals(other.getPeerRpcVersions())) return false; } if (!internalGetPeerAttributes().equals( other.internalGetPeerAttributes())) 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) + SECURITY_LEVEL_FIELD_NUMBER; hash = (53 * hash) + securityLevel_; hash = (37 * hash) + PEER_SERVICE_ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getPeerServiceAccount().hashCode(); hash = (37 * hash) + LOCAL_SERVICE_ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getLocalServiceAccount().hashCode(); if (hasPeerRpcVersions()) { hash = (37 * hash) + PEER_RPC_VERSIONS_FIELD_NUMBER; hash = (53 * hash) + getPeerRpcVersions().hashCode(); } if (!internalGetPeerAttributes().getMap().isEmpty()) { hash = (37 * hash) + PEER_ATTRIBUTES_FIELD_NUMBER; hash = (53 * hash) + internalGetPeerAttributes().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.grpc.alts.internal.AltsContext parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.grpc.alts.internal.AltsContext 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.AltsContext parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.grpc.alts.internal.AltsContext 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.AltsContext parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.grpc.alts.internal.AltsContext parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.grpc.alts.internal.AltsContext parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.grpc.alts.internal.AltsContext 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.AltsContext parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.grpc.alts.internal.AltsContext 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.AltsContext parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.grpc.alts.internal.AltsContext 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.AltsContext 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.AltsContext} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:grpc.gcp.AltsContext) io.grpc.alts.internal.AltsContextOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.grpc.alts.internal.AltsContextProto.internal_static_grpc_gcp_AltsContext_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( int number) { switch (number) { case 7: return internalGetPeerAttributes(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( int number) { switch (number) { case 7: return internalGetMutablePeerAttributes(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.grpc.alts.internal.AltsContextProto.internal_static_grpc_gcp_AltsContext_fieldAccessorTable .ensureFieldAccessorsInitialized( io.grpc.alts.internal.AltsContext.class, io.grpc.alts.internal.AltsContext.Builder.class); } // Construct using io.grpc.alts.internal.AltsContext.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getPeerRpcVersionsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; applicationProtocol_ = ""; recordProtocol_ = ""; securityLevel_ = 0; peerServiceAccount_ = ""; localServiceAccount_ = ""; peerRpcVersions_ = null; if (peerRpcVersionsBuilder_ != null) { peerRpcVersionsBuilder_.dispose(); peerRpcVersionsBuilder_ = null; } internalGetMutablePeerAttributes().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.grpc.alts.internal.AltsContextProto.internal_static_grpc_gcp_AltsContext_descriptor; } @java.lang.Override public io.grpc.alts.internal.AltsContext getDefaultInstanceForType() { return io.grpc.alts.internal.AltsContext.getDefaultInstance(); } @java.lang.Override public io.grpc.alts.internal.AltsContext build() { io.grpc.alts.internal.AltsContext result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.grpc.alts.internal.AltsContext buildPartial() { io.grpc.alts.internal.AltsContext result = new io.grpc.alts.internal.AltsContext(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(io.grpc.alts.internal.AltsContext 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.securityLevel_ = securityLevel_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.peerServiceAccount_ = peerServiceAccount_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.localServiceAccount_ = localServiceAccount_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000020) != 0)) { result.peerRpcVersions_ = peerRpcVersionsBuilder_ == null ? peerRpcVersions_ : peerRpcVersionsBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000040) != 0)) { result.peerAttributes_ = internalGetPeerAttributes(); result.peerAttributes_.makeImmutable(); } 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.AltsContext) { return mergeFrom((io.grpc.alts.internal.AltsContext)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.grpc.alts.internal.AltsContext other) { if (other == io.grpc.alts.internal.AltsContext.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.securityLevel_ != 0) { setSecurityLevelValue(other.getSecurityLevelValue()); } if (!other.getPeerServiceAccount().isEmpty()) { peerServiceAccount_ = other.peerServiceAccount_; bitField0_ |= 0x00000008; onChanged(); } if (!other.getLocalServiceAccount().isEmpty()) { localServiceAccount_ = other.localServiceAccount_; bitField0_ |= 0x00000010; onChanged(); } if (other.hasPeerRpcVersions()) { mergePeerRpcVersions(other.getPeerRpcVersions()); } internalGetMutablePeerAttributes().mergeFrom( other.internalGetPeerAttributes()); bitField0_ |= 0x00000040; 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 24: { securityLevel_ = input.readEnum(); bitField0_ |= 0x00000004; break; } // case 24 case 34: { peerServiceAccount_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000008; break; } // case 34 case 42: { localServiceAccount_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000010; break; } // case 42 case 50: { input.readMessage( getPeerRpcVersionsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000020; break; } // case 50 case 58: { com.google.protobuf.MapEntry peerAttributes__ = input.readMessage( PeerAttributesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); internalGetMutablePeerAttributes().getMutableMap().put( peerAttributes__.getKey(), peerAttributes__.getValue()); bitField0_ |= 0x00000040; break; } // case 58 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 int securityLevel_ = 0; /** *
     * The security level of the created secure channel.
     * 
* * .grpc.gcp.SecurityLevel security_level = 3; * @return The enum numeric value on the wire for securityLevel. */ @java.lang.Override public int getSecurityLevelValue() { return securityLevel_; } /** *
     * The security level of the created secure channel.
     * 
* * .grpc.gcp.SecurityLevel security_level = 3; * @param value The enum numeric value on the wire for securityLevel to set. * @return This builder for chaining. */ public Builder setSecurityLevelValue(int value) { securityLevel_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * The security level of the created secure channel.
     * 
* * .grpc.gcp.SecurityLevel security_level = 3; * @return The securityLevel. */ @java.lang.Override public io.grpc.alts.internal.SecurityLevel getSecurityLevel() { io.grpc.alts.internal.SecurityLevel result = io.grpc.alts.internal.SecurityLevel.forNumber(securityLevel_); return result == null ? io.grpc.alts.internal.SecurityLevel.UNRECOGNIZED : result; } /** *
     * The security level of the created secure channel.
     * 
* * .grpc.gcp.SecurityLevel security_level = 3; * @param value The securityLevel to set. * @return This builder for chaining. */ public Builder setSecurityLevel(io.grpc.alts.internal.SecurityLevel value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; securityLevel_ = value.getNumber(); onChanged(); return this; } /** *
     * The security level of the created secure channel.
     * 
* * .grpc.gcp.SecurityLevel security_level = 3; * @return This builder for chaining. */ public Builder clearSecurityLevel() { bitField0_ = (bitField0_ & ~0x00000004); securityLevel_ = 0; onChanged(); return this; } private java.lang.Object peerServiceAccount_ = ""; /** *
     * The peer service account.
     * 
* * string peer_service_account = 4; * @return The peerServiceAccount. */ public java.lang.String getPeerServiceAccount() { java.lang.Object ref = peerServiceAccount_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); peerServiceAccount_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * The peer service account.
     * 
* * string peer_service_account = 4; * @return The bytes for peerServiceAccount. */ public com.google.protobuf.ByteString getPeerServiceAccountBytes() { java.lang.Object ref = peerServiceAccount_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); peerServiceAccount_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * The peer service account.
     * 
* * string peer_service_account = 4; * @param value The peerServiceAccount to set. * @return This builder for chaining. */ public Builder setPeerServiceAccount( java.lang.String value) { if (value == null) { throw new NullPointerException(); } peerServiceAccount_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     * The peer service account.
     * 
* * string peer_service_account = 4; * @return This builder for chaining. */ public Builder clearPeerServiceAccount() { peerServiceAccount_ = getDefaultInstance().getPeerServiceAccount(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** *
     * The peer service account.
     * 
* * string peer_service_account = 4; * @param value The bytes for peerServiceAccount to set. * @return This builder for chaining. */ public Builder setPeerServiceAccountBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); peerServiceAccount_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } private java.lang.Object localServiceAccount_ = ""; /** *
     * The local service account.
     * 
* * string local_service_account = 5; * @return The localServiceAccount. */ public java.lang.String getLocalServiceAccount() { java.lang.Object ref = localServiceAccount_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); localServiceAccount_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * The local service account.
     * 
* * string local_service_account = 5; * @return The bytes for localServiceAccount. */ public com.google.protobuf.ByteString getLocalServiceAccountBytes() { java.lang.Object ref = localServiceAccount_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); localServiceAccount_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * The local service account.
     * 
* * string local_service_account = 5; * @param value The localServiceAccount to set. * @return This builder for chaining. */ public Builder setLocalServiceAccount( java.lang.String value) { if (value == null) { throw new NullPointerException(); } localServiceAccount_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
     * The local service account.
     * 
* * string local_service_account = 5; * @return This builder for chaining. */ public Builder clearLocalServiceAccount() { localServiceAccount_ = getDefaultInstance().getLocalServiceAccount(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } /** *
     * The local service account.
     * 
* * string local_service_account = 5; * @param value The bytes for localServiceAccount to set. * @return This builder for chaining. */ public Builder setLocalServiceAccountBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); localServiceAccount_ = value; bitField0_ |= 0x00000010; 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 = 6; * @return Whether the peerRpcVersions field is set. */ public boolean hasPeerRpcVersions() { return ((bitField0_ & 0x00000020) != 0); } /** *
     * The RPC protocol versions supported by the peer.
     * 
* * .grpc.gcp.RpcProtocolVersions peer_rpc_versions = 6; * @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 = 6; */ 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_ |= 0x00000020; onChanged(); return this; } /** *
     * The RPC protocol versions supported by the peer.
     * 
* * .grpc.gcp.RpcProtocolVersions peer_rpc_versions = 6; */ public Builder setPeerRpcVersions( io.grpc.alts.internal.RpcProtocolVersions.Builder builderForValue) { if (peerRpcVersionsBuilder_ == null) { peerRpcVersions_ = builderForValue.build(); } else { peerRpcVersionsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; onChanged(); return this; } /** *
     * The RPC protocol versions supported by the peer.
     * 
* * .grpc.gcp.RpcProtocolVersions peer_rpc_versions = 6; */ public Builder mergePeerRpcVersions(io.grpc.alts.internal.RpcProtocolVersions value) { if (peerRpcVersionsBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0) && peerRpcVersions_ != null && peerRpcVersions_ != io.grpc.alts.internal.RpcProtocolVersions.getDefaultInstance()) { getPeerRpcVersionsBuilder().mergeFrom(value); } else { peerRpcVersions_ = value; } } else { peerRpcVersionsBuilder_.mergeFrom(value); } if (peerRpcVersions_ != null) { bitField0_ |= 0x00000020; onChanged(); } return this; } /** *
     * The RPC protocol versions supported by the peer.
     * 
* * .grpc.gcp.RpcProtocolVersions peer_rpc_versions = 6; */ public Builder clearPeerRpcVersions() { bitField0_ = (bitField0_ & ~0x00000020); 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 = 6; */ public io.grpc.alts.internal.RpcProtocolVersions.Builder getPeerRpcVersionsBuilder() { bitField0_ |= 0x00000020; onChanged(); return getPeerRpcVersionsFieldBuilder().getBuilder(); } /** *
     * The RPC protocol versions supported by the peer.
     * 
* * .grpc.gcp.RpcProtocolVersions peer_rpc_versions = 6; */ 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 = 6; */ 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 com.google.protobuf.MapField< java.lang.String, java.lang.String> peerAttributes_; private com.google.protobuf.MapField internalGetPeerAttributes() { if (peerAttributes_ == null) { return com.google.protobuf.MapField.emptyMapField( PeerAttributesDefaultEntryHolder.defaultEntry); } return peerAttributes_; } private com.google.protobuf.MapField internalGetMutablePeerAttributes() { if (peerAttributes_ == null) { peerAttributes_ = com.google.protobuf.MapField.newMapField( PeerAttributesDefaultEntryHolder.defaultEntry); } if (!peerAttributes_.isMutable()) { peerAttributes_ = peerAttributes_.copy(); } bitField0_ |= 0x00000040; onChanged(); return peerAttributes_; } public int getPeerAttributesCount() { return internalGetPeerAttributes().getMap().size(); } /** *
     * Additional attributes of the peer.
     * 
* * map<string, string> peer_attributes = 7; */ @java.lang.Override public boolean containsPeerAttributes( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetPeerAttributes().getMap().containsKey(key); } /** * Use {@link #getPeerAttributesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getPeerAttributes() { return getPeerAttributesMap(); } /** *
     * Additional attributes of the peer.
     * 
* * map<string, string> peer_attributes = 7; */ @java.lang.Override public java.util.Map getPeerAttributesMap() { return internalGetPeerAttributes().getMap(); } /** *
     * Additional attributes of the peer.
     * 
* * map<string, string> peer_attributes = 7; */ @java.lang.Override public /* nullable */ java.lang.String getPeerAttributesOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetPeerAttributes().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Additional attributes of the peer.
     * 
* * map<string, string> peer_attributes = 7; */ @java.lang.Override public java.lang.String getPeerAttributesOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetPeerAttributes().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearPeerAttributes() { bitField0_ = (bitField0_ & ~0x00000040); internalGetMutablePeerAttributes().getMutableMap() .clear(); return this; } /** *
     * Additional attributes of the peer.
     * 
* * map<string, string> peer_attributes = 7; */ public Builder removePeerAttributes( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutablePeerAttributes().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutablePeerAttributes() { bitField0_ |= 0x00000040; return internalGetMutablePeerAttributes().getMutableMap(); } /** *
     * Additional attributes of the peer.
     * 
* * map<string, string> peer_attributes = 7; */ public Builder putPeerAttributes( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutablePeerAttributes().getMutableMap() .put(key, value); bitField0_ |= 0x00000040; return this; } /** *
     * Additional attributes of the peer.
     * 
* * map<string, string> peer_attributes = 7; */ public Builder putAllPeerAttributes( java.util.Map values) { internalGetMutablePeerAttributes().getMutableMap() .putAll(values); bitField0_ |= 0x00000040; 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.AltsContext) } // @@protoc_insertion_point(class_scope:grpc.gcp.AltsContext) private static final io.grpc.alts.internal.AltsContext DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.grpc.alts.internal.AltsContext(); } public static io.grpc.alts.internal.AltsContext getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AltsContext 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.AltsContext getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy