| // Generated by the protocol buffer compiler. DO NOT EDIT! |
| // source: grpc/gcp/altscontext.proto |
| |
| package io.grpc.alts.internal; |
| |
| public interface AltsContextOrBuilder extends |
| // @@protoc_insertion_point(interface_extends:grpc.gcp.AltsContext) |
| com.google.protobuf.MessageOrBuilder { |
| |
| /** |
| * <pre> |
| * The application protocol negotiated for this connection. |
| * </pre> |
| * |
| * <code>string application_protocol = 1;</code> |
| */ |
| java.lang.String getApplicationProtocol(); |
| /** |
| * <pre> |
| * The application protocol negotiated for this connection. |
| * </pre> |
| * |
| * <code>string application_protocol = 1;</code> |
| */ |
| com.google.protobuf.ByteString |
| getApplicationProtocolBytes(); |
| |
| /** |
| * <pre> |
| * The record protocol negotiated for this connection. |
| * </pre> |
| * |
| * <code>string record_protocol = 2;</code> |
| */ |
| java.lang.String getRecordProtocol(); |
| /** |
| * <pre> |
| * The record protocol negotiated for this connection. |
| * </pre> |
| * |
| * <code>string record_protocol = 2;</code> |
| */ |
| com.google.protobuf.ByteString |
| getRecordProtocolBytes(); |
| |
| /** |
| * <pre> |
| * The security level of the created secure channel. |
| * </pre> |
| * |
| * <code>.grpc.gcp.SecurityLevel security_level = 3;</code> |
| */ |
| int getSecurityLevelValue(); |
| /** |
| * <pre> |
| * The security level of the created secure channel. |
| * </pre> |
| * |
| * <code>.grpc.gcp.SecurityLevel security_level = 3;</code> |
| */ |
| io.grpc.alts.internal.SecurityLevel getSecurityLevel(); |
| |
| /** |
| * <pre> |
| * The peer service account. |
| * </pre> |
| * |
| * <code>string peer_service_account = 4;</code> |
| */ |
| java.lang.String getPeerServiceAccount(); |
| /** |
| * <pre> |
| * The peer service account. |
| * </pre> |
| * |
| * <code>string peer_service_account = 4;</code> |
| */ |
| com.google.protobuf.ByteString |
| getPeerServiceAccountBytes(); |
| |
| /** |
| * <pre> |
| * The local service account. |
| * </pre> |
| * |
| * <code>string local_service_account = 5;</code> |
| */ |
| java.lang.String getLocalServiceAccount(); |
| /** |
| * <pre> |
| * The local service account. |
| * </pre> |
| * |
| * <code>string local_service_account = 5;</code> |
| */ |
| com.google.protobuf.ByteString |
| getLocalServiceAccountBytes(); |
| |
| /** |
| * <pre> |
| * The RPC protocol versions supported by the peer. |
| * </pre> |
| * |
| * <code>.grpc.gcp.RpcProtocolVersions peer_rpc_versions = 6;</code> |
| */ |
| boolean hasPeerRpcVersions(); |
| /** |
| * <pre> |
| * The RPC protocol versions supported by the peer. |
| * </pre> |
| * |
| * <code>.grpc.gcp.RpcProtocolVersions peer_rpc_versions = 6;</code> |
| */ |
| io.grpc.alts.internal.RpcProtocolVersions getPeerRpcVersions(); |
| /** |
| * <pre> |
| * The RPC protocol versions supported by the peer. |
| * </pre> |
| * |
| * <code>.grpc.gcp.RpcProtocolVersions peer_rpc_versions = 6;</code> |
| */ |
| io.grpc.alts.internal.RpcProtocolVersionsOrBuilder getPeerRpcVersionsOrBuilder(); |
| |
| /** |
| * <pre> |
| * Additional attributes of the peer. |
| * </pre> |
| * |
| * <code>map<string, string> peer_attributes = 7;</code> |
| */ |
| int getPeerAttributesCount(); |
| /** |
| * <pre> |
| * Additional attributes of the peer. |
| * </pre> |
| * |
| * <code>map<string, string> peer_attributes = 7;</code> |
| */ |
| boolean containsPeerAttributes( |
| java.lang.String key); |
| /** |
| * Use {@link #getPeerAttributesMap()} instead. |
| */ |
| @java.lang.Deprecated |
| java.util.Map<java.lang.String, java.lang.String> |
| getPeerAttributes(); |
| /** |
| * <pre> |
| * Additional attributes of the peer. |
| * </pre> |
| * |
| * <code>map<string, string> peer_attributes = 7;</code> |
| */ |
| java.util.Map<java.lang.String, java.lang.String> |
| getPeerAttributesMap(); |
| /** |
| * <pre> |
| * Additional attributes of the peer. |
| * </pre> |
| * |
| * <code>map<string, string> peer_attributes = 7;</code> |
| */ |
| |
| java.lang.String getPeerAttributesOrDefault( |
| java.lang.String key, |
| java.lang.String defaultValue); |
| /** |
| * <pre> |
| * Additional attributes of the peer. |
| * </pre> |
| * |
| * <code>map<string, string> peer_attributes = 7;</code> |
| */ |
| |
| java.lang.String getPeerAttributesOrThrow( |
| java.lang.String key); |
| } |