Class AuthConfig.GoogleServiceAccountConfig.Builder (3.55.0)

public static final class AuthConfig.GoogleServiceAccountConfig.Builder extends GeneratedMessageV3.Builder<AuthConfig.GoogleServiceAccountConfig.Builder> implements AuthConfig.GoogleServiceAccountConfigOrBuilder

Config for Google Service Account Authentication.

Protobuf type google.cloud.aiplatform.v1beta1.AuthConfig.GoogleServiceAccountConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AuthConfig.GoogleServiceAccountConfig build()
Returns
Type Description
AuthConfig.GoogleServiceAccountConfig

buildPartial()

public AuthConfig.GoogleServiceAccountConfig buildPartial()
Returns
Type Description
AuthConfig.GoogleServiceAccountConfig

clear()

public AuthConfig.GoogleServiceAccountConfig.Builder clear()
Returns
Type Description
AuthConfig.GoogleServiceAccountConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearServiceAccount()

public AuthConfig.GoogleServiceAccountConfig.Builder clearServiceAccount()

Optional. The service account that the extension execution service runs as.

string service_account = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AuthConfig.GoogleServiceAccountConfig.Builder

This builder for chaining.

clone()

public AuthConfig.GoogleServiceAccountConfig.Builder clone()
Returns
Type Description
AuthConfig.GoogleServiceAccountConfig.Builder
Overrides

getDefaultInstanceForType()

public AuthConfig.GoogleServiceAccountConfig getDefaultInstanceForType()
Returns
Type Description
AuthConfig.GoogleServiceAccountConfig

getDescriptorForType()

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

getServiceAccount()

public String getServiceAccount()

Optional. The service account that the extension execution service runs as.

string service_account = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The serviceAccount.

getServiceAccountBytes()

public ByteString getServiceAccountBytes()

Optional. The service account that the extension execution service runs as.

string service_account = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for serviceAccount.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AuthConfig.GoogleServiceAccountConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setServiceAccount(String value)

public AuthConfig.GoogleServiceAccountConfig.Builder setServiceAccount(String value)

Optional. The service account that the extension execution service runs as.

string service_account = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The serviceAccount to set.

Returns
Type Description
AuthConfig.GoogleServiceAccountConfig.Builder

This builder for chaining.

setServiceAccountBytes(ByteString value)

public AuthConfig.GoogleServiceAccountConfig.Builder setServiceAccountBytes(ByteString value)

Optional. The service account that the extension execution service runs as.

string service_account = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for serviceAccount to set.

Returns
Type Description
AuthConfig.GoogleServiceAccountConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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