Class ImportEvaluationsRequest.ConversationList.Builder (0.3.0)

public static final class ImportEvaluationsRequest.ConversationList.Builder extends GeneratedMessage.Builder<ImportEvaluationsRequest.ConversationList.Builder> implements ImportEvaluationsRequest.ConversationListOrBuilder

A list of conversation resource names.

Protobuf type google.cloud.ces.v1beta.ImportEvaluationsRequest.ConversationList

Static Methods

getDescriptor()

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

Methods

addAllConversations(Iterable<String> values)

public ImportEvaluationsRequest.ConversationList.Builder addAllConversations(Iterable<String> values)

Optional. Conversation resource names.

repeated string conversations = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The conversations to add.

Returns
Type Description
ImportEvaluationsRequest.ConversationList.Builder

This builder for chaining.

addConversations(String value)

public ImportEvaluationsRequest.ConversationList.Builder addConversations(String value)

Optional. Conversation resource names.

repeated string conversations = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The conversations to add.

Returns
Type Description
ImportEvaluationsRequest.ConversationList.Builder

This builder for chaining.

addConversationsBytes(ByteString value)

public ImportEvaluationsRequest.ConversationList.Builder addConversationsBytes(ByteString value)

Optional. Conversation resource names.

repeated string conversations = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the conversations to add.

Returns
Type Description
ImportEvaluationsRequest.ConversationList.Builder

This builder for chaining.

build()

public ImportEvaluationsRequest.ConversationList build()
Returns
Type Description
ImportEvaluationsRequest.ConversationList

buildPartial()

public ImportEvaluationsRequest.ConversationList buildPartial()
Returns
Type Description
ImportEvaluationsRequest.ConversationList

clear()

public ImportEvaluationsRequest.ConversationList.Builder clear()
Returns
Type Description
ImportEvaluationsRequest.ConversationList.Builder
Overrides

clearConversations()

public ImportEvaluationsRequest.ConversationList.Builder clearConversations()

Optional. Conversation resource names.

repeated string conversations = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ImportEvaluationsRequest.ConversationList.Builder

This builder for chaining.

getConversations(int index)

public String getConversations(int index)

Optional. Conversation resource names.

repeated string conversations = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The conversations at the given index.

getConversationsBytes(int index)

public ByteString getConversationsBytes(int index)

Optional. Conversation resource names.

repeated string conversations = 1 [(.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 conversations at the given index.

getConversationsCount()

public int getConversationsCount()

Optional. Conversation resource names.

repeated string conversations = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of conversations.

getConversationsList()

public ProtocolStringList getConversationsList()

Optional. Conversation resource names.

repeated string conversations = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the conversations.

getDefaultInstanceForType()

public ImportEvaluationsRequest.ConversationList getDefaultInstanceForType()
Returns
Type Description
ImportEvaluationsRequest.ConversationList

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImportEvaluationsRequest.ConversationList other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setConversations(int index, String value)

public ImportEvaluationsRequest.ConversationList.Builder setConversations(int index, String value)

Optional. Conversation resource names.

repeated string conversations = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The conversations to set.

Returns
Type Description
ImportEvaluationsRequest.ConversationList.Builder

This builder for chaining.