Class ServiceName.Builder (2.25.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
TypeDescription
ServiceName

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

setLocation(String location)

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

setNamespace(String namespace)

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

setProject(String project)

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

setService(String service)

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