Class IssueModel.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<IssueModel.Builder>
com.google.cloud.contactcenterinsights.v1.IssueModel.Builder
- All Implemented Interfaces:
IssueModelOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- IssueModel
public static final class IssueModel.Builder
extends com.google.protobuf.GeneratedMessage.Builder<IssueModel.Builder>
implements IssueModelOrBuilder
The issue model resource.Protobuf type
google.cloud.contactcenterinsights.v1.IssueModel-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.The representative name for the issue model.Configs for the input data that used to create the issue model.Output only.Language of the model.Type of the model.Immutable.Output only.Output only.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe representative name for the issue model.com.google.protobuf.ByteStringThe representative name for the issue model.Configs for the input data that used to create the issue model.Configs for the input data that used to create the issue model.Configs for the input data that used to create the issue model.longOutput only.Language of the model.com.google.protobuf.ByteStringLanguage of the model.Type of the model.intType of the model.getName()Immutable.com.google.protobuf.ByteStringImmutable.getState()Output only.intOutput only.Output only.Output only.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanConfigs for the input data that used to create the issue model.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(IssueModel other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Configs for the input data that used to create the issue model.Output only.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDisplayName(String value) The representative name for the issue model.setDisplayNameBytes(com.google.protobuf.ByteString value) The representative name for the issue model.Configs for the input data that used to create the issue model.setInputDataConfig(IssueModel.InputDataConfig.Builder builderForValue) Configs for the input data that used to create the issue model.setIssueCount(long value) Output only.setLanguageCode(String value) Language of the model.setLanguageCodeBytes(com.google.protobuf.ByteString value) Language of the model.setModelType(IssueModel.ModelType value) Type of the model.setModelTypeValue(int value) Type of the model.Immutable.setNameBytes(com.google.protobuf.ByteString value) Immutable.setState(IssueModel.State value) Output only.setStateValue(int value) Output only.Output only.setTrainingStats(IssueModelLabelStats.Builder builderForValue) Output only.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<IssueModel.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<IssueModel.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<IssueModel.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<IssueModel.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<IssueModel.Builder>
-
mergeFrom
public IssueModel.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<IssueModel.Builder>- Throws:
IOException
-
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];- Specified by:
getNamein interfaceIssueModelOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.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];- Specified by:
getNameBytesin interfaceIssueModelOrBuilder- Returns:
- The bytes for name.
-
setName
Immutable. The resource name of the issue model. Format: projects/{project}/locations/{location}/issueModels/{issue_model}string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNameBytes
Immutable. The resource name of the issue model. Format: projects/{project}/locations/{location}/issueModels/{issue_model}string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
The representative name for the issue model.
string display_name = 2;- Specified by:
getDisplayNamein interfaceIssueModelOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()The representative name for the issue model.
string display_name = 2;- Specified by:
getDisplayNameBytesin interfaceIssueModelOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
The representative name for the issue model.
string display_name = 2;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
The representative name for the issue model.
string display_name = 2;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
The representative name for the issue model.
string display_name = 2;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
hasCreateTimein interfaceIssueModelOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.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];- Specified by:
getCreateTimein interfaceIssueModelOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. The time at which this issue model was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. The time at which this issue model was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. The time at which this issue model was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. The time at which this issue model was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.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]; -
getCreateTimeOrBuilder
public com.google.protobuf.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];- Specified by:
getCreateTimeOrBuilderin interfaceIssueModelOrBuilder
-
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];- Specified by:
hasUpdateTimein interfaceIssueModelOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.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];- Specified by:
getUpdateTimein interfaceIssueModelOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
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]; -
setUpdateTime
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]; -
mergeUpdateTime
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]; -
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]; -
getUpdateTimeBuilder
public com.google.protobuf.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]; -
getUpdateTimeOrBuilder
public com.google.protobuf.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];- Specified by:
getUpdateTimeOrBuilderin interfaceIssueModelOrBuilder
-
getIssueCount
public long getIssueCount()Output only. Number of issues in this issue model.
int64 issue_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIssueCountin interfaceIssueModelOrBuilder- Returns:
- The issueCount.
-
setIssueCount
Output only. Number of issues in this issue model.
int64 issue_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The issueCount to set.- Returns:
- This builder for chaining.
-
clearIssueCount
Output only. Number of issues in this issue model.
int64 issue_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue()Output only. State of the model.
.google.cloud.contactcenterinsights.v1.IssueModel.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceIssueModelOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. State of the model.
.google.cloud.contactcenterinsights.v1.IssueModel.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Output only. State of the model.
.google.cloud.contactcenterinsights.v1.IssueModel.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceIssueModelOrBuilder- Returns:
- The state.
-
setState
Output only. State of the model.
.google.cloud.contactcenterinsights.v1.IssueModel.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. State of the model.
.google.cloud.contactcenterinsights.v1.IssueModel.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
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;- Specified by:
hasInputDataConfigin interfaceIssueModelOrBuilder- Returns:
- Whether the inputDataConfig field is set.
-
getInputDataConfig
Configs for the input data that used to create the issue model.
.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6;- Specified by:
getInputDataConfigin interfaceIssueModelOrBuilder- Returns:
- The inputDataConfig.
-
setInputDataConfig
Configs for the input data that used to create the issue model.
.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; -
setInputDataConfig
Configs for the input data that used to create the issue model.
.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; -
mergeInputDataConfig
Configs for the input data that used to create the issue model.
.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; -
clearInputDataConfig
Configs for the input data that used to create the issue model.
.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; -
getInputDataConfigBuilder
Configs for the input data that used to create the issue model.
.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6; -
getInputDataConfigOrBuilder
Configs for the input data that used to create the issue model.
.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig input_data_config = 6;- Specified by:
getInputDataConfigOrBuilderin interfaceIssueModelOrBuilder
-
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];- Specified by:
hasTrainingStatsin interfaceIssueModelOrBuilder- Returns:
- Whether the trainingStats field is set.
-
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];- Specified by:
getTrainingStatsin interfaceIssueModelOrBuilder- Returns:
- The trainingStats.
-
setTrainingStats
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]; -
setTrainingStats
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]; -
mergeTrainingStats
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]; -
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]; -
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]; -
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];- Specified by:
getTrainingStatsOrBuilderin interfaceIssueModelOrBuilder
-
getModelTypeValue
public int getModelTypeValue()Type of the model.
.google.cloud.contactcenterinsights.v1.IssueModel.ModelType model_type = 9;- Specified by:
getModelTypeValuein interfaceIssueModelOrBuilder- Returns:
- The enum numeric value on the wire for modelType.
-
setModelTypeValue
Type of the model.
.google.cloud.contactcenterinsights.v1.IssueModel.ModelType model_type = 9;- Parameters:
value- The enum numeric value on the wire for modelType to set.- Returns:
- This builder for chaining.
-
getModelType
Type of the model.
.google.cloud.contactcenterinsights.v1.IssueModel.ModelType model_type = 9;- Specified by:
getModelTypein interfaceIssueModelOrBuilder- Returns:
- The modelType.
-
setModelType
Type of the model.
.google.cloud.contactcenterinsights.v1.IssueModel.ModelType model_type = 9;- Parameters:
value- The modelType to set.- Returns:
- This builder for chaining.
-
clearModelType
Type of the model.
.google.cloud.contactcenterinsights.v1.IssueModel.ModelType model_type = 9;- Returns:
- This builder for chaining.
-
getLanguageCode
Language of the model.
string language_code = 10;- Specified by:
getLanguageCodein interfaceIssueModelOrBuilder- Returns:
- The languageCode.
-
getLanguageCodeBytes
public com.google.protobuf.ByteString getLanguageCodeBytes()Language of the model.
string language_code = 10;- Specified by:
getLanguageCodeBytesin interfaceIssueModelOrBuilder- Returns:
- The bytes for languageCode.
-
setLanguageCode
Language of the model.
string language_code = 10;- Parameters:
value- The languageCode to set.- Returns:
- This builder for chaining.
-
clearLanguageCode
Language of the model.
string language_code = 10;- Returns:
- This builder for chaining.
-
setLanguageCodeBytes
Language of the model.
string language_code = 10;- Parameters:
value- The bytes for languageCode to set.- Returns:
- This builder for chaining.
-