blob: 0cf096c4aa9c9fb64f082662a396b0b9ed3c0bf5 [file] [log] [blame]
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: grpc/gcp/handshaker.proto
package io.grpc.alts.internal;
public interface IdentityOrBuilder extends
// @@protoc_insertion_point(interface_extends:grpc.gcp.Identity)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* Service account of a connection endpoint.
* </pre>
*
* <code>string service_account = 1;</code>
*/
java.lang.String getServiceAccount();
/**
* <pre>
* Service account of a connection endpoint.
* </pre>
*
* <code>string service_account = 1;</code>
*/
com.google.protobuf.ByteString
getServiceAccountBytes();
/**
* <pre>
* Hostname of a connection endpoint.
* </pre>
*
* <code>string hostname = 2;</code>
*/
java.lang.String getHostname();
/**
* <pre>
* Hostname of a connection endpoint.
* </pre>
*
* <code>string hostname = 2;</code>
*/
com.google.protobuf.ByteString
getHostnameBytes();
/**
* <pre>
* Additional attributes of the identity.
* </pre>
*
* <code>map&lt;string, string&gt; attributes = 3;</code>
*/
int getAttributesCount();
/**
* <pre>
* Additional attributes of the identity.
* </pre>
*
* <code>map&lt;string, string&gt; attributes = 3;</code>
*/
boolean containsAttributes(
java.lang.String key);
/**
* Use {@link #getAttributesMap()} instead.
*/
@java.lang.Deprecated
java.util.Map<java.lang.String, java.lang.String>
getAttributes();
/**
* <pre>
* Additional attributes of the identity.
* </pre>
*
* <code>map&lt;string, string&gt; attributes = 3;</code>
*/
java.util.Map<java.lang.String, java.lang.String>
getAttributesMap();
/**
* <pre>
* Additional attributes of the identity.
* </pre>
*
* <code>map&lt;string, string&gt; attributes = 3;</code>
*/
java.lang.String getAttributesOrDefault(
java.lang.String key,
java.lang.String defaultValue);
/**
* <pre>
* Additional attributes of the identity.
* </pre>
*
* <code>map&lt;string, string&gt; attributes = 3;</code>
*/
java.lang.String getAttributesOrThrow(
java.lang.String key);
public io.grpc.alts.internal.Identity.IdentityOneofCase getIdentityOneofCase();
}