Class EndpointName (3.46.0)

public class EndpointName implements ResourceName

Inheritance

Object > EndpointName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String endpoint)

public static String format(String project, String location, String endpoint)
Parameters
Name Description
project String
location String
endpoint String
Returns
Type Description
String

formatProjectLocationEndpointName(String project, String location, String endpoint)

public static String formatProjectLocationEndpointName(String project, String location, String endpoint)
Parameters
Name Description
project String
location String
endpoint String
Returns
Type Description
String

formatProjectLocationPublisherModelName(String project, String location, String publisher, String model)

public static String formatProjectLocationPublisherModelName(String project, String location, String publisher, String model)
Parameters
Name Description
project String
location String
publisher String
model 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

newProjectLocationEndpointBuilder()

public static EndpointName.Builder newProjectLocationEndpointBuilder()
Returns
Type Description
EndpointName.Builder

newProjectLocationPublisherModelBuilder()

public static EndpointName.ProjectLocationPublisherModelBuilder newProjectLocationPublisherModelBuilder()
Returns
Type Description
EndpointName.ProjectLocationPublisherModelBuilder

of(String project, String location, String endpoint)

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

ofProjectLocationEndpointName(String project, String location, String endpoint)

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

ofProjectLocationPublisherModelName(String project, String location, String publisher, String model)

public static EndpointName ofProjectLocationPublisherModelName(String project, String location, String publisher, String model)
Parameters
Name Description
project String
location String
publisher String
model 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>

getLocation()

public String getLocation()
Returns
Type Description
String

getModel()

public String getModel()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

getPublisher()

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