Class PurgeCompletionSuggestionsRequest.Builder (0.45.0)

public static final class PurgeCompletionSuggestionsRequest.Builder extends GeneratedMessageV3.Builder<PurgeCompletionSuggestionsRequest.Builder> implements PurgeCompletionSuggestionsRequestOrBuilder

Request message for CompletionService.PurgeCompletionSuggestions method.

Protobuf type google.cloud.discoveryengine.v1.PurgeCompletionSuggestionsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PurgeCompletionSuggestionsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PurgeCompletionSuggestionsRequest.Builder
Overrides

build()

public PurgeCompletionSuggestionsRequest build()
Returns
Type Description
PurgeCompletionSuggestionsRequest

buildPartial()

public PurgeCompletionSuggestionsRequest buildPartial()
Returns
Type Description
PurgeCompletionSuggestionsRequest

clear()

public PurgeCompletionSuggestionsRequest.Builder clear()
Returns
Type Description
PurgeCompletionSuggestionsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public PurgeCompletionSuggestionsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PurgeCompletionSuggestionsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PurgeCompletionSuggestionsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PurgeCompletionSuggestionsRequest.Builder
Overrides

clearParent()

public PurgeCompletionSuggestionsRequest.Builder clearParent()

Required. The parent data store resource name for which to purge completion suggestions. Follows pattern projects/*/locations/*/collections/*/dataStores/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
PurgeCompletionSuggestionsRequest.Builder

This builder for chaining.

clone()

public PurgeCompletionSuggestionsRequest.Builder clone()
Returns
Type Description
PurgeCompletionSuggestionsRequest.Builder
Overrides

getDefaultInstanceForType()

public PurgeCompletionSuggestionsRequest getDefaultInstanceForType()
Returns
Type Description
PurgeCompletionSuggestionsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getParent()

public String getParent()

Required. The parent data store resource name for which to purge completion suggestions. Follows pattern projects/*/locations/*/collections/*/dataStores/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent data store resource name for which to purge completion suggestions. Follows pattern projects/*/locations/*/collections/*/dataStores/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PurgeCompletionSuggestionsRequest other)

public PurgeCompletionSuggestionsRequest.Builder mergeFrom(PurgeCompletionSuggestionsRequest other)
Parameter
Name Description
other PurgeCompletionSuggestionsRequest
Returns
Type Description
PurgeCompletionSuggestionsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PurgeCompletionSuggestionsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PurgeCompletionSuggestionsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PurgeCompletionSuggestionsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PurgeCompletionSuggestionsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PurgeCompletionSuggestionsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PurgeCompletionSuggestionsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public PurgeCompletionSuggestionsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PurgeCompletionSuggestionsRequest.Builder
Overrides

setParent(String value)

public PurgeCompletionSuggestionsRequest.Builder setParent(String value)

Required. The parent data store resource name for which to purge completion suggestions. Follows pattern projects/*/locations/*/collections/*/dataStores/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
PurgeCompletionSuggestionsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public PurgeCompletionSuggestionsRequest.Builder setParentBytes(ByteString value)

Required. The parent data store resource name for which to purge completion suggestions. Follows pattern projects/*/locations/*/collections/*/dataStores/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
PurgeCompletionSuggestionsRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PurgeCompletionSuggestionsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PurgeCompletionSuggestionsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PurgeCompletionSuggestionsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PurgeCompletionSuggestionsRequest.Builder
Overrides