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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public IssueModel.InputDataConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public IssueModel.InputDataConfig build()
Returns
public IssueModel.InputDataConfig buildPartial()
Returns
public IssueModel.InputDataConfig.Builder clear()
Returns
Overrides
public IssueModel.InputDataConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public IssueModel.InputDataConfig.Builder clearFilter()
A filter to reduce the conversations used for training the model to a
specific subset.
string filter = 3;
Returns
public IssueModel.InputDataConfig.Builder clearMedium()
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
public IssueModel.InputDataConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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
public IssueModel.InputDataConfig.Builder clone()
Returns
Overrides
public IssueModel.InputDataConfig getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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.
|
public ByteString getFilterBytes()
A filter to reduce the conversations used for training the model to a
specific subset.
string filter = 3;
Returns
public Conversation.Medium getMedium()
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
public int getMediumValue()
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public IssueModel.InputDataConfig.Builder mergeFrom(IssueModel.InputDataConfig other)
Parameter
Returns
public IssueModel.InputDataConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public IssueModel.InputDataConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final IssueModel.InputDataConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public IssueModel.InputDataConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
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
public IssueModel.InputDataConfig.Builder setMedium(Conversation.Medium value)
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
Returns
public IssueModel.InputDataConfig.Builder setMediumValue(int value)
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
public IssueModel.InputDataConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
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
public final IssueModel.InputDataConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides