Class IndexName (3.33.0)

public class IndexName implements ResourceName

Inheritance

Object > IndexName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String index)

public static String format(String project, String location, String index)
Parameters
NameDescription
projectString
locationString
indexString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String index)

public static IndexName of(String project, String location, String index)
Parameters
NameDescription
projectString
locationString
indexString
Returns
TypeDescription
IndexName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<IndexName> values)

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

Constructors

IndexName() (deprecated)

protected IndexName()

Methods

equals(Object o)

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

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>

getIndex()

public String getIndex()
Returns
TypeDescription
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 IndexName.Builder toBuilder()
Returns
TypeDescription
IndexName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides