Class BatchDeleteConversationsResponse (0.1.0)

public final class BatchDeleteConversationsResponse extends GeneratedMessage implements BatchDeleteConversationsResponseOrBuilder

Response message for AgentService.BatchDeleteConversations.

Protobuf type google.cloud.ces.v1.BatchDeleteConversationsResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > BatchDeleteConversationsResponse

Static Fields

DELETED_CONVERSATIONS_FIELD_NUMBER

public static final int DELETED_CONVERSATIONS_FIELD_NUMBER
Field Value
Type Description
int

ERROR_MESSAGES_FIELD_NUMBER

public static final int ERROR_MESSAGES_FIELD_NUMBER
Field Value
Type Description
int

FAILED_CONVERSATIONS_FIELD_NUMBER

public static final int FAILED_CONVERSATIONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BatchDeleteConversationsResponse getDefaultInstance()
Returns
Type Description
BatchDeleteConversationsResponse

getDescriptor()

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

newBuilder()

public static BatchDeleteConversationsResponse.Builder newBuilder()
Returns
Type Description
BatchDeleteConversationsResponse.Builder

newBuilder(BatchDeleteConversationsResponse prototype)

public static BatchDeleteConversationsResponse.Builder newBuilder(BatchDeleteConversationsResponse prototype)
Parameter
Name Description
prototype BatchDeleteConversationsResponse
Returns
Type Description
BatchDeleteConversationsResponse.Builder

parseDelimitedFrom(InputStream input)

public static BatchDeleteConversationsResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BatchDeleteConversationsResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchDeleteConversationsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchDeleteConversationsResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BatchDeleteConversationsResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BatchDeleteConversationsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BatchDeleteConversationsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchDeleteConversationsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BatchDeleteConversationsResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BatchDeleteConversationsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BatchDeleteConversationsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchDeleteConversationsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BatchDeleteConversationsResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BatchDeleteConversationsResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchDeleteConversationsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchDeleteConversationsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BatchDeleteConversationsResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BatchDeleteConversationsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchDeleteConversationsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchDeleteConversationsResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BatchDeleteConversationsResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BatchDeleteConversationsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BatchDeleteConversationsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchDeleteConversationsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BatchDeleteConversationsResponse> parser()
Returns
Type Description
Parser<BatchDeleteConversationsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public BatchDeleteConversationsResponse getDefaultInstanceForType()
Returns
Type Description
BatchDeleteConversationsResponse

getDeletedConversations(int index)

public String getDeletedConversations(int index)

The list of conversations that were successfully deleted.

repeated string deleted_conversations = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The deletedConversations at the given index.

getDeletedConversationsBytes(int index)

public ByteString getDeletedConversationsBytes(int index)

The list of conversations that were successfully deleted.

repeated string deleted_conversations = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the deletedConversations at the given index.

getDeletedConversationsCount()

public int getDeletedConversationsCount()

The list of conversations that were successfully deleted.

repeated string deleted_conversations = 1;

Returns
Type Description
int

The count of deletedConversations.

getDeletedConversationsList()

public ProtocolStringList getDeletedConversationsList()

The list of conversations that were successfully deleted.

repeated string deleted_conversations = 1;

Returns
Type Description
ProtocolStringList

A list containing the deletedConversations.

getErrorMessages(int index)

public String getErrorMessages(int index)

Optional. A list of error messages associated with conversations that failed to be deleted.

repeated string error_messages = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The errorMessages at the given index.

getErrorMessagesBytes(int index)

public ByteString getErrorMessagesBytes(int index)

Optional. A list of error messages associated with conversations that failed to be deleted.

repeated string error_messages = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the errorMessages at the given index.

getErrorMessagesCount()

public int getErrorMessagesCount()

Optional. A list of error messages associated with conversations that failed to be deleted.

repeated string error_messages = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of errorMessages.

getErrorMessagesList()

public ProtocolStringList getErrorMessagesList()

Optional. A list of error messages associated with conversations that failed to be deleted.

repeated string error_messages = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the errorMessages.

getFailedConversations(int index)

public String getFailedConversations(int index)

The list of conversations that failed to be deleted.

repeated string failed_conversations = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The failedConversations at the given index.

getFailedConversationsBytes(int index)

public ByteString getFailedConversationsBytes(int index)

The list of conversations that failed to be deleted.

repeated string failed_conversations = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the failedConversations at the given index.

getFailedConversationsCount()

public int getFailedConversationsCount()

The list of conversations that failed to be deleted.

repeated string failed_conversations = 2;

Returns
Type Description
int

The count of failedConversations.

getFailedConversationsList()

public ProtocolStringList getFailedConversationsList()

The list of conversations that failed to be deleted.

repeated string failed_conversations = 2;

Returns
Type Description
ProtocolStringList

A list containing the failedConversations.

getParserForType()

public Parser<BatchDeleteConversationsResponse> getParserForType()
Returns
Type Description
Parser<BatchDeleteConversationsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BatchDeleteConversationsResponse.Builder newBuilderForType()
Returns
Type Description
BatchDeleteConversationsResponse.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected BatchDeleteConversationsResponse.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BatchDeleteConversationsResponse.Builder
Overrides

toBuilder()

public BatchDeleteConversationsResponse.Builder toBuilder()
Returns
Type Description
BatchDeleteConversationsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException