Class CalculateStatsResponse.TimeSeries.Interval.Builder (2.45.0)

public static final class CalculateStatsResponse.TimeSeries.Interval.Builder extends GeneratedMessageV3.Builder<CalculateStatsResponse.TimeSeries.Interval.Builder> implements CalculateStatsResponse.TimeSeries.IntervalOrBuilder

A single interval in a time series.

Protobuf type google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CalculateStatsResponse.TimeSeries.Interval build()
Returns
Type Description
CalculateStatsResponse.TimeSeries.Interval

buildPartial()

public CalculateStatsResponse.TimeSeries.Interval buildPartial()
Returns
Type Description
CalculateStatsResponse.TimeSeries.Interval

clear()

public CalculateStatsResponse.TimeSeries.Interval.Builder clear()
Returns
Type Description
CalculateStatsResponse.TimeSeries.Interval.Builder
Overrides

clearConversationCount()

public CalculateStatsResponse.TimeSeries.Interval.Builder clearConversationCount()

The number of conversations created in this interval.

int32 conversation_count = 2;

Returns
Type Description
CalculateStatsResponse.TimeSeries.Interval.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CalculateStatsResponse.TimeSeries.Interval.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CalculateStatsResponse.TimeSeries.Interval.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CalculateStatsResponse.TimeSeries.Interval.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CalculateStatsResponse.TimeSeries.Interval.Builder
Overrides

clearStartTime()

public CalculateStatsResponse.TimeSeries.Interval.Builder clearStartTime()

The start time of this interval.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
CalculateStatsResponse.TimeSeries.Interval.Builder

clone()

public CalculateStatsResponse.TimeSeries.Interval.Builder clone()
Returns
Type Description
CalculateStatsResponse.TimeSeries.Interval.Builder
Overrides

getConversationCount()

public int getConversationCount()

The number of conversations created in this interval.

int32 conversation_count = 2;

Returns
Type Description
int

The conversationCount.

getDefaultInstanceForType()

public CalculateStatsResponse.TimeSeries.Interval getDefaultInstanceForType()
Returns
Type Description
CalculateStatsResponse.TimeSeries.Interval

getDescriptorForType()

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

getStartTime()

public Timestamp getStartTime()

The start time of this interval.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

The start time of this interval.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The start time of this interval.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
TimestampOrBuilder

hasStartTime()

public boolean hasStartTime()

The start time of this interval.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CalculateStatsResponse.TimeSeries.Interval other)

public CalculateStatsResponse.TimeSeries.Interval.Builder mergeFrom(CalculateStatsResponse.TimeSeries.Interval other)
Parameter
Name Description
other CalculateStatsResponse.TimeSeries.Interval
Returns
Type Description
CalculateStatsResponse.TimeSeries.Interval.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CalculateStatsResponse.TimeSeries.Interval.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CalculateStatsResponse.TimeSeries.Interval.Builder
Overrides

mergeStartTime(Timestamp value)

public CalculateStatsResponse.TimeSeries.Interval.Builder mergeStartTime(Timestamp value)

The start time of this interval.

.google.protobuf.Timestamp start_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
CalculateStatsResponse.TimeSeries.Interval.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CalculateStatsResponse.TimeSeries.Interval.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CalculateStatsResponse.TimeSeries.Interval.Builder
Overrides

setConversationCount(int value)

public CalculateStatsResponse.TimeSeries.Interval.Builder setConversationCount(int value)

The number of conversations created in this interval.

int32 conversation_count = 2;

Parameter
Name Description
value int

The conversationCount to set.

Returns
Type Description
CalculateStatsResponse.TimeSeries.Interval.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setStartTime(Timestamp value)

public CalculateStatsResponse.TimeSeries.Interval.Builder setStartTime(Timestamp value)

The start time of this interval.

.google.protobuf.Timestamp start_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
CalculateStatsResponse.TimeSeries.Interval.Builder

setStartTime(Timestamp.Builder builderForValue)

public CalculateStatsResponse.TimeSeries.Interval.Builder setStartTime(Timestamp.Builder builderForValue)

The start time of this interval.

.google.protobuf.Timestamp start_time = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
CalculateStatsResponse.TimeSeries.Interval.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final CalculateStatsResponse.TimeSeries.Interval.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CalculateStatsResponse.TimeSeries.Interval.Builder
Overrides