@Generated(value="by gapic-generator-java") public class EntityTypeName extends Object implements ResourceName
Modifier and Type | Class and 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}.
|
Modifier | Constructor and Description |
---|---|
protected |
EntityTypeName()
Deprecated.
|
@Deprecated protected EntityTypeName()
public String getProject()
public String getEntityType()
public String getLocation()
public static EntityTypeName.Builder newBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static EntityTypeName.Builder newProjectEntityTypeBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static EntityTypeName.ProjectLocationEntityTypeBuilder newProjectLocationEntityTypeBuilder()
public EntityTypeName.Builder toBuilder()
public static EntityTypeName of(String project, String entityType)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static EntityTypeName ofProjectEntityTypeName(String project, String entityType)
@BetaApi(value="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)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectEntityTypeName(String project, String entityType)
@BetaApi(value="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)
public static EntityTypeName parse(String formattedString)
public static List<EntityTypeName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<EntityTypeName> 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.