Package org.a2aproject.sdk.grpc
Interface DeviceCodeOAuthFlowOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DeviceCodeOAuthFlow,DeviceCodeOAuthFlow.Builder
@Generated
public interface DeviceCodeOAuthFlowOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsScopes(String key) The available scopes for the OAuth2 security scheme.The device authorization endpoint URL.com.google.protobuf.ByteStringThe device authorization endpoint URL.The URL to be used for obtaining refresh tokens.com.google.protobuf.ByteStringThe URL to be used for obtaining refresh tokens.Deprecated.intThe available scopes for the OAuth2 security scheme.The available scopes for the OAuth2 security scheme.getScopesOrDefault(String key, String defaultValue) The available scopes for the OAuth2 security scheme.getScopesOrThrow(String key) The available scopes for the OAuth2 security scheme.The token URL to be used for this flow.com.google.protobuf.ByteStringThe token URL to be used for this flow.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
-
getDeviceAuthorizationUrl
String getDeviceAuthorizationUrl()The device authorization endpoint URL.
string device_authorization_url = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The deviceAuthorizationUrl.
-
getDeviceAuthorizationUrlBytes
com.google.protobuf.ByteString getDeviceAuthorizationUrlBytes()The device authorization endpoint URL.
string device_authorization_url = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for deviceAuthorizationUrl.
-
getTokenUrl
String getTokenUrl()The token URL to be used for this flow.
string token_url = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The tokenUrl.
-
getTokenUrlBytes
com.google.protobuf.ByteString getTokenUrlBytes()The token URL to be used for this flow.
string token_url = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for tokenUrl.
-
getRefreshUrl
String getRefreshUrl()The URL to be used for obtaining refresh tokens.
string refresh_url = 3;- Returns:
- The refreshUrl.
-
getRefreshUrlBytes
com.google.protobuf.ByteString getRefreshUrlBytes()The URL to be used for obtaining refresh tokens.
string refresh_url = 3;- Returns:
- The bytes for refreshUrl.
-
getScopesCount
int getScopesCount()The available scopes for the OAuth2 security scheme.
map<string, string> scopes = 4 [(.google.api.field_behavior) = REQUIRED]; -
containsScopes
The available scopes for the OAuth2 security scheme.
map<string, string> scopes = 4 [(.google.api.field_behavior) = REQUIRED]; -
getScopes
Deprecated.UsegetScopesMap()instead. -
getScopesMap
The available scopes for the OAuth2 security scheme.
map<string, string> scopes = 4 [(.google.api.field_behavior) = REQUIRED]; -
getScopesOrDefault
The available scopes for the OAuth2 security scheme.
map<string, string> scopes = 4 [(.google.api.field_behavior) = REQUIRED]; -
getScopesOrThrow
The available scopes for the OAuth2 security scheme.
map<string, string> scopes = 4 [(.google.api.field_behavior) = REQUIRED];
-