Package org.a2aproject.sdk.grpc
Interface AgentCardSignatureOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AgentCardSignature,AgentCardSignature.Builder
@Generated
public interface AgentCardSignatureOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.StructThe unprotected JWS header values.com.google.protobuf.StructOrBuilderThe unprotected JWS header values.(-- api-linter: core::0140::reserved-words=disabled aip.dev/not-precedent: Backwards compatibility --) Required.com.google.protobuf.ByteString(-- api-linter: core::0140::reserved-words=disabled aip.dev/not-precedent: Backwards compatibility --) Required.Required.com.google.protobuf.ByteStringRequired.booleanThe unprotected JWS header values.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
-
getProtected
String getProtected()(-- api-linter: core::0140::reserved-words=disabled aip.dev/not-precedent: Backwards compatibility --) Required. The protected JWS header for the signature. This is always a base64url-encoded JSON object.
string protected = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The protected.
-
getProtectedBytes
com.google.protobuf.ByteString getProtectedBytes()(-- api-linter: core::0140::reserved-words=disabled aip.dev/not-precedent: Backwards compatibility --) Required. The protected JWS header for the signature. This is always a base64url-encoded JSON object.
string protected = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for protected.
-
getSignature
String getSignature()Required. The computed signature, base64url-encoded.
string signature = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The signature.
-
getSignatureBytes
com.google.protobuf.ByteString getSignatureBytes()Required. The computed signature, base64url-encoded.
string signature = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for signature.
-
hasHeader
boolean hasHeader()The unprotected JWS header values.
.google.protobuf.Struct header = 3;- Returns:
- Whether the header field is set.
-
getHeader
com.google.protobuf.Struct getHeader()The unprotected JWS header values.
.google.protobuf.Struct header = 3;- Returns:
- The header.
-
getHeaderOrBuilder
com.google.protobuf.StructOrBuilder getHeaderOrBuilder()The unprotected JWS header values.
.google.protobuf.Struct header = 3;
-