Class IssueModel (2.46.0)

public final class IssueModel extends GeneratedMessageV3 implements IssueModelOrBuilder

The issue model resource.

Protobuf type google.cloud.contactcenterinsights.v1.IssueModel

Implements

IssueModelOrBuilder

Static Fields

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

INPUT_DATA_CONFIG_FIELD_NUMBER

public static final int INPUT_DATA_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

ISSUE_COUNT_FIELD_NUMBER

public static final int ISSUE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

LANGUAGE_CODE_FIELD_NUMBER

public static final int LANGUAGE_CODE_FIELD_NUMBER
Field Value
Type Description
int

MODEL_TYPE_FIELD_NUMBER

public static final int MODEL_TYPE_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

TRAINING_STATS_FIELD_NUMBER

public static final int TRAINING_STATS_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static IssueModel getDefaultInstance()
Returns
Type Description
IssueModel

getDescriptor()

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

newBuilder()

public static IssueModel.Builder newBuilder()
Returns
Type Description
IssueModel.Builder

newBuilder(IssueModel prototype)

public static IssueModel.Builder newBuilder(IssueModel prototype)
Parameter
Name Description
prototype IssueModel
Returns
Type Description
IssueModel.Builder

parseDelimitedFrom(InputStream input)

public static IssueModel parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IssueModel
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IssueModel parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IssueModel
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static IssueModel parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
IssueModel
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static IssueModel parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IssueModel
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static IssueModel parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
IssueModel
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static IssueModel parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IssueModel
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static IssueModel parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
IssueModel
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static IssueModel parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IssueModel
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static IssueModel parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IssueModel
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IssueModel parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IssueModel
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static IssueModel parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
IssueModel
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static IssueModel parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IssueModel
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<IssueModel> parser()
Returns
Type Description
Parser<IssueModel>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCreateTime()

public Timestamp getCreateTime()

Output only. The time at which this issue model was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time at which this issue model was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public IssueModel getDefaultInstanceForType()
Returns
Type Description
IssueModel

getDisplayName()

public String getDisplayName()

The representative name for the issue model.

string display_name = 2;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The representative name for the issue model.

string display_name = 2;

Returns
Type Description
ByteString

The bytes for displayName.

getInputDataConfig()

public IssueModel.InputDataConfig getInputDataConfig()

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

.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6;

Returns
Type Description
IssueModel.InputDataConfig

The inputDataConfig.

getInputDataConfigOrBuilder()

public IssueModel.InputDataConfigOrBuilder getInputDataConfigOrBuilder()

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

.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6;

Returns
Type Description
IssueModel.InputDataConfigOrBuilder

getIssueCount()

public long getIssueCount()

Output only. Number of issues in this issue model.

int64 issue_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The issueCount.

getLanguageCode()

public String getLanguageCode()

Language of the model.

string language_code = 10;

Returns
Type Description
String

The languageCode.

getLanguageCodeBytes()

public ByteString getLanguageCodeBytes()

Language of the model.

string language_code = 10;

Returns
Type Description
ByteString

The bytes for languageCode.

getModelType()

public IssueModel.ModelType getModelType()

Type of the model.

.google.cloud.contactcenterinsights.v1.IssueModel.ModelType model_type = 9;

Returns
Type Description
IssueModel.ModelType

The modelType.

getModelTypeValue()

public int getModelTypeValue()

Type of the model.

.google.cloud.contactcenterinsights.v1.IssueModel.ModelType model_type = 9;

Returns
Type Description
int

The enum numeric value on the wire for modelType.

getName()

public String getName()

Immutable. The resource name of the issue model. Format: projects/{project}/locations/{location}/issueModels/{issue_model}

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Immutable. The resource name of the issue model. Format: projects/{project}/locations/{location}/issueModels/{issue_model}

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<IssueModel> getParserForType()
Returns
Type Description
Parser<IssueModel>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getState()

public IssueModel.State getState()

Output only. State of the model.

.google.cloud.contactcenterinsights.v1.IssueModel.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IssueModel.State

The state.

getStateValue()

public int getStateValue()

Output only. State of the model.

.google.cloud.contactcenterinsights.v1.IssueModel.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getTrainingStats()

public IssueModelLabelStats getTrainingStats()

Output only. Immutable. The issue model's label statistics on its training data.

.google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
IssueModelLabelStats

The trainingStats.

getTrainingStatsOrBuilder()

public IssueModelLabelStatsOrBuilder getTrainingStatsOrBuilder()

Output only. Immutable. The issue model's label statistics on its training data.

.google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
IssueModelLabelStatsOrBuilder

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The most recent time at which the issue model was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The most recent time at which the issue model was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. The time at which this issue model was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasInputDataConfig()

public boolean hasInputDataConfig()

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

.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6;

Returns
Type Description
boolean

Whether the inputDataConfig field is set.

hasTrainingStats()

public boolean hasTrainingStats()

Output only. Immutable. The issue model's label statistics on its training data.

.google.cloud.contactcenterinsights.v1.IssueModelLabelStats training_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

Whether the trainingStats field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The most recent time at which the issue model was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public IssueModel.Builder newBuilderForType()
Returns
Type Description
IssueModel.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected IssueModel.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
IssueModel.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public IssueModel.Builder toBuilder()
Returns
Type Description
IssueModel.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException