public final class AuthConfig extends GeneratedMessageV3 implements AuthConfigOrBuilder
Auth configuration to run the extension.
Protobuf type google.cloud.aiplatform.v1beta1.AuthConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int API_KEY_CONFIG_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int AUTH_TYPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int GOOGLE_SERVICE_ACCOUNT_CONFIG_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int HTTP_BASIC_AUTH_CONFIG_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int OAUTH_CONFIG_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int OIDC_CONFIG_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static AuthConfig getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static AuthConfig.Builder newBuilder()
public static AuthConfig.Builder newBuilder(AuthConfig prototype)
public static AuthConfig parseDelimitedFrom(InputStream input)
public static AuthConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AuthConfig parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static AuthConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AuthConfig parseFrom(ByteString data)
public static AuthConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AuthConfig parseFrom(CodedInputStream input)
public static AuthConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AuthConfig parseFrom(InputStream input)
public static AuthConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AuthConfig parseFrom(ByteBuffer data)
public static AuthConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<AuthConfig> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public AuthConfig.ApiKeyConfig getApiKeyConfig()
Config for API key auth.
.google.cloud.aiplatform.v1beta1.AuthConfig.ApiKeyConfig api_key_config = 2;
public AuthConfig.ApiKeyConfigOrBuilder getApiKeyConfigOrBuilder()
Config for API key auth.
.google.cloud.aiplatform.v1beta1.AuthConfig.ApiKeyConfig api_key_config = 2;
public AuthConfig.AuthConfigCase getAuthConfigCase()
public AuthType getAuthType()
Type of auth scheme.
.google.cloud.aiplatform.v1beta1.AuthType auth_type = 101;
Returns |
---|
Type | Description |
AuthType | The authType.
|
public int getAuthTypeValue()
Type of auth scheme.
.google.cloud.aiplatform.v1beta1.AuthType auth_type = 101;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for authType.
|
public AuthConfig getDefaultInstanceForType()
public AuthConfig.GoogleServiceAccountConfig getGoogleServiceAccountConfig()
Config for Google Service Account auth.
.google.cloud.aiplatform.v1beta1.AuthConfig.GoogleServiceAccountConfig google_service_account_config = 4;
public AuthConfig.GoogleServiceAccountConfigOrBuilder getGoogleServiceAccountConfigOrBuilder()
Config for Google Service Account auth.
.google.cloud.aiplatform.v1beta1.AuthConfig.GoogleServiceAccountConfig google_service_account_config = 4;
public AuthConfig.HttpBasicAuthConfig getHttpBasicAuthConfig()
Config for HTTP Basic auth.
.google.cloud.aiplatform.v1beta1.AuthConfig.HttpBasicAuthConfig http_basic_auth_config = 3;
public AuthConfig.HttpBasicAuthConfigOrBuilder getHttpBasicAuthConfigOrBuilder()
Config for HTTP Basic auth.
.google.cloud.aiplatform.v1beta1.AuthConfig.HttpBasicAuthConfig http_basic_auth_config = 3;
public AuthConfig.OauthConfig getOauthConfig()
Config for user oauth.
.google.cloud.aiplatform.v1beta1.AuthConfig.OauthConfig oauth_config = 5;
public AuthConfig.OauthConfigOrBuilder getOauthConfigOrBuilder()
Config for user oauth.
.google.cloud.aiplatform.v1beta1.AuthConfig.OauthConfig oauth_config = 5;
public AuthConfig.OidcConfig getOidcConfig()
Config for user OIDC auth.
.google.cloud.aiplatform.v1beta1.AuthConfig.OidcConfig oidc_config = 7;
public AuthConfig.OidcConfigOrBuilder getOidcConfigOrBuilder()
Config for user OIDC auth.
.google.cloud.aiplatform.v1beta1.AuthConfig.OidcConfig oidc_config = 7;
public Parser<AuthConfig> getParserForType()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
public boolean hasApiKeyConfig()
Config for API key auth.
.google.cloud.aiplatform.v1beta1.AuthConfig.ApiKeyConfig api_key_config = 2;
Returns |
---|
Type | Description |
boolean | Whether the apiKeyConfig field is set.
|
public boolean hasGoogleServiceAccountConfig()
Config for Google Service Account auth.
.google.cloud.aiplatform.v1beta1.AuthConfig.GoogleServiceAccountConfig google_service_account_config = 4;
Returns |
---|
Type | Description |
boolean | Whether the googleServiceAccountConfig field is set.
|
public boolean hasHttpBasicAuthConfig()
Config for HTTP Basic auth.
.google.cloud.aiplatform.v1beta1.AuthConfig.HttpBasicAuthConfig http_basic_auth_config = 3;
Returns |
---|
Type | Description |
boolean | Whether the httpBasicAuthConfig field is set.
|
public boolean hasOauthConfig()
Config for user oauth.
.google.cloud.aiplatform.v1beta1.AuthConfig.OauthConfig oauth_config = 5;
Returns |
---|
Type | Description |
boolean | Whether the oauthConfig field is set.
|
public boolean hasOidcConfig()
Config for user OIDC auth.
.google.cloud.aiplatform.v1beta1.AuthConfig.OidcConfig oidc_config = 7;
Returns |
---|
Type | Description |
boolean | Whether the oidcConfig field is set.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public AuthConfig.Builder newBuilderForType()
protected AuthConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public AuthConfig.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides