Class CalculateCoverageRequest (0.14.2)

public final class CalculateCoverageRequest extends GeneratedMessageV3 implements CalculateCoverageRequestOrBuilder

The request message for TestCases.CalculateCoverage.

Protobuf type google.cloud.dialogflow.cx.v3beta1.CalculateCoverageRequest

Static Fields

AGENT_FIELD_NUMBER

public static final int AGENT_FIELD_NUMBER
Field Value
TypeDescription
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CalculateCoverageRequest getDefaultInstance()
Returns
TypeDescription
CalculateCoverageRequest

getDescriptor()

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

newBuilder()

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

newBuilder(CalculateCoverageRequest prototype)

public static CalculateCoverageRequest.Builder newBuilder(CalculateCoverageRequest prototype)
Parameter
NameDescription
prototypeCalculateCoverageRequest
Returns
TypeDescription
CalculateCoverageRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAgent()

public String getAgent()

Required. The agent to calculate coverage for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

string agent = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The agent.

getAgentBytes()

public ByteString getAgentBytes()

Required. The agent to calculate coverage for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

string agent = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for agent.

getDefaultInstanceForType()

public CalculateCoverageRequest getDefaultInstanceForType()
Returns
TypeDescription
CalculateCoverageRequest

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getType()

public CalculateCoverageRequest.CoverageType getType()

Required. The type of coverage requested.

.google.cloud.dialogflow.cx.v3beta1.CalculateCoverageRequest.CoverageType type = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CalculateCoverageRequest.CoverageType

The type.

getTypeValue()

public int getTypeValue()

Required. The type of coverage requested.

.google.cloud.dialogflow.cx.v3beta1.CalculateCoverageRequest.CoverageType type = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The enum numeric value on the wire for type.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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 CalculateCoverageRequest.Builder newBuilderForType()
Returns
TypeDescription
CalculateCoverageRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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