Class ExtensionName (3.40.0)

public class ExtensionName implements ResourceName

Inheritance

Object > ExtensionName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String extension)

public static String format(String project, String location, String extension)
Parameters
NameDescription
projectString
locationString
extensionString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String extension)

public static ExtensionName of(String project, String location, String extension)
Parameters
NameDescription
projectString
locationString
extensionString
Returns
TypeDescription
ExtensionName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<ExtensionName> values)

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

Constructors

ExtensionName() (deprecated)

protected ExtensionName()

Methods

equals(Object o)

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

getExtension()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides