Class IssueModelResult.Builder (2.55.0)

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

getDescriptor()

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

Methods

addAllIssues(Iterable<? extends IssueAssignment> values)

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
Type Description
IssueModelResult.Builder

addIssues(IssueAssignment value)

public IssueModelResult.Builder addIssues(IssueAssignment value)

All the matched issues.

repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2;

Parameter
Name Description
value IssueAssignment
Returns
Type Description
IssueModelResult.Builder

addIssues(IssueAssignment.Builder builderForValue)

public IssueModelResult.Builder addIssues(IssueAssignment.Builder builderForValue)

All the matched issues.

repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2;

Parameter
Name Description
builderForValue IssueAssignment.Builder
Returns
Type Description
IssueModelResult.Builder

addIssues(int index, IssueAssignment value)

public IssueModelResult.Builder addIssues(int index, IssueAssignment value)

All the matched issues.

repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2;

Parameters
Name Description
index int
value IssueAssignment
Returns
Type Description
IssueModelResult.Builder

addIssues(int index, IssueAssignment.Builder builderForValue)

public IssueModelResult.Builder addIssues(int index, IssueAssignment.Builder builderForValue)

All the matched issues.

repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2;

Parameters
Name Description
index int
builderForValue IssueAssignment.Builder
Returns
Type Description
IssueModelResult.Builder

addIssuesBuilder()

public IssueAssignment.Builder addIssuesBuilder()

All the matched issues.

repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2;

Returns
Type Description
IssueAssignment.Builder

addIssuesBuilder(int index)

public IssueAssignment.Builder addIssuesBuilder(int index)

All the matched issues.

repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2;

Parameter
Name Description
index int
Returns
Type Description
IssueAssignment.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public IssueModelResult build()
Returns
Type Description
IssueModelResult

buildPartial()

public IssueModelResult buildPartial()
Returns
Type Description
IssueModelResult

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearIssueModel()

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
Type Description
IssueModelResult.Builder

This builder for chaining.

clearIssues()

public IssueModelResult.Builder clearIssues()

All the matched issues.

repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2;

Returns
Type Description
IssueModelResult.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public IssueModelResult.Builder clone()
Returns
Type Description
IssueModelResult.Builder
Overrides

getDefaultInstanceForType()

public IssueModelResult getDefaultInstanceForType()
Returns
Type Description
IssueModelResult

getDescriptorForType()

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

getIssueModel()

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.

getIssueModelBytes()

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.

getIssues(int index)

public IssueAssignment getIssues(int index)

All the matched issues.

repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2;

Parameter
Name Description
index int
Returns
Type Description
IssueAssignment

getIssuesBuilder(int index)

public IssueAssignment.Builder getIssuesBuilder(int index)

All the matched issues.

repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2;

Parameter
Name Description
index int
Returns
Type Description
IssueAssignment.Builder

getIssuesBuilderList()

public List<IssueAssignment.Builder> getIssuesBuilderList()

All the matched issues.

repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2;

Returns
Type Description
List<Builder>

getIssuesCount()

public int getIssuesCount()

All the matched issues.

repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2;

Returns
Type Description
int

getIssuesList()

public List<IssueAssignment> getIssuesList()

All the matched issues.

repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2;

Returns
Type Description
List<IssueAssignment>

getIssuesOrBuilder(int index)

public IssueAssignmentOrBuilder getIssuesOrBuilder(int index)

All the matched issues.

repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2;

Parameter
Name Description
index int
Returns
Type Description
IssueAssignmentOrBuilder

getIssuesOrBuilderList()

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>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(IssueModelResult other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeIssues(int index)

public IssueModelResult.Builder removeIssues(int index)

All the matched issues.

repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2;

Parameter
Name Description
index int
Returns
Type Description
IssueModelResult.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setIssueModel(String value)

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
Type Description
IssueModelResult.Builder

This builder for chaining.

setIssueModelBytes(ByteString value)

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
Type Description
IssueModelResult.Builder

This builder for chaining.

setIssues(int index, IssueAssignment value)

public IssueModelResult.Builder setIssues(int index, IssueAssignment value)

All the matched issues.

repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2;

Parameters
Name Description
index int
value IssueAssignment
Returns
Type Description
IssueModelResult.Builder

setIssues(int index, IssueAssignment.Builder builderForValue)

public IssueModelResult.Builder setIssues(int index, IssueAssignment.Builder builderForValue)

All the matched issues.

repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2;

Parameters
Name Description
index int
builderForValue IssueAssignment.Builder
Returns
Type Description
IssueModelResult.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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