Class ServiceAccountName (2.17.0)

public class ServiceAccountName implements ResourceName

Inheritance

Object > ServiceAccountName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String serviceAccount)

public static String format(String project, String serviceAccount)
Parameters
NameDescription
projectString
serviceAccountString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
boolean

newBuilder()

public static ServiceAccountName.Builder newBuilder()
Returns
TypeDescription
ServiceAccountName.Builder

of(String project, String serviceAccount)

public static ServiceAccountName of(String project, String serviceAccount)
Parameters
NameDescription
projectString
serviceAccountString
Returns
TypeDescription
ServiceAccountName

parse(String formattedString)

public static ServiceAccountName parse(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
ServiceAccountName

parseList(List<String> formattedStrings)

public static List<ServiceAccountName> parseList(List<String> formattedStrings)
Parameter
NameDescription
formattedStringsList<String>
Returns
TypeDescription
List<ServiceAccountName>

toStringList(List<ServiceAccountName> values)

public static List<String> toStringList(List<ServiceAccountName> values)
Parameter
NameDescription
valuesList<ServiceAccountName>
Returns
TypeDescription
List<String>

Constructors

ServiceAccountName()

protected ServiceAccountName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
NameDescription
fieldNameString
Returns
TypeDescription
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
TypeDescription
Map<String,String>

getProject()

public String getProject()
Returns
TypeDescription
String

getServiceAccount()

public String getServiceAccount()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

public ServiceAccountName.Builder toBuilder()
Returns
TypeDescription
ServiceAccountName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides