Class BulkDeleteConversationsRequest.Builder (2.34.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BulkDeleteConversationsRequest build()
Returns
TypeDescription
BulkDeleteConversationsRequest

buildPartial()

public BulkDeleteConversationsRequest buildPartial()
Returns
TypeDescription
BulkDeleteConversationsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFilter()

public BulkDeleteConversationsRequest.Builder clearFilter()

Filter used to select the subset of conversations to delete.

string filter = 2;

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

This builder for chaining.

clearMaxDeleteCount()

public BulkDeleteConversationsRequest.Builder clearMaxDeleteCount()

Maximum number of conversations to delete.

int32 max_delete_count = 3;

Returns
TypeDescription
BulkDeleteConversationsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public BulkDeleteConversationsRequest getDefaultInstanceForType()
Returns
TypeDescription
BulkDeleteConversationsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFilter()

public String getFilter()

Filter used to select the subset of conversations to delete.

string filter = 2;

Returns
TypeDescription
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

Filter used to select the subset of conversations to delete.

string filter = 2;

Returns
TypeDescription
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
TypeDescription
boolean

The force.

getMaxDeleteCount()

public int getMaxDeleteCount()

Maximum number of conversations to delete.

int32 max_delete_count = 3;

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

public BulkDeleteConversationsRequest.Builder mergeFrom(BulkDeleteConversationsRequest other)
Parameter
NameDescription
otherBulkDeleteConversationsRequest
Returns
TypeDescription
BulkDeleteConversationsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The filter to set.

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

The bytes for filter to set.

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

The force to set.

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

The maxDeleteCount to set.

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

The parent to set.

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

The bytes for parent to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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