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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public CalculateStatsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CalculateStatsRequest build()
Returns
public CalculateStatsRequest buildPartial()
Returns
public CalculateStatsRequest.Builder clear()
Returns
Overrides
public CalculateStatsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
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
public CalculateStatsRequest.Builder clearLocation()
Required. The location of the conversations.
string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public CalculateStatsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public CalculateStatsRequest.Builder clone()
Returns
Overrides
public CalculateStatsRequest getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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.
|
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
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.
|
public ByteString getLocationBytes()
Required. The location of the conversations.
string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public CalculateStatsRequest.Builder mergeFrom(CalculateStatsRequest other)
Parameter
Returns
public CalculateStatsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public CalculateStatsRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final CalculateStatsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public CalculateStatsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
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
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
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
public CalculateStatsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final CalculateStatsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides