Class CalculateStatsRequest.Builder (2.44.0)

public static final class CalculateStatsRequest.Builder extends GeneratedMessageV3.Builder<CalculateStatsRequest.Builder> implements CalculateStatsRequestOrBuilder

The request for calculating conversation statistics.

Protobuf type google.cloud.contactcenterinsights.v1.CalculateStatsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CalculateStatsRequest build()
Returns
Type Description
CalculateStatsRequest

buildPartial()

public CalculateStatsRequest buildPartial()
Returns
Type Description
CalculateStatsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFilter()

public CalculateStatsRequest.Builder clearFilter()

A filter to reduce results to a specific subset. This field is useful for getting statistics about conversations with specific properties.

string filter = 2;

Returns
Type Description
CalculateStatsRequest.Builder

This builder for chaining.

clearLocation()

public CalculateStatsRequest.Builder clearLocation()

Required. The location of the conversations.

string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CalculateStatsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public CalculateStatsRequest getDefaultInstanceForType()
Returns
Type Description
CalculateStatsRequest

getDescriptorForType()

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

getFilter()

public String getFilter()

A filter to reduce results to a specific subset. This field is useful for getting statistics about conversations with specific properties.

string filter = 2;

Returns
Type Description
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

A filter to reduce results to a specific subset. This field is useful for getting statistics about conversations with specific properties.

string filter = 2;

Returns
Type Description
ByteString

The bytes for filter.

getLocation()

public String getLocation()

Required. The location of the conversations.

string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

Required. The location of the conversations.

string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for location.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CalculateStatsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFilter(String value)

public CalculateStatsRequest.Builder setFilter(String value)

A filter to reduce results to a specific subset. This field is useful for getting statistics about conversations with specific properties.

string filter = 2;

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
CalculateStatsRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public CalculateStatsRequest.Builder setFilterBytes(ByteString value)

A filter to reduce results to a specific subset. This field is useful for getting statistics about conversations with specific properties.

string filter = 2;

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
CalculateStatsRequest.Builder

This builder for chaining.

setLocation(String value)

public CalculateStatsRequest.Builder setLocation(String value)

Required. The location of the conversations.

string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The location to set.

Returns
Type Description
CalculateStatsRequest.Builder

This builder for chaining.

setLocationBytes(ByteString value)

public CalculateStatsRequest.Builder setLocationBytes(ByteString value)

Required. The location of the conversations.

string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for location to set.

Returns
Type Description
CalculateStatsRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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