Package com.google.cloud.tpu.v2
Interface ServiceAccountOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ServiceAccount,ServiceAccount.Builder
@Generated
public interface ServiceAccountOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetEmail()Email address of the service account.com.google.protobuf.ByteStringEmail address of the service account.getScope(int index) The list of scopes to be made available for this service account.com.google.protobuf.ByteStringgetScopeBytes(int index) The list of scopes to be made available for this service account.intThe list of scopes to be made available for this service account.The list of scopes to be made available for this service account.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getEmail
String getEmail()Email address of the service account. If empty, default Compute service account will be used.
string email = 1;- Returns:
- The email.
-
getEmailBytes
com.google.protobuf.ByteString getEmailBytes()Email address of the service account. If empty, default Compute service account will be used.
string email = 1;- Returns:
- The bytes for email.
-
getScopeList
The list of scopes to be made available for this service account. If empty, access to all Cloud APIs will be allowed.
repeated string scope = 2;- Returns:
- A list containing the scope.
-
getScopeCount
int getScopeCount()The list of scopes to be made available for this service account. If empty, access to all Cloud APIs will be allowed.
repeated string scope = 2;- Returns:
- The count of scope.
-
getScope
The list of scopes to be made available for this service account. If empty, access to all Cloud APIs will be allowed.
repeated string scope = 2;- Parameters:
index- The index of the element to return.- Returns:
- The scope at the given index.
-
getScopeBytes
com.google.protobuf.ByteString getScopeBytes(int index) The list of scopes to be made available for this service account. If empty, access to all Cloud APIs will be allowed.
repeated string scope = 2;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the scope at the given index.
-