Class CalculateStatsRequest (2.27.0)

public final class CalculateStatsRequest extends GeneratedMessageV3 implements CalculateStatsRequestOrBuilder

The request for calculating conversation statistics.

Protobuf type google.cloud.contactcenterinsights.v1.CalculateStatsRequest

Static Fields

FILTER_FIELD_NUMBER

public static final int FILTER_FIELD_NUMBER
Field Value
TypeDescription
int

LOCATION_FIELD_NUMBER

public static final int LOCATION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CalculateStatsRequest getDefaultInstance()
Returns
TypeDescription
CalculateStatsRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CalculateStatsRequest.Builder newBuilder()
Returns
TypeDescription
CalculateStatsRequest.Builder

newBuilder(CalculateStatsRequest prototype)

public static CalculateStatsRequest.Builder newBuilder(CalculateStatsRequest prototype)
Parameter
NameDescription
prototypeCalculateStatsRequest
Returns
TypeDescription
CalculateStatsRequest.Builder

parseDelimitedFrom(InputStream input)

public static CalculateStatsRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CalculateStatsRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CalculateStatsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CalculateStatsRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CalculateStatsRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CalculateStatsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CalculateStatsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CalculateStatsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CalculateStatsRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CalculateStatsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CalculateStatsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CalculateStatsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CalculateStatsRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CalculateStatsRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CalculateStatsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CalculateStatsRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CalculateStatsRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CalculateStatsRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CalculateStatsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CalculateStatsRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CalculateStatsRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CalculateStatsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CalculateStatsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CalculateStatsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CalculateStatsRequest> parser()
Returns
TypeDescription
Parser<CalculateStatsRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public CalculateStatsRequest getDefaultInstanceForType()
Returns
TypeDescription
CalculateStatsRequest

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.

getParserForType()

public Parser<CalculateStatsRequest> getParserForType()
Returns
TypeDescription
Parser<CalculateStatsRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CalculateStatsRequest.Builder newBuilderForType()
Returns
TypeDescription
CalculateStatsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CalculateStatsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CalculateStatsRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CalculateStatsRequest.Builder toBuilder()
Returns
TypeDescription
CalculateStatsRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException