public static final class DeletePhraseSetRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<DeletePhraseSetRequest.Builder> implements DeletePhraseSetRequestOrBuilder
Request message for the [DeletePhraseSet][google.cloud.speech.v2.Speech.DeletePhraseSet] method.Protobuf type
google.cloud.speech.v2.DeletePhraseSetRequest| Modifier and Type | Method and Description |
|---|---|
DeletePhraseSetRequest |
build() |
DeletePhraseSetRequest |
buildPartial() |
DeletePhraseSetRequest.Builder |
clear() |
DeletePhraseSetRequest.Builder |
clearAllowMissing()
If set to true, and the PhraseSet is not found, the request will succeed
and be a no-op (no Operation is recorded in this case).
|
DeletePhraseSetRequest.Builder |
clearEtag()
This checksum is computed by the server based on the value of other
fields.
|
DeletePhraseSetRequest.Builder |
clearName()
Required.
|
DeletePhraseSetRequest.Builder |
clearValidateOnly()
If set, validate the request and preview the deleted PhraseSet, but do not
actually delete it.
|
boolean |
getAllowMissing()
If set to true, and the PhraseSet is not found, the request will succeed
and be a no-op (no Operation is recorded in this case).
|
DeletePhraseSetRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getEtag()
This checksum is computed by the server based on the value of other
fields.
|
com.google.protobuf.ByteString |
getEtagBytes()
This checksum is computed by the server based on the value of other
fields.
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
boolean |
getValidateOnly()
If set, validate the request and preview the deleted PhraseSet, but do not
actually delete it.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
DeletePhraseSetRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DeletePhraseSetRequest.Builder |
mergeFrom(DeletePhraseSetRequest other) |
DeletePhraseSetRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
DeletePhraseSetRequest.Builder |
setAllowMissing(boolean value)
If set to true, and the PhraseSet is not found, the request will succeed
and be a no-op (no Operation is recorded in this case).
|
DeletePhraseSetRequest.Builder |
setEtag(String value)
This checksum is computed by the server based on the value of other
fields.
|
DeletePhraseSetRequest.Builder |
setEtagBytes(com.google.protobuf.ByteString value)
This checksum is computed by the server based on the value of other
fields.
|
DeletePhraseSetRequest.Builder |
setName(String value)
Required.
|
DeletePhraseSetRequest.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Required.
|
DeletePhraseSetRequest.Builder |
setValidateOnly(boolean value)
If set, validate the request and preview the deleted PhraseSet, but do not
actually delete 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<DeletePhraseSetRequest.Builder>public DeletePhraseSetRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<DeletePhraseSetRequest.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<DeletePhraseSetRequest.Builder>public DeletePhraseSetRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic DeletePhraseSetRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic DeletePhraseSetRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic DeletePhraseSetRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DeletePhraseSetRequest.Builder>public DeletePhraseSetRequest.Builder mergeFrom(DeletePhraseSetRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<DeletePhraseSetRequest.Builder>public DeletePhraseSetRequest.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<DeletePhraseSetRequest.Builder>IOExceptionpublic String getName()
Required. The name of the PhraseSet to delete.
Format: `projects/{project}/locations/{location}/phraseSets/{phrase_set}`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getName in interface DeletePhraseSetRequestOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Required. The name of the PhraseSet to delete.
Format: `projects/{project}/locations/{location}/phraseSets/{phrase_set}`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getNameBytes in interface DeletePhraseSetRequestOrBuilderpublic DeletePhraseSetRequest.Builder setName(String value)
Required. The name of the PhraseSet to delete.
Format: `projects/{project}/locations/{location}/phraseSets/{phrase_set}`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The name to set.public DeletePhraseSetRequest.Builder clearName()
Required. The name of the PhraseSet to delete.
Format: `projects/{project}/locations/{location}/phraseSets/{phrase_set}`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public DeletePhraseSetRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
Required. The name of the PhraseSet to delete.
Format: `projects/{project}/locations/{location}/phraseSets/{phrase_set}`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for name to set.public boolean getValidateOnly()
If set, validate the request and preview the deleted PhraseSet, but do not actually delete it.
bool validate_only = 2;getValidateOnly in interface DeletePhraseSetRequestOrBuilderpublic DeletePhraseSetRequest.Builder setValidateOnly(boolean value)
If set, validate the request and preview the deleted PhraseSet, but do not actually delete it.
bool validate_only = 2;value - The validateOnly to set.public DeletePhraseSetRequest.Builder clearValidateOnly()
If set, validate the request and preview the deleted PhraseSet, but do not actually delete it.
bool validate_only = 2;public boolean getAllowMissing()
If set to true, and the PhraseSet is not found, the request will succeed and be a no-op (no Operation is recorded in this case).
bool allow_missing = 4;getAllowMissing in interface DeletePhraseSetRequestOrBuilderpublic DeletePhraseSetRequest.Builder setAllowMissing(boolean value)
If set to true, and the PhraseSet is not found, the request will succeed and be a no-op (no Operation is recorded in this case).
bool allow_missing = 4;value - The allowMissing to set.public DeletePhraseSetRequest.Builder clearAllowMissing()
If set to true, and the PhraseSet is not found, the request will succeed and be a no-op (no Operation is recorded in this case).
bool allow_missing = 4;public String getEtag()
This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 3;getEtag in interface DeletePhraseSetRequestOrBuilderpublic com.google.protobuf.ByteString getEtagBytes()
This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 3;getEtagBytes in interface DeletePhraseSetRequestOrBuilderpublic DeletePhraseSetRequest.Builder setEtag(String value)
This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 3;value - The etag to set.public DeletePhraseSetRequest.Builder clearEtag()
This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 3;public DeletePhraseSetRequest.Builder setEtagBytes(com.google.protobuf.ByteString value)
This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 3;value - The bytes for etag to set.Copyright © 2026 Google LLC. All rights reserved.