Class BulkDeleteConversationsRequest.Builder (2.55.0)

public static final class BulkDeleteConversationsRequest.Builder extends GeneratedMessageV3.Builder<BulkDeleteConversationsRequest.Builder> implements BulkDeleteConversationsRequestOrBuilder

The request to delete conversations in bulk.

Protobuf type google.cloud.contactcenterinsights.v1.BulkDeleteConversationsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BulkDeleteConversationsRequest build()
Returns
Type Description
BulkDeleteConversationsRequest

buildPartial()

public BulkDeleteConversationsRequest buildPartial()
Returns
Type Description
BulkDeleteConversationsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFilter()

public BulkDeleteConversationsRequest.Builder clearFilter()

Filter used to select the subset of conversations to delete.

string filter = 2;

Returns
Type Description
BulkDeleteConversationsRequest.Builder

This builder for chaining.

clearForce()

public BulkDeleteConversationsRequest.Builder clearForce()

If set to true, all of this conversation's analyses will also be deleted. Otherwise, the request will only succeed if the conversation has no analyses.

bool force = 4;

Returns
Type Description
BulkDeleteConversationsRequest.Builder

This builder for chaining.

clearMaxDeleteCount()

public BulkDeleteConversationsRequest.Builder clearMaxDeleteCount()

Maximum number of conversations to delete.

int32 max_delete_count = 3;

Returns
Type Description
BulkDeleteConversationsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public BulkDeleteConversationsRequest.Builder clearParent()

Required. The parent resource to delete conversations from. Format: projects/{project}/locations/{location}

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

Returns
Type Description
BulkDeleteConversationsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public BulkDeleteConversationsRequest getDefaultInstanceForType()
Returns
Type Description
BulkDeleteConversationsRequest

getDescriptorForType()

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

getFilter()

public String getFilter()

Filter used to select the subset of conversations to delete.

string filter = 2;

Returns
Type Description
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

Filter used to select the subset of conversations to delete.

string filter = 2;

Returns
Type Description
ByteString

The bytes for filter.

getForce()

public boolean getForce()

If set to true, all of this conversation's analyses will also be deleted. Otherwise, the request will only succeed if the conversation has no analyses.

bool force = 4;

Returns
Type Description
boolean

The force.

getMaxDeleteCount()

public int getMaxDeleteCount()

Maximum number of conversations to delete.

int32 max_delete_count = 3;

Returns
Type Description
int

The maxDeleteCount.

getParent()

public String getParent()

Required. The parent resource to delete conversations from. Format: projects/{project}/locations/{location}

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 resource to delete conversations from. Format: projects/{project}/locations/{location}

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(BulkDeleteConversationsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFilter(String value)

public BulkDeleteConversationsRequest.Builder setFilter(String value)

Filter used to select the subset of conversations to delete.

string filter = 2;

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
BulkDeleteConversationsRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public BulkDeleteConversationsRequest.Builder setFilterBytes(ByteString value)

Filter used to select the subset of conversations to delete.

string filter = 2;

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
BulkDeleteConversationsRequest.Builder

This builder for chaining.

setForce(boolean value)

public BulkDeleteConversationsRequest.Builder setForce(boolean value)

If set to true, all of this conversation's analyses will also be deleted. Otherwise, the request will only succeed if the conversation has no analyses.

bool force = 4;

Parameter
Name Description
value boolean

The force to set.

Returns
Type Description
BulkDeleteConversationsRequest.Builder

This builder for chaining.

setMaxDeleteCount(int value)

public BulkDeleteConversationsRequest.Builder setMaxDeleteCount(int value)

Maximum number of conversations to delete.

int32 max_delete_count = 3;

Parameter
Name Description
value int

The maxDeleteCount to set.

Returns
Type Description
BulkDeleteConversationsRequest.Builder

This builder for chaining.

setParent(String value)

public BulkDeleteConversationsRequest.Builder setParent(String value)

Required. The parent resource to delete conversations from. Format: projects/{project}/locations/{location}

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
BulkDeleteConversationsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public BulkDeleteConversationsRequest.Builder setParentBytes(ByteString value)

Required. The parent resource to delete conversations from. Format: projects/{project}/locations/{location}

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
BulkDeleteConversationsRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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