Class IntentName (4.7.5)

public class IntentName implements ResourceName

Inheritance

Object > IntentName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String intent)

public static String format(String project, String intent)
Parameters
NameDescription
projectString
intentString
Returns
TypeDescription
String

formatProjectIntentName(String project, String intent)

public static String formatProjectIntentName(String project, String intent)
Parameters
NameDescription
projectString
intentString
Returns
TypeDescription
String

formatProjectLocationIntentName(String project, String location, String intent)

public static String formatProjectLocationIntentName(String project, String location, String intent)
Parameters
NameDescription
projectString
locationString
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

newProjectIntentBuilder()

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

newProjectLocationIntentBuilder()

public static IntentName.ProjectLocationIntentBuilder newProjectLocationIntentBuilder()
Returns
TypeDescription
IntentName.ProjectLocationIntentBuilder

of(String project, String intent)

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

ofProjectIntentName(String project, String intent)

public static IntentName ofProjectIntentName(String project, String intent)
Parameters
NameDescription
projectString
intentString
Returns
TypeDescription
IntentName

ofProjectLocationIntentName(String project, String location, String intent)

public static IntentName ofProjectLocationIntentName(String project, String location, String intent)
Parameters
NameDescription
projectString
locationString
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()

protected IntentName()

Methods

equals(Object o)

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

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