Class CalculateStatsResponse.TimeSeries.Interval.Builder (2.3.5)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CalculateStatsResponse.TimeSeries.Interval build()
Returns
TypeDescription
CalculateStatsResponse.TimeSeries.Interval

buildPartial()

public CalculateStatsResponse.TimeSeries.Interval buildPartial()
Returns
TypeDescription
CalculateStatsResponse.TimeSeries.Interval

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CalculateStatsResponse.TimeSeries.Interval.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CalculateStatsResponse.TimeSeries.Interval.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CalculateStatsResponse.TimeSeries.Interval.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
CalculateStatsResponse.TimeSeries.Interval.Builder

clone()

public CalculateStatsResponse.TimeSeries.Interval.Builder clone()
Returns
TypeDescription
CalculateStatsResponse.TimeSeries.Interval.Builder
Overrides

getConversationCount()

public int getConversationCount()

The number of conversations created in this interval.

int32 conversation_count = 2;

Returns
TypeDescription
int

The conversationCount.

getDefaultInstanceForType()

public CalculateStatsResponse.TimeSeries.Interval getDefaultInstanceForType()
Returns
TypeDescription
CalculateStatsResponse.TimeSeries.Interval

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getStartTime()

public Timestamp getStartTime()

The start time of this interval.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

The start time of this interval.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The start time of this interval.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
TimestampOrBuilder

hasStartTime()

public boolean hasStartTime()

The start time of this interval.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CalculateStatsResponse.TimeSeries.Interval other)

public CalculateStatsResponse.TimeSeries.Interval.Builder mergeFrom(CalculateStatsResponse.TimeSeries.Interval other)
Parameter
NameDescription
otherCalculateStatsResponse.TimeSeries.Interval
Returns
TypeDescription
CalculateStatsResponse.TimeSeries.Interval.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CalculateStatsResponse.TimeSeries.Interval.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
CalculateStatsResponse.TimeSeries.Interval.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CalculateStatsResponse.TimeSeries.Interval.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueint

The conversationCount to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
CalculateStatsResponse.TimeSeries.Interval.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final CalculateStatsResponse.TimeSeries.Interval.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CalculateStatsResponse.TimeSeries.Interval.Builder
Overrides