Class IssueModel.Builder (2.42.0)

public static final class IssueModel.Builder extends GeneratedMessageV3.Builder<IssueModel.Builder> implements IssueModelOrBuilder

The issue model resource.

Protobuf type google.cloud.contactcenterinsights.v1.IssueModel

Implements

IssueModelOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public IssueModel.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
IssueModel.Builder
Overrides

build()

public IssueModel build()
Returns
Type Description
IssueModel

buildPartial()

public IssueModel buildPartial()
Returns
Type Description
IssueModel

clear()

public IssueModel.Builder clear()
Returns
Type Description
IssueModel.Builder
Overrides

clearCreateTime()

public IssueModel.Builder clearCreateTime()

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

clearDisplayName()

public IssueModel.Builder clearDisplayName()

The representative name for the issue model.

string display_name = 2;

Returns
Type Description
IssueModel.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public IssueModel.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
IssueModel.Builder
Overrides

clearInputDataConfig()

public IssueModel.Builder clearInputDataConfig()

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.Builder

clearIssueCount()

public IssueModel.Builder clearIssueCount()

Output only. Number of issues in this issue model.

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

Returns
Type Description
IssueModel.Builder

This builder for chaining.

clearLanguageCode()

public IssueModel.Builder clearLanguageCode()

Language of the model.

string language_code = 10;

Returns
Type Description
IssueModel.Builder

This builder for chaining.

clearModelType()

public IssueModel.Builder clearModelType()

Type of the model.

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

Returns
Type Description
IssueModel.Builder

This builder for chaining.

clearName()

public IssueModel.Builder clearName()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public IssueModel.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
IssueModel.Builder
Overrides

clearState()

public IssueModel.Builder clearState()

Output only. State of the model.

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

Returns
Type Description
IssueModel.Builder

This builder for chaining.

clearTrainingStats()

public IssueModel.Builder clearTrainingStats()

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

clearUpdateTime()

public IssueModel.Builder clearUpdateTime()

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

clone()

public IssueModel.Builder clone()
Returns
Type Description
IssueModel.Builder
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.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

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
Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getInputDataConfigBuilder()

public IssueModel.InputDataConfig.Builder getInputDataConfigBuilder()

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.Builder

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.

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.

getTrainingStatsBuilder()

public IssueModelLabelStats.Builder getTrainingStatsBuilder()

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.Builder

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.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

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
Builder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public IssueModel.Builder mergeCreateTime(Timestamp value)

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

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

Parameter
Name Description
value Timestamp
Returns
Type Description
IssueModel.Builder

mergeFrom(IssueModel other)

public IssueModel.Builder mergeFrom(IssueModel other)
Parameter
Name Description
other IssueModel
Returns
Type Description
IssueModel.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public IssueModel.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IssueModel.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public IssueModel.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
IssueModel.Builder
Overrides

mergeInputDataConfig(IssueModel.InputDataConfig value)

public IssueModel.Builder mergeInputDataConfig(IssueModel.InputDataConfig value)

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

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

Parameter
Name Description
value IssueModel.InputDataConfig
Returns
Type Description
IssueModel.Builder

mergeTrainingStats(IssueModelLabelStats value)

public IssueModel.Builder mergeTrainingStats(IssueModelLabelStats value)

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];

Parameter
Name Description
value IssueModelLabelStats
Returns
Type Description
IssueModel.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IssueModel.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
IssueModel.Builder
Overrides

mergeUpdateTime(Timestamp value)

public IssueModel.Builder mergeUpdateTime(Timestamp value)

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];

Parameter
Name Description
value Timestamp
Returns
Type Description
IssueModel.Builder

setCreateTime(Timestamp value)

public IssueModel.Builder setCreateTime(Timestamp value)

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

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

Parameter
Name Description
value Timestamp
Returns
Type Description
IssueModel.Builder

setCreateTime(Timestamp.Builder builderForValue)

public IssueModel.Builder setCreateTime(Timestamp.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
IssueModel.Builder

setDisplayName(String value)

public IssueModel.Builder setDisplayName(String value)

The representative name for the issue model.

string display_name = 2;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
IssueModel.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public IssueModel.Builder setDisplayNameBytes(ByteString value)

The representative name for the issue model.

string display_name = 2;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
IssueModel.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public IssueModel.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
IssueModel.Builder
Overrides

setInputDataConfig(IssueModel.InputDataConfig value)

public IssueModel.Builder setInputDataConfig(IssueModel.InputDataConfig value)

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

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

Parameter
Name Description
value IssueModel.InputDataConfig
Returns
Type Description
IssueModel.Builder

setInputDataConfig(IssueModel.InputDataConfig.Builder builderForValue)

public IssueModel.Builder setInputDataConfig(IssueModel.InputDataConfig.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue IssueModel.InputDataConfig.Builder
Returns
Type Description
IssueModel.Builder

setIssueCount(long value)

public IssueModel.Builder setIssueCount(long value)

Output only. Number of issues in this issue model.

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

Parameter
Name Description
value long

The issueCount to set.

Returns
Type Description
IssueModel.Builder

This builder for chaining.

setLanguageCode(String value)

public IssueModel.Builder setLanguageCode(String value)

Language of the model.

string language_code = 10;

Parameter
Name Description
value String

The languageCode to set.

Returns
Type Description
IssueModel.Builder

This builder for chaining.

setLanguageCodeBytes(ByteString value)

public IssueModel.Builder setLanguageCodeBytes(ByteString value)

Language of the model.

string language_code = 10;

Parameter
Name Description
value ByteString

The bytes for languageCode to set.

Returns
Type Description
IssueModel.Builder

This builder for chaining.

setModelType(IssueModel.ModelType value)

public IssueModel.Builder setModelType(IssueModel.ModelType value)

Type of the model.

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

Parameter
Name Description
value IssueModel.ModelType

The modelType to set.

Returns
Type Description
IssueModel.Builder

This builder for chaining.

setModelTypeValue(int value)

public IssueModel.Builder setModelTypeValue(int value)

Type of the model.

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

Parameter
Name Description
value int

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

Returns
Type Description
IssueModel.Builder

This builder for chaining.

setName(String value)

public IssueModel.Builder setName(String value)

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

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
IssueModel.Builder

This builder for chaining.

setNameBytes(ByteString value)

public IssueModel.Builder setNameBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
IssueModel.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public IssueModel.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
IssueModel.Builder
Overrides

setState(IssueModel.State value)

public IssueModel.Builder setState(IssueModel.State value)

Output only. State of the model.

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

Parameter
Name Description
value IssueModel.State

The state to set.

Returns
Type Description
IssueModel.Builder

This builder for chaining.

setStateValue(int value)

public IssueModel.Builder setStateValue(int value)

Output only. State of the model.

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

Parameter
Name Description
value int

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

Returns
Type Description
IssueModel.Builder

This builder for chaining.

setTrainingStats(IssueModelLabelStats value)

public IssueModel.Builder setTrainingStats(IssueModelLabelStats value)

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];

Parameter
Name Description
value IssueModelLabelStats
Returns
Type Description
IssueModel.Builder

setTrainingStats(IssueModelLabelStats.Builder builderForValue)

public IssueModel.Builder setTrainingStats(IssueModelLabelStats.Builder builderForValue)

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];

Parameter
Name Description
builderForValue IssueModelLabelStats.Builder
Returns
Type Description
IssueModel.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final IssueModel.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
IssueModel.Builder
Overrides

setUpdateTime(Timestamp value)

public IssueModel.Builder setUpdateTime(Timestamp value)

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];

Parameter
Name Description
value Timestamp
Returns
Type Description
IssueModel.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public IssueModel.Builder setUpdateTime(Timestamp.Builder builderForValue)

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];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
IssueModel.Builder