Class TestDefinition.UpdateTest

public static final class TestDefinition.UpdateTest extends GeneratedMessageV3 implements TestDefinition.UpdateTestOrBuilder

A call to the form of DocumentRef.Update that represents the data as a map or dictionary.

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

Inheritance

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

Fields

DOC_REF_PATH_FIELD_NUMBER

public static final int DOC_REF_PATH_FIELD_NUMBER
Field Value
TypeDescription
int

IS_ERROR_FIELD_NUMBER

public static final int IS_ERROR_FIELD_NUMBER
Field Value
TypeDescription
int

JSON_DATA_FIELD_NUMBER

public static final int JSON_DATA_FIELD_NUMBER
Field Value
TypeDescription
int

PRECONDITION_FIELD_NUMBER

public static final int PRECONDITION_FIELD_NUMBER
Field Value
TypeDescription
int

REQUEST_FIELD_NUMBER

public static final int REQUEST_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.UpdateTest getDefaultInstance()
Returns
TypeDescription
TestDefinition.UpdateTest

getDefaultInstanceForType()

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

getDescriptor()

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

getDocRefPath()

public String getDocRefPath()

path of doc

string doc_ref_path = 1;

Returns
TypeDescription
java.lang.String

The docRefPath.

getDocRefPathBytes()

public ByteString getDocRefPathBytes()

path of doc

string doc_ref_path = 1;

Returns
TypeDescription
com.google.protobuf.ByteString

The bytes for docRefPath.

getIsError()

public boolean getIsError()

call signals an error

bool is_error = 5;

Returns
TypeDescription
boolean

The isError.

getJsonData()

public String getJsonData()

data (see CreateTest.json_data)

string json_data = 3;

Returns
TypeDescription
java.lang.String

The jsonData.

getJsonDataBytes()

public ByteString getJsonDataBytes()

data (see CreateTest.json_data)

string json_data = 3;

Returns
TypeDescription
com.google.protobuf.ByteString

The bytes for jsonData.

getParserForType()

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

getPrecondition()

public Precondition getPrecondition()

precondition in call, if any

.google.firestore.v1.Precondition precondition = 2;

Returns
TypeDescription
com.google.firestore.v1.Precondition

The precondition.

getPreconditionOrBuilder()

public PreconditionOrBuilder getPreconditionOrBuilder()

precondition in call, if any

.google.firestore.v1.Precondition precondition = 2;

Returns
TypeDescription
com.google.firestore.v1.PreconditionOrBuilder

getRequest()

public CommitRequest getRequest()

expected request

.google.firestore.v1.CommitRequest request = 4;

Returns
TypeDescription
com.google.firestore.v1.CommitRequest

The request.

getRequestOrBuilder()

public CommitRequestOrBuilder getRequestOrBuilder()

expected request

.google.firestore.v1.CommitRequest request = 4;

Returns
TypeDescription
com.google.firestore.v1.CommitRequestOrBuilder

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

hasPrecondition()

public boolean hasPrecondition()

precondition in call, if any

.google.firestore.v1.Precondition precondition = 2;

Returns
TypeDescription
boolean

Whether the precondition field is set.

hasRequest()

public boolean hasRequest()

expected request

.google.firestore.v1.CommitRequest request = 4;

Returns
TypeDescription
boolean

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

newBuilder(TestDefinition.UpdateTest prototype)

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

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

toBuilder()

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