Interface ServiceAccountOrBuilder (0.49.0)

public interface ServiceAccountOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEmail()

public abstract String getEmail()

Email address of the service account.

string email = 1;

Returns
Type Description
String

The email.

getEmailBytes()

public abstract ByteString getEmailBytes()

Email address of the service account.

string email = 1;

Returns
Type Description
ByteString

The bytes for email.

getScopes(int index)

public abstract String getScopes(int index)

List of scopes to be enabled for this service account.

repeated string scopes = 2;

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)

List of scopes to be enabled for this service account.

repeated string scopes = 2;

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()

List of scopes to be enabled for this service account.

repeated string scopes = 2;

Returns
Type Description
int

The count of scopes.

getScopesList()

public abstract List<String> getScopesList()

List of scopes to be enabled for this service account.

repeated string scopes = 2;

Returns
Type Description
List<String>

A list containing the scopes.