Package com.google.cloud.dialogflow.v2
Class AgentName
- java.lang.Object
-
- com.google.cloud.dialogflow.v2.AgentName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class AgentName extends Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AgentName.Builder
Builder for projects/{project}/agent.static class
AgentName.ProjectLocationBuilder
Builder for projects/{project}/locations/{location}/agent.
-
Constructor Summary
Constructors Modifier Constructor Description protected
AgentName()
Deprecated.
-
Method Summary
-
-
-
Constructor Detail
-
AgentName
@Deprecated protected AgentName()
Deprecated.
-
-
Method Detail
-
getProject
public String getProject()
-
getLocation
public String getLocation()
-
newBuilder
public static AgentName.Builder newBuilder()
-
newProjectBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static AgentName.Builder newProjectBuilder()
-
newProjectLocationBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static AgentName.ProjectLocationBuilder newProjectLocationBuilder()
-
toBuilder
public AgentName.Builder toBuilder()
-
ofProjectName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static AgentName ofProjectName(String project)
-
ofProjectLocationName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static AgentName ofProjectLocationName(String project, String location)
-
formatProjectName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectName(String project)
-
formatProjectLocationName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationName(String project, String location)
-
isParsableFrom
public static boolean isParsableFrom(String formattedString)
-
getFieldValuesMap
public Map<String,String> getFieldValuesMap()
- Specified by:
getFieldValuesMap
in interfacecom.google.api.resourcenames.ResourceName
-
getFieldValue
public String getFieldValue(String fieldName)
- Specified by:
getFieldValue
in interfacecom.google.api.resourcenames.ResourceName
-
-