Class TestDefinition.DocSnapshot.Builder

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

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

Inheritance

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearJsonData()

public TestDefinition.DocSnapshot.Builder clearJsonData()

string json_data = 2;

Returns
TypeDescription
TestDefinition.DocSnapshot.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPath()

public TestDefinition.DocSnapshot.Builder clearPath()

string path = 1;

Returns
TypeDescription
TestDefinition.DocSnapshot.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

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

getJsonData()

public String getJsonData()

string json_data = 2;

Returns
TypeDescription
java.lang.String

The jsonData.

getJsonDataBytes()

public ByteString getJsonDataBytes()

string json_data = 2;

Returns
TypeDescription
com.google.protobuf.ByteString

The bytes for jsonData.

getPath()

public String getPath()

string path = 1;

Returns
TypeDescription
java.lang.String

The path.

getPathBytes()

public ByteString getPathBytes()

string path = 1;

Returns
TypeDescription
com.google.protobuf.ByteString

The bytes for path.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setJsonData(String value)

public TestDefinition.DocSnapshot.Builder setJsonData(String value)

string json_data = 2;

Parameter
NameDescription
valuejava.lang.String

The jsonData to set.

Returns
TypeDescription
TestDefinition.DocSnapshot.Builder

This builder for chaining.

setJsonDataBytes(ByteString value)

public TestDefinition.DocSnapshot.Builder setJsonDataBytes(ByteString value)

string json_data = 2;

Parameter
NameDescription
valuecom.google.protobuf.ByteString

The bytes for jsonData to set.

Returns
TypeDescription
TestDefinition.DocSnapshot.Builder

This builder for chaining.

setPath(String value)

public TestDefinition.DocSnapshot.Builder setPath(String value)

string path = 1;

Parameter
NameDescription
valuejava.lang.String

The path to set.

Returns
TypeDescription
TestDefinition.DocSnapshot.Builder

This builder for chaining.

setPathBytes(ByteString value)

public TestDefinition.DocSnapshot.Builder setPathBytes(ByteString value)

string path = 1;

Parameter
NameDescription
valuecom.google.protobuf.ByteString

The bytes for path to set.

Returns
TypeDescription
TestDefinition.DocSnapshot.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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