Class EndpointName.Builder (2.4.0)

public static class EndpointName.Builder

Builder for projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}/endpoints/{endpoint}.

Inheritance

java.lang.Object > EndpointName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public EndpointName build()
Returns
TypeDescription
EndpointName

getEndpoint()

public String getEndpoint()
Returns
TypeDescription
String

getLocation()

public String getLocation()
Returns
TypeDescription
String

getNamespace()

public String getNamespace()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getService()

public String getService()
Returns
TypeDescription
String

setEndpoint(String endpoint)

public EndpointName.Builder setEndpoint(String endpoint)
Parameter
NameDescription
endpointString
Returns
TypeDescription
EndpointName.Builder

setLocation(String location)

public EndpointName.Builder setLocation(String location)
Parameter
NameDescription
locationString
Returns
TypeDescription
EndpointName.Builder

setNamespace(String namespace)

public EndpointName.Builder setNamespace(String namespace)
Parameter
NameDescription
namespaceString
Returns
TypeDescription
EndpointName.Builder

setProject(String project)

public EndpointName.Builder setProject(String project)
Parameter
NameDescription
projectString
Returns
TypeDescription
EndpointName.Builder

setService(String service)

public EndpointName.Builder setService(String service)
Parameter
NameDescription
serviceString
Returns
TypeDescription
EndpointName.Builder