Class FeatureName (3.35.0)

public class FeatureName implements ResourceName

Inheritance

Object > FeatureName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String featurestore, String entityType, String feature)

public static String format(String project, String location, String featurestore, String entityType, String feature)
Parameters
NameDescription
projectString
locationString
featurestoreString
entityTypeString
featureString
Returns
TypeDescription
String

formatProjectLocationFeatureGroupFeatureName(String project, String location, String featureGroup, String feature)

public static String formatProjectLocationFeatureGroupFeatureName(String project, String location, String featureGroup, String feature)
Parameters
NameDescription
projectString
locationString
featureGroupString
featureString
Returns
TypeDescription
String

formatProjectLocationFeaturestoreEntityTypeFeatureName(String project, String location, String featurestore, String entityType, String feature)

public static String formatProjectLocationFeaturestoreEntityTypeFeatureName(String project, String location, String featurestore, String entityType, String feature)
Parameters
NameDescription
projectString
locationString
featurestoreString
entityTypeString
featureString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
boolean

newBuilder()

public static FeatureName.Builder newBuilder()
Returns
TypeDescription
FeatureName.Builder

newProjectLocationFeatureGroupFeatureBuilder()

public static FeatureName.ProjectLocationFeatureGroupFeatureBuilder newProjectLocationFeatureGroupFeatureBuilder()
Returns
TypeDescription
FeatureName.ProjectLocationFeatureGroupFeatureBuilder

newProjectLocationFeaturestoreEntityTypeFeatureBuilder()

public static FeatureName.Builder newProjectLocationFeaturestoreEntityTypeFeatureBuilder()
Returns
TypeDescription
FeatureName.Builder

of(String project, String location, String featurestore, String entityType, String feature)

public static FeatureName of(String project, String location, String featurestore, String entityType, String feature)
Parameters
NameDescription
projectString
locationString
featurestoreString
entityTypeString
featureString
Returns
TypeDescription
FeatureName

ofProjectLocationFeatureGroupFeatureName(String project, String location, String featureGroup, String feature)

public static FeatureName ofProjectLocationFeatureGroupFeatureName(String project, String location, String featureGroup, String feature)
Parameters
NameDescription
projectString
locationString
featureGroupString
featureString
Returns
TypeDescription
FeatureName

ofProjectLocationFeaturestoreEntityTypeFeatureName(String project, String location, String featurestore, String entityType, String feature)

public static FeatureName ofProjectLocationFeaturestoreEntityTypeFeatureName(String project, String location, String featurestore, String entityType, String feature)
Parameters
NameDescription
projectString
locationString
featurestoreString
entityTypeString
featureString
Returns
TypeDescription
FeatureName

parse(String formattedString)

public static FeatureName parse(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
FeatureName

parseList(List<String> formattedStrings)

public static List<FeatureName> parseList(List<String> formattedStrings)
Parameter
NameDescription
formattedStringsList<String>
Returns
TypeDescription
List<FeatureName>

toStringList(List<FeatureName> values)

public static List<String> toStringList(List<FeatureName> values)
Parameter
NameDescription
valuesList<FeatureName>
Returns
TypeDescription
List<String>

Constructors

FeatureName() (deprecated)

protected FeatureName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getEntityType()

public String getEntityType()
Returns
TypeDescription
String

getFeature()

public String getFeature()
Returns
TypeDescription
String

getFeatureGroup()

public String getFeatureGroup()
Returns
TypeDescription
String

getFeaturestore()

public String getFeaturestore()
Returns
TypeDescription
String

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
NameDescription
fieldNameString
Returns
TypeDescription
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
TypeDescription
Map<String,String>

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

public FeatureName.Builder toBuilder()
Returns
TypeDescription
FeatureName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides