Class IssueModel (2.10.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
TypeDescription
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

INPUT_DATA_CONFIG_FIELD_NUMBER

public static final int INPUT_DATA_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

TRAINING_STATS_FIELD_NUMBER

public static final int TRAINING_STATS_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static IssueModel getDefaultInstance()
Returns
TypeDescription
IssueModel

getDescriptor()

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

newBuilder()

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

newBuilder(IssueModel prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public IssueModel getDefaultInstanceForType()
Returns
TypeDescription
IssueModel

getDisplayName()

public String getDisplayName()

The representative name for the issue model.

string display_name = 2;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The representative name for the issue model.

string display_name = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
IssueModel.InputDataConfigOrBuilder

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

The bytes for name.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
IssueModelLabelStatsOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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

Whether the updateTime field is set.

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.Builder newBuilderForType()
Returns
TypeDescription
IssueModel.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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