@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}.
|
static class |
IntentName.ProjectLocationIntentBuilder
Builder for projects/{project}/locations/{location}/agent/intents/{intent}.
|
Modifier | Constructor and Description |
---|---|
protected |
IntentName()
Deprecated.
|
@Deprecated protected IntentName()
public String getProject()
public String getIntent()
public String getLocation()
public static IntentName.Builder newBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static IntentName.Builder newProjectIntentBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static IntentName.ProjectLocationIntentBuilder newProjectLocationIntentBuilder()
public IntentName.Builder toBuilder()
public static IntentName of(String project, String intent)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static IntentName ofProjectIntentName(String project, String intent)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static IntentName ofProjectLocationIntentName(String project, String location, String intent)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectIntentName(String project, String intent)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationIntentName(String project, String location, 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 © 2022 Google LLC. All rights reserved.