Class PhraseSetName.Builder (4.36.0)

public static class PhraseSetName.Builder

Builder for projects/{project}/locations/{location}/phraseSets/{phrase_set}.

Inheritance

java.lang.Object > PhraseSetName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public PhraseSetName build()
Returns
TypeDescription
PhraseSetName

getLocation()

public String getLocation()
Returns
TypeDescription
String

getPhraseSet()

public String getPhraseSet()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

setLocation(String location)

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

setPhraseSet(String phraseSet)

public PhraseSetName.Builder setPhraseSet(String phraseSet)
Parameter
NameDescription
phraseSetString
Returns
TypeDescription
PhraseSetName.Builder

setProject(String project)

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