Class AuthConfig.GoogleServiceAccountConfig.Builder (3.40.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AuthConfig.GoogleServiceAccountConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AuthConfig.GoogleServiceAccountConfig.Builder
Overrides

build()

public AuthConfig.GoogleServiceAccountConfig build()
Returns
TypeDescription
AuthConfig.GoogleServiceAccountConfig

buildPartial()

public AuthConfig.GoogleServiceAccountConfig buildPartial()
Returns
TypeDescription
AuthConfig.GoogleServiceAccountConfig

clear()

public AuthConfig.GoogleServiceAccountConfig.Builder clear()
Returns
TypeDescription
AuthConfig.GoogleServiceAccountConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AuthConfig.GoogleServiceAccountConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AuthConfig.GoogleServiceAccountConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AuthConfig.GoogleServiceAccountConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
AuthConfig.GoogleServiceAccountConfig.Builder

This builder for chaining.

clone()

public AuthConfig.GoogleServiceAccountConfig.Builder clone()
Returns
TypeDescription
AuthConfig.GoogleServiceAccountConfig.Builder
Overrides

getDefaultInstanceForType()

public AuthConfig.GoogleServiceAccountConfig getDefaultInstanceForType()
Returns
TypeDescription
AuthConfig.GoogleServiceAccountConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for serviceAccount.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AuthConfig.GoogleServiceAccountConfig other)

public AuthConfig.GoogleServiceAccountConfig.Builder mergeFrom(AuthConfig.GoogleServiceAccountConfig other)
Parameter
NameDescription
otherAuthConfig.GoogleServiceAccountConfig
Returns
TypeDescription
AuthConfig.GoogleServiceAccountConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AuthConfig.GoogleServiceAccountConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuthConfig.GoogleServiceAccountConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AuthConfig.GoogleServiceAccountConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AuthConfig.GoogleServiceAccountConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AuthConfig.GoogleServiceAccountConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AuthConfig.GoogleServiceAccountConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AuthConfig.GoogleServiceAccountConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The serviceAccount to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for serviceAccount to set.

Returns
TypeDescription
AuthConfig.GoogleServiceAccountConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AuthConfig.GoogleServiceAccountConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AuthConfig.GoogleServiceAccountConfig.Builder
Overrides