Interface ServiceAccountOrBuilder (0.14.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicinterface ServiceAccountOrBuilderextendsMessageOrBuilderImplements
MessageOrBuilderMethods
getEmail()
publicabstractStringgetEmail()Optional. Email address of the service account.
optional string email = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The email. |
getEmailBytes()
publicabstractByteStringgetEmailBytes()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)
publicabstractStringgetScopes(intindex)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 |
int The index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The scopes at the given index. |
getScopesBytes(int index)
publicabstractByteStringgetScopesBytes(intindex)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 |
int The index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the scopes at the given index. |
getScopesCount()
publicabstractintgetScopesCount()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()
publicabstractList<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()
publicabstractbooleanhasEmail()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. |