Class RagFileName.Builder (3.56.0)

public static class RagFileName.Builder

Builder for projects/{project}/locations/{location}/ragCorpora/{rag_corpus}/ragFiles/{rag_file}.

Inheritance

java.lang.Object > RagFileName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public RagFileName build()
Returns
Type Description
RagFileName

getLocation()

public String getLocation()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

getRagCorpus()

public String getRagCorpus()
Returns
Type Description
String

getRagFile()

public String getRagFile()
Returns
Type Description
String

setLocation(String location)

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

setProject(String project)

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

setRagCorpus(String ragCorpus)

public RagFileName.Builder setRagCorpus(String ragCorpus)
Parameter
Name Description
ragCorpus String
Returns
Type Description
RagFileName.Builder

setRagFile(String ragFile)

public RagFileName.Builder setRagFile(String ragFile)
Parameter
Name Description
ragFile String
Returns
Type Description
RagFileName.Builder