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
Inherited Members
com.google.protobuf.AbstractMessage.equals(java.lang.Object)
com.google.protobuf.AbstractMessage.findInitializationErrors()
com.google.protobuf.AbstractMessage.getInitializationErrorString()
com.google.protobuf.AbstractMessage.hashBoolean(boolean)
com.google.protobuf.AbstractMessage.hashCode()
com.google.protobuf.AbstractMessage.hashEnum(com.google.protobuf.Internal.EnumLite)
com.google.protobuf.AbstractMessage.hashEnumList(java.util.List<? extends com.google.protobuf.Internal.EnumLite>)
com.google.protobuf.AbstractMessage.hashFields(int,java.util.Map<com.google.protobuf.Descriptors.FieldDescriptor,java.lang.Object>)
com.google.protobuf.AbstractMessage.hashLong(long)
com.google.protobuf.AbstractMessage.toString()
com.google.protobuf.AbstractMessageLite.<T>addAll(java.lang.Iterable<T>,java.util.Collection<? super T>)
com.google.protobuf.AbstractMessageLite.<T>addAll(java.lang.Iterable<T>,java.util.List<? super T>)
com.google.protobuf.AbstractMessageLite.checkByteStringIsUtf8(com.google.protobuf.ByteString)
com.google.protobuf.AbstractMessageLite.toByteArray()
com.google.protobuf.AbstractMessageLite.toByteString()
com.google.protobuf.AbstractMessageLite.writeDelimitedTo(java.io.OutputStream)
com.google.protobuf.AbstractMessageLite.writeTo(java.io.OutputStream)
com.google.protobuf.GeneratedMessageV3.<M>parseDelimitedWithIOException(com.google.protobuf.Parser<M>,java.io.InputStream)
com.google.protobuf.GeneratedMessageV3.<M>parseDelimitedWithIOException(com.google.protobuf.Parser<M>,java.io.InputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessageV3.<M>parseWithIOException(com.google.protobuf.Parser<M>,com.google.protobuf.CodedInputStream)
com.google.protobuf.GeneratedMessageV3.<M>parseWithIOException(com.google.protobuf.Parser<M>,com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessageV3.<M>parseWithIOException(com.google.protobuf.Parser<M>,java.io.InputStream)
com.google.protobuf.GeneratedMessageV3.<M>parseWithIOException(com.google.protobuf.Parser<M>,java.io.InputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessageV3.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessageV3.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessageV3.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessageV3.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessageV3.canUseUnsafe()
com.google.protobuf.GeneratedMessageV3.computeStringSize(int,java.lang.Object)
com.google.protobuf.GeneratedMessageV3.computeStringSizeNoTag(java.lang.Object)
com.google.protobuf.GeneratedMessageV3.emptyBooleanList()
com.google.protobuf.GeneratedMessageV3.emptyDoubleList()
com.google.protobuf.GeneratedMessageV3.emptyFloatList()
com.google.protobuf.GeneratedMessageV3.emptyIntList()
com.google.protobuf.GeneratedMessageV3.emptyLongList()
com.google.protobuf.GeneratedMessageV3.getAllFields()
com.google.protobuf.GeneratedMessageV3.getDescriptorForType()
com.google.protobuf.GeneratedMessageV3.getField(com.google.protobuf.Descriptors.FieldDescriptor)
com.google.protobuf.GeneratedMessageV3.getOneofFieldDescriptor(com.google.protobuf.Descriptors.OneofDescriptor)
com.google.protobuf.GeneratedMessageV3.getParserForType()
com.google.protobuf.GeneratedMessageV3.getRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor,int)
com.google.protobuf.GeneratedMessageV3.getRepeatedFieldCount(com.google.protobuf.Descriptors.FieldDescriptor)
com.google.protobuf.GeneratedMessageV3.getSerializedSize()
com.google.protobuf.GeneratedMessageV3.getUnknownFields()
com.google.protobuf.GeneratedMessageV3.hasField(com.google.protobuf.Descriptors.FieldDescriptor)
com.google.protobuf.GeneratedMessageV3.hasOneof(com.google.protobuf.Descriptors.OneofDescriptor)
com.google.protobuf.GeneratedMessageV3.internalGetFieldAccessorTable()
com.google.protobuf.GeneratedMessageV3.internalGetMapField(int)
com.google.protobuf.GeneratedMessageV3.isInitialized()
com.google.protobuf.GeneratedMessageV3.makeExtensionsImmutable()
com.google.protobuf.GeneratedMessageV3.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessageV3.mutableCopy(com.google.protobuf.Internal.BooleanList)
com.google.protobuf.GeneratedMessageV3.mutableCopy(com.google.protobuf.Internal.DoubleList)
com.google.protobuf.GeneratedMessageV3.mutableCopy(com.google.protobuf.Internal.FloatList)
com.google.protobuf.GeneratedMessageV3.mutableCopy(com.google.protobuf.Internal.IntList)
com.google.protobuf.GeneratedMessageV3.mutableCopy(com.google.protobuf.Internal.LongList)
com.google.protobuf.GeneratedMessageV3.newBooleanList()
com.google.protobuf.GeneratedMessageV3.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent)
com.google.protobuf.GeneratedMessageV3.newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent)
com.google.protobuf.GeneratedMessageV3.newDoubleList()
com.google.protobuf.GeneratedMessageV3.newFloatList()
com.google.protobuf.GeneratedMessageV3.newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessageV3.newIntList()
com.google.protobuf.GeneratedMessageV3.newLongList()
com.google.protobuf.GeneratedMessageV3.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.writeReplace()
com.google.protobuf.GeneratedMessageV3.writeString(com.google.protobuf.CodedOutputStream,int,java.lang.Object)
com.google.protobuf.GeneratedMessageV3.writeStringNoTag(com.google.protobuf.CodedOutputStream,java.lang.Object)
com.google.protobuf.GeneratedMessageV3.writeTo(com.google.protobuf.CodedOutputStream)
java.lang.Object.clone()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)
Fields
public static final int COMMENT_FIELD_NUMBER
Field Value
public static final int CREATE_FIELD_NUMBER
Field Value
public static final int DELETE_FIELD_NUMBER
Field Value
public static final int DESCRIPTION_FIELD_NUMBER
Field Value
public static final int GET_FIELD_NUMBER
Field Value
public static final int LISTEN_FIELD_NUMBER
Field Value
public static final int QUERY_FIELD_NUMBER
Field Value
public static final int SET_FIELD_NUMBER
Field Value
public static final int UPDATE_FIELD_NUMBER
Field Value
public static final int UPDATE_PATHS_FIELD_NUMBER
Field Value
Methods
public boolean equals(Object obj)
Parameter
Name | Description |
obj | java.lang.Object
|
Returns
Overrides
com.google.protobuf.AbstractMessage.equals(java.lang.Object)
public String getComment()
a comment describing the behavior being tested
string comment = 10;
Returns
Type | Description |
java.lang.String | The comment.
|
public ByteString getCommentBytes()
a comment describing the behavior being tested
string comment = 10;
Returns
Type | Description |
com.google.protobuf.ByteString | The bytes for comment.
|
public TestDefinition.CreateTest getCreate()
.google.cloud.conformance.firestore.v1.CreateTest create = 3;
Returns
public TestDefinition.CreateTestOrBuilder getCreateOrBuilder()
.google.cloud.conformance.firestore.v1.CreateTest create = 3;
Returns
public static TestDefinition.Test getDefaultInstance()
Returns
public TestDefinition.Test getDefaultInstanceForType()
Returns
public TestDefinition.DeleteTest getDelete()
.google.cloud.conformance.firestore.v1.DeleteTest delete = 7;
Returns
public TestDefinition.DeleteTestOrBuilder getDeleteOrBuilder()
.google.cloud.conformance.firestore.v1.DeleteTest delete = 7;
Returns
public String getDescription()
short description of the test
string description = 1;
Returns
Type | Description |
java.lang.String | The description.
|
public ByteString getDescriptionBytes()
short description of the test
string description = 1;
Returns
Type | Description |
com.google.protobuf.ByteString | The bytes for description.
|
public static final Descriptors.Descriptor getDescriptor()
Returns
Type | Description |
com.google.protobuf.Descriptors.Descriptor | |
public TestDefinition.GetTest getGet()
.google.cloud.conformance.firestore.v1.GetTest get = 2;
Returns
public TestDefinition.GetTestOrBuilder getGetOrBuilder()
.google.cloud.conformance.firestore.v1.GetTest get = 2;
Returns
public TestDefinition.ListenTest getListen()
.google.cloud.conformance.firestore.v1.ListenTest listen = 9;
Returns
public TestDefinition.ListenTestOrBuilder getListenOrBuilder()
.google.cloud.conformance.firestore.v1.ListenTest listen = 9;
Returns
public Parser<TestDefinition.Test> getParserForType()
Returns
Type | Description |
com.google.protobuf.Parser<Test> | |
Overrides
com.google.protobuf.GeneratedMessageV3.getParserForType()
public TestDefinition.QueryTest getQuery()
.google.cloud.conformance.firestore.v1.QueryTest query = 8;
Returns
public TestDefinition.QueryTestOrBuilder getQueryOrBuilder()
.google.cloud.conformance.firestore.v1.QueryTest query = 8;
Returns
public int getSerializedSize()
Returns
Overrides
com.google.protobuf.GeneratedMessageV3.getSerializedSize()
public TestDefinition.SetTest getSet()
.google.cloud.conformance.firestore.v1.SetTest set = 4;
Returns
public TestDefinition.SetTestOrBuilder getSetOrBuilder()
.google.cloud.conformance.firestore.v1.SetTest set = 4;
Returns
public TestDefinition.Test.TestCase getTestCase()
Returns
public final UnknownFieldSet getUnknownFields()
Returns
Type | Description |
com.google.protobuf.UnknownFieldSet | |
Overrides
com.google.protobuf.GeneratedMessageV3.getUnknownFields()
public TestDefinition.UpdateTest getUpdate()
.google.cloud.conformance.firestore.v1.UpdateTest update = 5;
Returns
public TestDefinition.UpdateTestOrBuilder getUpdateOrBuilder()
.google.cloud.conformance.firestore.v1.UpdateTest update = 5;
Returns
public TestDefinition.UpdatePathsTest getUpdatePaths()
.google.cloud.conformance.firestore.v1.UpdatePathsTest update_paths = 6;
Returns
public TestDefinition.UpdatePathsTestOrBuilder getUpdatePathsOrBuilder()
.google.cloud.conformance.firestore.v1.UpdatePathsTest update_paths = 6;
Returns
public boolean hasCreate()
.google.cloud.conformance.firestore.v1.CreateTest create = 3;
Returns
Type | Description |
boolean | Whether the create field is set.
|
public boolean hasDelete()
.google.cloud.conformance.firestore.v1.DeleteTest delete = 7;
Returns
Type | Description |
boolean | Whether the delete field is set.
|
.google.cloud.conformance.firestore.v1.GetTest get = 2;
Returns
Type | Description |
boolean | Whether the get field is set.
|
public boolean hasListen()
.google.cloud.conformance.firestore.v1.ListenTest listen = 9;
Returns
Type | Description |
boolean | Whether the listen field is set.
|
public boolean hasQuery()
.google.cloud.conformance.firestore.v1.QueryTest query = 8;
Returns
Type | Description |
boolean | Whether the query field is set.
|
.google.cloud.conformance.firestore.v1.SetTest set = 4;
Returns
Type | Description |
boolean | Whether the set field is set.
|
public boolean hasUpdate()
.google.cloud.conformance.firestore.v1.UpdateTest update = 5;
Returns
Type | Description |
boolean | Whether the update field is set.
|
public boolean hasUpdatePaths()
.google.cloud.conformance.firestore.v1.UpdatePathsTest update_paths = 6;
Returns
Type | Description |
boolean | Whether the updatePaths field is set.
|
Returns
Overrides
com.google.protobuf.AbstractMessage.hashCode()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type | Description |
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable | |
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetFieldAccessorTable()
public final boolean isInitialized()
Returns
Overrides
com.google.protobuf.GeneratedMessageV3.isInitialized()
public static TestDefinition.Test.Builder newBuilder()
Returns
public static TestDefinition.Test.Builder newBuilder(TestDefinition.Test prototype)
Parameter
Returns
public TestDefinition.Test.Builder newBuilderForType()
Returns
protected TestDefinition.Test.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name | Description |
parent | com.google.protobuf.GeneratedMessageV3.BuilderParent
|
Returns
Overrides
com.google.protobuf.GeneratedMessageV3.newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name | Description |
unused | com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
|
Returns
Type | Description |
java.lang.Object | |
Overrides
com.google.protobuf.GeneratedMessageV3.newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter)
public static TestDefinition.Test parseDelimitedFrom(InputStream input)
Parameter
Name | Description |
input | java.io.InputStream
|
Returns
Exceptions
Type | Description |
java.io.IOException | |
public static TestDefinition.Test parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name | Description |
input | java.io.InputStream
|
extensionRegistry | com.google.protobuf.ExtensionRegistryLite
|
Returns
Exceptions
Type | Description |
java.io.IOException | |
public static TestDefinition.Test parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
Type | Description |
com.google.protobuf.InvalidProtocolBufferException | |
public static TestDefinition.Test parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name | Description |
data | byte[]
|
extensionRegistry | com.google.protobuf.ExtensionRegistryLite
|
Returns
Exceptions
Type | Description |
com.google.protobuf.InvalidProtocolBufferException | |
public static TestDefinition.Test parseFrom(ByteString data)
Parameter
Name | Description |
data | com.google.protobuf.ByteString
|
Returns
Exceptions
Type | Description |
com.google.protobuf.InvalidProtocolBufferException | |
public static TestDefinition.Test parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name | Description |
data | com.google.protobuf.ByteString
|
extensionRegistry | com.google.protobuf.ExtensionRegistryLite
|
Returns
Exceptions
Type | Description |
com.google.protobuf.InvalidProtocolBufferException | |
public static TestDefinition.Test parseFrom(CodedInputStream input)
Parameter
Name | Description |
input | com.google.protobuf.CodedInputStream
|
Returns
Exceptions
Type | Description |
java.io.IOException | |
public static TestDefinition.Test parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name | Description |
input | com.google.protobuf.CodedInputStream
|
extensionRegistry | com.google.protobuf.ExtensionRegistryLite
|
Returns
Exceptions
Type | Description |
java.io.IOException | |
public static TestDefinition.Test parseFrom(InputStream input)
Parameter
Name | Description |
input | java.io.InputStream
|
Returns
Exceptions
Type | Description |
java.io.IOException | |
public static TestDefinition.Test parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name | Description |
input | java.io.InputStream
|
extensionRegistry | com.google.protobuf.ExtensionRegistryLite
|
Returns
Exceptions
Type | Description |
java.io.IOException | |
public static TestDefinition.Test parseFrom(ByteBuffer data)
Parameter
Name | Description |
data | java.nio.ByteBuffer
|
Returns
Exceptions
Type | Description |
com.google.protobuf.InvalidProtocolBufferException | |
public static TestDefinition.Test parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name | Description |
data | java.nio.ByteBuffer
|
extensionRegistry | com.google.protobuf.ExtensionRegistryLite
|
Returns
Exceptions
Type | Description |
com.google.protobuf.InvalidProtocolBufferException | |
public static Parser<TestDefinition.Test> parser()
Returns
Type | Description |
com.google.protobuf.Parser<Test> | |
public TestDefinition.Test.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Name | Description |
output | com.google.protobuf.CodedOutputStream
|
Overrides
com.google.protobuf.GeneratedMessageV3.writeTo(com.google.protobuf.CodedOutputStream)
Exceptions
Type | Description |
java.io.IOException | |