Class TestDefinition.Test

public static final class TestDefinition.Test extends GeneratedMessageV3 implements TestDefinition.TestOrBuilder

A Test describes a single client method call and its expected result.

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

Inheritance

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

Fields

COMMENT_FIELD_NUMBER

public static final int COMMENT_FIELD_NUMBER
Field Value
TypeDescription
int

CREATE_FIELD_NUMBER

public static final int CREATE_FIELD_NUMBER
Field Value
TypeDescription
int

DELETE_FIELD_NUMBER

public static final int DELETE_FIELD_NUMBER
Field Value
TypeDescription
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

GET_FIELD_NUMBER

public static final int GET_FIELD_NUMBER
Field Value
TypeDescription
int

LISTEN_FIELD_NUMBER

public static final int LISTEN_FIELD_NUMBER
Field Value
TypeDescription
int

QUERY_FIELD_NUMBER

public static final int QUERY_FIELD_NUMBER
Field Value
TypeDescription
int

SET_FIELD_NUMBER

public static final int SET_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_FIELD_NUMBER

public static final int UPDATE_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_PATHS_FIELD_NUMBER

public static final int UPDATE_PATHS_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)

getComment()

public String getComment()

a comment describing the behavior being tested

string comment = 10;

Returns
TypeDescription
java.lang.String

The comment.

getCommentBytes()

public ByteString getCommentBytes()

a comment describing the behavior being tested

string comment = 10;

Returns
TypeDescription
com.google.protobuf.ByteString

The bytes for comment.

getCreate()

public TestDefinition.CreateTest getCreate()

.google.cloud.conformance.firestore.v1.CreateTest create = 3;

Returns
TypeDescription
TestDefinition.CreateTest

The create.

getCreateOrBuilder()

public TestDefinition.CreateTestOrBuilder getCreateOrBuilder()

.google.cloud.conformance.firestore.v1.CreateTest create = 3;

Returns
TypeDescription
TestDefinition.CreateTestOrBuilder

getDefaultInstance()

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

getDefaultInstanceForType()

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

getDelete()

public TestDefinition.DeleteTest getDelete()

.google.cloud.conformance.firestore.v1.DeleteTest delete = 7;

Returns
TypeDescription
TestDefinition.DeleteTest

The delete.

getDeleteOrBuilder()

public TestDefinition.DeleteTestOrBuilder getDeleteOrBuilder()

.google.cloud.conformance.firestore.v1.DeleteTest delete = 7;

Returns
TypeDescription
TestDefinition.DeleteTestOrBuilder

getDescription()

public String getDescription()

short description of the test

string description = 1;

Returns
TypeDescription
java.lang.String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

short description of the test

string description = 1;

Returns
TypeDescription
com.google.protobuf.ByteString

The bytes for description.

getDescriptor()

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

getGet()

public TestDefinition.GetTest getGet()

.google.cloud.conformance.firestore.v1.GetTest get = 2;

Returns
TypeDescription
TestDefinition.GetTest

The get.

getGetOrBuilder()

public TestDefinition.GetTestOrBuilder getGetOrBuilder()

.google.cloud.conformance.firestore.v1.GetTest get = 2;

Returns
TypeDescription
TestDefinition.GetTestOrBuilder

getListen()

public TestDefinition.ListenTest getListen()

.google.cloud.conformance.firestore.v1.ListenTest listen = 9;

Returns
TypeDescription
TestDefinition.ListenTest

The listen.

getListenOrBuilder()

public TestDefinition.ListenTestOrBuilder getListenOrBuilder()

.google.cloud.conformance.firestore.v1.ListenTest listen = 9;

Returns
TypeDescription
TestDefinition.ListenTestOrBuilder

getParserForType()

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

getQuery()

public TestDefinition.QueryTest getQuery()

.google.cloud.conformance.firestore.v1.QueryTest query = 8;

Returns
TypeDescription
TestDefinition.QueryTest

The query.

getQueryOrBuilder()

public TestDefinition.QueryTestOrBuilder getQueryOrBuilder()

.google.cloud.conformance.firestore.v1.QueryTest query = 8;

Returns
TypeDescription
TestDefinition.QueryTestOrBuilder

getSerializedSize()

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

getSet()

public TestDefinition.SetTest getSet()

.google.cloud.conformance.firestore.v1.SetTest set = 4;

Returns
TypeDescription
TestDefinition.SetTest

The set.

getSetOrBuilder()

public TestDefinition.SetTestOrBuilder getSetOrBuilder()

.google.cloud.conformance.firestore.v1.SetTest set = 4;

Returns
TypeDescription
TestDefinition.SetTestOrBuilder

getTestCase()

public TestDefinition.Test.TestCase getTestCase()
Returns
TypeDescription
TestDefinition.Test.TestCase

getUnknownFields()

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

getUpdate()

public TestDefinition.UpdateTest getUpdate()

.google.cloud.conformance.firestore.v1.UpdateTest update = 5;

Returns
TypeDescription
TestDefinition.UpdateTest

The update.

getUpdateOrBuilder()

public TestDefinition.UpdateTestOrBuilder getUpdateOrBuilder()

.google.cloud.conformance.firestore.v1.UpdateTest update = 5;

Returns
TypeDescription
TestDefinition.UpdateTestOrBuilder

getUpdatePaths()

public TestDefinition.UpdatePathsTest getUpdatePaths()

.google.cloud.conformance.firestore.v1.UpdatePathsTest update_paths = 6;

Returns
TypeDescription
TestDefinition.UpdatePathsTest

The updatePaths.

getUpdatePathsOrBuilder()

public TestDefinition.UpdatePathsTestOrBuilder getUpdatePathsOrBuilder()

.google.cloud.conformance.firestore.v1.UpdatePathsTest update_paths = 6;

Returns
TypeDescription
TestDefinition.UpdatePathsTestOrBuilder

hasCreate()

public boolean hasCreate()

.google.cloud.conformance.firestore.v1.CreateTest create = 3;

Returns
TypeDescription
boolean

Whether the create field is set.

hasDelete()

public boolean hasDelete()

.google.cloud.conformance.firestore.v1.DeleteTest delete = 7;

Returns
TypeDescription
boolean

Whether the delete field is set.

hasGet()

public boolean hasGet()

.google.cloud.conformance.firestore.v1.GetTest get = 2;

Returns
TypeDescription
boolean

Whether the get field is set.

hasListen()

public boolean hasListen()

.google.cloud.conformance.firestore.v1.ListenTest listen = 9;

Returns
TypeDescription
boolean

Whether the listen field is set.

hasQuery()

public boolean hasQuery()

.google.cloud.conformance.firestore.v1.QueryTest query = 8;

Returns
TypeDescription
boolean

Whether the query field is set.

hasSet()

public boolean hasSet()

.google.cloud.conformance.firestore.v1.SetTest set = 4;

Returns
TypeDescription
boolean

Whether the set field is set.

hasUpdate()

public boolean hasUpdate()

.google.cloud.conformance.firestore.v1.UpdateTest update = 5;

Returns
TypeDescription
boolean

Whether the update field is set.

hasUpdatePaths()

public boolean hasUpdatePaths()

.google.cloud.conformance.firestore.v1.UpdatePathsTest update_paths = 6;

Returns
TypeDescription
boolean

Whether the updatePaths 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.Test.Builder newBuilder()
Returns
TypeDescription
TestDefinition.Test.Builder

newBuilder(TestDefinition.Test prototype)

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

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TestDefinition.Test.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentcom.google.protobuf.GeneratedMessageV3.BuilderParent
Returns
TypeDescription
TestDefinition.Test.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.Test parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputjava.io.InputStream
Returns
TypeDescription
TestDefinition.Test
Exceptions
TypeDescription
java.io.IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

toBuilder()

public TestDefinition.Test.Builder toBuilder()
Returns
TypeDescription
TestDefinition.Test.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