public final class DocumentTransform extends GeneratedMessageV3 implements DocumentTransformOrBuilder
A transformation of a document.
Protobuf type google.firestore.v1.DocumentTransform
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int DOCUMENT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int FIELD_TRANSFORMS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static DocumentTransform getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static DocumentTransform.Builder newBuilder()
public static DocumentTransform.Builder newBuilder(DocumentTransform prototype)
public static DocumentTransform parseDelimitedFrom(InputStream input)
public static DocumentTransform parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DocumentTransform parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static DocumentTransform parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DocumentTransform parseFrom(ByteString data)
public static DocumentTransform parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DocumentTransform parseFrom(CodedInputStream input)
public static DocumentTransform parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DocumentTransform parseFrom(InputStream input)
public static DocumentTransform parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DocumentTransform parseFrom(ByteBuffer data)
public static DocumentTransform parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<DocumentTransform> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public DocumentTransform getDefaultInstanceForType()
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 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> | |
public Parser<DocumentTransform> getParserForType()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public DocumentTransform.Builder newBuilderForType()
protected DocumentTransform.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public DocumentTransform.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides