Class ApiConfigName (2.47.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
Name Description
project String
api String
apiConfig String
Returns
Type Description
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
boolean

newBuilder()

public static ApiConfigName.Builder newBuilder()
Returns
Type Description
ApiConfigName.Builder

of(String project, String api, String apiConfig)

public static ApiConfigName of(String project, String api, String apiConfig)
Parameters
Name Description
project String
api String
apiConfig String
Returns
Type Description
ApiConfigName

parse(String formattedString)

public static ApiConfigName parse(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
ApiConfigName

parseList(List<String> formattedStrings)

public static List<ApiConfigName> parseList(List<String> formattedStrings)
Parameter
Name Description
formattedStrings List<String>
Returns
Type Description
List<ApiConfigName>

toStringList(List<ApiConfigName> values)

public static List<String> toStringList(List<ApiConfigName> values)
Parameter
Name Description
values List<ApiConfigName>
Returns
Type Description
List<String>

Constructors

ApiConfigName() (deprecated)

protected ApiConfigName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getApi()

public String getApi()
Returns
Type Description
String

getApiConfig()

public String getApiConfig()
Returns
Type Description
String

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
Name Description
fieldName String
Returns
Type Description
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
Type Description
Map<String,String>

getProject()

public String getProject()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

public ApiConfigName.Builder toBuilder()
Returns
Type Description
ApiConfigName.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides