Class AnswerRecordName (4.13.0)

public class AnswerRecordName implements ResourceName

Inheritance

Object > AnswerRecordName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String answerRecord)

public static String format(String project, String answerRecord)
Parameters
Name Description
project String
answerRecord String
Returns
Type Description
String

formatProjectAnswerRecordName(String project, String answerRecord)

public static String formatProjectAnswerRecordName(String project, String answerRecord)
Parameters
Name Description
project String
answerRecord String
Returns
Type Description
String

formatProjectLocationAnswerRecordName(String project, String location, String answerRecord)

public static String formatProjectLocationAnswerRecordName(String project, String location, String answerRecord)
Parameters
Name Description
project String
location String
answerRecord String
Returns
Type Description
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
boolean

newBuilder()

public static AnswerRecordName.Builder newBuilder()
Returns
Type Description
AnswerRecordName.Builder

newProjectAnswerRecordBuilder()

public static AnswerRecordName.Builder newProjectAnswerRecordBuilder()
Returns
Type Description
AnswerRecordName.Builder

newProjectLocationAnswerRecordBuilder()

public static AnswerRecordName.ProjectLocationAnswerRecordBuilder newProjectLocationAnswerRecordBuilder()
Returns
Type Description
AnswerRecordName.ProjectLocationAnswerRecordBuilder

of(String project, String answerRecord)

public static AnswerRecordName of(String project, String answerRecord)
Parameters
Name Description
project String
answerRecord String
Returns
Type Description
AnswerRecordName

ofProjectAnswerRecordName(String project, String answerRecord)

public static AnswerRecordName ofProjectAnswerRecordName(String project, String answerRecord)
Parameters
Name Description
project String
answerRecord String
Returns
Type Description
AnswerRecordName

ofProjectLocationAnswerRecordName(String project, String location, String answerRecord)

public static AnswerRecordName ofProjectLocationAnswerRecordName(String project, String location, String answerRecord)
Parameters
Name Description
project String
location String
answerRecord String
Returns
Type Description
AnswerRecordName

parse(String formattedString)

public static AnswerRecordName parse(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
AnswerRecordName

parseList(List<String> formattedStrings)

public static List<AnswerRecordName> parseList(List<String> formattedStrings)
Parameter
Name Description
formattedStrings List<String>
Returns
Type Description
List<AnswerRecordName>

toStringList(List<AnswerRecordName> values)

public static List<String> toStringList(List<AnswerRecordName> values)
Parameter
Name Description
values List<AnswerRecordName>
Returns
Type Description
List<String>

Constructors

AnswerRecordName()

protected AnswerRecordName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getAnswerRecord()

public String getAnswerRecord()
Returns
Type Description
String

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
Name Description
fieldName String
Returns
Type Description
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
Type Description
Map<String,String>

getLocation()

public String getLocation()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

public AnswerRecordName.Builder toBuilder()
Returns
Type Description
AnswerRecordName.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides