Class IssueModelLabelStats.IssueStats.Builder (2.47.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public IssueModelLabelStats.IssueStats build()
Returns
Type Description
IssueModelLabelStats.IssueStats

buildPartial()

public IssueModelLabelStats.IssueStats buildPartial()
Returns
Type Description
IssueModelLabelStats.IssueStats

clear()

public IssueModelLabelStats.IssueStats.Builder clear()
Returns
Type Description
IssueModelLabelStats.IssueStats.Builder
Overrides

clearDisplayName()

public IssueModelLabelStats.IssueStats.Builder clearDisplayName()

Display name of the issue.

string display_name = 3;

Returns
Type Description
IssueModelLabelStats.IssueStats.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public IssueModelLabelStats.IssueStats.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
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
Type Description
IssueModelLabelStats.IssueStats.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public IssueModelLabelStats.IssueStats.Builder clone()
Returns
Type Description
IssueModelLabelStats.IssueStats.Builder
Overrides

getDefaultInstanceForType()

public IssueModelLabelStats.IssueStats getDefaultInstanceForType()
Returns
Type Description
IssueModelLabelStats.IssueStats

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

Display name of the issue.

string display_name = 3;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Display name of the issue.

string display_name = 3;

Returns
Type Description
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
Type Description
String

The issue.

getIssueBytes()

public ByteString getIssueBytes()

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

string issue = 1;

Returns
Type Description
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
Type Description
long

The labeledConversationsCount.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(IssueModelLabelStats.IssueStats other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IssueModelLabelStats.IssueStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
IssueModelLabelStats.IssueStats.Builder
Overrides

setDisplayName(String value)

public IssueModelLabelStats.IssueStats.Builder setDisplayName(String value)

Display name of the issue.

string display_name = 3;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
IssueModelLabelStats.IssueStats.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public IssueModelLabelStats.IssueStats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The issue to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for issue to set.

Returns
Type Description
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
Name Description
value long

The labeledConversationsCount to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
IssueModelLabelStats.IssueStats.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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