@Generated(value="by gapic-generator-java") public class AnswerRecordName extends Object implements ResourceName
Modifier and Type | Class and Description |
---|---|
static class |
AnswerRecordName.Builder
Builder for projects/{project}/answerRecords/{answer_record}.
|
static class |
AnswerRecordName.ProjectLocationAnswerRecordBuilder
Builder for projects/{project}/locations/{location}/answerRecords/{answer_record}.
|
Modifier | Constructor and Description |
---|---|
protected |
AnswerRecordName()
Deprecated.
|
@Deprecated protected AnswerRecordName()
public String getProject()
public String getAnswerRecord()
public String getLocation()
public static AnswerRecordName.Builder newBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static AnswerRecordName.Builder newProjectAnswerRecordBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static AnswerRecordName.ProjectLocationAnswerRecordBuilder newProjectLocationAnswerRecordBuilder()
public AnswerRecordName.Builder toBuilder()
public static AnswerRecordName of(String project, String answerRecord)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static AnswerRecordName ofProjectAnswerRecordName(String project, String answerRecord)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static AnswerRecordName ofProjectLocationAnswerRecordName(String project, String location, String answerRecord)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectAnswerRecordName(String project, String answerRecord)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationAnswerRecordName(String project, String location, String answerRecord)
public static AnswerRecordName parse(String formattedString)
public static List<AnswerRecordName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<AnswerRecordName> values)
public static boolean isParsableFrom(String formattedString)
public Map<String,String> getFieldValuesMap()
getFieldValuesMap
in interface ResourceName
public String getFieldValue(String fieldName)
getFieldValue
in interface ResourceName
Copyright © 2022 Google LLC. All rights reserved.