Class PurgeSuggestionDenyListEntriesRequest.Builder (0.35.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.v1.PurgeSuggestionDenyListEntriesRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PurgeSuggestionDenyListEntriesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PurgeSuggestionDenyListEntriesRequest.Builder
Overrides

build()

public PurgeSuggestionDenyListEntriesRequest build()
Returns
TypeDescription
PurgeSuggestionDenyListEntriesRequest

buildPartial()

public PurgeSuggestionDenyListEntriesRequest buildPartial()
Returns
TypeDescription
PurgeSuggestionDenyListEntriesRequest

clear()

public PurgeSuggestionDenyListEntriesRequest.Builder clear()
Returns
TypeDescription
PurgeSuggestionDenyListEntriesRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public PurgeSuggestionDenyListEntriesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PurgeSuggestionDenyListEntriesRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PurgeSuggestionDenyListEntriesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
PurgeSuggestionDenyListEntriesRequest.Builder

This builder for chaining.

clone()

public PurgeSuggestionDenyListEntriesRequest.Builder clone()
Returns
TypeDescription
PurgeSuggestionDenyListEntriesRequest.Builder
Overrides

getDefaultInstanceForType()

public PurgeSuggestionDenyListEntriesRequest getDefaultInstanceForType()
Returns
TypeDescription
PurgeSuggestionDenyListEntriesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PurgeSuggestionDenyListEntriesRequest other)

public PurgeSuggestionDenyListEntriesRequest.Builder mergeFrom(PurgeSuggestionDenyListEntriesRequest other)
Parameter
NameDescription
otherPurgeSuggestionDenyListEntriesRequest
Returns
TypeDescription
PurgeSuggestionDenyListEntriesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PurgeSuggestionDenyListEntriesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PurgeSuggestionDenyListEntriesRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PurgeSuggestionDenyListEntriesRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PurgeSuggestionDenyListEntriesRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PurgeSuggestionDenyListEntriesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PurgeSuggestionDenyListEntriesRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public PurgeSuggestionDenyListEntriesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PurgeSuggestionDenyListEntriesRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PurgeSuggestionDenyListEntriesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PurgeSuggestionDenyListEntriesRequest.Builder
Overrides