public static final class UndeletePhraseSetRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UndeletePhraseSetRequest.Builder> implements UndeletePhraseSetRequestOrBuilder
Request message for the [UndeletePhraseSet][google.cloud.speech.v2.Speech.UndeletePhraseSet] method.Protobuf type
google.cloud.speech.v2.UndeletePhraseSetRequest| Modifier and Type | Method and Description |
|---|---|
UndeletePhraseSetRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UndeletePhraseSetRequest |
build() |
UndeletePhraseSetRequest |
buildPartial() |
UndeletePhraseSetRequest.Builder |
clear() |
UndeletePhraseSetRequest.Builder |
clearEtag()
This checksum is computed by the server based on the value of other
fields.
|
UndeletePhraseSetRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
UndeletePhraseSetRequest.Builder |
clearName()
Required.
|
UndeletePhraseSetRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
UndeletePhraseSetRequest.Builder |
clearValidateOnly()
If set, validate the request and preview the undeleted PhraseSet, but do
not actually undelete it.
|
UndeletePhraseSetRequest.Builder |
clone() |
UndeletePhraseSetRequest |
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 undeleted PhraseSet, but do
not actually undelete it.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
UndeletePhraseSetRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
UndeletePhraseSetRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
UndeletePhraseSetRequest.Builder |
mergeFrom(UndeletePhraseSetRequest other) |
UndeletePhraseSetRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
UndeletePhraseSetRequest.Builder |
setEtag(String value)
This checksum is computed by the server based on the value of other
fields.
|
UndeletePhraseSetRequest.Builder |
setEtagBytes(com.google.protobuf.ByteString value)
This checksum is computed by the server based on the value of other
fields.
|
UndeletePhraseSetRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UndeletePhraseSetRequest.Builder |
setName(String value)
Required.
|
UndeletePhraseSetRequest.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Required.
|
UndeletePhraseSetRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
UndeletePhraseSetRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
UndeletePhraseSetRequest.Builder |
setValidateOnly(boolean value)
If set, validate the request and preview the undeleted PhraseSet, but do
not actually undelete it.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<UndeletePhraseSetRequest.Builder>public UndeletePhraseSetRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<UndeletePhraseSetRequest.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.GeneratedMessageV3.Builder<UndeletePhraseSetRequest.Builder>public UndeletePhraseSetRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic UndeletePhraseSetRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic UndeletePhraseSetRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic UndeletePhraseSetRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<UndeletePhraseSetRequest.Builder>public UndeletePhraseSetRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<UndeletePhraseSetRequest.Builder>public UndeletePhraseSetRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<UndeletePhraseSetRequest.Builder>public UndeletePhraseSetRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UndeletePhraseSetRequest.Builder>public UndeletePhraseSetRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UndeletePhraseSetRequest.Builder>public UndeletePhraseSetRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UndeletePhraseSetRequest.Builder>public UndeletePhraseSetRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<UndeletePhraseSetRequest.Builder>public UndeletePhraseSetRequest.Builder mergeFrom(UndeletePhraseSetRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UndeletePhraseSetRequest.Builder>public UndeletePhraseSetRequest.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<UndeletePhraseSetRequest.Builder>IOExceptionpublic String getName()
Required. The name of the PhraseSet to undelete.
Format: `projects/{project}/locations/{location}/phraseSets/{phrase_set}`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getName in interface UndeletePhraseSetRequestOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Required. The name of the PhraseSet to undelete.
Format: `projects/{project}/locations/{location}/phraseSets/{phrase_set}`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getNameBytes in interface UndeletePhraseSetRequestOrBuilderpublic UndeletePhraseSetRequest.Builder setName(String value)
Required. The name of the PhraseSet to undelete.
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 UndeletePhraseSetRequest.Builder clearName()
Required. The name of the PhraseSet to undelete.
Format: `projects/{project}/locations/{location}/phraseSets/{phrase_set}`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public UndeletePhraseSetRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
Required. The name of the PhraseSet to undelete.
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 undeleted PhraseSet, but do not actually undelete it.
bool validate_only = 3;getValidateOnly in interface UndeletePhraseSetRequestOrBuilderpublic UndeletePhraseSetRequest.Builder setValidateOnly(boolean value)
If set, validate the request and preview the undeleted PhraseSet, but do not actually undelete it.
bool validate_only = 3;value - The validateOnly to set.public UndeletePhraseSetRequest.Builder clearValidateOnly()
If set, validate the request and preview the undeleted PhraseSet, but do not actually undelete it.
bool validate_only = 3;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 = 4;getEtag in interface UndeletePhraseSetRequestOrBuilderpublic 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 = 4;getEtagBytes in interface UndeletePhraseSetRequestOrBuilderpublic UndeletePhraseSetRequest.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 = 4;value - The etag to set.public UndeletePhraseSetRequest.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 = 4;public UndeletePhraseSetRequest.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 = 4;value - The bytes for etag to set.public final UndeletePhraseSetRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UndeletePhraseSetRequest.Builder>public final UndeletePhraseSetRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UndeletePhraseSetRequest.Builder>Copyright © 2023 Google LLC. All rights reserved.