public static final class DocumentTransform.Builder extends GeneratedMessageV3.Builder<DocumentTransform.Builder> implements DocumentTransformOrBuilder
A transformation of a document.
Protobuf type google.firestore.v1.DocumentTransform
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public DocumentTransform.Builder addAllFieldTransforms(Iterable<? extends DocumentTransform.FieldTransform> values)
The list of transformations to apply to the fields of the document, in
order.
This must not be empty.
repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.firestore.v1.DocumentTransform.FieldTransform>
|
public DocumentTransform.Builder addFieldTransforms(DocumentTransform.FieldTransform value)
The list of transformations to apply to the fields of the document, in
order.
This must not be empty.
repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2;
public DocumentTransform.Builder addFieldTransforms(DocumentTransform.FieldTransform.Builder builderForValue)
The list of transformations to apply to the fields of the document, in
order.
This must not be empty.
repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2;
public DocumentTransform.Builder addFieldTransforms(int index, DocumentTransform.FieldTransform value)
The list of transformations to apply to the fields of the document, in
order.
This must not be empty.
repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2;
public DocumentTransform.Builder addFieldTransforms(int index, DocumentTransform.FieldTransform.Builder builderForValue)
The list of transformations to apply to the fields of the document, in
order.
This must not be empty.
repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2;
public DocumentTransform.FieldTransform.Builder addFieldTransformsBuilder()
The list of transformations to apply to the fields of the document, in
order.
This must not be empty.
repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2;
public DocumentTransform.FieldTransform.Builder addFieldTransformsBuilder(int index)
The list of transformations to apply to the fields of the document, in
order.
This must not be empty.
repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2;
Parameter |
---|
Name | Description |
index | int
|
public DocumentTransform.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public DocumentTransform build()
public DocumentTransform buildPartial()
public DocumentTransform.Builder clear()
Overrides
public DocumentTransform.Builder clearDocument()
The name of the document to transform.
string document = 1;
public DocumentTransform.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public DocumentTransform.Builder clearFieldTransforms()
The list of transformations to apply to the fields of the document, in
order.
This must not be empty.
repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2;
public DocumentTransform.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public DocumentTransform.Builder clone()
Overrides
public DocumentTransform getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public String getDocument()
The name of the document to transform.
string document = 1;
Returns |
---|
Type | Description |
String | The document.
|
public ByteString getDocumentBytes()
The name of the document to transform.
string document = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for document.
|
public DocumentTransform.FieldTransform getFieldTransforms(int index)
The list of transformations to apply to the fields of the document, in
order.
This must not be empty.
repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2;
Parameter |
---|
Name | Description |
index | int
|
public DocumentTransform.FieldTransform.Builder getFieldTransformsBuilder(int index)
The list of transformations to apply to the fields of the document, in
order.
This must not be empty.
repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2;
Parameter |
---|
Name | Description |
index | int
|
public List<DocumentTransform.FieldTransform.Builder> getFieldTransformsBuilderList()
The list of transformations to apply to the fields of the document, in
order.
This must not be empty.
repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2;
public int getFieldTransformsCount()
The list of transformations to apply to the fields of the document, in
order.
This must not be empty.
repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2;
Returns |
---|
Type | Description |
int | |
public List<DocumentTransform.FieldTransform> getFieldTransformsList()
The list of transformations to apply to the fields of the document, in
order.
This must not be empty.
repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2;
public DocumentTransform.FieldTransformOrBuilder getFieldTransformsOrBuilder(int index)
The list of transformations to apply to the fields of the document, in
order.
This must not be empty.
repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2;
Parameter |
---|
Name | Description |
index | int
|
public List<? extends DocumentTransform.FieldTransformOrBuilder> getFieldTransformsOrBuilderList()
The list of transformations to apply to the fields of the document, in
order.
This must not be empty.
repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2;
Returns |
---|
Type | Description |
List<? extends com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder> | |
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public DocumentTransform.Builder mergeFrom(DocumentTransform other)
public DocumentTransform.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public DocumentTransform.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final DocumentTransform.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public DocumentTransform.Builder removeFieldTransforms(int index)
The list of transformations to apply to the fields of the document, in
order.
This must not be empty.
repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2;
Parameter |
---|
Name | Description |
index | int
|
public DocumentTransform.Builder setDocument(String value)
The name of the document to transform.
string document = 1;
Parameter |
---|
Name | Description |
value | String
The document to set.
|
public DocumentTransform.Builder setDocumentBytes(ByteString value)
The name of the document to transform.
string document = 1;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for document to set.
|
public DocumentTransform.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public DocumentTransform.Builder setFieldTransforms(int index, DocumentTransform.FieldTransform value)
The list of transformations to apply to the fields of the document, in
order.
This must not be empty.
repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2;
public DocumentTransform.Builder setFieldTransforms(int index, DocumentTransform.FieldTransform.Builder builderForValue)
The list of transformations to apply to the fields of the document, in
order.
This must not be empty.
repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2;
public DocumentTransform.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final DocumentTransform.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides