Class AnalysisResult.Builder (2.54.0)

public static final class AnalysisResult.Builder extends GeneratedMessageV3.Builder<AnalysisResult.Builder> implements AnalysisResultOrBuilder

The result of an analysis.

Protobuf type google.cloud.contactcenterinsights.v1.AnalysisResult

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AnalysisResult build()
Returns
Type Description
AnalysisResult

buildPartial()

public AnalysisResult buildPartial()
Returns
Type Description
AnalysisResult

clear()

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

clearCallAnalysisMetadata()

public AnalysisResult.Builder clearCallAnalysisMetadata()

Call-specific metadata created by the analysis.

.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2;

Returns
Type Description
AnalysisResult.Builder

clearEndTime()

public AnalysisResult.Builder clearEndTime()

The time at which the analysis ended.

.google.protobuf.Timestamp end_time = 1;

Returns
Type Description
AnalysisResult.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearMetadata()

public AnalysisResult.Builder clearMetadata()
Returns
Type Description
AnalysisResult.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCallAnalysisMetadata()

public AnalysisResult.CallAnalysisMetadata getCallAnalysisMetadata()

Call-specific metadata created by the analysis.

.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2;

Returns
Type Description
AnalysisResult.CallAnalysisMetadata

The callAnalysisMetadata.

getCallAnalysisMetadataBuilder()

public AnalysisResult.CallAnalysisMetadata.Builder getCallAnalysisMetadataBuilder()

Call-specific metadata created by the analysis.

.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2;

Returns
Type Description
AnalysisResult.CallAnalysisMetadata.Builder

getCallAnalysisMetadataOrBuilder()

public AnalysisResult.CallAnalysisMetadataOrBuilder getCallAnalysisMetadataOrBuilder()

Call-specific metadata created by the analysis.

.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2;

Returns
Type Description
AnalysisResult.CallAnalysisMetadataOrBuilder

getDefaultInstanceForType()

public AnalysisResult getDefaultInstanceForType()
Returns
Type Description
AnalysisResult

getDescriptorForType()

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

getEndTime()

public Timestamp getEndTime()

The time at which the analysis ended.

.google.protobuf.Timestamp end_time = 1;

Returns
Type Description
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

The time at which the analysis ended.

.google.protobuf.Timestamp end_time = 1;

Returns
Type Description
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

The time at which the analysis ended.

.google.protobuf.Timestamp end_time = 1;

Returns
Type Description
TimestampOrBuilder

getMetadataCase()

public AnalysisResult.MetadataCase getMetadataCase()
Returns
Type Description
AnalysisResult.MetadataCase

hasCallAnalysisMetadata()

public boolean hasCallAnalysisMetadata()

Call-specific metadata created by the analysis.

.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2;

Returns
Type Description
boolean

Whether the callAnalysisMetadata field is set.

hasEndTime()

public boolean hasEndTime()

The time at which the analysis ended.

.google.protobuf.Timestamp end_time = 1;

Returns
Type Description
boolean

Whether the endTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCallAnalysisMetadata(AnalysisResult.CallAnalysisMetadata value)

public AnalysisResult.Builder mergeCallAnalysisMetadata(AnalysisResult.CallAnalysisMetadata value)

Call-specific metadata created by the analysis.

.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2;

Parameter
Name Description
value AnalysisResult.CallAnalysisMetadata
Returns
Type Description
AnalysisResult.Builder

mergeEndTime(Timestamp value)

public AnalysisResult.Builder mergeEndTime(Timestamp value)

The time at which the analysis ended.

.google.protobuf.Timestamp end_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
AnalysisResult.Builder

mergeFrom(AnalysisResult other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCallAnalysisMetadata(AnalysisResult.CallAnalysisMetadata value)

public AnalysisResult.Builder setCallAnalysisMetadata(AnalysisResult.CallAnalysisMetadata value)

Call-specific metadata created by the analysis.

.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2;

Parameter
Name Description
value AnalysisResult.CallAnalysisMetadata
Returns
Type Description
AnalysisResult.Builder

setCallAnalysisMetadata(AnalysisResult.CallAnalysisMetadata.Builder builderForValue)

public AnalysisResult.Builder setCallAnalysisMetadata(AnalysisResult.CallAnalysisMetadata.Builder builderForValue)

Call-specific metadata created by the analysis.

.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata call_analysis_metadata = 2;

Parameter
Name Description
builderForValue AnalysisResult.CallAnalysisMetadata.Builder
Returns
Type Description
AnalysisResult.Builder

setEndTime(Timestamp value)

public AnalysisResult.Builder setEndTime(Timestamp value)

The time at which the analysis ended.

.google.protobuf.Timestamp end_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
AnalysisResult.Builder

setEndTime(Timestamp.Builder builderForValue)

public AnalysisResult.Builder setEndTime(Timestamp.Builder builderForValue)

The time at which the analysis ended.

.google.protobuf.Timestamp end_time = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
AnalysisResult.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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