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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public CalculateStatsResponse.TimeSeries.Interval.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CalculateStatsResponse.TimeSeries.Interval build()
Returns
public CalculateStatsResponse.TimeSeries.Interval buildPartial()
Returns
public CalculateStatsResponse.TimeSeries.Interval.Builder clear()
Returns
Overrides
public CalculateStatsResponse.TimeSeries.Interval.Builder clearConversationCount()
The number of conversations created in this interval.
int32 conversation_count = 2;
Returns
public CalculateStatsResponse.TimeSeries.Interval.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public CalculateStatsResponse.TimeSeries.Interval.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public CalculateStatsResponse.TimeSeries.Interval.Builder clearStartTime()
The start time of this interval.
.google.protobuf.Timestamp start_time = 1;
Returns
public CalculateStatsResponse.TimeSeries.Interval.Builder clone()
Returns
Overrides
public int getConversationCount()
The number of conversations created in this interval.
int32 conversation_count = 2;
Returns
Type | Description |
int | The conversationCount.
|
public CalculateStatsResponse.TimeSeries.Interval getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public Timestamp getStartTime()
The start time of this interval.
.google.protobuf.Timestamp start_time = 1;
Returns
public Timestamp.Builder getStartTimeBuilder()
The start time of this interval.
.google.protobuf.Timestamp start_time = 1;
Returns
public TimestampOrBuilder getStartTimeOrBuilder()
The start time of this interval.
.google.protobuf.Timestamp start_time = 1;
Returns
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public CalculateStatsResponse.TimeSeries.Interval.Builder mergeFrom(CalculateStatsResponse.TimeSeries.Interval other)
Parameter
Returns
public CalculateStatsResponse.TimeSeries.Interval.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public CalculateStatsResponse.TimeSeries.Interval.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public CalculateStatsResponse.TimeSeries.Interval.Builder mergeStartTime(Timestamp value)
The start time of this interval.
.google.protobuf.Timestamp start_time = 1;
Parameter
Returns
public final CalculateStatsResponse.TimeSeries.Interval.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
public CalculateStatsResponse.TimeSeries.Interval.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CalculateStatsResponse.TimeSeries.Interval.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public CalculateStatsResponse.TimeSeries.Interval.Builder setStartTime(Timestamp value)
The start time of this interval.
.google.protobuf.Timestamp start_time = 1;
Parameter
Returns
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
public final CalculateStatsResponse.TimeSeries.Interval.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides