public interface ServiceAccountOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getEmail()
public abstract String getEmail()Optional. Email address of the service account.
optional string email = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The email. |
getEmailBytes()
public abstract ByteString getEmailBytes()Optional. Email address of the service account.
optional string email = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for email. |
getScopes(int index)
public abstract String getScopes(int index)Optional. The list of scopes to be made available for this service account.
repeated string scopes = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe 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)Optional. The list of scopes to be made available for this service account.
repeated string scopes = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the scopes at the given index. |
getScopesCount()
public abstract int getScopesCount()Optional. The list of scopes to be made available for this service account.
repeated string scopes = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of scopes. |
getScopesList()
public abstract List<String> getScopesList()Optional. The list of scopes to be made available for this service account.
repeated string scopes = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the scopes. |
hasEmail()
public abstract boolean hasEmail()Optional. Email address of the service account.
optional string email = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the email field is set. |