Class PurgeSuggestionDenyListEntriesRequest.Builder (0.51.0)

public static final class PurgeSuggestionDenyListEntriesRequest.Builder extends GeneratedMessageV3.Builder<PurgeSuggestionDenyListEntriesRequest.Builder> implements PurgeSuggestionDenyListEntriesRequestOrBuilder

Request message for CompletionService.PurgeSuggestionDenyListEntries method.

Protobuf type google.cloud.discoveryengine.v1beta.PurgeSuggestionDenyListEntriesRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PurgeSuggestionDenyListEntriesRequest build()
Returns
Type Description
PurgeSuggestionDenyListEntriesRequest

buildPartial()

public PurgeSuggestionDenyListEntriesRequest buildPartial()
Returns
Type Description
PurgeSuggestionDenyListEntriesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public PurgeSuggestionDenyListEntriesRequest.Builder clearParent()

Required. The parent data store resource name for which to import denylist entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*.

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

Returns
Type Description
PurgeSuggestionDenyListEntriesRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public PurgeSuggestionDenyListEntriesRequest getDefaultInstanceForType()
Returns
Type Description
PurgeSuggestionDenyListEntriesRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. The parent data store resource name for which to import denylist entries. 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 import denylist entries. 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(PurgeSuggestionDenyListEntriesRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public PurgeSuggestionDenyListEntriesRequest.Builder setParent(String value)

Required. The parent data store resource name for which to import denylist entries. 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
PurgeSuggestionDenyListEntriesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public PurgeSuggestionDenyListEntriesRequest.Builder setParentBytes(ByteString value)

Required. The parent data store resource name for which to import denylist entries. 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
PurgeSuggestionDenyListEntriesRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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