Package org.a2aproject.sdk.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 TypeMethodDescriptionAn optional description for the security scheme.com.google.protobuf.ByteStringAn optional description for the security scheme.getFlows()An object containing configuration information for the supported OAuth 2.0 flows.An object containing configuration information for the supported OAuth 2.0 flows.URL to the OAuth2 authorization server metadata [RFC 8414](https://datatracker.ietf.org/doc/html/rfc8414).com.google.protobuf.ByteStringURL to the OAuth2 authorization server metadata [RFC 8414](https://datatracker.ietf.org/doc/html/rfc8414).booleanhasFlows()An object containing configuration information for the supported OAuth 2.0 flows.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
-
getDescription
String getDescription()An optional description for the security scheme.
string description = 1;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()An optional description for the security scheme.
string description = 1;- Returns:
- The bytes for description.
-
hasFlows
boolean hasFlows()An object containing configuration information for the supported OAuth 2.0 flows.
.lf.a2a.v1.OAuthFlows flows = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the flows field is set.
-
getFlows
OAuthFlows getFlows()An object containing configuration information for the supported OAuth 2.0 flows.
.lf.a2a.v1.OAuthFlows flows = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The flows.
-
getFlowsOrBuilder
OAuthFlowsOrBuilder getFlowsOrBuilder()An object containing configuration information for the supported OAuth 2.0 flows.
.lf.a2a.v1.OAuthFlows flows = 2 [(.google.api.field_behavior) = REQUIRED]; -
getOauth2MetadataUrl
String getOauth2MetadataUrl()URL to the OAuth2 authorization server metadata [RFC 8414](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 [RFC 8414](https://datatracker.ietf.org/doc/html/rfc8414). TLS is required.
string oauth2_metadata_url = 3;- Returns:
- The bytes for oauth2MetadataUrl.
-