Class TestDefinition.Snapshot

public static final class TestDefinition.Snapshot extends GeneratedMessageV3 implements TestDefinition.SnapshotOrBuilder

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

Inheritance

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

Fields

CHANGES_FIELD_NUMBER

public static final int CHANGES_FIELD_NUMBER
Field Value
TypeDescription
int

DOCS_FIELD_NUMBER

public static final int DOCS_FIELD_NUMBER
Field Value
TypeDescription
int

READ_TIME_FIELD_NUMBER

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

getChanges(int index)

public TestDefinition.DocChange getChanges(int index)

repeated .google.cloud.conformance.firestore.v1.DocChange changes = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
TestDefinition.DocChange

getChangesCount()

public int getChangesCount()

repeated .google.cloud.conformance.firestore.v1.DocChange changes = 2;

Returns
TypeDescription
int

getChangesList()

public List<TestDefinition.DocChange> getChangesList()

repeated .google.cloud.conformance.firestore.v1.DocChange changes = 2;

Returns
TypeDescription
java.util.List<DocChange>

getChangesOrBuilder(int index)

public TestDefinition.DocChangeOrBuilder getChangesOrBuilder(int index)

repeated .google.cloud.conformance.firestore.v1.DocChange changes = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
TestDefinition.DocChangeOrBuilder

getChangesOrBuilderList()

public List<? extends TestDefinition.DocChangeOrBuilder> getChangesOrBuilderList()

repeated .google.cloud.conformance.firestore.v1.DocChange changes = 2;

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

getDefaultInstance()

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

getDefaultInstanceForType()

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

getDescriptor()

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

getDocs(int index)

public Document getDocs(int index)

repeated .google.firestore.v1.Document docs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
com.google.firestore.v1.Document

getDocsCount()

public int getDocsCount()

repeated .google.firestore.v1.Document docs = 1;

Returns
TypeDescription
int

getDocsList()

public List<Document> getDocsList()

repeated .google.firestore.v1.Document docs = 1;

Returns
TypeDescription
java.util.List<com.google.firestore.v1.Document>

getDocsOrBuilder(int index)

public DocumentOrBuilder getDocsOrBuilder(int index)

repeated .google.firestore.v1.Document docs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
com.google.firestore.v1.DocumentOrBuilder

getDocsOrBuilderList()

public List<? extends DocumentOrBuilder> getDocsOrBuilderList()

repeated .google.firestore.v1.Document docs = 1;

Returns
TypeDescription
java.util.List<? extends com.google.firestore.v1.DocumentOrBuilder>

getParserForType()

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

getReadTime()

public Timestamp getReadTime()

.google.protobuf.Timestamp read_time = 3;

Returns
TypeDescription
com.google.protobuf.Timestamp

The readTime.

getReadTimeOrBuilder()

public TimestampOrBuilder getReadTimeOrBuilder()

.google.protobuf.Timestamp read_time = 3;

Returns
TypeDescription
com.google.protobuf.TimestampOrBuilder

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()

hasReadTime()

public boolean hasReadTime()

.google.protobuf.Timestamp read_time = 3;

Returns
TypeDescription
boolean

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

newBuilder(TestDefinition.Snapshot prototype)

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

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

toBuilder()

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