Class AppConnector.PrincipalInfo.ServiceAccount.Builder (0.1.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AppConnector.PrincipalInfo.ServiceAccount.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AppConnector.PrincipalInfo.ServiceAccount.Builder
Overrides

build()

public AppConnector.PrincipalInfo.ServiceAccount build()
Returns
TypeDescription
AppConnector.PrincipalInfo.ServiceAccount

buildPartial()

public AppConnector.PrincipalInfo.ServiceAccount buildPartial()
Returns
TypeDescription
AppConnector.PrincipalInfo.ServiceAccount

clear()

public AppConnector.PrincipalInfo.ServiceAccount.Builder clear()
Returns
TypeDescription
AppConnector.PrincipalInfo.ServiceAccount.Builder
Overrides

clearEmail()

public AppConnector.PrincipalInfo.ServiceAccount.Builder clearEmail()

Email address of the service account.

string email = 1;

Returns
TypeDescription
AppConnector.PrincipalInfo.ServiceAccount.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AppConnector.PrincipalInfo.ServiceAccount.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AppConnector.PrincipalInfo.ServiceAccount.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AppConnector.PrincipalInfo.ServiceAccount.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AppConnector.PrincipalInfo.ServiceAccount.Builder
Overrides

clone()

public AppConnector.PrincipalInfo.ServiceAccount.Builder clone()
Returns
TypeDescription
AppConnector.PrincipalInfo.ServiceAccount.Builder
Overrides

getDefaultInstanceForType()

public AppConnector.PrincipalInfo.ServiceAccount getDefaultInstanceForType()
Returns
TypeDescription
AppConnector.PrincipalInfo.ServiceAccount

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEmail()

public String getEmail()

Email address of the service account.

string email = 1;

Returns
TypeDescription
String

The email.

getEmailBytes()

public ByteString getEmailBytes()

Email address of the service account.

string email = 1;

Returns
TypeDescription
ByteString

The bytes for email.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AppConnector.PrincipalInfo.ServiceAccount other)

public AppConnector.PrincipalInfo.ServiceAccount.Builder mergeFrom(AppConnector.PrincipalInfo.ServiceAccount other)
Parameter
NameDescription
otherAppConnector.PrincipalInfo.ServiceAccount
Returns
TypeDescription
AppConnector.PrincipalInfo.ServiceAccount.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AppConnector.PrincipalInfo.ServiceAccount.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AppConnector.PrincipalInfo.ServiceAccount.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AppConnector.PrincipalInfo.ServiceAccount.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The email to set.

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

The bytes for email to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AppConnector.PrincipalInfo.ServiceAccount.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AppConnector.PrincipalInfo.ServiceAccount.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AppConnector.PrincipalInfo.ServiceAccount.Builder
Overrides