Class CalculateIssueModelStatsResponse.Builder (2.3.3)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CalculateIssueModelStatsResponse build()
Returns

buildPartial()

public CalculateIssueModelStatsResponse buildPartial()
Returns

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public CalculateIssueModelStatsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns Overrides

clone()

public CalculateIssueModelStatsResponse.Builder clone()
Returns 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
TypeDescription
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

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

getDefaultInstanceForType()

public CalculateIssueModelStatsResponse getDefaultInstanceForType()
Returns

getDescriptorForType()

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

Whether the currentStats field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueIssueModelLabelStats
Returns

mergeFrom(CalculateIssueModelStatsResponse other)

public CalculateIssueModelStatsResponse.Builder mergeFrom(CalculateIssueModelStatsResponse other)
Parameter Returns

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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
NameDescription
builderForValueIssueModelLabelStats.Builder
Returns

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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