Class IssueModelLabelStats.IssueStats.Builder (2.32.0)

public static final class IssueModelLabelStats.IssueStats.Builder extends GeneratedMessageV3.Builder<IssueModelLabelStats.IssueStats.Builder> implements IssueModelLabelStats.IssueStatsOrBuilder

Aggregated statistics about an issue.

Protobuf type google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public IssueModelLabelStats.IssueStats build()
Returns
TypeDescription
IssueModelLabelStats.IssueStats

buildPartial()

public IssueModelLabelStats.IssueStats buildPartial()
Returns
TypeDescription
IssueModelLabelStats.IssueStats

clear()

public IssueModelLabelStats.IssueStats.Builder clear()
Returns
TypeDescription
IssueModelLabelStats.IssueStats.Builder
Overrides

clearDisplayName()

public IssueModelLabelStats.IssueStats.Builder clearDisplayName()

Display name of the issue.

string display_name = 3;

Returns
TypeDescription
IssueModelLabelStats.IssueStats.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearIssue()

public IssueModelLabelStats.IssueStats.Builder clearIssue()

Issue resource. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}

string issue = 1;

Returns
TypeDescription
IssueModelLabelStats.IssueStats.Builder

This builder for chaining.

clearLabeledConversationsCount()

public IssueModelLabelStats.IssueStats.Builder clearLabeledConversationsCount()

Number of conversations attached to the issue at this point in time.

int64 labeled_conversations_count = 2;

Returns
TypeDescription
IssueModelLabelStats.IssueStats.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public IssueModelLabelStats.IssueStats.Builder clone()
Returns
TypeDescription
IssueModelLabelStats.IssueStats.Builder
Overrides

getDefaultInstanceForType()

public IssueModelLabelStats.IssueStats getDefaultInstanceForType()
Returns
TypeDescription
IssueModelLabelStats.IssueStats

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

Display name of the issue.

string display_name = 3;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Display name of the issue.

string display_name = 3;

Returns
TypeDescription
ByteString

The bytes for displayName.

getIssue()

public String getIssue()

Issue resource. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}

string issue = 1;

Returns
TypeDescription
String

The issue.

getIssueBytes()

public ByteString getIssueBytes()

Issue resource. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}

string issue = 1;

Returns
TypeDescription
ByteString

The bytes for issue.

getLabeledConversationsCount()

public long getLabeledConversationsCount()

Number of conversations attached to the issue at this point in time.

int64 labeled_conversations_count = 2;

Returns
TypeDescription
long

The labeledConversationsCount.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(IssueModelLabelStats.IssueStats other)

public IssueModelLabelStats.IssueStats.Builder mergeFrom(IssueModelLabelStats.IssueStats other)
Parameter
NameDescription
otherIssueModelLabelStats.IssueStats
Returns
TypeDescription
IssueModelLabelStats.IssueStats.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IssueModelLabelStats.IssueStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
IssueModelLabelStats.IssueStats.Builder
Overrides

setDisplayName(String value)

public IssueModelLabelStats.IssueStats.Builder setDisplayName(String value)

Display name of the issue.

string display_name = 3;

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
IssueModelLabelStats.IssueStats.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public IssueModelLabelStats.IssueStats.Builder setDisplayNameBytes(ByteString value)

Display name of the issue.

string display_name = 3;

Parameter
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
IssueModelLabelStats.IssueStats.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setIssue(String value)

public IssueModelLabelStats.IssueStats.Builder setIssue(String value)

Issue resource. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}

string issue = 1;

Parameter
NameDescription
valueString

The issue to set.

Returns
TypeDescription
IssueModelLabelStats.IssueStats.Builder

This builder for chaining.

setIssueBytes(ByteString value)

public IssueModelLabelStats.IssueStats.Builder setIssueBytes(ByteString value)

Issue resource. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}

string issue = 1;

Parameter
NameDescription
valueByteString

The bytes for issue to set.

Returns
TypeDescription
IssueModelLabelStats.IssueStats.Builder

This builder for chaining.

setLabeledConversationsCount(long value)

public IssueModelLabelStats.IssueStats.Builder setLabeledConversationsCount(long value)

Number of conversations attached to the issue at this point in time.

int64 labeled_conversations_count = 2;

Parameter
NameDescription
valuelong

The labeledConversationsCount to set.

Returns
TypeDescription
IssueModelLabelStats.IssueStats.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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