Class ApiAuth.Builder (3.52.0)

public static final class ApiAuth.Builder extends GeneratedMessageV3.Builder<ApiAuth.Builder> implements ApiAuthOrBuilder

The generic reusable api auth config.

Protobuf type google.cloud.aiplatform.v1beta1.ApiAuth

Implements

ApiAuthOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ApiAuth.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ApiAuth.Builder
Overrides

build()

public ApiAuth build()
Returns
Type Description
ApiAuth

buildPartial()

public ApiAuth buildPartial()
Returns
Type Description
ApiAuth

clear()

public ApiAuth.Builder clear()
Returns
Type Description
ApiAuth.Builder
Overrides

clearApiKeyConfig()

public ApiAuth.Builder clearApiKeyConfig()

The API secret.

.google.cloud.aiplatform.v1beta1.ApiAuth.ApiKeyConfig api_key_config = 1;

Returns
Type Description
ApiAuth.Builder

clearAuthConfig()

public ApiAuth.Builder clearAuthConfig()
Returns
Type Description
ApiAuth.Builder

clearField(Descriptors.FieldDescriptor field)

public ApiAuth.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ApiAuth.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ApiAuth.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ApiAuth.Builder
Overrides

clone()

public ApiAuth.Builder clone()
Returns
Type Description
ApiAuth.Builder
Overrides

getApiKeyConfig()

public ApiAuth.ApiKeyConfig getApiKeyConfig()

The API secret.

.google.cloud.aiplatform.v1beta1.ApiAuth.ApiKeyConfig api_key_config = 1;

Returns
Type Description
ApiAuth.ApiKeyConfig

The apiKeyConfig.

getApiKeyConfigBuilder()

public ApiAuth.ApiKeyConfig.Builder getApiKeyConfigBuilder()

The API secret.

.google.cloud.aiplatform.v1beta1.ApiAuth.ApiKeyConfig api_key_config = 1;

Returns
Type Description
ApiAuth.ApiKeyConfig.Builder

getApiKeyConfigOrBuilder()

public ApiAuth.ApiKeyConfigOrBuilder getApiKeyConfigOrBuilder()

The API secret.

.google.cloud.aiplatform.v1beta1.ApiAuth.ApiKeyConfig api_key_config = 1;

Returns
Type Description
ApiAuth.ApiKeyConfigOrBuilder

getAuthConfigCase()

public ApiAuth.AuthConfigCase getAuthConfigCase()
Returns
Type Description
ApiAuth.AuthConfigCase

getDefaultInstanceForType()

public ApiAuth getDefaultInstanceForType()
Returns
Type Description
ApiAuth

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

hasApiKeyConfig()

public boolean hasApiKeyConfig()

The API secret.

.google.cloud.aiplatform.v1beta1.ApiAuth.ApiKeyConfig api_key_config = 1;

Returns
Type Description
boolean

Whether the apiKeyConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeApiKeyConfig(ApiAuth.ApiKeyConfig value)

public ApiAuth.Builder mergeApiKeyConfig(ApiAuth.ApiKeyConfig value)

The API secret.

.google.cloud.aiplatform.v1beta1.ApiAuth.ApiKeyConfig api_key_config = 1;

Parameter
Name Description
value ApiAuth.ApiKeyConfig
Returns
Type Description
ApiAuth.Builder

mergeFrom(ApiAuth other)

public ApiAuth.Builder mergeFrom(ApiAuth other)
Parameter
Name Description
other ApiAuth
Returns
Type Description
ApiAuth.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ApiAuth.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ApiAuth.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ApiAuth.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ApiAuth.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ApiAuth.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ApiAuth.Builder
Overrides

setApiKeyConfig(ApiAuth.ApiKeyConfig value)

public ApiAuth.Builder setApiKeyConfig(ApiAuth.ApiKeyConfig value)

The API secret.

.google.cloud.aiplatform.v1beta1.ApiAuth.ApiKeyConfig api_key_config = 1;

Parameter
Name Description
value ApiAuth.ApiKeyConfig
Returns
Type Description
ApiAuth.Builder

setApiKeyConfig(ApiAuth.ApiKeyConfig.Builder builderForValue)

public ApiAuth.Builder setApiKeyConfig(ApiAuth.ApiKeyConfig.Builder builderForValue)

The API secret.

.google.cloud.aiplatform.v1beta1.ApiAuth.ApiKeyConfig api_key_config = 1;

Parameter
Name Description
builderForValue ApiAuth.ApiKeyConfig.Builder
Returns
Type Description
ApiAuth.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ApiAuth.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ApiAuth.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ApiAuth.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ApiAuth.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ApiAuth.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ApiAuth.Builder
Overrides