@Generated(value="by gapic-generator-java") public class ServiceAccountName extends Object implements com.google.api.resourcenames.ResourceName
| Modifier and Type | Class and Description |
|---|---|
static class |
ServiceAccountName.Builder
Builder for projects/{project}/serviceAccounts/{service_account}.
|
| Modifier | Constructor and Description |
|---|---|
protected |
ServiceAccountName()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static String |
format(String project,
String serviceAccount) |
String |
getFieldValue(String fieldName) |
Map<String,String> |
getFieldValuesMap() |
String |
getProject() |
String |
getServiceAccount() |
int |
hashCode() |
static boolean |
isParsableFrom(String formattedString) |
static ServiceAccountName.Builder |
newBuilder() |
static ServiceAccountName |
of(String project,
String serviceAccount) |
static ServiceAccountName |
parse(String formattedString) |
static List<ServiceAccountName> |
parseList(List<String> formattedStrings) |
ServiceAccountName.Builder |
toBuilder() |
String |
toString() |
static List<String> |
toStringList(List<ServiceAccountName> values) |
@Deprecated protected ServiceAccountName()
public String getProject()
public String getServiceAccount()
public static ServiceAccountName.Builder newBuilder()
public ServiceAccountName.Builder toBuilder()
public static ServiceAccountName of(String project, String serviceAccount)
public static ServiceAccountName parse(String formattedString)
public static List<ServiceAccountName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<ServiceAccountName> values)
public static boolean isParsableFrom(String formattedString)
public Map<String,String> getFieldValuesMap()
getFieldValuesMap in interface com.google.api.resourcenames.ResourceNamepublic String getFieldValue(String fieldName)
getFieldValue in interface com.google.api.resourcenames.ResourceNameCopyright © 2023 Google LLC. All rights reserved.