Class BulkDeleteConversationsRequest (2.39.0)

public final class BulkDeleteConversationsRequest extends GeneratedMessageV3 implements BulkDeleteConversationsRequestOrBuilder

The request to delete conversations in bulk.

Protobuf type google.cloud.contactcenterinsights.v1.BulkDeleteConversationsRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > BulkDeleteConversationsRequest

Static Fields

FILTER_FIELD_NUMBER

public static final int FILTER_FIELD_NUMBER
Field Value
TypeDescription
int

FORCE_FIELD_NUMBER

public static final int FORCE_FIELD_NUMBER
Field Value
TypeDescription
int

MAX_DELETE_COUNT_FIELD_NUMBER

public static final int MAX_DELETE_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BulkDeleteConversationsRequest getDefaultInstance()
Returns
TypeDescription
BulkDeleteConversationsRequest

getDescriptor()

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

newBuilder()

public static BulkDeleteConversationsRequest.Builder newBuilder()
Returns
TypeDescription
BulkDeleteConversationsRequest.Builder

newBuilder(BulkDeleteConversationsRequest prototype)

public static BulkDeleteConversationsRequest.Builder newBuilder(BulkDeleteConversationsRequest prototype)
Parameter
NameDescription
prototypeBulkDeleteConversationsRequest
Returns
TypeDescription
BulkDeleteConversationsRequest.Builder

parseDelimitedFrom(InputStream input)

public static BulkDeleteConversationsRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BulkDeleteConversationsRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BulkDeleteConversationsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BulkDeleteConversationsRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static BulkDeleteConversationsRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
BulkDeleteConversationsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BulkDeleteConversationsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BulkDeleteConversationsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BulkDeleteConversationsRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BulkDeleteConversationsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BulkDeleteConversationsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BulkDeleteConversationsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BulkDeleteConversationsRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BulkDeleteConversationsRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BulkDeleteConversationsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BulkDeleteConversationsRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static BulkDeleteConversationsRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BulkDeleteConversationsRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BulkDeleteConversationsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BulkDeleteConversationsRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static BulkDeleteConversationsRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BulkDeleteConversationsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BulkDeleteConversationsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BulkDeleteConversationsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<BulkDeleteConversationsRequest> parser()
Returns
TypeDescription
Parser<BulkDeleteConversationsRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public BulkDeleteConversationsRequest getDefaultInstanceForType()
Returns
TypeDescription
BulkDeleteConversationsRequest

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.

getParserForType()

public Parser<BulkDeleteConversationsRequest> getParserForType()
Returns
TypeDescription
Parser<BulkDeleteConversationsRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public BulkDeleteConversationsRequest.Builder newBuilderForType()
Returns
TypeDescription
BulkDeleteConversationsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BulkDeleteConversationsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
BulkDeleteConversationsRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public BulkDeleteConversationsRequest.Builder toBuilder()
Returns
TypeDescription
BulkDeleteConversationsRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException