Class AttestorName (1.14.0)

public class AttestorName implements ResourceName

Inheritance

Object > AttestorName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String attestor)

public static String format(String project, String attestor)
Parameters
NameDescription
projectString
attestorString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String attestor)

public static AttestorName of(String project, String attestor)
Parameters
NameDescription
projectString
attestorString
Returns
TypeDescription
AttestorName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<AttestorName> values)

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

Constructors

AttestorName()

protected AttestorName()

Methods

equals(Object o)

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

getAttestor()

public String getAttestor()
Returns
TypeDescription
String

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

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides