Package com.google.cloud.apihub.v1
Interface AuthConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AuthConfig,AuthConfig.Builder
@Generated
public interface AuthConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionApi Key Config.Api Key Config.Required.intRequired.Google Service Account.Google Service Account.Oauth2.0 Client Credentials.Oauth2.0 Client Credentials.User Password.User Password.booleanApi Key Config.booleanGoogle Service Account.booleanOauth2.0 Client Credentials.booleanUser Password.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
-
hasGoogleServiceAccountConfig
boolean hasGoogleServiceAccountConfig()Google Service Account.
.google.cloud.apihub.v1.GoogleServiceAccountConfig google_service_account_config = 2;- Returns:
- Whether the googleServiceAccountConfig field is set.
-
getGoogleServiceAccountConfig
GoogleServiceAccountConfig getGoogleServiceAccountConfig()Google Service Account.
.google.cloud.apihub.v1.GoogleServiceAccountConfig google_service_account_config = 2;- Returns:
- The googleServiceAccountConfig.
-
getGoogleServiceAccountConfigOrBuilder
GoogleServiceAccountConfigOrBuilder getGoogleServiceAccountConfigOrBuilder()Google Service Account.
.google.cloud.apihub.v1.GoogleServiceAccountConfig google_service_account_config = 2; -
hasUserPasswordConfig
boolean hasUserPasswordConfig()User Password.
.google.cloud.apihub.v1.AuthConfig.UserPasswordConfig user_password_config = 3;- Returns:
- Whether the userPasswordConfig field is set.
-
getUserPasswordConfig
AuthConfig.UserPasswordConfig getUserPasswordConfig()User Password.
.google.cloud.apihub.v1.AuthConfig.UserPasswordConfig user_password_config = 3;- Returns:
- The userPasswordConfig.
-
getUserPasswordConfigOrBuilder
AuthConfig.UserPasswordConfigOrBuilder getUserPasswordConfigOrBuilder()User Password.
.google.cloud.apihub.v1.AuthConfig.UserPasswordConfig user_password_config = 3; -
hasApiKeyConfig
boolean hasApiKeyConfig()Api Key Config.
.google.cloud.apihub.v1.AuthConfig.ApiKeyConfig api_key_config = 4;- Returns:
- Whether the apiKeyConfig field is set.
-
getApiKeyConfig
AuthConfig.ApiKeyConfig getApiKeyConfig()Api Key Config.
.google.cloud.apihub.v1.AuthConfig.ApiKeyConfig api_key_config = 4;- Returns:
- The apiKeyConfig.
-
getApiKeyConfigOrBuilder
AuthConfig.ApiKeyConfigOrBuilder getApiKeyConfigOrBuilder()Api Key Config.
.google.cloud.apihub.v1.AuthConfig.ApiKeyConfig api_key_config = 4; -
hasOauth2ClientCredentialsConfig
boolean hasOauth2ClientCredentialsConfig()Oauth2.0 Client Credentials.
.google.cloud.apihub.v1.AuthConfig.Oauth2ClientCredentialsConfig oauth2_client_credentials_config = 5;- Returns:
- Whether the oauth2ClientCredentialsConfig field is set.
-
getOauth2ClientCredentialsConfig
AuthConfig.Oauth2ClientCredentialsConfig getOauth2ClientCredentialsConfig()Oauth2.0 Client Credentials.
.google.cloud.apihub.v1.AuthConfig.Oauth2ClientCredentialsConfig oauth2_client_credentials_config = 5;- Returns:
- The oauth2ClientCredentialsConfig.
-
getOauth2ClientCredentialsConfigOrBuilder
AuthConfig.Oauth2ClientCredentialsConfigOrBuilder getOauth2ClientCredentialsConfigOrBuilder()Oauth2.0 Client Credentials.
.google.cloud.apihub.v1.AuthConfig.Oauth2ClientCredentialsConfig oauth2_client_credentials_config = 5; -
getAuthTypeValue
int getAuthTypeValue()Required. The authentication type.
.google.cloud.apihub.v1.AuthType auth_type = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The enum numeric value on the wire for authType.
-
getAuthType
AuthType getAuthType()Required. The authentication type.
.google.cloud.apihub.v1.AuthType auth_type = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The authType.
-
getConfigCase
AuthConfig.ConfigCase getConfigCase()
-