Class TestDefinition.QueryTest

Stay organized with collections Save and categorize content based on your preferences.
public static final class TestDefinition.QueryTest extends GeneratedMessageV3 implements TestDefinition.QueryTestOrBuilder

Protobuf type google.cloud.conformance.firestore.v1.QueryTest

Inheritance

java.lang.Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > com.google.protobuf.GeneratedMessageV3 > TestDefinition.QueryTest

Fields

CLAUSES_FIELD_NUMBER

public static final int CLAUSES_FIELD_NUMBER
Field Value
TypeDescription
int

COLL_PATH_FIELD_NUMBER

public static final int COLL_PATH_FIELD_NUMBER
Field Value
TypeDescription
int

IS_ERROR_FIELD_NUMBER

public static final int IS_ERROR_FIELD_NUMBER
Field Value
TypeDescription
int

QUERY_FIELD_NUMBER

public static final int QUERY_FIELD_NUMBER
Field Value
TypeDescription
int

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objjava.lang.Object
Returns
TypeDescription
boolean
Overrides
com.google.protobuf.AbstractMessage.equals(java.lang.Object)

getClauses(int index)

public TestDefinition.Clause getClauses(int index)

repeated .google.cloud.conformance.firestore.v1.Clause clauses = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
TestDefinition.Clause

getClausesCount()

public int getClausesCount()

repeated .google.cloud.conformance.firestore.v1.Clause clauses = 2;

Returns
TypeDescription
int

getClausesList()

public List<TestDefinition.Clause> getClausesList()

repeated .google.cloud.conformance.firestore.v1.Clause clauses = 2;

Returns
TypeDescription
java.util.List<Clause>

getClausesOrBuilder(int index)

public TestDefinition.ClauseOrBuilder getClausesOrBuilder(int index)

repeated .google.cloud.conformance.firestore.v1.Clause clauses = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
TestDefinition.ClauseOrBuilder

getClausesOrBuilderList()

public List<? extends TestDefinition.ClauseOrBuilder> getClausesOrBuilderList()

repeated .google.cloud.conformance.firestore.v1.Clause clauses = 2;

Returns
TypeDescription
java.util.List<? extends com.google.cloud.conformance.firestore.v1.TestDefinition.ClauseOrBuilder>

getCollPath()

public String getCollPath()

path of collection, e.g. "projects/projectID/databases/(default)/documents/C"

string coll_path = 1;

Returns
TypeDescription
java.lang.String

The collPath.

getCollPathBytes()

public ByteString getCollPathBytes()

path of collection, e.g. "projects/projectID/databases/(default)/documents/C"

string coll_path = 1;

Returns
TypeDescription
com.google.protobuf.ByteString

The bytes for collPath.

getDefaultInstance()

public static TestDefinition.QueryTest getDefaultInstance()
Returns
TypeDescription
TestDefinition.QueryTest

getDefaultInstanceForType()

public TestDefinition.QueryTest getDefaultInstanceForType()
Returns
TypeDescription
TestDefinition.QueryTest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
com.google.protobuf.Descriptors.Descriptor

getIsError()

public boolean getIsError()

bool is_error = 4;

Returns
TypeDescription
boolean

The isError.

getParserForType()

public Parser<TestDefinition.QueryTest> getParserForType()
Returns
TypeDescription
com.google.protobuf.Parser<QueryTest>
Overrides
com.google.protobuf.GeneratedMessageV3.getParserForType()

getQuery()

public StructuredQuery getQuery()

.google.firestore.v1.StructuredQuery query = 3;

Returns
TypeDescription
com.google.firestore.v1.StructuredQuery

The query.

getQueryOrBuilder()

public StructuredQueryOrBuilder getQueryOrBuilder()

.google.firestore.v1.StructuredQuery query = 3;

Returns
TypeDescription
com.google.firestore.v1.StructuredQueryOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides
com.google.protobuf.GeneratedMessageV3.getSerializedSize()

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
com.google.protobuf.UnknownFieldSet
Overrides
com.google.protobuf.GeneratedMessageV3.getUnknownFields()

hasQuery()

public boolean hasQuery()

.google.firestore.v1.StructuredQuery query = 3;

Returns
TypeDescription
boolean

Whether the query field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides
com.google.protobuf.AbstractMessage.hashCode()

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetFieldAccessorTable()

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides
com.google.protobuf.GeneratedMessageV3.isInitialized()

newBuilder()

public static TestDefinition.QueryTest.Builder newBuilder()
Returns
TypeDescription
TestDefinition.QueryTest.Builder

newBuilder(TestDefinition.QueryTest prototype)

public static TestDefinition.QueryTest.Builder newBuilder(TestDefinition.QueryTest prototype)
Parameter
NameDescription
prototypeTestDefinition.QueryTest
Returns
TypeDescription
TestDefinition.QueryTest.Builder

newBuilderForType()

public TestDefinition.QueryTest.Builder newBuilderForType()
Returns
TypeDescription
TestDefinition.QueryTest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TestDefinition.QueryTest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentcom.google.protobuf.GeneratedMessageV3.BuilderParent
Returns
TypeDescription
TestDefinition.QueryTest.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent)

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedcom.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
Returns
TypeDescription
java.lang.Object
Overrides
com.google.protobuf.GeneratedMessageV3.newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter)

parseDelimitedFrom(InputStream input)

public static TestDefinition.QueryTest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputjava.io.InputStream
Returns
TypeDescription
TestDefinition.QueryTest
Exceptions
TypeDescription
java.io.IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TestDefinition.QueryTest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputjava.io.InputStream
extensionRegistrycom.google.protobuf.ExtensionRegistryLite
Returns
TypeDescription
TestDefinition.QueryTest
Exceptions
TypeDescription
java.io.IOException

parseFrom(byte[] data)

public static TestDefinition.QueryTest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
TestDefinition.QueryTest
Exceptions
TypeDescription
com.google.protobuf.InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TestDefinition.QueryTest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistrycom.google.protobuf.ExtensionRegistryLite
Returns
TypeDescription
TestDefinition.QueryTest
Exceptions
TypeDescription
com.google.protobuf.InvalidProtocolBufferException

parseFrom(ByteString data)

public static TestDefinition.QueryTest parseFrom(ByteString data)
Parameter
NameDescription
datacom.google.protobuf.ByteString
Returns
TypeDescription
TestDefinition.QueryTest
Exceptions
TypeDescription
com.google.protobuf.InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TestDefinition.QueryTest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
datacom.google.protobuf.ByteString
extensionRegistrycom.google.protobuf.ExtensionRegistryLite
Returns
TypeDescription
TestDefinition.QueryTest
Exceptions
TypeDescription
com.google.protobuf.InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TestDefinition.QueryTest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputcom.google.protobuf.CodedInputStream
Returns
TypeDescription
TestDefinition.QueryTest
Exceptions
TypeDescription
java.io.IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TestDefinition.QueryTest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputcom.google.protobuf.CodedInputStream
extensionRegistrycom.google.protobuf.ExtensionRegistryLite
Returns
TypeDescription
TestDefinition.QueryTest
Exceptions
TypeDescription
java.io.IOException

parseFrom(InputStream input)

public static TestDefinition.QueryTest parseFrom(InputStream input)
Parameter
NameDescription
inputjava.io.InputStream
Returns
TypeDescription
TestDefinition.QueryTest
Exceptions
TypeDescription
java.io.IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TestDefinition.QueryTest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputjava.io.InputStream
extensionRegistrycom.google.protobuf.ExtensionRegistryLite
Returns
TypeDescription
TestDefinition.QueryTest
Exceptions
TypeDescription
java.io.IOException

parseFrom(ByteBuffer data)

public static TestDefinition.QueryTest parseFrom(ByteBuffer data)
Parameter
NameDescription
datajava.nio.ByteBuffer
Returns
TypeDescription
TestDefinition.QueryTest
Exceptions
TypeDescription
com.google.protobuf.InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TestDefinition.QueryTest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
datajava.nio.ByteBuffer
extensionRegistrycom.google.protobuf.ExtensionRegistryLite
Returns
TypeDescription
TestDefinition.QueryTest
Exceptions
TypeDescription
com.google.protobuf.InvalidProtocolBufferException

parser()

public static Parser<TestDefinition.QueryTest> parser()
Returns
TypeDescription
com.google.protobuf.Parser<QueryTest>

toBuilder()

public TestDefinition.QueryTest.Builder toBuilder()
Returns
TypeDescription
TestDefinition.QueryTest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputcom.google.protobuf.CodedOutputStream
Overrides
com.google.protobuf.GeneratedMessageV3.writeTo(com.google.protobuf.CodedOutputStream)
Exceptions
TypeDescription
java.io.IOException