Class IssueAssignment.Builder (2.22.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public IssueAssignment build()
Returns
TypeDescription
IssueAssignment

buildPartial()

public IssueAssignment buildPartial()
Returns
TypeDescription
IssueAssignment

clear()

public IssueAssignment.Builder clear()
Returns
TypeDescription
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
TypeDescription
IssueAssignment.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public IssueAssignment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
IssueAssignment.Builder
Overrides

clearIssue()

public IssueAssignment.Builder clearIssue()

Resource name of the assigned issue.

string issue = 1;

Returns
TypeDescription
IssueAssignment.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public IssueAssignment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
IssueAssignment.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public IssueAssignment getDefaultInstanceForType()
Returns
TypeDescription
IssueAssignment

getDescriptorForType()

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

The bytes for displayName.

getIssue()

public String getIssue()

Resource name of the assigned issue.

string issue = 1;

Returns
TypeDescription
String

The issue.

getIssueBytes()

public ByteString getIssueBytes()

Resource name of the assigned issue.

string issue = 1;

Returns
TypeDescription
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
TypeDescription
double

The score.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(IssueAssignment other)

public IssueAssignment.Builder mergeFrom(IssueAssignment other)
Parameter
NameDescription
otherIssueAssignment
Returns
TypeDescription
IssueAssignment.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The displayName to set.

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

The bytes for displayName to set.

Returns
TypeDescription
IssueAssignment.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setIssue(String value)

public IssueAssignment.Builder setIssue(String value)

Resource name of the assigned issue.

string issue = 1;

Parameter
NameDescription
valueString

The issue to set.

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

The bytes for issue to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valuedouble

The score to set.

Returns
TypeDescription
IssueAssignment.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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