Class AuthConfig (3.40.0)

public final class AuthConfig extends GeneratedMessageV3 implements AuthConfigOrBuilder

Auth configuration to run the extension.

Protobuf type google.cloud.aiplatform.v1beta1.AuthConfig

Implements

AuthConfigOrBuilder

Static Fields

API_KEY_CONFIG_FIELD_NUMBER

public static final int API_KEY_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

AUTH_TYPE_FIELD_NUMBER

public static final int AUTH_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

GOOGLE_SERVICE_ACCOUNT_CONFIG_FIELD_NUMBER

public static final int GOOGLE_SERVICE_ACCOUNT_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

HTTP_BASIC_AUTH_CONFIG_FIELD_NUMBER

public static final int HTTP_BASIC_AUTH_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

OAUTH_CONFIG_FIELD_NUMBER

public static final int OAUTH_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

OIDC_CONFIG_FIELD_NUMBER

public static final int OIDC_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AuthConfig getDefaultInstance()
Returns
TypeDescription
AuthConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AuthConfig.Builder newBuilder()
Returns
TypeDescription
AuthConfig.Builder

newBuilder(AuthConfig prototype)

public static AuthConfig.Builder newBuilder(AuthConfig prototype)
Parameter
NameDescription
prototypeAuthConfig
Returns
TypeDescription
AuthConfig.Builder

parseDelimitedFrom(InputStream input)

public static AuthConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AuthConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AuthConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuthConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AuthConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AuthConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AuthConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuthConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AuthConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AuthConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AuthConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuthConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AuthConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AuthConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AuthConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuthConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AuthConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AuthConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AuthConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuthConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AuthConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AuthConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AuthConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuthConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AuthConfig> parser()
Returns
TypeDescription
Parser<AuthConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getApiKeyConfig()

public AuthConfig.ApiKeyConfig getApiKeyConfig()

Config for API key auth.

.google.cloud.aiplatform.v1beta1.AuthConfig.ApiKeyConfig api_key_config = 2;

Returns
TypeDescription
AuthConfig.ApiKeyConfig

The apiKeyConfig.

getApiKeyConfigOrBuilder()

public AuthConfig.ApiKeyConfigOrBuilder getApiKeyConfigOrBuilder()

Config for API key auth.

.google.cloud.aiplatform.v1beta1.AuthConfig.ApiKeyConfig api_key_config = 2;

Returns
TypeDescription
AuthConfig.ApiKeyConfigOrBuilder

getAuthConfigCase()

public AuthConfig.AuthConfigCase getAuthConfigCase()
Returns
TypeDescription
AuthConfig.AuthConfigCase

getAuthType()

public AuthType getAuthType()

Type of auth scheme.

.google.cloud.aiplatform.v1beta1.AuthType auth_type = 101;

Returns
TypeDescription
AuthType

The authType.

getAuthTypeValue()

public int getAuthTypeValue()

Type of auth scheme.

.google.cloud.aiplatform.v1beta1.AuthType auth_type = 101;

Returns
TypeDescription
int

The enum numeric value on the wire for authType.

getDefaultInstanceForType()

public AuthConfig getDefaultInstanceForType()
Returns
TypeDescription
AuthConfig

getGoogleServiceAccountConfig()

public AuthConfig.GoogleServiceAccountConfig getGoogleServiceAccountConfig()

Config for Google Service Account auth.

.google.cloud.aiplatform.v1beta1.AuthConfig.GoogleServiceAccountConfig google_service_account_config = 4;

Returns
TypeDescription
AuthConfig.GoogleServiceAccountConfig

The googleServiceAccountConfig.

getGoogleServiceAccountConfigOrBuilder()

public AuthConfig.GoogleServiceAccountConfigOrBuilder getGoogleServiceAccountConfigOrBuilder()

Config for Google Service Account auth.

.google.cloud.aiplatform.v1beta1.AuthConfig.GoogleServiceAccountConfig google_service_account_config = 4;

Returns
TypeDescription
AuthConfig.GoogleServiceAccountConfigOrBuilder

getHttpBasicAuthConfig()

public AuthConfig.HttpBasicAuthConfig getHttpBasicAuthConfig()

Config for HTTP Basic auth.

.google.cloud.aiplatform.v1beta1.AuthConfig.HttpBasicAuthConfig http_basic_auth_config = 3;

Returns
TypeDescription
AuthConfig.HttpBasicAuthConfig

The httpBasicAuthConfig.

getHttpBasicAuthConfigOrBuilder()

public AuthConfig.HttpBasicAuthConfigOrBuilder getHttpBasicAuthConfigOrBuilder()

Config for HTTP Basic auth.

.google.cloud.aiplatform.v1beta1.AuthConfig.HttpBasicAuthConfig http_basic_auth_config = 3;

Returns
TypeDescription
AuthConfig.HttpBasicAuthConfigOrBuilder

getOauthConfig()

public AuthConfig.OauthConfig getOauthConfig()

Config for user oauth.

.google.cloud.aiplatform.v1beta1.AuthConfig.OauthConfig oauth_config = 5;

Returns
TypeDescription
AuthConfig.OauthConfig

The oauthConfig.

getOauthConfigOrBuilder()

public AuthConfig.OauthConfigOrBuilder getOauthConfigOrBuilder()

Config for user oauth.

.google.cloud.aiplatform.v1beta1.AuthConfig.OauthConfig oauth_config = 5;

Returns
TypeDescription
AuthConfig.OauthConfigOrBuilder

getOidcConfig()

public AuthConfig.OidcConfig getOidcConfig()

Config for user OIDC auth.

.google.cloud.aiplatform.v1beta1.AuthConfig.OidcConfig oidc_config = 7;

Returns
TypeDescription
AuthConfig.OidcConfig

The oidcConfig.

getOidcConfigOrBuilder()

public AuthConfig.OidcConfigOrBuilder getOidcConfigOrBuilder()

Config for user OIDC auth.

.google.cloud.aiplatform.v1beta1.AuthConfig.OidcConfig oidc_config = 7;

Returns
TypeDescription
AuthConfig.OidcConfigOrBuilder

getParserForType()

public Parser<AuthConfig> getParserForType()
Returns
TypeDescription
Parser<AuthConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasApiKeyConfig()

public boolean hasApiKeyConfig()

Config for API key auth.

.google.cloud.aiplatform.v1beta1.AuthConfig.ApiKeyConfig api_key_config = 2;

Returns
TypeDescription
boolean

Whether the apiKeyConfig field is set.

hasGoogleServiceAccountConfig()

public boolean hasGoogleServiceAccountConfig()

Config for Google Service Account auth.

.google.cloud.aiplatform.v1beta1.AuthConfig.GoogleServiceAccountConfig google_service_account_config = 4;

Returns
TypeDescription
boolean

Whether the googleServiceAccountConfig field is set.

hasHttpBasicAuthConfig()

public boolean hasHttpBasicAuthConfig()

Config for HTTP Basic auth.

.google.cloud.aiplatform.v1beta1.AuthConfig.HttpBasicAuthConfig http_basic_auth_config = 3;

Returns
TypeDescription
boolean

Whether the httpBasicAuthConfig field is set.

hasOauthConfig()

public boolean hasOauthConfig()

Config for user oauth.

.google.cloud.aiplatform.v1beta1.AuthConfig.OauthConfig oauth_config = 5;

Returns
TypeDescription
boolean

Whether the oauthConfig field is set.

hasOidcConfig()

public boolean hasOidcConfig()

Config for user OIDC auth.

.google.cloud.aiplatform.v1beta1.AuthConfig.OidcConfig oidc_config = 7;

Returns
TypeDescription
boolean

Whether the oidcConfig field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AuthConfig.Builder newBuilderForType()
Returns
TypeDescription
AuthConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AuthConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AuthConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AuthConfig.Builder toBuilder()
Returns
TypeDescription
AuthConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException