Class IntentName (0.48.0)

public class IntentName implements ResourceName

Inheritance

Object > IntentName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String agent, String intent)

public static String format(String project, String location, String agent, String intent)
Parameters
NameDescription
projectString
locationString
agentString
intentString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String agent, String intent)

public static IntentName of(String project, String location, String agent, String intent)
Parameters
NameDescription
projectString
locationString
agentString
intentString
Returns
TypeDescription
IntentName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<IntentName> values)

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

Constructors

IntentName() (deprecated)

protected IntentName()

Methods

equals(Object o)

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

getAgent()

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

getIntent()

public String getIntent()
Returns
TypeDescription
String

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides