Interface CreatePhraseSetRequestOrBuilder (4.30.0)

public interface CreatePhraseSetRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. The project and location where this PhraseSet will be created. The expected format is projects/{project}/locations/{location}.

string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The project and location where this PhraseSet will be created. The expected format is projects/{project}/locations/{location}.

string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

getPhraseSet()

public abstract PhraseSet getPhraseSet()

Required. The PhraseSet to create.

.google.cloud.speech.v2.PhraseSet phrase_set = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
PhraseSet

The phraseSet.

getPhraseSetId()

public abstract String getPhraseSetId()

The ID to use for the PhraseSet, which will become the final component of the PhraseSet's resource name.

This value should be 4-63 characters, and valid characters are /a-z-/.

string phrase_set_id = 3;

Returns
TypeDescription
String

The phraseSetId.

getPhraseSetIdBytes()

public abstract ByteString getPhraseSetIdBytes()

The ID to use for the PhraseSet, which will become the final component of the PhraseSet's resource name.

This value should be 4-63 characters, and valid characters are /a-z-/.

string phrase_set_id = 3;

Returns
TypeDescription
ByteString

The bytes for phraseSetId.

getPhraseSetOrBuilder()

public abstract PhraseSetOrBuilder getPhraseSetOrBuilder()

Required. The PhraseSet to create.

.google.cloud.speech.v2.PhraseSet phrase_set = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
PhraseSetOrBuilder

getValidateOnly()

public abstract boolean getValidateOnly()

If set, validate the request and preview the PhraseSet, but do not actually create it.

bool validate_only = 2;

Returns
TypeDescription
boolean

The validateOnly.

hasPhraseSet()

public abstract boolean hasPhraseSet()

Required. The PhraseSet to create.

.google.cloud.speech.v2.PhraseSet phrase_set = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the phraseSet field is set.