Class CalculateIssueModelStatsResponse.Builder (2.3.10)

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
TypeDescription
CalculateIssueModelStatsResponse.Builder
Overrides

build()

public CalculateIssueModelStatsResponse build()
Returns
TypeDescription
CalculateIssueModelStatsResponse

buildPartial()

public CalculateIssueModelStatsResponse buildPartial()
Returns
TypeDescription
CalculateIssueModelStatsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public CalculateIssueModelStatsResponse getDefaultInstanceForType()
Returns
TypeDescription
CalculateIssueModelStatsResponse

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
TypeDescription
CalculateIssueModelStatsResponse.Builder

mergeFrom(CalculateIssueModelStatsResponse other)

public CalculateIssueModelStatsResponse.Builder mergeFrom(CalculateIssueModelStatsResponse other)
Parameter
NameDescription
otherCalculateIssueModelStatsResponse
Returns
TypeDescription
CalculateIssueModelStatsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public CalculateIssueModelStatsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CalculateIssueModelStatsResponse.Builder
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
TypeDescription
CalculateIssueModelStatsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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