Class TestDefinition.DeleteTest.Builder

Stay organized with collections Save and categorize content based on your preferences.
public static final class TestDefinition.DeleteTest.Builder extends GeneratedMessageV3.Builder<TestDefinition.DeleteTest.Builder> implements TestDefinition.DeleteTestOrBuilder

A call to DocmentRef.Delete

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

Inheritance

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TestDefinition.DeleteTest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldcom.google.protobuf.Descriptors.FieldDescriptor
valuejava.lang.Object
Returns
TypeDescription
TestDefinition.DeleteTest.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor,java.lang.Object)

build()

public TestDefinition.DeleteTest build()
Returns
TypeDescription
TestDefinition.DeleteTest

buildPartial()

public TestDefinition.DeleteTest buildPartial()
Returns
TypeDescription
TestDefinition.DeleteTest

clear()

public TestDefinition.DeleteTest.Builder clear()
Returns
TypeDescription
TestDefinition.DeleteTest.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.clear()

clearDocRefPath()

public TestDefinition.DeleteTest.Builder clearDocRefPath()

path of doc

string doc_ref_path = 1;

Returns
TypeDescription
TestDefinition.DeleteTest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public TestDefinition.DeleteTest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldcom.google.protobuf.Descriptors.FieldDescriptor
Returns
TypeDescription
TestDefinition.DeleteTest.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.clearField(com.google.protobuf.Descriptors.FieldDescriptor)

clearIsError()

public TestDefinition.DeleteTest.Builder clearIsError()

call signals an error

bool is_error = 4;

Returns
TypeDescription
TestDefinition.DeleteTest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public TestDefinition.DeleteTest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofcom.google.protobuf.Descriptors.OneofDescriptor
Returns
TypeDescription
TestDefinition.DeleteTest.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor)

clearPrecondition()

public TestDefinition.DeleteTest.Builder clearPrecondition()

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

Returns
TypeDescription
TestDefinition.DeleteTest.Builder

clearRequest()

public TestDefinition.DeleteTest.Builder clearRequest()

expected rquest

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

Returns
TypeDescription
TestDefinition.DeleteTest.Builder

clone()

public TestDefinition.DeleteTest.Builder clone()
Returns
TypeDescription
TestDefinition.DeleteTest.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.clone()

getDefaultInstanceForType()

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

getDescriptor()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
com.google.protobuf.Descriptors.Descriptor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.getDescriptorForType()

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 = 4;

Returns
TypeDescription
boolean

The isError.

getPrecondition()

public Precondition getPrecondition()

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

Returns
TypeDescription
com.google.firestore.v1.Precondition

The precondition.

getPreconditionBuilder()

public Precondition.Builder getPreconditionBuilder()

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

Returns
TypeDescription
com.google.firestore.v1.Precondition.Builder

getPreconditionOrBuilder()

public PreconditionOrBuilder getPreconditionOrBuilder()

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

Returns
TypeDescription
com.google.firestore.v1.PreconditionOrBuilder

getRequest()

public CommitRequest getRequest()

expected rquest

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

Returns
TypeDescription
com.google.firestore.v1.CommitRequest

The request.

getRequestBuilder()

public CommitRequest.Builder getRequestBuilder()

expected rquest

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

Returns
TypeDescription
com.google.firestore.v1.CommitRequest.Builder

getRequestOrBuilder()

public CommitRequestOrBuilder getRequestOrBuilder()

expected rquest

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

Returns
TypeDescription
com.google.firestore.v1.CommitRequestOrBuilder

hasPrecondition()

public boolean hasPrecondition()

.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 = 3;

Returns
TypeDescription
boolean

Whether the request field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetFieldAccessorTable()

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.isInitialized()

mergeFrom(TestDefinition.DeleteTest other)

public TestDefinition.DeleteTest.Builder mergeFrom(TestDefinition.DeleteTest other)
Parameter
NameDescription
otherTestDefinition.DeleteTest
Returns
TypeDescription
TestDefinition.DeleteTest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TestDefinition.DeleteTest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputcom.google.protobuf.CodedInputStream
extensionRegistrycom.google.protobuf.ExtensionRegistryLite
Returns
TypeDescription
TestDefinition.DeleteTest.Builder
Overrides
com.google.protobuf.AbstractMessage.Builder.mergeFrom(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
Exceptions
TypeDescription
java.io.IOException

mergeFrom(Message other)

public TestDefinition.DeleteTest.Builder mergeFrom(Message other)
Parameter
NameDescription
othercom.google.protobuf.Message
Returns
TypeDescription
TestDefinition.DeleteTest.Builder
Overrides
com.google.protobuf.AbstractMessage.Builder.mergeFrom(com.google.protobuf.Message)

mergePrecondition(Precondition value)

public TestDefinition.DeleteTest.Builder mergePrecondition(Precondition value)

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

Parameter
NameDescription
valuecom.google.firestore.v1.Precondition
Returns
TypeDescription
TestDefinition.DeleteTest.Builder

mergeRequest(CommitRequest value)

public TestDefinition.DeleteTest.Builder mergeRequest(CommitRequest value)

expected rquest

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

Parameter
NameDescription
valuecom.google.firestore.v1.CommitRequest
Returns
TypeDescription
TestDefinition.DeleteTest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TestDefinition.DeleteTest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldscom.google.protobuf.UnknownFieldSet
Returns
TypeDescription
TestDefinition.DeleteTest.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownFields(com.google.protobuf.UnknownFieldSet)

setDocRefPath(String value)

public TestDefinition.DeleteTest.Builder setDocRefPath(String value)

path of doc

string doc_ref_path = 1;

Parameter
NameDescription
valuejava.lang.String

The docRefPath to set.

Returns
TypeDescription
TestDefinition.DeleteTest.Builder

This builder for chaining.

setDocRefPathBytes(ByteString value)

public TestDefinition.DeleteTest.Builder setDocRefPathBytes(ByteString value)

path of doc

string doc_ref_path = 1;

Parameter
NameDescription
valuecom.google.protobuf.ByteString

The bytes for docRefPath to set.

Returns
TypeDescription
TestDefinition.DeleteTest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public TestDefinition.DeleteTest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldcom.google.protobuf.Descriptors.FieldDescriptor
valuejava.lang.Object
Returns
TypeDescription
TestDefinition.DeleteTest.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.setField(com.google.protobuf.Descriptors.FieldDescriptor,java.lang.Object)

setIsError(boolean value)

public TestDefinition.DeleteTest.Builder setIsError(boolean value)

call signals an error

bool is_error = 4;

Parameter
NameDescription
valueboolean

The isError to set.

Returns
TypeDescription
TestDefinition.DeleteTest.Builder

This builder for chaining.

setPrecondition(Precondition value)

public TestDefinition.DeleteTest.Builder setPrecondition(Precondition value)

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

Parameter
NameDescription
valuecom.google.firestore.v1.Precondition
Returns
TypeDescription
TestDefinition.DeleteTest.Builder

setPrecondition(Precondition.Builder builderForValue)

public TestDefinition.DeleteTest.Builder setPrecondition(Precondition.Builder builderForValue)

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

Parameter
NameDescription
builderForValuecom.google.firestore.v1.Precondition.Builder
Returns
TypeDescription
TestDefinition.DeleteTest.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public TestDefinition.DeleteTest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldcom.google.protobuf.Descriptors.FieldDescriptor
indexint
valuejava.lang.Object
Returns
TypeDescription
TestDefinition.DeleteTest.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor,int,java.lang.Object)

setRequest(CommitRequest value)

public TestDefinition.DeleteTest.Builder setRequest(CommitRequest value)

expected rquest

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

Parameter
NameDescription
valuecom.google.firestore.v1.CommitRequest
Returns
TypeDescription
TestDefinition.DeleteTest.Builder

setRequest(CommitRequest.Builder builderForValue)

public TestDefinition.DeleteTest.Builder setRequest(CommitRequest.Builder builderForValue)

expected rquest

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

Parameter
NameDescription
builderForValuecom.google.firestore.v1.CommitRequest.Builder
Returns
TypeDescription
TestDefinition.DeleteTest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final TestDefinition.DeleteTest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldscom.google.protobuf.UnknownFieldSet
Returns
TypeDescription
TestDefinition.DeleteTest.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFields(com.google.protobuf.UnknownFieldSet)