public static final class IssueModelResult.Builder extends GeneratedMessageV3.Builder<IssueModelResult.Builder> implements IssueModelResultOrBuilder
Issue Modeling result on a conversation.
Protobuf type google.cloud.contactcenterinsights.v1.IssueModelResult
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public IssueModelResult.Builder addAllIssues(Iterable<? extends IssueAssignment> values)
All the matched issues.
repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.contactcenterinsights.v1.IssueAssignment>
|
Returns
public IssueModelResult.Builder addIssues(IssueAssignment value)
All the matched issues.
repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2;
Parameter
Returns
public IssueModelResult.Builder addIssues(IssueAssignment.Builder builderForValue)
All the matched issues.
repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2;
Parameter
Returns
public IssueModelResult.Builder addIssues(int index, IssueAssignment value)
All the matched issues.
repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2;
Parameters
Returns
public IssueModelResult.Builder addIssues(int index, IssueAssignment.Builder builderForValue)
All the matched issues.
repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2;
Parameters
Returns
public IssueAssignment.Builder addIssuesBuilder()
All the matched issues.
repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2;
Returns
public IssueAssignment.Builder addIssuesBuilder(int index)
All the matched issues.
repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2;
Parameter
Returns
public IssueModelResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public IssueModelResult build()
Returns
public IssueModelResult buildPartial()
Returns
public IssueModelResult.Builder clear()
Returns
Overrides
public IssueModelResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public IssueModelResult.Builder clearIssueModel()
Issue model that generates the result.
Format: projects/{project}/locations/{location}/issueModels/{issue_model}
string issue_model = 1 [(.google.api.resource_reference) = { ... }
Returns
public IssueModelResult.Builder clearIssues()
All the matched issues.
repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2;
Returns
public IssueModelResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public IssueModelResult.Builder clone()
Returns
Overrides
public IssueModelResult getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public String getIssueModel()
Issue model that generates the result.
Format: projects/{project}/locations/{location}/issueModels/{issue_model}
string issue_model = 1 [(.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The issueModel.
|
public ByteString getIssueModelBytes()
Issue model that generates the result.
Format: projects/{project}/locations/{location}/issueModels/{issue_model}
string issue_model = 1 [(.google.api.resource_reference) = { ... }
Returns
Type | Description |
ByteString | The bytes for issueModel.
|
public IssueAssignment getIssues(int index)
All the matched issues.
repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2;
Parameter
Returns
public IssueAssignment.Builder getIssuesBuilder(int index)
All the matched issues.
repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2;
Parameter
Returns
public List<IssueAssignment.Builder> getIssuesBuilderList()
All the matched issues.
repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2;
Returns
public int getIssuesCount()
All the matched issues.
repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2;
Returns
public List<IssueAssignment> getIssuesList()
All the matched issues.
repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2;
Returns
public IssueAssignmentOrBuilder getIssuesOrBuilder(int index)
All the matched issues.
repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2;
Parameter
Returns
public List<? extends IssueAssignmentOrBuilder> getIssuesOrBuilderList()
All the matched issues.
repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2;
Returns
Type | Description |
List<? extends com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder> | |
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public IssueModelResult.Builder mergeFrom(IssueModelResult other)
Parameter
Returns
public IssueModelResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public IssueModelResult.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final IssueModelResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public IssueModelResult.Builder removeIssues(int index)
All the matched issues.
repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2;
Parameter
Returns
public IssueModelResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public IssueModelResult.Builder setIssueModel(String value)
Issue model that generates the result.
Format: projects/{project}/locations/{location}/issueModels/{issue_model}
string issue_model = 1 [(.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The issueModel to set.
|
Returns
public IssueModelResult.Builder setIssueModelBytes(ByteString value)
Issue model that generates the result.
Format: projects/{project}/locations/{location}/issueModels/{issue_model}
string issue_model = 1 [(.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for issueModel to set.
|
Returns
public IssueModelResult.Builder setIssues(int index, IssueAssignment value)
All the matched issues.
repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2;
Parameters
Returns
public IssueModelResult.Builder setIssues(int index, IssueAssignment.Builder builderForValue)
All the matched issues.
repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2;
Parameters
Returns
public IssueModelResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final IssueModelResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides