Class IssueAssignment.Builder (2.43.0)

public static final class IssueAssignment.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

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

clearIssue()

public IssueAssignment.Builder clearIssue()

Resource name of the assigned issue.

string issue = 1;

Returns
Type Description
IssueAssignment.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IssueAssignment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

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

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.

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

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

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.

setUnknownFields(UnknownFieldSet unknownFields)

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