Class AssignmentName (2.29.0)

public class AssignmentName implements ResourceName

Inheritance

Object > AssignmentName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String reservation, String assignment)

public static String format(String project, String location, String reservation, String assignment)
Parameters
NameDescription
projectString
locationString
reservationString
assignmentString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String reservation, String assignment)

public static AssignmentName of(String project, String location, String reservation, String assignment)
Parameters
NameDescription
projectString
locationString
reservationString
assignmentString
Returns
TypeDescription
AssignmentName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<AssignmentName> values)

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

Constructors

AssignmentName()

protected AssignmentName()

Methods

equals(Object o)

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

getAssignment()

public String getAssignment()
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>

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getReservation()

public String getReservation()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides