Interface UpdatePhraseSetRequestOrBuilder (4.19.0)

public interface UpdatePhraseSetRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPhraseSet()

public abstract PhraseSet getPhraseSet()

Required. The PhraseSet to update.

The PhraseSet's name field is used to identify the PhraseSet to update. Format: projects/{project}/locations/{location}/phraseSets/{phrase_set}.

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

Returns
TypeDescription
PhraseSet

The phraseSet.

getPhraseSetOrBuilder()

public abstract PhraseSetOrBuilder getPhraseSetOrBuilder()

Required. The PhraseSet to update.

The PhraseSet's name field is used to identify the PhraseSet to update. Format: projects/{project}/locations/{location}/phraseSets/{phrase_set}.

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

Returns
TypeDescription
PhraseSetOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

The list of fields to update. If empty, all non-default valued fields are considered for update. Use * to update the entire PhraseSet resource.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

The list of fields to update. If empty, all non-default valued fields are considered for update. Use * to update the entire PhraseSet resource.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMaskOrBuilder

getValidateOnly()

public abstract boolean getValidateOnly()

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

bool validate_only = 4;

Returns
TypeDescription
boolean

The validateOnly.

hasPhraseSet()

public abstract boolean hasPhraseSet()

Required. The PhraseSet to update.

The PhraseSet's name field is used to identify the PhraseSet to update. Format: projects/{project}/locations/{location}/phraseSets/{phrase_set}.

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

Returns
TypeDescription
boolean

Whether the phraseSet field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

The list of fields to update. If empty, all non-default valued fields are considered for update. Use * to update the entire PhraseSet resource.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
boolean

Whether the updateMask field is set.