Class AnswerRecordName (4.3.1)

public class AnswerRecordName implements ResourceName

Inheritance

Object > AnswerRecordName

Implements

com.google.api.resourcenames.ResourceName

Constructors

AnswerRecordName()

protected AnswerRecordName()

Methods

equals(Object o)

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

format(String project, String answerRecord)

public static String format(String project, String answerRecord)
Parameters
NameDescription
projectString
answerRecordString
Returns
TypeDescription
String

formatProjectAnswerRecordName(String project, String answerRecord)

public static String formatProjectAnswerRecordName(String project, String answerRecord)
Parameters
NameDescription
projectString
answerRecordString
Returns
TypeDescription
String

formatProjectLocationAnswerRecordName(String project, String location, String answerRecord)

public static String formatProjectLocationAnswerRecordName(String project, String location, String answerRecord)
Parameters
NameDescription
projectString
locationString
answerRecordString
Returns
TypeDescription
String

getAnswerRecord()

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

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

isParsableFrom(String formattedString)

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

newBuilder()

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

newProjectAnswerRecordBuilder()

public static AnswerRecordName.Builder newProjectAnswerRecordBuilder()
Returns
TypeDescription
AnswerRecordName.Builder

newProjectLocationAnswerRecordBuilder()

public static AnswerRecordName.ProjectLocationAnswerRecordBuilder newProjectLocationAnswerRecordBuilder()
Returns
TypeDescription
AnswerRecordName.ProjectLocationAnswerRecordBuilder

of(String project, String answerRecord)

public static AnswerRecordName of(String project, String answerRecord)
Parameters
NameDescription
projectString
answerRecordString
Returns
TypeDescription
AnswerRecordName

ofProjectAnswerRecordName(String project, String answerRecord)

public static AnswerRecordName ofProjectAnswerRecordName(String project, String answerRecord)
Parameters
NameDescription
projectString
answerRecordString
Returns
TypeDescription
AnswerRecordName

ofProjectLocationAnswerRecordName(String project, String location, String answerRecord)

public static AnswerRecordName ofProjectLocationAnswerRecordName(String project, String location, String answerRecord)
Parameters
NameDescription
projectString
locationString
answerRecordString
Returns
TypeDescription
AnswerRecordName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides

toStringList(List<AnswerRecordName> values)

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