[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-18 UTC."],[],[],null,["# Interface ServiceAccountOrBuilder (0.31.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.31.0 (latest)](/java/docs/reference/google-cloud-backupdr/latest/com.google.cloud.backupdr.v1.ServiceAccountOrBuilder)\n- [0.29.0](/java/docs/reference/google-cloud-backupdr/0.29.0/com.google.cloud.backupdr.v1.ServiceAccountOrBuilder)\n- [0.27.0](/java/docs/reference/google-cloud-backupdr/0.27.0/com.google.cloud.backupdr.v1.ServiceAccountOrBuilder)\n- [0.26.0](/java/docs/reference/google-cloud-backupdr/0.26.0/com.google.cloud.backupdr.v1.ServiceAccountOrBuilder)\n- [0.23.0](/java/docs/reference/google-cloud-backupdr/0.23.0/com.google.cloud.backupdr.v1.ServiceAccountOrBuilder)\n- [0.22.0](/java/docs/reference/google-cloud-backupdr/0.22.0/com.google.cloud.backupdr.v1.ServiceAccountOrBuilder)\n- [0.21.0](/java/docs/reference/google-cloud-backupdr/0.21.0/com.google.cloud.backupdr.v1.ServiceAccountOrBuilder)\n- [0.19.0](/java/docs/reference/google-cloud-backupdr/0.19.0/com.google.cloud.backupdr.v1.ServiceAccountOrBuilder)\n- [0.18.0](/java/docs/reference/google-cloud-backupdr/0.18.0/com.google.cloud.backupdr.v1.ServiceAccountOrBuilder)\n- [0.17.0](/java/docs/reference/google-cloud-backupdr/0.17.0/com.google.cloud.backupdr.v1.ServiceAccountOrBuilder)\n- [0.16.0](/java/docs/reference/google-cloud-backupdr/0.16.0/com.google.cloud.backupdr.v1.ServiceAccountOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloud-backupdr/0.15.0/com.google.cloud.backupdr.v1.ServiceAccountOrBuilder)\n- [0.14.0](/java/docs/reference/google-cloud-backupdr/0.14.0/com.google.cloud.backupdr.v1.ServiceAccountOrBuilder)\n- [0.13.0](/java/docs/reference/google-cloud-backupdr/0.13.0/com.google.cloud.backupdr.v1.ServiceAccountOrBuilder)\n- [0.12.0](/java/docs/reference/google-cloud-backupdr/0.12.0/com.google.cloud.backupdr.v1.ServiceAccountOrBuilder)\n- [0.11.0](/java/docs/reference/google-cloud-backupdr/0.11.0/com.google.cloud.backupdr.v1.ServiceAccountOrBuilder)\n- [0.10.0](/java/docs/reference/google-cloud-backupdr/0.10.0/com.google.cloud.backupdr.v1.ServiceAccountOrBuilder)\n- [0.8.0](/java/docs/reference/google-cloud-backupdr/0.8.0/com.google.cloud.backupdr.v1.ServiceAccountOrBuilder)\n- [0.7.0](/java/docs/reference/google-cloud-backupdr/0.7.0/com.google.cloud.backupdr.v1.ServiceAccountOrBuilder)\n- [0.6.0](/java/docs/reference/google-cloud-backupdr/0.6.0/com.google.cloud.backupdr.v1.ServiceAccountOrBuilder)\n- [0.5.0](/java/docs/reference/google-cloud-backupdr/0.5.0/com.google.cloud.backupdr.v1.ServiceAccountOrBuilder)\n- [0.4.0](/java/docs/reference/google-cloud-backupdr/0.4.0/com.google.cloud.backupdr.v1.ServiceAccountOrBuilder)\n- [0.3.0](/java/docs/reference/google-cloud-backupdr/0.3.0/com.google.cloud.backupdr.v1.ServiceAccountOrBuilder)\n- [0.2.0](/java/docs/reference/google-cloud-backupdr/0.2.0/com.google.cloud.backupdr.v1.ServiceAccountOrBuilder)\n- [0.1.0](/java/docs/reference/google-cloud-backupdr/0.1.0/com.google.cloud.backupdr.v1.ServiceAccountOrBuilder) \n\n public interface ServiceAccountOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getEmail()\n\n public abstract String getEmail()\n\nOptional. Email address of the service account.\n\n`optional string email = 1 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getEmailBytes()\n\n public abstract ByteString getEmailBytes()\n\nOptional. Email address of the service account.\n\n`optional string email = 1 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getScopes(int index)\n\n public abstract String getScopes(int index)\n\nOptional. The list of scopes to be made available for this service account.\n\n`repeated string scopes = 2 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getScopesBytes(int index)\n\n public abstract ByteString getScopesBytes(int index)\n\nOptional. The list of scopes to be made available for this service account.\n\n`repeated string scopes = 2 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getScopesCount()\n\n public abstract int getScopesCount()\n\nOptional. The list of scopes to be made available for this service account.\n\n`repeated string scopes = 2 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getScopesList()\n\n public abstract List\u003cString\u003e getScopesList()\n\nOptional. The list of scopes to be made available for this service account.\n\n`repeated string scopes = 2 [(.google.api.field_behavior) = OPTIONAL];`\n\n### hasEmail()\n\n public abstract boolean hasEmail()\n\nOptional. Email address of the service account.\n\n`optional string email = 1 [(.google.api.field_behavior) = OPTIONAL];`"]]