@Generated(value="by gapic-generator-java") public class IntentName extends Object implements com.google.api.resourcenames.ResourceName
| Modifier and Type | Class and Description |
|---|---|
static class |
IntentName.Builder
Builder for projects/{project}/locations/{location}/agents/{agent}/intents/{intent}.
|
| Modifier | Constructor and Description |
|---|---|
protected |
IntentName()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static String |
format(String project,
String location,
String agent,
String intent) |
String |
getAgent() |
String |
getFieldValue(String fieldName) |
Map<String,String> |
getFieldValuesMap() |
String |
getIntent() |
String |
getLocation() |
String |
getProject() |
int |
hashCode() |
static boolean |
isParsableFrom(String formattedString) |
static IntentName.Builder |
newBuilder() |
static IntentName |
of(String project,
String location,
String agent,
String intent) |
static IntentName |
parse(String formattedString) |
static List<IntentName> |
parseList(List<String> formattedStrings) |
IntentName.Builder |
toBuilder() |
String |
toString() |
static List<String> |
toStringList(List<IntentName> values) |
@Deprecated protected IntentName()
public String getProject()
public String getLocation()
public String getAgent()
public String getIntent()
public static IntentName.Builder newBuilder()
public IntentName.Builder toBuilder()
public static IntentName of(String project, String location, String agent, String intent)
public static IntentName parse(String formattedString)
public static List<IntentName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<IntentName> values)
public static boolean isParsableFrom(String formattedString)
public Map<String,String> getFieldValuesMap()
getFieldValuesMap in interface com.google.api.resourcenames.ResourceNamepublic String getFieldValue(String fieldName)
getFieldValue in interface com.google.api.resourcenames.ResourceNameCopyright © 2025 Google LLC. All rights reserved.