Class ListTestCasesResponse (0.52.0)

public final class ListTestCasesResponse extends GeneratedMessageV3 implements ListTestCasesResponseOrBuilder

The response message for TestCases.ListTestCases.

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

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

TEST_CASES_FIELD_NUMBER

public static final int TEST_CASES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListTestCasesResponse getDefaultInstance()
Returns
TypeDescription
ListTestCasesResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListTestCasesResponse prototype)

public static ListTestCasesResponse.Builder newBuilder(ListTestCasesResponse prototype)
Parameter
NameDescription
prototypeListTestCasesResponse
Returns
TypeDescription
ListTestCasesResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListTestCasesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListTestCasesResponse

getNextPageToken()

public String getNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTestCases(int index)

public TestCase getTestCases(int index)

The list of test cases. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3beta1.TestCase test_cases = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
TestCase

getTestCasesCount()

public int getTestCasesCount()

The list of test cases. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3beta1.TestCase test_cases = 1;

Returns
TypeDescription
int

getTestCasesList()

public List<TestCase> getTestCasesList()

The list of test cases. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3beta1.TestCase test_cases = 1;

Returns
TypeDescription
List<TestCase>

getTestCasesOrBuilder(int index)

public TestCaseOrBuilder getTestCasesOrBuilder(int index)

The list of test cases. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3beta1.TestCase test_cases = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
TestCaseOrBuilder

getTestCasesOrBuilderList()

public List<? extends TestCaseOrBuilder> getTestCasesOrBuilderList()

The list of test cases. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3beta1.TestCase test_cases = 1;

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.cx.v3beta1.TestCaseOrBuilder>

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 ListTestCasesResponse.Builder newBuilderForType()
Returns
TypeDescription
ListTestCasesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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