Class IssueAssignment.Builder (2.83.0)

public static final class IssueAssignment.Builder extends GeneratedMessage.Builder<IssueAssignment.Builder> implements IssueAssignmentOrBuilder

Information about the issue.

Protobuf type google.cloud.contactcenterinsights.v1.IssueAssignment

Static Methods

getDescriptor()

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

Methods

build()

public IssueAssignment build()
Returns
Type Description
IssueAssignment

buildPartial()

public IssueAssignment buildPartial()
Returns
Type Description
IssueAssignment

clear()

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

clearDisplayName()

public IssueAssignment.Builder clearDisplayName()

Immutable. Display name of the assigned issue. This field is set at time of analyis and immutable since then.

string display_name = 3 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
IssueAssignment.Builder

This builder for chaining.

clearIssue()

public IssueAssignment.Builder clearIssue()

Resource name of the assigned issue.

string issue = 1;

Returns
Type Description
IssueAssignment.Builder

This builder for chaining.

clearScore()

public IssueAssignment.Builder clearScore()

Score indicating the likelihood of the issue assignment. currently bounded on [0,1].

double score = 2;

Returns
Type Description
IssueAssignment.Builder

This builder for chaining.

getDefaultInstanceForType()

public IssueAssignment getDefaultInstanceForType()
Returns
Type Description
IssueAssignment

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

Immutable. Display name of the assigned issue. This field is set at time of analyis and immutable since then.

string display_name = 3 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Immutable. Display name of the assigned issue. This field is set at time of analyis and immutable since then.

string display_name = 3 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for displayName.

getIssue()

public String getIssue()

Resource name of the assigned issue.

string issue = 1;

Returns
Type Description
String

The issue.

getIssueBytes()

public ByteString getIssueBytes()

Resource name of the assigned issue.

string issue = 1;

Returns
Type Description
ByteString

The bytes for issue.

getScore()

public double getScore()

Score indicating the likelihood of the issue assignment. currently bounded on [0,1].

double score = 2;

Returns
Type Description
double

The score.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(IssueAssignment other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setDisplayName(String value)

public IssueAssignment.Builder setDisplayName(String value)

Immutable. Display name of the assigned issue. This field is set at time of analyis and immutable since then.

string display_name = 3 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
IssueAssignment.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public IssueAssignment.Builder setDisplayNameBytes(ByteString value)

Immutable. Display name of the assigned issue. This field is set at time of analyis and immutable since then.

string display_name = 3 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
IssueAssignment.Builder

This builder for chaining.

setIssue(String value)

public IssueAssignment.Builder setIssue(String value)

Resource name of the assigned issue.

string issue = 1;

Parameter
Name Description
value String

The issue to set.

Returns
Type Description
IssueAssignment.Builder

This builder for chaining.

setIssueBytes(ByteString value)

public IssueAssignment.Builder setIssueBytes(ByteString value)

Resource name of the assigned issue.

string issue = 1;

Parameter
Name Description
value ByteString

The bytes for issue to set.

Returns
Type Description
IssueAssignment.Builder

This builder for chaining.

setScore(double value)

public IssueAssignment.Builder setScore(double value)

Score indicating the likelihood of the issue assignment. currently bounded on [0,1].

double score = 2;

Parameter
Name Description
value double

The score to set.

Returns
Type Description
IssueAssignment.Builder

This builder for chaining.