Class TestDefinition.UpdatePathsTest

public static final class TestDefinition.UpdatePathsTest extends GeneratedMessageV3 implements TestDefinition.UpdatePathsTestOrBuilder

A call to the form of DocumentRef.Update that represents the data as a list of field paths and their values.

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

Inheritance

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

Fields

DOC_REF_PATH_FIELD_NUMBER

public static final int DOC_REF_PATH_FIELD_NUMBER
Field Value
TypeDescription
int

FIELD_PATHS_FIELD_NUMBER

public static final int FIELD_PATHS_FIELD_NUMBER
Field Value
TypeDescription
int

IS_ERROR_FIELD_NUMBER

public static final int IS_ERROR_FIELD_NUMBER
Field Value
TypeDescription
int

JSON_VALUES_FIELD_NUMBER

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

getDefaultInstanceForType()

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

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.

getFieldPaths(int index)

public TestDefinition.FieldPath getFieldPaths(int index)

parallel sequences: field_paths[i] corresponds to json_values[i]

repeated .google.cloud.conformance.firestore.v1.FieldPath field_paths = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
TestDefinition.FieldPath

getFieldPathsCount()

public int getFieldPathsCount()

parallel sequences: field_paths[i] corresponds to json_values[i]

repeated .google.cloud.conformance.firestore.v1.FieldPath field_paths = 3;

Returns
TypeDescription
int

getFieldPathsList()

public List<TestDefinition.FieldPath> getFieldPathsList()

parallel sequences: field_paths[i] corresponds to json_values[i]

repeated .google.cloud.conformance.firestore.v1.FieldPath field_paths = 3;

Returns
TypeDescription
java.util.List<FieldPath>

getFieldPathsOrBuilder(int index)

public TestDefinition.FieldPathOrBuilder getFieldPathsOrBuilder(int index)

parallel sequences: field_paths[i] corresponds to json_values[i]

repeated .google.cloud.conformance.firestore.v1.FieldPath field_paths = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
TestDefinition.FieldPathOrBuilder

getFieldPathsOrBuilderList()

public List<? extends TestDefinition.FieldPathOrBuilder> getFieldPathsOrBuilderList()

parallel sequences: field_paths[i] corresponds to json_values[i]

repeated .google.cloud.conformance.firestore.v1.FieldPath field_paths = 3;

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

getIsError()

public boolean getIsError()

call signals an error

bool is_error = 6;

Returns
TypeDescription
boolean

The isError.

getJsonValues(int index)

public String getJsonValues(int index)

the argument values, as JSON

repeated string json_values = 4;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
java.lang.String

The jsonValues at the given index.

getJsonValuesBytes(int index)

public ByteString getJsonValuesBytes(int index)

the argument values, as JSON

repeated string json_values = 4;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
com.google.protobuf.ByteString

The bytes of the jsonValues at the given index.

getJsonValuesCount()

public int getJsonValuesCount()

the argument values, as JSON

repeated string json_values = 4;

Returns
TypeDescription
int

The count of jsonValues.

getJsonValuesList()

public ProtocolStringList getJsonValuesList()

the argument values, as JSON

repeated string json_values = 4;

Returns
TypeDescription
com.google.protobuf.ProtocolStringList

A list containing the jsonValues.

getParserForType()

public Parser<TestDefinition.UpdatePathsTest> getParserForType()
Returns
TypeDescription
com.google.protobuf.Parser<UpdatePathsTest>
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 rquest

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

Returns
TypeDescription
com.google.firestore.v1.CommitRequest

The request.

getRequestOrBuilder()

public CommitRequestOrBuilder getRequestOrBuilder()

expected rquest

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

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 rquest

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

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.UpdatePathsTest.Builder newBuilder()
Returns
TypeDescription
TestDefinition.UpdatePathsTest.Builder

newBuilder(TestDefinition.UpdatePathsTest prototype)

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

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

toBuilder()

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