Class AppConnector.PrincipalInfo.ServiceAccount.Builder (0.47.0)

public static final class AppConnector.PrincipalInfo.ServiceAccount.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AppConnector.PrincipalInfo.ServiceAccount.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AppConnector.PrincipalInfo.ServiceAccount.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public AppConnector.PrincipalInfo.ServiceAccount.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AppConnector.PrincipalInfo.ServiceAccount.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AppConnector.PrincipalInfo.ServiceAccount.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AppConnector.PrincipalInfo.ServiceAccount.Builder
Overrides

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AppConnector.PrincipalInfo.ServiceAccount.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public AppConnector.PrincipalInfo.ServiceAccount.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AppConnector.PrincipalInfo.ServiceAccount.Builder
Overrides

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final AppConnector.PrincipalInfo.ServiceAccount.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AppConnector.PrincipalInfo.ServiceAccount.Builder
Overrides