public static final class TestDefinition.CreateTest.Builder extends GeneratedMessageV3.Builder<TestDefinition.CreateTest.Builder> implements TestDefinition.CreateTestOrBuilder
Call to DocumentRef.Create.
Protobuf type google.cloud.conformance.firestore.v1.CreateTest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > com.google.protobuf.GeneratedMessageV3.Builder > TestDefinition.CreateTest.BuilderImplements
TestDefinition.CreateTestOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TestDefinition.CreateTest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | com.google.protobuf.Descriptors.FieldDescriptor |
value | java.lang.Object |
Type | Description |
TestDefinition.CreateTest.Builder |
build()
public TestDefinition.CreateTest build()
Type | Description |
TestDefinition.CreateTest |
buildPartial()
public TestDefinition.CreateTest buildPartial()
Type | Description |
TestDefinition.CreateTest |
clear()
public TestDefinition.CreateTest.Builder clear()
Type | Description |
TestDefinition.CreateTest.Builder |
clearDocRefPath()
public TestDefinition.CreateTest.Builder clearDocRefPath()
The path of the doc, e.g. "projects/projectID/databases/(default)/documents/C/d"
string doc_ref_path = 1;
Type | Description |
TestDefinition.CreateTest.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public TestDefinition.CreateTest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | com.google.protobuf.Descriptors.FieldDescriptor |
Type | Description |
TestDefinition.CreateTest.Builder |
clearIsError()
public TestDefinition.CreateTest.Builder clearIsError()
If true, the call should result in an error without generating a request. If this is true, request should not be set.
bool is_error = 4;
Type | Description |
TestDefinition.CreateTest.Builder | This builder for chaining. |
clearJsonData()
public TestDefinition.CreateTest.Builder clearJsonData()
The data passed to Create, as JSON. The strings "Delete" and "ServerTimestamp" denote the two special sentinel values. Values that could be interpreted as integers (i.e. digit strings) should be treated as integers.
string json_data = 2;
Type | Description |
TestDefinition.CreateTest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public TestDefinition.CreateTest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | com.google.protobuf.Descriptors.OneofDescriptor |
Type | Description |
TestDefinition.CreateTest.Builder |
clearRequest()
public TestDefinition.CreateTest.Builder clearRequest()
The request that the call should generate.
.google.firestore.v1.CommitRequest request = 3;
Type | Description |
TestDefinition.CreateTest.Builder |
clone()
public TestDefinition.CreateTest.Builder clone()
Type | Description |
TestDefinition.CreateTest.Builder |
getDefaultInstanceForType()
public TestDefinition.CreateTest getDefaultInstanceForType()
Type | Description |
TestDefinition.CreateTest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
com.google.protobuf.Descriptors.Descriptor |
getDocRefPath()
public String getDocRefPath()
The path of the doc, e.g. "projects/projectID/databases/(default)/documents/C/d"
string doc_ref_path = 1;
Type | Description |
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;
Type | Description |
com.google.protobuf.ByteString | The bytes for docRefPath. |
getIsError()
public boolean getIsError()
If true, the call should result in an error without generating a request. If this is true, request should not be set.
bool is_error = 4;
Type | Description |
boolean | The isError. |
getJsonData()
public String getJsonData()
The data passed to Create, as JSON. The strings "Delete" and "ServerTimestamp" denote the two special sentinel values. Values that could be interpreted as integers (i.e. digit strings) should be treated as integers.
string json_data = 2;
Type | Description |
java.lang.String | The jsonData. |
getJsonDataBytes()
public ByteString getJsonDataBytes()
The data passed to Create, as JSON. The strings "Delete" and "ServerTimestamp" denote the two special sentinel values. Values that could be interpreted as integers (i.e. digit strings) should be treated as integers.
string json_data = 2;
Type | Description |
com.google.protobuf.ByteString | The bytes for jsonData. |
getRequest()
public CommitRequest getRequest()
The request that the call should generate.
.google.firestore.v1.CommitRequest request = 3;
Type | Description |
com.google.firestore.v1.CommitRequest | The request. |
getRequestBuilder()
public CommitRequest.Builder getRequestBuilder()
The request that the call should generate.
.google.firestore.v1.CommitRequest request = 3;
Type | Description |
com.google.firestore.v1.CommitRequest.Builder |
getRequestOrBuilder()
public CommitRequestOrBuilder getRequestOrBuilder()
The request that the call should generate.
.google.firestore.v1.CommitRequest request = 3;
Type | Description |
com.google.firestore.v1.CommitRequestOrBuilder |
hasRequest()
public boolean hasRequest()
The request that the call should generate.
.google.firestore.v1.CommitRequest request = 3;
Type | Description |
boolean | Whether the request field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(TestDefinition.CreateTest other)
public TestDefinition.CreateTest.Builder mergeFrom(TestDefinition.CreateTest other)
Name | Description |
other | TestDefinition.CreateTest |
Type | Description |
TestDefinition.CreateTest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TestDefinition.CreateTest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | com.google.protobuf.CodedInputStream |
extensionRegistry | com.google.protobuf.ExtensionRegistryLite |
Type | Description |
TestDefinition.CreateTest.Builder |
Type | Description |
java.io.IOException |
mergeFrom(Message other)
public TestDefinition.CreateTest.Builder mergeFrom(Message other)
Name | Description |
other | com.google.protobuf.Message |
Type | Description |
TestDefinition.CreateTest.Builder |
mergeRequest(CommitRequest value)
public TestDefinition.CreateTest.Builder mergeRequest(CommitRequest value)
The request that the call should generate.
.google.firestore.v1.CommitRequest request = 3;
Name | Description |
value | com.google.firestore.v1.CommitRequest |
Type | Description |
TestDefinition.CreateTest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TestDefinition.CreateTest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | com.google.protobuf.UnknownFieldSet |
Type | Description |
TestDefinition.CreateTest.Builder |
setDocRefPath(String value)
public TestDefinition.CreateTest.Builder setDocRefPath(String value)
The path of the doc, e.g. "projects/projectID/databases/(default)/documents/C/d"
string doc_ref_path = 1;
Name | Description |
value | java.lang.String The docRefPath to set. |
Type | Description |
TestDefinition.CreateTest.Builder | This builder for chaining. |
setDocRefPathBytes(ByteString value)
public TestDefinition.CreateTest.Builder setDocRefPathBytes(ByteString value)
The path of the doc, e.g. "projects/projectID/databases/(default)/documents/C/d"
string doc_ref_path = 1;
Name | Description |
value | com.google.protobuf.ByteString The bytes for docRefPath to set. |
Type | Description |
TestDefinition.CreateTest.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public TestDefinition.CreateTest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | com.google.protobuf.Descriptors.FieldDescriptor |
value | java.lang.Object |
Type | Description |
TestDefinition.CreateTest.Builder |
setIsError(boolean value)
public TestDefinition.CreateTest.Builder setIsError(boolean value)
If true, the call should result in an error without generating a request. If this is true, request should not be set.
bool is_error = 4;
Name | Description |
value | boolean The isError to set. |
Type | Description |
TestDefinition.CreateTest.Builder | This builder for chaining. |
setJsonData(String value)
public TestDefinition.CreateTest.Builder setJsonData(String value)
The data passed to Create, as JSON. The strings "Delete" and "ServerTimestamp" denote the two special sentinel values. Values that could be interpreted as integers (i.e. digit strings) should be treated as integers.
string json_data = 2;
Name | Description |
value | java.lang.String The jsonData to set. |
Type | Description |
TestDefinition.CreateTest.Builder | This builder for chaining. |
setJsonDataBytes(ByteString value)
public TestDefinition.CreateTest.Builder setJsonDataBytes(ByteString value)
The data passed to Create, as JSON. The strings "Delete" and "ServerTimestamp" denote the two special sentinel values. Values that could be interpreted as integers (i.e. digit strings) should be treated as integers.
string json_data = 2;
Name | Description |
value | com.google.protobuf.ByteString The bytes for jsonData to set. |
Type | Description |
TestDefinition.CreateTest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TestDefinition.CreateTest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | com.google.protobuf.Descriptors.FieldDescriptor |
index | int |
value | java.lang.Object |
Type | Description |
TestDefinition.CreateTest.Builder |
setRequest(CommitRequest value)
public TestDefinition.CreateTest.Builder setRequest(CommitRequest value)
The request that the call should generate.
.google.firestore.v1.CommitRequest request = 3;
Name | Description |
value | com.google.firestore.v1.CommitRequest |
Type | Description |
TestDefinition.CreateTest.Builder |
setRequest(CommitRequest.Builder builderForValue)
public TestDefinition.CreateTest.Builder setRequest(CommitRequest.Builder builderForValue)
The request that the call should generate.
.google.firestore.v1.CommitRequest request = 3;
Name | Description |
builderForValue | com.google.firestore.v1.CommitRequest.Builder |
Type | Description |
TestDefinition.CreateTest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final TestDefinition.CreateTest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | com.google.protobuf.UnknownFieldSet |
Type | Description |
TestDefinition.CreateTest.Builder |