Class AppConnector.PrincipalInfo.ServiceAccount.Builder (0.83.0)

public static final class AppConnector.PrincipalInfo.ServiceAccount.Builder extends GeneratedMessage.Builder<AppConnector.PrincipalInfo.ServiceAccount.Builder> implements AppConnector.PrincipalInfo.ServiceAccountOrBuilder

ServiceAccount represents a GCP service account.

Protobuf type google.cloud.beyondcorp.appconnectors.v1.AppConnector.PrincipalInfo.ServiceAccount

Static Methods

getDescriptor()

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

Methods

build()

public AppConnector.PrincipalInfo.ServiceAccount build()
Returns
Type Description
AppConnector.PrincipalInfo.ServiceAccount

buildPartial()

public AppConnector.PrincipalInfo.ServiceAccount buildPartial()
Returns
Type Description
AppConnector.PrincipalInfo.ServiceAccount

clear()

public AppConnector.PrincipalInfo.ServiceAccount.Builder clear()
Returns
Type Description
AppConnector.PrincipalInfo.ServiceAccount.Builder
Overrides

clearEmail()

public AppConnector.PrincipalInfo.ServiceAccount.Builder clearEmail()

Email address of the service account.

string email = 1;

Returns
Type Description
AppConnector.PrincipalInfo.ServiceAccount.Builder

This builder for chaining.

getDefaultInstanceForType()

public AppConnector.PrincipalInfo.ServiceAccount getDefaultInstanceForType()
Returns
Type Description
AppConnector.PrincipalInfo.ServiceAccount

getDescriptorForType()

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

getEmail()

public String getEmail()

Email address of the service account.

string email = 1;

Returns
Type Description
String

The email.

getEmailBytes()

public ByteString getEmailBytes()

Email address of the service account.

string email = 1;

Returns
Type Description
ByteString

The bytes for email.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AppConnector.PrincipalInfo.ServiceAccount other)

public AppConnector.PrincipalInfo.ServiceAccount.Builder mergeFrom(AppConnector.PrincipalInfo.ServiceAccount other)
Parameter
Name Description
other AppConnector.PrincipalInfo.ServiceAccount
Returns
Type Description
AppConnector.PrincipalInfo.ServiceAccount.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AppConnector.PrincipalInfo.ServiceAccount.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AppConnector.PrincipalInfo.ServiceAccount.Builder
Overrides

setEmail(String value)

public AppConnector.PrincipalInfo.ServiceAccount.Builder setEmail(String value)

Email address of the service account.

string email = 1;

Parameter
Name Description
value String

The email to set.

Returns
Type Description
AppConnector.PrincipalInfo.ServiceAccount.Builder

This builder for chaining.

setEmailBytes(ByteString value)

public AppConnector.PrincipalInfo.ServiceAccount.Builder setEmailBytes(ByteString value)

Email address of the service account.

string email = 1;

Parameter
Name Description
value ByteString

The bytes for email to set.

Returns
Type Description
AppConnector.PrincipalInfo.ServiceAccount.Builder

This builder for chaining.