Class AgentName
- java.lang.Object
-
- com.google.cloud.dialogflow.v2beta1.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.ProjectLocationAgentBuilder
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()
-
newProjectAgentBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static AgentName.Builder newProjectAgentBuilder()
-
newProjectLocationAgentBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static AgentName.ProjectLocationAgentBuilder newProjectLocationAgentBuilder()
-
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)
-
ofProjectAgentName
@Deprecated public static AgentName ofProjectAgentName(String project)
Deprecated.Please use#ofProjectName()
instead
-
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)
-
ofProjectLocationAgentName
@Deprecated public static AgentName ofProjectLocationAgentName(String project, String location)
Deprecated.Please use#ofProjectLocationName()
instead
-
formatProjectAgentName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectAgentName(String project)
-
formatProjectLocationAgentName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationAgentName(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
-
-