Interface AuthConfigOrBuilder (0.28.0)

public interface AuthConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getApiKeyConfig()

public abstract AuthConfig.ApiKeyConfig getApiKeyConfig()

Api Key Config.

.google.cloud.apihub.v1.AuthConfig.ApiKeyConfig api_key_config = 4;

Returns
Type Description
AuthConfig.ApiKeyConfig

The apiKeyConfig.

getApiKeyConfigOrBuilder()

public abstract AuthConfig.ApiKeyConfigOrBuilder getApiKeyConfigOrBuilder()

Api Key Config.

.google.cloud.apihub.v1.AuthConfig.ApiKeyConfig api_key_config = 4;

Returns
Type Description
AuthConfig.ApiKeyConfigOrBuilder

getAuthType()

public abstract AuthType getAuthType()

Required. The authentication type.

.google.cloud.apihub.v1.AuthType auth_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AuthType

The authType.

getAuthTypeValue()

public abstract int getAuthTypeValue()

Required. The authentication type.

.google.cloud.apihub.v1.AuthType auth_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for authType.

getConfigCase()

public abstract AuthConfig.ConfigCase getConfigCase()
Returns
Type Description
AuthConfig.ConfigCase

getGoogleServiceAccountConfig()

public abstract GoogleServiceAccountConfig getGoogleServiceAccountConfig()

Google Service Account.

.google.cloud.apihub.v1.GoogleServiceAccountConfig google_service_account_config = 2;

Returns
Type Description
GoogleServiceAccountConfig

The googleServiceAccountConfig.

getGoogleServiceAccountConfigOrBuilder()

public abstract GoogleServiceAccountConfigOrBuilder getGoogleServiceAccountConfigOrBuilder()

Google Service Account.

.google.cloud.apihub.v1.GoogleServiceAccountConfig google_service_account_config = 2;

Returns
Type Description
GoogleServiceAccountConfigOrBuilder

getOauth2ClientCredentialsConfig()

public abstract AuthConfig.Oauth2ClientCredentialsConfig getOauth2ClientCredentialsConfig()

Oauth2.0 Client Credentials.

.google.cloud.apihub.v1.AuthConfig.Oauth2ClientCredentialsConfig oauth2_client_credentials_config = 5;

Returns
Type Description
AuthConfig.Oauth2ClientCredentialsConfig

The oauth2ClientCredentialsConfig.

getOauth2ClientCredentialsConfigOrBuilder()

public abstract AuthConfig.Oauth2ClientCredentialsConfigOrBuilder getOauth2ClientCredentialsConfigOrBuilder()

Oauth2.0 Client Credentials.

.google.cloud.apihub.v1.AuthConfig.Oauth2ClientCredentialsConfig oauth2_client_credentials_config = 5;

Returns
Type Description
AuthConfig.Oauth2ClientCredentialsConfigOrBuilder

getUserPasswordConfig()

public abstract AuthConfig.UserPasswordConfig getUserPasswordConfig()

User Password.

.google.cloud.apihub.v1.AuthConfig.UserPasswordConfig user_password_config = 3;

Returns
Type Description
AuthConfig.UserPasswordConfig

The userPasswordConfig.

getUserPasswordConfigOrBuilder()

public abstract AuthConfig.UserPasswordConfigOrBuilder getUserPasswordConfigOrBuilder()

User Password.

.google.cloud.apihub.v1.AuthConfig.UserPasswordConfig user_password_config = 3;

Returns
Type Description
AuthConfig.UserPasswordConfigOrBuilder

hasApiKeyConfig()

public abstract boolean hasApiKeyConfig()

Api Key Config.

.google.cloud.apihub.v1.AuthConfig.ApiKeyConfig api_key_config = 4;

Returns
Type Description
boolean

Whether the apiKeyConfig field is set.

hasGoogleServiceAccountConfig()

public abstract boolean hasGoogleServiceAccountConfig()

Google Service Account.

.google.cloud.apihub.v1.GoogleServiceAccountConfig google_service_account_config = 2;

Returns
Type Description
boolean

Whether the googleServiceAccountConfig field is set.

hasOauth2ClientCredentialsConfig()

public abstract boolean hasOauth2ClientCredentialsConfig()

Oauth2.0 Client Credentials.

.google.cloud.apihub.v1.AuthConfig.Oauth2ClientCredentialsConfig oauth2_client_credentials_config = 5;

Returns
Type Description
boolean

Whether the oauth2ClientCredentialsConfig field is set.

hasUserPasswordConfig()

public abstract boolean hasUserPasswordConfig()

User Password.

.google.cloud.apihub.v1.AuthConfig.UserPasswordConfig user_password_config = 3;

Returns
Type Description
boolean

Whether the userPasswordConfig field is set.