Class EndpointName (2.55.0)

public class EndpointName implements ResourceName

Inheritance

Object > EndpointName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String endpoint)

public static String format(String project, String endpoint)
Parameters
Name Description
project String
endpoint 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 EndpointName.Builder newBuilder()
Returns
Type Description
EndpointName.Builder

of(String project, String endpoint)

public static EndpointName of(String project, String endpoint)
Parameters
Name Description
project String
endpoint String
Returns
Type Description
EndpointName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<EndpointName> values)

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

Constructors

EndpointName() (deprecated)

protected EndpointName()

Methods

equals(Object o)

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

getEndpoint()

public String getEndpoint()
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 EndpointName.Builder toBuilder()
Returns
Type Description
EndpointName.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides