Class AnswerName (0.39.0)

public class AnswerName implements ResourceName

Inheritance

Object > AnswerName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String dataStore, String session, String answer)

public static String format(String project, String location, String dataStore, String session, String answer)
Parameters
Name Description
project String
location String
dataStore String
session String
answer String
Returns
Type Description
String

formatProjectLocationCollectionDataStoreSessionAnswerName(String project, String location, String collection, String dataStore, String session, String answer)

public static String formatProjectLocationCollectionDataStoreSessionAnswerName(String project, String location, String collection, String dataStore, String session, String answer)
Parameters
Name Description
project String
location String
collection String
dataStore String
session String
answer String
Returns
Type Description
String

formatProjectLocationCollectionEngineSessionAnswerName(String project, String location, String collection, String engine, String session, String answer)

public static String formatProjectLocationCollectionEngineSessionAnswerName(String project, String location, String collection, String engine, String session, String answer)
Parameters
Name Description
project String
location String
collection String
engine String
session String
answer String
Returns
Type Description
String

formatProjectLocationDataStoreSessionAnswerName(String project, String location, String dataStore, String session, String answer)

public static String formatProjectLocationDataStoreSessionAnswerName(String project, String location, String dataStore, String session, String answer)
Parameters
Name Description
project String
location String
dataStore String
session String
answer 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 AnswerName.Builder newBuilder()
Returns
Type Description
AnswerName.Builder

newProjectLocationCollectionDataStoreSessionAnswerBuilder()

public static AnswerName.ProjectLocationCollectionDataStoreSessionAnswerBuilder newProjectLocationCollectionDataStoreSessionAnswerBuilder()
Returns
Type Description
AnswerName.ProjectLocationCollectionDataStoreSessionAnswerBuilder

newProjectLocationCollectionEngineSessionAnswerBuilder()

public static AnswerName.ProjectLocationCollectionEngineSessionAnswerBuilder newProjectLocationCollectionEngineSessionAnswerBuilder()
Returns
Type Description
AnswerName.ProjectLocationCollectionEngineSessionAnswerBuilder

newProjectLocationDataStoreSessionAnswerBuilder()

public static AnswerName.Builder newProjectLocationDataStoreSessionAnswerBuilder()
Returns
Type Description
AnswerName.Builder

of(String project, String location, String dataStore, String session, String answer)

public static AnswerName of(String project, String location, String dataStore, String session, String answer)
Parameters
Name Description
project String
location String
dataStore String
session String
answer String
Returns
Type Description
AnswerName

ofProjectLocationCollectionDataStoreSessionAnswerName(String project, String location, String collection, String dataStore, String session, String answer)

public static AnswerName ofProjectLocationCollectionDataStoreSessionAnswerName(String project, String location, String collection, String dataStore, String session, String answer)
Parameters
Name Description
project String
location String
collection String
dataStore String
session String
answer String
Returns
Type Description
AnswerName

ofProjectLocationCollectionEngineSessionAnswerName(String project, String location, String collection, String engine, String session, String answer)

public static AnswerName ofProjectLocationCollectionEngineSessionAnswerName(String project, String location, String collection, String engine, String session, String answer)
Parameters
Name Description
project String
location String
collection String
engine String
session String
answer String
Returns
Type Description
AnswerName

ofProjectLocationDataStoreSessionAnswerName(String project, String location, String dataStore, String session, String answer)

public static AnswerName ofProjectLocationDataStoreSessionAnswerName(String project, String location, String dataStore, String session, String answer)
Parameters
Name Description
project String
location String
dataStore String
session String
answer String
Returns
Type Description
AnswerName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<AnswerName> values)

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

Constructors

AnswerName() (deprecated)

protected AnswerName()

Methods

equals(Object o)

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

getAnswer()

public String getAnswer()
Returns
Type Description
String

getCollection()

public String getCollection()
Returns
Type Description
String

getDataStore()

public String getDataStore()
Returns
Type Description
String

getEngine()

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

getSession()

public String getSession()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
Type Description
String
Overrides