Class CalculateStatsRequest.Builder (2.3.10)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CalculateStatsRequest build()
Returns
TypeDescription
CalculateStatsRequest

buildPartial()

public CalculateStatsRequest buildPartial()
Returns
TypeDescription
CalculateStatsRequest

clear()

public CalculateStatsRequest.Builder clear()
Returns
TypeDescription
CalculateStatsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CalculateStatsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CalculateStatsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public CalculateStatsRequest.Builder clone()
Returns
TypeDescription
CalculateStatsRequest.Builder
Overrides

getDefaultInstanceForType()

public CalculateStatsRequest getDefaultInstanceForType()
Returns
TypeDescription
CalculateStatsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for location.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CalculateStatsRequest other)

public CalculateStatsRequest.Builder mergeFrom(CalculateStatsRequest other)
Parameter
NameDescription
otherCalculateStatsRequest
Returns
TypeDescription
CalculateStatsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CalculateStatsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CalculateStatsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CalculateStatsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The filter to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for filter to set.

Returns
TypeDescription
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
NameDescription
valueString

The location to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for location to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CalculateStatsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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