Package com.google.cloud.dialogflow.v2
Class EntityTypeName
- java.lang.Object
-
- com.google.cloud.dialogflow.v2.EntityTypeName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class EntityTypeName extends Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EntityTypeName.Builder
Builder for projects/{project}/agent/entityTypes/{entity_type}.static class
EntityTypeName.ProjectLocationEntityTypeBuilder
Builder for projects/{project}/locations/{location}/agent/entityTypes/{entity_type}.
-
Constructor Summary
Constructors Modifier Constructor Description protected
EntityTypeName()
Deprecated.
-
Method Summary
-
-
-
Constructor Detail
-
EntityTypeName
@Deprecated protected EntityTypeName()
Deprecated.
-
-
Method Detail
-
getProject
public String getProject()
-
getEntityType
public String getEntityType()
-
getLocation
public String getLocation()
-
newBuilder
public static EntityTypeName.Builder newBuilder()
-
newProjectEntityTypeBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static EntityTypeName.Builder newProjectEntityTypeBuilder()
-
newProjectLocationEntityTypeBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static EntityTypeName.ProjectLocationEntityTypeBuilder newProjectLocationEntityTypeBuilder()
-
toBuilder
public EntityTypeName.Builder toBuilder()
-
of
public static EntityTypeName of(String project, String entityType)
-
ofProjectEntityTypeName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static EntityTypeName ofProjectEntityTypeName(String project, String entityType)
-
ofProjectLocationEntityTypeName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static EntityTypeName ofProjectLocationEntityTypeName(String project, String location, String entityType)
-
formatProjectEntityTypeName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectEntityTypeName(String project, String entityType)
-
formatProjectLocationEntityTypeName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationEntityTypeName(String project, String location, String entityType)
-
parse
public static EntityTypeName parse(String formattedString)
-
parseList
public static List<EntityTypeName> parseList(List<String> formattedStrings)
-
toStringList
public static List<String> toStringList(List<EntityTypeName> values)
-
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
-
-