Class ServiceName.Builder (2.45.0)

public static class ServiceName.Builder

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

Inheritance

java.lang.Object > ServiceName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public ServiceName build()
Returns
Type Description
ServiceName

getLocation()

public String getLocation()
Returns
Type Description
String

getNamespace()

public String getNamespace()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

getService()

public String getService()
Returns
Type Description
String

setLocation(String location)

public ServiceName.Builder setLocation(String location)
Parameter
Name Description
location String
Returns
Type Description
ServiceName.Builder

setNamespace(String namespace)

public ServiceName.Builder setNamespace(String namespace)
Parameter
Name Description
namespace String
Returns
Type Description
ServiceName.Builder

setProject(String project)

public ServiceName.Builder setProject(String project)
Parameter
Name Description
project String
Returns
Type Description
ServiceName.Builder

setService(String service)

public ServiceName.Builder setService(String service)
Parameter
Name Description
service String
Returns
Type Description
ServiceName.Builder