Package com.google.cloud.notebooks.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()
Optional.com.google.protobuf.ByteString
getEmailBytes()
Optional.String
getScopes(int index)
Output only.com.google.protobuf.ByteString
getScopesBytes(int index)
Output only.int
getScopesCount()
Output only.List<String>
getScopesList()
Output only.-
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()
Optional. Email address of the service account.
string email = 1 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The email.
-
getEmailBytes
com.google.protobuf.ByteString getEmailBytes()
Optional. Email address of the service account.
string email = 1 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The bytes for email.
-
getScopesList
List<String> getScopesList()
Output only. The list of scopes to be made available for this service account. Set by the CLH to https://www.googleapis.com/auth/cloud-platform
repeated string scopes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- A list containing the scopes.
-
getScopesCount
int getScopesCount()
Output only. The list of scopes to be made available for this service account. Set by the CLH to https://www.googleapis.com/auth/cloud-platform
repeated string scopes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The count of scopes.
-
getScopes
String getScopes(int index)
Output only. The list of scopes to be made available for this service account. Set by the CLH to https://www.googleapis.com/auth/cloud-platform
repeated string scopes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
index
- The index of the element to return.- Returns:
- The scopes at the given index.
-
getScopesBytes
com.google.protobuf.ByteString getScopesBytes(int index)
Output only. The list of scopes to be made available for this service account. Set by the CLH to https://www.googleapis.com/auth/cloud-platform
repeated string scopes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the scopes at the given index.
-
-