Class TransferTypes.GoogleServiceAccount.Builder (1.83.0)

public static final class TransferTypes.GoogleServiceAccount.Builder extends GeneratedMessage.Builder<TransferTypes.GoogleServiceAccount.Builder> implements TransferTypes.GoogleServiceAccountOrBuilder

Google service account

Protobuf type google.storagetransfer.v1.GoogleServiceAccount

Static Methods

getDescriptor()

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

Methods

build()

public TransferTypes.GoogleServiceAccount build()
Returns
Type Description
TransferTypes.GoogleServiceAccount

buildPartial()

public TransferTypes.GoogleServiceAccount buildPartial()
Returns
Type Description
TransferTypes.GoogleServiceAccount

clear()

public TransferTypes.GoogleServiceAccount.Builder clear()
Returns
Type Description
TransferTypes.GoogleServiceAccount.Builder
Overrides

clearAccountEmail()

public TransferTypes.GoogleServiceAccount.Builder clearAccountEmail()

Email address of the service account.

string account_email = 1;

Returns
Type Description
TransferTypes.GoogleServiceAccount.Builder

This builder for chaining.

clearSubjectId()

public TransferTypes.GoogleServiceAccount.Builder clearSubjectId()

Unique identifier for the service account.

string subject_id = 2;

Returns
Type Description
TransferTypes.GoogleServiceAccount.Builder

This builder for chaining.

getAccountEmail()

public String getAccountEmail()

Email address of the service account.

string account_email = 1;

Returns
Type Description
String

The accountEmail.

getAccountEmailBytes()

public ByteString getAccountEmailBytes()

Email address of the service account.

string account_email = 1;

Returns
Type Description
ByteString

The bytes for accountEmail.

getDefaultInstanceForType()

public TransferTypes.GoogleServiceAccount getDefaultInstanceForType()
Returns
Type Description
TransferTypes.GoogleServiceAccount

getDescriptorForType()

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

getSubjectId()

public String getSubjectId()

Unique identifier for the service account.

string subject_id = 2;

Returns
Type Description
String

The subjectId.

getSubjectIdBytes()

public ByteString getSubjectIdBytes()

Unique identifier for the service account.

string subject_id = 2;

Returns
Type Description
ByteString

The bytes for subjectId.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(TransferTypes.GoogleServiceAccount other)

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

setAccountEmail(String value)

public TransferTypes.GoogleServiceAccount.Builder setAccountEmail(String value)

Email address of the service account.

string account_email = 1;

Parameter
Name Description
value String

The accountEmail to set.

Returns
Type Description
TransferTypes.GoogleServiceAccount.Builder

This builder for chaining.

setAccountEmailBytes(ByteString value)

public TransferTypes.GoogleServiceAccount.Builder setAccountEmailBytes(ByteString value)

Email address of the service account.

string account_email = 1;

Parameter
Name Description
value ByteString

The bytes for accountEmail to set.

Returns
Type Description
TransferTypes.GoogleServiceAccount.Builder

This builder for chaining.

setSubjectId(String value)

public TransferTypes.GoogleServiceAccount.Builder setSubjectId(String value)

Unique identifier for the service account.

string subject_id = 2;

Parameter
Name Description
value String

The subjectId to set.

Returns
Type Description
TransferTypes.GoogleServiceAccount.Builder

This builder for chaining.

setSubjectIdBytes(ByteString value)

public TransferTypes.GoogleServiceAccount.Builder setSubjectIdBytes(ByteString value)

Unique identifier for the service account.

string subject_id = 2;

Parameter
Name Description
value ByteString

The bytes for subjectId to set.

Returns
Type Description
TransferTypes.GoogleServiceAccount.Builder

This builder for chaining.