Class IssueModel.InputDataConfig.Builder (2.44.0)

public static final class IssueModel.InputDataConfig.Builder extends GeneratedMessageV3.Builder<IssueModel.InputDataConfig.Builder> implements IssueModel.InputDataConfigOrBuilder

Configs for the input data used to create the issue model.

Protobuf type google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public IssueModel.InputDataConfig build()
Returns
Type Description
IssueModel.InputDataConfig

buildPartial()

public IssueModel.InputDataConfig buildPartial()
Returns
Type Description
IssueModel.InputDataConfig

clear()

public IssueModel.InputDataConfig.Builder clear()
Returns
Type Description
IssueModel.InputDataConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearFilter()

public IssueModel.InputDataConfig.Builder clearFilter()

A filter to reduce the conversations used for training the model to a specific subset.

string filter = 3;

Returns
Type Description
IssueModel.InputDataConfig.Builder

This builder for chaining.

clearMedium() (deprecated)

public IssueModel.InputDataConfig.Builder clearMedium()

Deprecated. google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.medium is deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=657

Medium of conversations used in training data. This field is being deprecated. To specify the medium to be used in training a new issue model, set the medium field on filter.

.google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [deprecated = true];

Returns
Type Description
IssueModel.InputDataConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTrainingConversationsCount()

public IssueModel.InputDataConfig.Builder clearTrainingConversationsCount()

Output only. Number of conversations used in training. Output only.

int64 training_conversations_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IssueModel.InputDataConfig.Builder

This builder for chaining.

clone()

public IssueModel.InputDataConfig.Builder clone()
Returns
Type Description
IssueModel.InputDataConfig.Builder
Overrides

getDefaultInstanceForType()

public IssueModel.InputDataConfig getDefaultInstanceForType()
Returns
Type Description
IssueModel.InputDataConfig

getDescriptorForType()

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

getFilter()

public String getFilter()

A filter to reduce the conversations used for training the model to a specific subset.

string filter = 3;

Returns
Type Description
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

A filter to reduce the conversations used for training the model to a specific subset.

string filter = 3;

Returns
Type Description
ByteString

The bytes for filter.

getMedium() (deprecated)

public Conversation.Medium getMedium()

Deprecated. google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.medium is deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=657

Medium of conversations used in training data. This field is being deprecated. To specify the medium to be used in training a new issue model, set the medium field on filter.

.google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [deprecated = true];

Returns
Type Description
Conversation.Medium

The medium.

getMediumValue() (deprecated)

public int getMediumValue()

Deprecated. google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.medium is deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=657

Medium of conversations used in training data. This field is being deprecated. To specify the medium to be used in training a new issue model, set the medium field on filter.

.google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [deprecated = true];

Returns
Type Description
int

The enum numeric value on the wire for medium.

getTrainingConversationsCount()

public long getTrainingConversationsCount()

Output only. Number of conversations used in training. Output only.

int64 training_conversations_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The trainingConversationsCount.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(IssueModel.InputDataConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFilter(String value)

public IssueModel.InputDataConfig.Builder setFilter(String value)

A filter to reduce the conversations used for training the model to a specific subset.

string filter = 3;

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
IssueModel.InputDataConfig.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public IssueModel.InputDataConfig.Builder setFilterBytes(ByteString value)

A filter to reduce the conversations used for training the model to a specific subset.

string filter = 3;

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
IssueModel.InputDataConfig.Builder

This builder for chaining.

setMedium(Conversation.Medium value) (deprecated)

public IssueModel.InputDataConfig.Builder setMedium(Conversation.Medium value)

Deprecated. google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.medium is deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=657

Medium of conversations used in training data. This field is being deprecated. To specify the medium to be used in training a new issue model, set the medium field on filter.

.google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [deprecated = true];

Parameter
Name Description
value Conversation.Medium

The medium to set.

Returns
Type Description
IssueModel.InputDataConfig.Builder

This builder for chaining.

setMediumValue(int value) (deprecated)

public IssueModel.InputDataConfig.Builder setMediumValue(int value)

Deprecated. google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.medium is deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=657

Medium of conversations used in training data. This field is being deprecated. To specify the medium to be used in training a new issue model, set the medium field on filter.

.google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [deprecated = true];

Parameter
Name Description
value int

The enum numeric value on the wire for medium to set.

Returns
Type Description
IssueModel.InputDataConfig.Builder

This builder for chaining.

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

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

setTrainingConversationsCount(long value)

public IssueModel.InputDataConfig.Builder setTrainingConversationsCount(long value)

Output only. Number of conversations used in training. Output only.

int64 training_conversations_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value long

The trainingConversationsCount to set.

Returns
Type Description
IssueModel.InputDataConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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