Class EndpointName (0.4.0)

publicclass EndpointNameimplementsResourceName

Inheritance

Object > EndpointName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String endpoint)

publicstaticStringformat(Stringproject,Stringlocation,Stringendpoint)
Parameters
Name Description
project String
location String
endpoint String
Returns
Type Description
String

formatProjectLocationEndpointName(String project, String location, String endpoint)

publicstaticStringformatProjectLocationEndpointName(Stringproject,Stringlocation,Stringendpoint)
Parameters
Name Description
project String
location String
endpoint String
Returns
Type Description
String

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

publicstaticStringformatProjectLocationPublisherModelName(Stringproject,Stringlocation,Stringpublisher,Stringmodel)
Parameters
Name Description
project String
location String
publisher String
model String
Returns
Type Description
String

isParsableFrom(String formattedString)

publicstaticbooleanisParsableFrom(StringformattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
boolean

newBuilder()

publicstaticEndpointName.BuildernewBuilder()
Returns
Type Description
EndpointName.Builder

newProjectLocationEndpointBuilder()

publicstaticEndpointName.BuildernewProjectLocationEndpointBuilder()
Returns
Type Description
EndpointName.Builder

newProjectLocationPublisherModelBuilder()

publicstaticEndpointName.ProjectLocationPublisherModelBuildernewProjectLocationPublisherModelBuilder()
Returns
Type Description
EndpointName.ProjectLocationPublisherModelBuilder

of(String project, String location, String endpoint)

publicstaticEndpointNameof(Stringproject,Stringlocation,Stringendpoint)
Parameters
Name Description
project String
location String
endpoint String
Returns
Type Description
EndpointName

ofProjectLocationEndpointName(String project, String location, String endpoint)

publicstaticEndpointNameofProjectLocationEndpointName(Stringproject,Stringlocation,Stringendpoint)
Parameters
Name Description
project String
location String
endpoint String
Returns
Type Description
EndpointName

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

publicstaticEndpointNameofProjectLocationPublisherModelName(Stringproject,Stringlocation,Stringpublisher,Stringmodel)
Parameters
Name Description
project String
location String
publisher String
model String
Returns
Type Description
EndpointName

parse(String formattedString)

publicstaticEndpointNameparse(StringformattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
EndpointName

parseList(List<String> formattedStrings)

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

toStringList(List<EndpointName> values)

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

Constructors

EndpointName() (deprecated)

protectedEndpointName()

Methods

equals(Object o)

publicbooleanequals(Objecto)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getEndpoint()

publicStringgetEndpoint()
Returns
Type Description
String

getFieldValue(String fieldName)

publicStringgetFieldValue(StringfieldName)
Parameter
Name Description
fieldName String
Returns
Type Description
String

getFieldValuesMap()

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

getLocation()

publicStringgetLocation()
Returns
Type Description
String

getModel()

publicStringgetModel()
Returns
Type Description
String

getProject()

publicStringgetProject()
Returns
Type Description
String

getPublisher()

publicStringgetPublisher()
Returns
Type Description
String

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

toBuilder()

publicEndpointName.BuildertoBuilder()
Returns
Type Description
EndpointName.Builder

toString()

publicStringtoString()
Returns
Type Description
String
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.