public static final class UpdatePhraseSetRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdatePhraseSetRequest.Builder> implements UpdatePhraseSetRequestOrBuilder
Request message for the [UpdatePhraseSet][google.cloud.speech.v2.Speech.UpdatePhraseSet] method.Protobuf type
google.cloud.speech.v2.UpdatePhraseSetRequest| Modifier and Type | Method and Description |
|---|---|
UpdatePhraseSetRequest |
build() |
UpdatePhraseSetRequest |
buildPartial() |
UpdatePhraseSetRequest.Builder |
clear() |
UpdatePhraseSetRequest.Builder |
clearPhraseSet()
Required.
|
UpdatePhraseSetRequest.Builder |
clearUpdateMask()
The list of fields to update.
|
UpdatePhraseSetRequest.Builder |
clearValidateOnly()
If set, validate the request and preview the updated PhraseSet, but do not
actually update it.
|
UpdatePhraseSetRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
PhraseSet |
getPhraseSet()
Required.
|
PhraseSet.Builder |
getPhraseSetBuilder()
Required.
|
PhraseSetOrBuilder |
getPhraseSetOrBuilder()
Required.
|
com.google.protobuf.FieldMask |
getUpdateMask()
The list of fields to update.
|
com.google.protobuf.FieldMask.Builder |
getUpdateMaskBuilder()
The list of fields to update.
|
com.google.protobuf.FieldMaskOrBuilder |
getUpdateMaskOrBuilder()
The list of fields to update.
|
boolean |
getValidateOnly()
If set, validate the request and preview the updated PhraseSet, but do not
actually update it.
|
boolean |
hasPhraseSet()
Required.
|
boolean |
hasUpdateMask()
The list of fields to update.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
UpdatePhraseSetRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
UpdatePhraseSetRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
UpdatePhraseSetRequest.Builder |
mergeFrom(UpdatePhraseSetRequest other) |
UpdatePhraseSetRequest.Builder |
mergePhraseSet(PhraseSet value)
Required.
|
UpdatePhraseSetRequest.Builder |
mergeUpdateMask(com.google.protobuf.FieldMask value)
The list of fields to update.
|
UpdatePhraseSetRequest.Builder |
setPhraseSet(PhraseSet.Builder builderForValue)
Required.
|
UpdatePhraseSetRequest.Builder |
setPhraseSet(PhraseSet value)
Required.
|
UpdatePhraseSetRequest.Builder |
setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
The list of fields to update.
|
UpdatePhraseSetRequest.Builder |
setUpdateMask(com.google.protobuf.FieldMask value)
The list of fields to update.
|
UpdatePhraseSetRequest.Builder |
setValidateOnly(boolean value)
If set, validate the request and preview the updated PhraseSet, but do not
actually update it.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<UpdatePhraseSetRequest.Builder>public UpdatePhraseSetRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<UpdatePhraseSetRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<UpdatePhraseSetRequest.Builder>public UpdatePhraseSetRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic UpdatePhraseSetRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic UpdatePhraseSetRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic UpdatePhraseSetRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdatePhraseSetRequest.Builder>public UpdatePhraseSetRequest.Builder mergeFrom(UpdatePhraseSetRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<UpdatePhraseSetRequest.Builder>public UpdatePhraseSetRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdatePhraseSetRequest.Builder>IOExceptionpublic 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];
hasPhraseSet in interface UpdatePhraseSetRequestOrBuilderpublic 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];
getPhraseSet in interface UpdatePhraseSetRequestOrBuilderpublic UpdatePhraseSetRequest.Builder setPhraseSet(PhraseSet value)
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];
public UpdatePhraseSetRequest.Builder setPhraseSet(PhraseSet.Builder builderForValue)
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];
public UpdatePhraseSetRequest.Builder mergePhraseSet(PhraseSet value)
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];
public UpdatePhraseSetRequest.Builder clearPhraseSet()
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];
public PhraseSet.Builder getPhraseSetBuilder()
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];
public 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];
getPhraseSetOrBuilder in interface UpdatePhraseSetRequestOrBuilderpublic 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;hasUpdateMask in interface UpdatePhraseSetRequestOrBuilderpublic com.google.protobuf.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;getUpdateMask in interface UpdatePhraseSetRequestOrBuilderpublic UpdatePhraseSetRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
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;public UpdatePhraseSetRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
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;public UpdatePhraseSetRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
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;public UpdatePhraseSetRequest.Builder clearUpdateMask()
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;public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
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;public com.google.protobuf.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;getUpdateMaskOrBuilder in interface UpdatePhraseSetRequestOrBuilderpublic boolean getValidateOnly()
If set, validate the request and preview the updated PhraseSet, but do not actually update it.
bool validate_only = 4;getValidateOnly in interface UpdatePhraseSetRequestOrBuilderpublic UpdatePhraseSetRequest.Builder setValidateOnly(boolean value)
If set, validate the request and preview the updated PhraseSet, but do not actually update it.
bool validate_only = 4;value - The validateOnly to set.public UpdatePhraseSetRequest.Builder clearValidateOnly()
If set, validate the request and preview the updated PhraseSet, but do not actually update it.
bool validate_only = 4;Copyright © 2026 Google LLC. All rights reserved.