Package com.google.cloud.compute.v1
Interface ServiceAccountOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ServiceAccount
,ServiceAccount.Builder
public interface ServiceAccountOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getEmail()
Email address of the service account.com.google.protobuf.ByteString
getEmailBytes()
Email address of the service account.String
getScopes(int index)
The list of scopes to be made available for this service account.com.google.protobuf.ByteString
getScopesBytes(int index)
The list of scopes to be made available for this service account.int
getScopesCount()
The list of scopes to be made available for this service account.List<String>
getScopesList()
The list of scopes to be made available for this service account.boolean
hasEmail()
Email address of the service account.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasEmail
boolean hasEmail()
Email address of the service account.
optional string email = 96619420;
- Returns:
- Whether the email field is set.
-
getEmail
String getEmail()
Email address of the service account.
optional string email = 96619420;
- Returns:
- The email.
-
getEmailBytes
com.google.protobuf.ByteString getEmailBytes()
Email address of the service account.
optional string email = 96619420;
- Returns:
- The bytes for email.
-
getScopesList
List<String> getScopesList()
The list of scopes to be made available for this service account.
repeated string scopes = 165973151;
- Returns:
- A list containing the scopes.
-
getScopesCount
int getScopesCount()
The list of scopes to be made available for this service account.
repeated string scopes = 165973151;
- Returns:
- The count of scopes.
-
getScopes
String getScopes(int index)
The list of scopes to be made available for this service account.
repeated string scopes = 165973151;
- Parameters:
index
- The index of the element to return.- Returns:
- The scopes at the given index.
-
getScopesBytes
com.google.protobuf.ByteString getScopesBytes(int index)
The list of scopes to be made available for this service account.
repeated string scopes = 165973151;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the scopes at the given index.
-
-