Package org.a2aproject.sdk.compat03.grpc
Interface OAuth2SecuritySchemeOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OAuth2SecurityScheme,OAuth2SecurityScheme.Builder
@Generated
public interface OAuth2SecuritySchemeOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionDescription of this security scheme.com.google.protobuf.ByteStringDescription of this security scheme.getFlows()An object containing configuration information for the flow types supportedAn object containing configuration information for the flow types supportedURL to the oauth2 authorization server metadata [RFC8414](https://datatracker.ietf.org/doc/html/rfc8414).com.google.protobuf.ByteStringURL to the oauth2 authorization server metadata [RFC8414](https://datatracker.ietf.org/doc/html/rfc8414).booleanhasFlows()An object containing configuration information for the flow types supportedMethods 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
-
getDescription
String getDescription()Description of this security scheme.
string description = 1;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()Description of this security scheme.
string description = 1;- Returns:
- The bytes for description.
-
hasFlows
boolean hasFlows()An object containing configuration information for the flow types supported
.a2a.v1.OAuthFlows flows = 2;- Returns:
- Whether the flows field is set.
-
getFlows
OAuthFlows getFlows()An object containing configuration information for the flow types supported
.a2a.v1.OAuthFlows flows = 2;- Returns:
- The flows.
-
getFlowsOrBuilder
OAuthFlowsOrBuilder getFlowsOrBuilder()An object containing configuration information for the flow types supported
.a2a.v1.OAuthFlows flows = 2; -
getOauth2MetadataUrl
String getOauth2MetadataUrl()URL to the oauth2 authorization server metadata [RFC8414](https://datatracker.ietf.org/doc/html/rfc8414). TLS is required.
string oauth2_metadata_url = 3;- Returns:
- The oauth2MetadataUrl.
-
getOauth2MetadataUrlBytes
com.google.protobuf.ByteString getOauth2MetadataUrlBytes()URL to the oauth2 authorization server metadata [RFC8414](https://datatracker.ietf.org/doc/html/rfc8414). TLS is required.
string oauth2_metadata_url = 3;- Returns:
- The bytes for oauth2MetadataUrl.
-