Interface UpdatePhraseSetRequestOrBuilder (4.38.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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the updateMask field is set.