Class TestDefinition.DocChange

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

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

Inheritance

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

Fields

DOC_FIELD_NUMBER

public static final int DOC_FIELD_NUMBER
Field Value
TypeDescription
int

KIND_FIELD_NUMBER

public static final int KIND_FIELD_NUMBER
Field Value
TypeDescription
int

NEW_INDEX_FIELD_NUMBER

public static final int NEW_INDEX_FIELD_NUMBER
Field Value
TypeDescription
int

OLD_INDEX_FIELD_NUMBER

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

getDefaultInstance()

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

getDefaultInstanceForType()

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

getDescriptor()

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

getDoc()

public Document getDoc()

.google.firestore.v1.Document doc = 2;

Returns
TypeDescription
com.google.firestore.v1.Document

The doc.

getDocOrBuilder()

public DocumentOrBuilder getDocOrBuilder()

.google.firestore.v1.Document doc = 2;

Returns
TypeDescription
com.google.firestore.v1.DocumentOrBuilder

getKind()

public TestDefinition.DocChange.Kind getKind()

.google.cloud.conformance.firestore.v1.DocChange.Kind kind = 1;

Returns
TypeDescription
TestDefinition.DocChange.Kind

The kind.

getKindValue()

public int getKindValue()

.google.cloud.conformance.firestore.v1.DocChange.Kind kind = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for kind.

getNewIndex()

public int getNewIndex()

int32 new_index = 4;

Returns
TypeDescription
int

The newIndex.

getOldIndex()

public int getOldIndex()

int32 old_index = 3;

Returns
TypeDescription
int

The oldIndex.

getParserForType()

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

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

hasDoc()

public boolean hasDoc()

.google.firestore.v1.Document doc = 2;

Returns
TypeDescription
boolean

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

newBuilder(TestDefinition.DocChange prototype)

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

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

toBuilder()

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