Class TestDefinition.GetTest.Builder

public static final class TestDefinition.GetTest.Builder extends GeneratedMessageV3.Builder<TestDefinition.GetTest.Builder> implements TestDefinition.GetTestOrBuilder

Call to the DocumentRef.Get method.

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

Inheritance

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearDocRefPath()

public TestDefinition.GetTest.Builder clearDocRefPath()

The path of the doc, e.g. "projects/projectID/databases/(default)/documents/C/d"

string doc_ref_path = 1;

Returns
TypeDescription
TestDefinition.GetTest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRequest()

public TestDefinition.GetTest.Builder clearRequest()

The request that the call should send to the Firestore service.

.google.firestore.v1.GetDocumentRequest request = 2;

Returns
TypeDescription
TestDefinition.GetTest.Builder

clone()

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

getDefaultInstanceForType()

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

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

The path of the doc, e.g. "projects/projectID/databases/(default)/documents/C/d"

string doc_ref_path = 1;

Returns
TypeDescription
java.lang.String

The docRefPath.

getDocRefPathBytes()

public ByteString getDocRefPathBytes()

The path of the doc, e.g. "projects/projectID/databases/(default)/documents/C/d"

string doc_ref_path = 1;

Returns
TypeDescription
com.google.protobuf.ByteString

The bytes for docRefPath.

getRequest()

public GetDocumentRequest getRequest()

The request that the call should send to the Firestore service.

.google.firestore.v1.GetDocumentRequest request = 2;

Returns
TypeDescription
com.google.firestore.v1.GetDocumentRequest

The request.

getRequestBuilder()

public GetDocumentRequest.Builder getRequestBuilder()

The request that the call should send to the Firestore service.

.google.firestore.v1.GetDocumentRequest request = 2;

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

getRequestOrBuilder()

public GetDocumentRequestOrBuilder getRequestOrBuilder()

The request that the call should send to the Firestore service.

.google.firestore.v1.GetDocumentRequest request = 2;

Returns
TypeDescription
com.google.firestore.v1.GetDocumentRequestOrBuilder

hasRequest()

public boolean hasRequest()

The request that the call should send to the Firestore service.

.google.firestore.v1.GetDocumentRequest request = 2;

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.GetTest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TestDefinition.GetTest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputcom.google.protobuf.CodedInputStream
extensionRegistrycom.google.protobuf.ExtensionRegistryLite
Returns
TypeDescription
TestDefinition.GetTest.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.GetTest.Builder mergeFrom(Message other)
Parameter
NameDescription
othercom.google.protobuf.Message
Returns
TypeDescription
TestDefinition.GetTest.Builder
Overrides
com.google.protobuf.AbstractMessage.Builder.mergeFrom(com.google.protobuf.Message)

mergeRequest(GetDocumentRequest value)

public TestDefinition.GetTest.Builder mergeRequest(GetDocumentRequest value)

The request that the call should send to the Firestore service.

.google.firestore.v1.GetDocumentRequest request = 2;

Parameter
NameDescription
valuecom.google.firestore.v1.GetDocumentRequest
Returns
TypeDescription
TestDefinition.GetTest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDocRefPath(String value)

public TestDefinition.GetTest.Builder setDocRefPath(String value)

The path of the doc, e.g. "projects/projectID/databases/(default)/documents/C/d"

string doc_ref_path = 1;

Parameter
NameDescription
valuejava.lang.String

The docRefPath to set.

Returns
TypeDescription
TestDefinition.GetTest.Builder

This builder for chaining.

setDocRefPathBytes(ByteString value)

public TestDefinition.GetTest.Builder setDocRefPathBytes(ByteString value)

The path of the doc, e.g. "projects/projectID/databases/(default)/documents/C/d"

string doc_ref_path = 1;

Parameter
NameDescription
valuecom.google.protobuf.ByteString

The bytes for docRefPath to set.

Returns
TypeDescription
TestDefinition.GetTest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setRequest(GetDocumentRequest value)

public TestDefinition.GetTest.Builder setRequest(GetDocumentRequest value)

The request that the call should send to the Firestore service.

.google.firestore.v1.GetDocumentRequest request = 2;

Parameter
NameDescription
valuecom.google.firestore.v1.GetDocumentRequest
Returns
TypeDescription
TestDefinition.GetTest.Builder

setRequest(GetDocumentRequest.Builder builderForValue)

public TestDefinition.GetTest.Builder setRequest(GetDocumentRequest.Builder builderForValue)

The request that the call should send to the Firestore service.

.google.firestore.v1.GetDocumentRequest request = 2;

Parameter
NameDescription
builderForValuecom.google.firestore.v1.GetDocumentRequest.Builder
Returns
TypeDescription
TestDefinition.GetTest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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