Class IssueModel.InputDataConfig.Builder (2.22.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public IssueModel.InputDataConfig build()
Returns
TypeDescription
IssueModel.InputDataConfig

buildPartial()

public IssueModel.InputDataConfig buildPartial()
Returns
TypeDescription
IssueModel.InputDataConfig

clear()

public IssueModel.InputDataConfig.Builder clear()
Returns
TypeDescription
IssueModel.InputDataConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public IssueModel.InputDataConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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=623

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
TypeDescription
IssueModel.InputDataConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

public IssueModel.InputDataConfig.Builder clone()
Returns
TypeDescription
IssueModel.InputDataConfig.Builder
Overrides

getDefaultInstanceForType()

public IssueModel.InputDataConfig getDefaultInstanceForType()
Returns
TypeDescription
IssueModel.InputDataConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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=623

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
TypeDescription
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=623

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
TypeDescription
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
TypeDescription
long

The trainingConversationsCount.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(IssueModel.InputDataConfig other)

public IssueModel.InputDataConfig.Builder mergeFrom(IssueModel.InputDataConfig other)
Parameter
NameDescription
otherIssueModel.InputDataConfig
Returns
TypeDescription
IssueModel.InputDataConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The filter to set.

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

The bytes for filter to set.

Returns
TypeDescription
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=623

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
NameDescription
valueConversation.Medium

The medium to set.

Returns
TypeDescription
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=623

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

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

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valuelong

The trainingConversationsCount to set.

Returns
TypeDescription
IssueModel.InputDataConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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