Class ApiConfigName (2.11.0)

public class ApiConfigName implements ResourceName

Inheritance

Object > ApiConfigName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String api, String apiConfig)

public static String format(String project, String api, String apiConfig)
Parameters
NameDescription
projectString
apiString
apiConfigString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String api, String apiConfig)

public static ApiConfigName of(String project, String api, String apiConfig)
Parameters
NameDescription
projectString
apiString
apiConfigString
Returns
TypeDescription
ApiConfigName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<ApiConfigName> values)

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

Constructors

ApiConfigName()

protected ApiConfigName()

Methods

equals(Object o)

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

getApi()

public String getApi()
Returns
TypeDescription
String

getApiConfig()

public String getApiConfig()
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>

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides