Package org.a2aproject.sdk.grpc
Interface AuthenticationInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AuthenticationInfo,AuthenticationInfo.Builder
@Generated
public interface AuthenticationInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionPush Notification credentials.com.google.protobuf.ByteStringPush Notification credentials.HTTP Authentication Scheme from the [IANA registry](https://www.iana.org/assignments/http-authschemes/).com.google.protobuf.ByteStringHTTP Authentication Scheme from the [IANA registry](https://www.iana.org/assignments/http-authschemes/).Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getScheme
String getScheme()HTTP Authentication Scheme from the [IANA registry](https://www.iana.org/assignments/http-authschemes/). Examples: `Bearer`, `Basic`, `Digest`. Scheme names are case-insensitive per [RFC 9110 Section 11.1](https://www.rfc-editor.org/rfc/rfc9110#section-11.1).
string scheme = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The scheme.
-
getSchemeBytes
com.google.protobuf.ByteString getSchemeBytes()HTTP Authentication Scheme from the [IANA registry](https://www.iana.org/assignments/http-authschemes/). Examples: `Bearer`, `Basic`, `Digest`. Scheme names are case-insensitive per [RFC 9110 Section 11.1](https://www.rfc-editor.org/rfc/rfc9110#section-11.1).
string scheme = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for scheme.
-
getCredentials
String getCredentials()Push Notification credentials. Format depends on the scheme (e.g., token for Bearer).
string credentials = 2;- Returns:
- The credentials.
-
getCredentialsBytes
com.google.protobuf.ByteString getCredentialsBytes()Push Notification credentials. Format depends on the scheme (e.g., token for Bearer).
string credentials = 2;- Returns:
- The bytes for credentials.
-