Interface ServiceAccountOrBuilder (1.55.0)

public interface ServiceAccountOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEmail()

public abstract String getEmail()

Email address of the service account.

optional string email = 96619420;

Returns
Type Description
String

The email.

getEmailBytes()

public abstract ByteString getEmailBytes()

Email address of the service account.

optional string email = 96619420;

Returns
Type Description
ByteString

The bytes for email.

getScopes(int index)

public abstract String getScopes(int index)

The list of scopes to be made available for this service account.

repeated string scopes = 165973151;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The scopes at the given index.

getScopesBytes(int index)

public abstract ByteString getScopesBytes(int index)

The list of scopes to be made available for this service account.

repeated string scopes = 165973151;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the scopes at the given index.

getScopesCount()

public abstract int getScopesCount()

The list of scopes to be made available for this service account.

repeated string scopes = 165973151;

Returns
Type Description
int

The count of scopes.

getScopesList()

public abstract List<String> getScopesList()

The list of scopes to be made available for this service account.

repeated string scopes = 165973151;

Returns
Type Description
List<String>

A list containing the scopes.

hasEmail()

public abstract boolean hasEmail()

Email address of the service account.

optional string email = 96619420;

Returns
Type Description
boolean

Whether the email field is set.