Class TransferTypes.GoogleServiceAccount.Builder (1.52.0)

public static final class TransferTypes.GoogleServiceAccount.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

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.

setUnknownFields(UnknownFieldSet unknownFields)

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