Package com.google.cloud.batch.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)
List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.com.google.protobuf.ByteString
getScopesBytes(int index)
List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.int
getScopesCount()
List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.List<String>
getScopesList()
List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getEmail
String getEmail()
Email address of the service account. If not specified, the default Compute Engine service account for the project will be used. If instance template is being used, the service account has to be specified in the instance template and it has to match the email field here.
string email = 1;
- Returns:
- The email.
-
getEmailBytes
com.google.protobuf.ByteString getEmailBytes()
Email address of the service account. If not specified, the default Compute Engine service account for the project will be used. If instance template is being used, the service account has to be specified in the instance template and it has to match the email field here.
string email = 1;
- Returns:
- The bytes for email.
-
getScopesList
List<String> getScopesList()
List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.
repeated string scopes = 2;
- Returns:
- A list containing the scopes.
-
getScopesCount
int getScopesCount()
List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.
repeated string scopes = 2;
- Returns:
- The count of scopes.
-
getScopes
String getScopes(int index)
List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.
repeated string scopes = 2;
- Parameters:
index
- The index of the element to return.- Returns:
- The scopes at the given index.
-
getScopesBytes
com.google.protobuf.ByteString getScopesBytes(int index)
List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.
repeated string scopes = 2;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the scopes at the given index.
-
-