Class IssueModel.InputDataConfig (2.22.0)

public static final class IssueModel.InputDataConfig extends GeneratedMessageV3 implements IssueModel.InputDataConfigOrBuilder

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

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

Static Fields

FILTER_FIELD_NUMBER

public static final int FILTER_FIELD_NUMBER
Field Value
TypeDescription
int

MEDIUM_FIELD_NUMBER

public static final int MEDIUM_FIELD_NUMBER
Field Value
TypeDescription
int

TRAINING_CONVERSATIONS_COUNT_FIELD_NUMBER

public static final int TRAINING_CONVERSATIONS_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static IssueModel.InputDataConfig getDefaultInstance()
Returns
TypeDescription
IssueModel.InputDataConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static IssueModel.InputDataConfig.Builder newBuilder()
Returns
TypeDescription
IssueModel.InputDataConfig.Builder

newBuilder(IssueModel.InputDataConfig prototype)

public static IssueModel.InputDataConfig.Builder newBuilder(IssueModel.InputDataConfig prototype)
Parameter
NameDescription
prototypeIssueModel.InputDataConfig
Returns
TypeDescription
IssueModel.InputDataConfig.Builder

parseDelimitedFrom(InputStream input)

public static IssueModel.InputDataConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
IssueModel.InputDataConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IssueModel.InputDataConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IssueModel.InputDataConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static IssueModel.InputDataConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
IssueModel.InputDataConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static IssueModel.InputDataConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IssueModel.InputDataConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static IssueModel.InputDataConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
IssueModel.InputDataConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static IssueModel.InputDataConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IssueModel.InputDataConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static IssueModel.InputDataConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
IssueModel.InputDataConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static IssueModel.InputDataConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IssueModel.InputDataConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static IssueModel.InputDataConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
IssueModel.InputDataConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IssueModel.InputDataConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IssueModel.InputDataConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static IssueModel.InputDataConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
IssueModel.InputDataConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static IssueModel.InputDataConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IssueModel.InputDataConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<IssueModel.InputDataConfig> parser()
Returns
TypeDescription
Parser<InputDataConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

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.

getParserForType()

public Parser<IssueModel.InputDataConfig> getParserForType()
Returns
TypeDescription
Parser<InputDataConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public IssueModel.InputDataConfig.Builder newBuilderForType()
Returns
TypeDescription
IssueModel.InputDataConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected IssueModel.InputDataConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
IssueModel.InputDataConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public IssueModel.InputDataConfig.Builder toBuilder()
Returns
TypeDescription
IssueModel.InputDataConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException