public static final class TestDefinition.SetTest.Builder extends GeneratedMessageV3.Builder<TestDefinition.SetTest.Builder> implements TestDefinition.SetTestOrBuilder
A call to DocumentRef.Set.
Protobuf type google.cloud.conformance.firestore.v1.SetTest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > com.google.protobuf.GeneratedMessageV3.Builder > TestDefinition.SetTest.BuilderImplements
TestDefinition.SetTestOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TestDefinition.SetTest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | com.google.protobuf.Descriptors.FieldDescriptor |
value | java.lang.Object |
Type | Description |
TestDefinition.SetTest.Builder |
build()
public TestDefinition.SetTest build()
Type | Description |
TestDefinition.SetTest |
buildPartial()
public TestDefinition.SetTest buildPartial()
Type | Description |
TestDefinition.SetTest |
clear()
public TestDefinition.SetTest.Builder clear()
Type | Description |
TestDefinition.SetTest.Builder |
clearDocRefPath()
public TestDefinition.SetTest.Builder clearDocRefPath()
path of doc
string doc_ref_path = 1;
Type | Description |
TestDefinition.SetTest.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public TestDefinition.SetTest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | com.google.protobuf.Descriptors.FieldDescriptor |
Type | Description |
TestDefinition.SetTest.Builder |
clearIsError()
public TestDefinition.SetTest.Builder clearIsError()
call signals an error
bool is_error = 5;
Type | Description |
TestDefinition.SetTest.Builder | This builder for chaining. |
clearJsonData()
public TestDefinition.SetTest.Builder clearJsonData()
data (see CreateTest.json_data)
string json_data = 3;
Type | Description |
TestDefinition.SetTest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public TestDefinition.SetTest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | com.google.protobuf.Descriptors.OneofDescriptor |
Type | Description |
TestDefinition.SetTest.Builder |
clearOption()
public TestDefinition.SetTest.Builder clearOption()
option to the Set call, if any
.google.cloud.conformance.firestore.v1.SetOption option = 2;
Type | Description |
TestDefinition.SetTest.Builder |
clearRequest()
public TestDefinition.SetTest.Builder clearRequest()
expected request
.google.firestore.v1.CommitRequest request = 4;
Type | Description |
TestDefinition.SetTest.Builder |
clone()
public TestDefinition.SetTest.Builder clone()
Type | Description |
TestDefinition.SetTest.Builder |
getDefaultInstanceForType()
public TestDefinition.SetTest getDefaultInstanceForType()
Type | Description |
TestDefinition.SetTest |
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()
path of doc
string doc_ref_path = 1;
Type | Description |
java.lang.String | The docRefPath. |
getDocRefPathBytes()
public ByteString getDocRefPathBytes()
path of doc
string doc_ref_path = 1;
Type | Description |
com.google.protobuf.ByteString | The bytes for docRefPath. |
getIsError()
public boolean getIsError()
call signals an error
bool is_error = 5;
Type | Description |
boolean | The isError. |
getJsonData()
public String getJsonData()
data (see CreateTest.json_data)
string json_data = 3;
Type | Description |
java.lang.String | The jsonData. |
getJsonDataBytes()
public ByteString getJsonDataBytes()
data (see CreateTest.json_data)
string json_data = 3;
Type | Description |
com.google.protobuf.ByteString | The bytes for jsonData. |
getOption()
public TestDefinition.SetOption getOption()
option to the Set call, if any
.google.cloud.conformance.firestore.v1.SetOption option = 2;
Type | Description |
TestDefinition.SetOption | The option. |
getOptionBuilder()
public TestDefinition.SetOption.Builder getOptionBuilder()
option to the Set call, if any
.google.cloud.conformance.firestore.v1.SetOption option = 2;
Type | Description |
TestDefinition.SetOption.Builder |
getOptionOrBuilder()
public TestDefinition.SetOptionOrBuilder getOptionOrBuilder()
option to the Set call, if any
.google.cloud.conformance.firestore.v1.SetOption option = 2;
Type | Description |
TestDefinition.SetOptionOrBuilder |
getRequest()
public CommitRequest getRequest()
expected request
.google.firestore.v1.CommitRequest request = 4;
Type | Description |
com.google.firestore.v1.CommitRequest | The request. |
getRequestBuilder()
public CommitRequest.Builder getRequestBuilder()
expected request
.google.firestore.v1.CommitRequest request = 4;
Type | Description |
com.google.firestore.v1.CommitRequest.Builder |
getRequestOrBuilder()
public CommitRequestOrBuilder getRequestOrBuilder()
expected request
.google.firestore.v1.CommitRequest request = 4;
Type | Description |
com.google.firestore.v1.CommitRequestOrBuilder |
hasOption()
public boolean hasOption()
option to the Set call, if any
.google.cloud.conformance.firestore.v1.SetOption option = 2;
Type | Description |
boolean | Whether the option field is set. |
hasRequest()
public boolean hasRequest()
expected request
.google.firestore.v1.CommitRequest request = 4;
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.SetTest other)
public TestDefinition.SetTest.Builder mergeFrom(TestDefinition.SetTest other)
Name | Description |
other | TestDefinition.SetTest |
Type | Description |
TestDefinition.SetTest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TestDefinition.SetTest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | com.google.protobuf.CodedInputStream |
extensionRegistry | com.google.protobuf.ExtensionRegistryLite |
Type | Description |
TestDefinition.SetTest.Builder |
Type | Description |
java.io.IOException |
mergeFrom(Message other)
public TestDefinition.SetTest.Builder mergeFrom(Message other)
Name | Description |
other | com.google.protobuf.Message |
Type | Description |
TestDefinition.SetTest.Builder |
mergeOption(TestDefinition.SetOption value)
public TestDefinition.SetTest.Builder mergeOption(TestDefinition.SetOption value)
option to the Set call, if any
.google.cloud.conformance.firestore.v1.SetOption option = 2;
Name | Description |
value | TestDefinition.SetOption |
Type | Description |
TestDefinition.SetTest.Builder |
mergeRequest(CommitRequest value)
public TestDefinition.SetTest.Builder mergeRequest(CommitRequest value)
expected request
.google.firestore.v1.CommitRequest request = 4;
Name | Description |
value | com.google.firestore.v1.CommitRequest |
Type | Description |
TestDefinition.SetTest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TestDefinition.SetTest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | com.google.protobuf.UnknownFieldSet |
Type | Description |
TestDefinition.SetTest.Builder |
setDocRefPath(String value)
public TestDefinition.SetTest.Builder setDocRefPath(String value)
path of doc
string doc_ref_path = 1;
Name | Description |
value | java.lang.String The docRefPath to set. |
Type | Description |
TestDefinition.SetTest.Builder | This builder for chaining. |
setDocRefPathBytes(ByteString value)
public TestDefinition.SetTest.Builder setDocRefPathBytes(ByteString value)
path of doc
string doc_ref_path = 1;
Name | Description |
value | com.google.protobuf.ByteString The bytes for docRefPath to set. |
Type | Description |
TestDefinition.SetTest.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public TestDefinition.SetTest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | com.google.protobuf.Descriptors.FieldDescriptor |
value | java.lang.Object |
Type | Description |
TestDefinition.SetTest.Builder |
setIsError(boolean value)
public TestDefinition.SetTest.Builder setIsError(boolean value)
call signals an error
bool is_error = 5;
Name | Description |
value | boolean The isError to set. |
Type | Description |
TestDefinition.SetTest.Builder | This builder for chaining. |
setJsonData(String value)
public TestDefinition.SetTest.Builder setJsonData(String value)
data (see CreateTest.json_data)
string json_data = 3;
Name | Description |
value | java.lang.String The jsonData to set. |
Type | Description |
TestDefinition.SetTest.Builder | This builder for chaining. |
setJsonDataBytes(ByteString value)
public TestDefinition.SetTest.Builder setJsonDataBytes(ByteString value)
data (see CreateTest.json_data)
string json_data = 3;
Name | Description |
value | com.google.protobuf.ByteString The bytes for jsonData to set. |
Type | Description |
TestDefinition.SetTest.Builder | This builder for chaining. |
setOption(TestDefinition.SetOption value)
public TestDefinition.SetTest.Builder setOption(TestDefinition.SetOption value)
option to the Set call, if any
.google.cloud.conformance.firestore.v1.SetOption option = 2;
Name | Description |
value | TestDefinition.SetOption |
Type | Description |
TestDefinition.SetTest.Builder |
setOption(TestDefinition.SetOption.Builder builderForValue)
public TestDefinition.SetTest.Builder setOption(TestDefinition.SetOption.Builder builderForValue)
option to the Set call, if any
.google.cloud.conformance.firestore.v1.SetOption option = 2;
Name | Description |
builderForValue | TestDefinition.SetOption.Builder |
Type | Description |
TestDefinition.SetTest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TestDefinition.SetTest.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.SetTest.Builder |
setRequest(CommitRequest value)
public TestDefinition.SetTest.Builder setRequest(CommitRequest value)
expected request
.google.firestore.v1.CommitRequest request = 4;
Name | Description |
value | com.google.firestore.v1.CommitRequest |
Type | Description |
TestDefinition.SetTest.Builder |
setRequest(CommitRequest.Builder builderForValue)
public TestDefinition.SetTest.Builder setRequest(CommitRequest.Builder builderForValue)
expected request
.google.firestore.v1.CommitRequest request = 4;
Name | Description |
builderForValue | com.google.firestore.v1.CommitRequest.Builder |
Type | Description |
TestDefinition.SetTest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final TestDefinition.SetTest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | com.google.protobuf.UnknownFieldSet |
Type | Description |
TestDefinition.SetTest.Builder |