Class IssueModelResult.Builder (2.31.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.contactcenterinsights.v1.IssueAssignment>
Returns
TypeDescription
IssueModelResult.Builder

addIssues(IssueAssignment value)

public IssueModelResult.Builder addIssues(IssueAssignment value)

All the matched issues.

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

Parameter
NameDescription
valueIssueAssignment
Returns
TypeDescription
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
NameDescription
builderForValueIssueAssignment.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueIssueAssignment
Returns
TypeDescription
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
NameDescription
indexint
builderForValueIssueAssignment.Builder
Returns
TypeDescription
IssueModelResult.Builder

addIssuesBuilder()

public IssueAssignment.Builder addIssuesBuilder()

All the matched issues.

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

Returns
TypeDescription
IssueAssignment.Builder

addIssuesBuilder(int index)

public IssueAssignment.Builder addIssuesBuilder(int index)

All the matched issues.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
IssueAssignment.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public IssueModelResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
IssueModelResult.Builder
Overrides

build()

public IssueModelResult build()
Returns
TypeDescription
IssueModelResult

buildPartial()

public IssueModelResult buildPartial()
Returns
TypeDescription
IssueModelResult

clear()

public IssueModelResult.Builder clear()
Returns
TypeDescription
IssueModelResult.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public IssueModelResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
IssueModelResult.Builder

This builder for chaining.

clearIssues()

public IssueModelResult.Builder clearIssues()

All the matched issues.

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

Returns
TypeDescription
IssueModelResult.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public IssueModelResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
IssueModelResult.Builder
Overrides

clone()

public IssueModelResult.Builder clone()
Returns
TypeDescription
IssueModelResult.Builder
Overrides

getDefaultInstanceForType()

public IssueModelResult getDefaultInstanceForType()
Returns
TypeDescription
IssueModelResult

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
IssueAssignment

getIssuesBuilder(int index)

public IssueAssignment.Builder getIssuesBuilder(int index)

All the matched issues.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
IssueAssignment.Builder

getIssuesBuilderList()

public List<IssueAssignment.Builder> getIssuesBuilderList()

All the matched issues.

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

Returns
TypeDescription
List<Builder>

getIssuesCount()

public int getIssuesCount()

All the matched issues.

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

Returns
TypeDescription
int

getIssuesList()

public List<IssueAssignment> getIssuesList()

All the matched issues.

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

Returns
TypeDescription
List<IssueAssignment>

getIssuesOrBuilder(int index)

public IssueAssignmentOrBuilder getIssuesOrBuilder(int index)

All the matched issues.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
IssueAssignmentOrBuilder

getIssuesOrBuilderList()

public List<? extends IssueAssignmentOrBuilder> getIssuesOrBuilderList()

All the matched issues.

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

Returns
TypeDescription
List<? extends com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(IssueModelResult other)

public IssueModelResult.Builder mergeFrom(IssueModelResult other)
Parameter
NameDescription
otherIssueModelResult
Returns
TypeDescription
IssueModelResult.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public IssueModelResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IssueModelResult.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public IssueModelResult.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
IssueModelResult.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IssueModelResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
IssueModelResult.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public IssueModelResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The issueModel to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for issueModel to set.

Returns
TypeDescription
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
NameDescription
indexint
valueIssueAssignment
Returns
TypeDescription
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
NameDescription
indexint
builderForValueIssueAssignment.Builder
Returns
TypeDescription
IssueModelResult.Builder

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

public IssueModelResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
IssueModelResult.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final IssueModelResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
IssueModelResult.Builder
Overrides