Interface ProviderOAuthConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ProviderOAuthConfig,ProviderOAuthConfig.Builder
@Generated
public interface ProviderOAuthConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetScopes(int index) Required.com.google.protobuf.ByteStringgetScopesBytes(int index) Required.intRequired.Required.Optional.intOptional.booleanOptional.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
-
hasSystemProviderId
boolean hasSystemProviderId()Optional. Immutable. Developer Connect provided OAuth.
.google.cloud.developerconnect.v1.SystemProvider system_provider_id = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the systemProviderId field is set.
-
getSystemProviderIdValue
int getSystemProviderIdValue()Optional. Immutable. Developer Connect provided OAuth.
.google.cloud.developerconnect.v1.SystemProvider system_provider_id = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];- Returns:
- The enum numeric value on the wire for systemProviderId.
-
getSystemProviderId
SystemProvider getSystemProviderId()Optional. Immutable. Developer Connect provided OAuth.
.google.cloud.developerconnect.v1.SystemProvider system_provider_id = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];- Returns:
- The systemProviderId.
-
getScopesList
Required. User selected scopes to apply to the Oauth config In the event of changing scopes, user records under AccountConnector will be deleted and users will re-auth again.
repeated string scopes = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- A list containing the scopes.
-
getScopesCount
int getScopesCount()Required. User selected scopes to apply to the Oauth config In the event of changing scopes, user records under AccountConnector will be deleted and users will re-auth again.
repeated string scopes = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The count of scopes.
-
getScopes
Required. User selected scopes to apply to the Oauth config In the event of changing scopes, user records under AccountConnector will be deleted and users will re-auth again.
repeated string scopes = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
index- The index of the element to return.- Returns:
- The scopes at the given index.
-
getScopesBytes
com.google.protobuf.ByteString getScopesBytes(int index) Required. User selected scopes to apply to the Oauth config In the event of changing scopes, user records under AccountConnector will be deleted and users will re-auth again.
repeated string scopes = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the scopes at the given index.
-
getOauthProviderIdCase
ProviderOAuthConfig.OauthProviderIdCase getOauthProviderIdCase()
-