@Generated(value="by gapic-generator-java") public class IntentName extends Object implements ResourceName
Modifier and Type | Class and Description |
---|---|
static class |
IntentName.Builder
Builder for projects/{project}/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 intent) |
String |
getFieldValue(String fieldName) |
Map<String,String> |
getFieldValuesMap() |
String |
getIntent() |
String |
getProject() |
int |
hashCode() |
static boolean |
isParsableFrom(String formattedString) |
static IntentName.Builder |
newBuilder() |
static IntentName |
of(String project,
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 getIntent()
public static IntentName.Builder newBuilder()
public IntentName.Builder toBuilder()
public static IntentName of(String project, 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 ResourceName
public String getFieldValue(String fieldName)
getFieldValue
in interface ResourceName
Copyright © 2021 Google LLC. All rights reserved.