Class ReadStreamName.Builder (2.44.1)

public static class ReadStreamName.Builder

Builder for projects/{project}/locations/{location}/sessions/{session}/streams/{stream}.

Inheritance

java.lang.Object > ReadStreamName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public ReadStreamName build()
Returns
TypeDescription
ReadStreamName

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getSession()

public String getSession()
Returns
TypeDescription
String

getStream()

public String getStream()
Returns
TypeDescription
String

setLocation(String location)

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

setProject(String project)

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

setSession(String session)

public ReadStreamName.Builder setSession(String session)
Parameter
NameDescription
sessionString
Returns
TypeDescription
ReadStreamName.Builder

setStream(String stream)

public ReadStreamName.Builder setStream(String stream)
Parameter
NameDescription
streamString
Returns
TypeDescription
ReadStreamName.Builder