Class AnalysisResult.Builder (2.10.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AnalysisResult build()
Returns
TypeDescription
AnalysisResult

buildPartial()

public AnalysisResult buildPartial()
Returns
TypeDescription
AnalysisResult

clear()

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

clearEndTime()

public AnalysisResult.Builder clearEndTime()

The time at which the analysis ended.

.google.protobuf.Timestamp end_time = 1;

Returns
TypeDescription
AnalysisResult.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearMetadata()

public AnalysisResult.Builder clearMetadata()
Returns
TypeDescription
AnalysisResult.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public AnalysisResult getDefaultInstanceForType()
Returns
TypeDescription
AnalysisResult

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEndTime()

public Timestamp getEndTime()

The time at which the analysis ended.

.google.protobuf.Timestamp end_time = 1;

Returns
TypeDescription
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

The time at which the analysis ended.

.google.protobuf.Timestamp end_time = 1;

Returns
TypeDescription
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

The time at which the analysis ended.

.google.protobuf.Timestamp end_time = 1;

Returns
TypeDescription
TimestampOrBuilder

getMetadataCase()

public AnalysisResult.MetadataCase getMetadataCase()
Returns
TypeDescription
AnalysisResult.MetadataCase

hasCallAnalysisMetadata()

public boolean hasCallAnalysisMetadata()

Call-specific metadata created by the analysis.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the endTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueAnalysisResult.CallAnalysisMetadata
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
AnalysisResult.Builder

mergeFrom(AnalysisResult other)

public AnalysisResult.Builder mergeFrom(AnalysisResult other)
Parameter
NameDescription
otherAnalysisResult
Returns
TypeDescription
AnalysisResult.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AnalysisResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueAnalysisResult.CallAnalysisMetadata
Returns
TypeDescription
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
NameDescription
builderForValueAnalysisResult.CallAnalysisMetadata.Builder
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
AnalysisResult.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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