Class AppConnector.PrincipalInfo.ServiceAccount.Builder (0.49.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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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
Overrides

build()

public AppConnector.PrincipalInfo.ServiceAccount build()

buildPartial()

public AppConnector.PrincipalInfo.ServiceAccount buildPartial()

clear()

public AppConnector.PrincipalInfo.ServiceAccount.Builder clear()
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
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public AppConnector.PrincipalInfo.ServiceAccount getDefaultInstanceForType()

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setUnknownFields(UnknownFieldSet unknownFields)

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