Class CalculateIssueModelStatsResponse.Builder (2.42.0)

public static final class CalculateIssueModelStatsResponse.Builder extends GeneratedMessageV3.Builder<CalculateIssueModelStatsResponse.Builder> implements CalculateIssueModelStatsResponseOrBuilder

Response of querying an issue model's statistics.

Protobuf type google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CalculateIssueModelStatsResponse build()
Returns
Type Description
CalculateIssueModelStatsResponse

buildPartial()

public CalculateIssueModelStatsResponse buildPartial()
Returns
Type Description
CalculateIssueModelStatsResponse

clear()

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

clearCurrentStats()

public CalculateIssueModelStatsResponse.Builder clearCurrentStats()

The latest label statistics for the queried issue model. Includes results on both training data and data labeled after deployment.

.google.cloud.contactcenterinsights.v1.IssueModelLabelStats current_stats = 4;

Returns
Type Description
CalculateIssueModelStatsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCurrentStats()

public IssueModelLabelStats getCurrentStats()

The latest label statistics for the queried issue model. Includes results on both training data and data labeled after deployment.

.google.cloud.contactcenterinsights.v1.IssueModelLabelStats current_stats = 4;

Returns
Type Description
IssueModelLabelStats

The currentStats.

getCurrentStatsBuilder()

public IssueModelLabelStats.Builder getCurrentStatsBuilder()

The latest label statistics for the queried issue model. Includes results on both training data and data labeled after deployment.

.google.cloud.contactcenterinsights.v1.IssueModelLabelStats current_stats = 4;

Returns
Type Description
IssueModelLabelStats.Builder

getCurrentStatsOrBuilder()

public IssueModelLabelStatsOrBuilder getCurrentStatsOrBuilder()

The latest label statistics for the queried issue model. Includes results on both training data and data labeled after deployment.

.google.cloud.contactcenterinsights.v1.IssueModelLabelStats current_stats = 4;

Returns
Type Description
IssueModelLabelStatsOrBuilder

getDefaultInstanceForType()

public CalculateIssueModelStatsResponse getDefaultInstanceForType()
Returns
Type Description
CalculateIssueModelStatsResponse

getDescriptorForType()

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

hasCurrentStats()

public boolean hasCurrentStats()

The latest label statistics for the queried issue model. Includes results on both training data and data labeled after deployment.

.google.cloud.contactcenterinsights.v1.IssueModelLabelStats current_stats = 4;

Returns
Type Description
boolean

Whether the currentStats field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCurrentStats(IssueModelLabelStats value)

public CalculateIssueModelStatsResponse.Builder mergeCurrentStats(IssueModelLabelStats value)

The latest label statistics for the queried issue model. Includes results on both training data and data labeled after deployment.

.google.cloud.contactcenterinsights.v1.IssueModelLabelStats current_stats = 4;

Parameter
Name Description
value IssueModelLabelStats
Returns
Type Description
CalculateIssueModelStatsResponse.Builder

mergeFrom(CalculateIssueModelStatsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCurrentStats(IssueModelLabelStats value)

public CalculateIssueModelStatsResponse.Builder setCurrentStats(IssueModelLabelStats value)

The latest label statistics for the queried issue model. Includes results on both training data and data labeled after deployment.

.google.cloud.contactcenterinsights.v1.IssueModelLabelStats current_stats = 4;

Parameter
Name Description
value IssueModelLabelStats
Returns
Type Description
CalculateIssueModelStatsResponse.Builder

setCurrentStats(IssueModelLabelStats.Builder builderForValue)

public CalculateIssueModelStatsResponse.Builder setCurrentStats(IssueModelLabelStats.Builder builderForValue)

The latest label statistics for the queried issue model. Includes results on both training data and data labeled after deployment.

.google.cloud.contactcenterinsights.v1.IssueModelLabelStats current_stats = 4;

Parameter
Name Description
builderForValue IssueModelLabelStats.Builder
Returns
Type Description
CalculateIssueModelStatsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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