Interface ServiceAccountOrBuilder (1.9.1)

public interface ServiceAccountOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEmail()

public abstract String getEmail()

Email address of the service account.

optional string email = 96619420;

Returns
TypeDescription
String

The email.

getEmailBytes()

public abstract ByteString getEmailBytes()

Email address of the service account.

optional string email = 96619420;

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

The index of the element to return.

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

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
List<String>

A list containing the scopes.

hasEmail()

public abstract boolean hasEmail()

Email address of the service account.

optional string email = 96619420;

Returns
TypeDescription
boolean

Whether the email field is set.