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
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
getScope(int index)
The list of scopes to be made available for this service account.com.google.protobuf.ByteString
getScopeBytes(int index)
The list of scopes to be made available for this service account.int
getScopeCount()
The list of scopes to be made available for this service account.List<String>
getScopeList()
The list of scopes to be made available for this service account.-
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 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
List<String> 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
String getScope(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 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.
-
-