public static final class DocumentTransform.FieldTransform.Builder extends GeneratedMessageV3.Builder<DocumentTransform.FieldTransform.Builder> implements DocumentTransform.FieldTransformOrBuilder
A transformation of a field of the document.Protobuf type
google.firestore.v1beta1.DocumentTransform.FieldTransform
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<DocumentTransform.FieldTransform.Builder>
public DocumentTransform.FieldTransform.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<DocumentTransform.FieldTransform.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<DocumentTransform.FieldTransform.Builder>
public DocumentTransform.FieldTransform getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public DocumentTransform.FieldTransform build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public DocumentTransform.FieldTransform buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public DocumentTransform.FieldTransform.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<DocumentTransform.FieldTransform.Builder>
public DocumentTransform.FieldTransform.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<DocumentTransform.FieldTransform.Builder>
public DocumentTransform.FieldTransform.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<DocumentTransform.FieldTransform.Builder>
public DocumentTransform.FieldTransform.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<DocumentTransform.FieldTransform.Builder>
public DocumentTransform.FieldTransform.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<DocumentTransform.FieldTransform.Builder>
public DocumentTransform.FieldTransform.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<DocumentTransform.FieldTransform.Builder>
public DocumentTransform.FieldTransform.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<DocumentTransform.FieldTransform.Builder>
public DocumentTransform.FieldTransform.Builder mergeFrom(DocumentTransform.FieldTransform other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<DocumentTransform.FieldTransform.Builder>
public DocumentTransform.FieldTransform.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<DocumentTransform.FieldTransform.Builder>
java.io.IOException
public DocumentTransform.FieldTransform.TransformTypeCase getTransformTypeCase()
getTransformTypeCase
in interface DocumentTransform.FieldTransformOrBuilder
public DocumentTransform.FieldTransform.Builder clearTransformType()
public java.lang.String getFieldPath()
The path of the field. See [Document.fields][google.firestore.v1beta1.Document.fields] for the field path syntax reference.
string field_path = 1;
getFieldPath
in interface DocumentTransform.FieldTransformOrBuilder
public ByteString getFieldPathBytes()
The path of the field. See [Document.fields][google.firestore.v1beta1.Document.fields] for the field path syntax reference.
string field_path = 1;
getFieldPathBytes
in interface DocumentTransform.FieldTransformOrBuilder
public DocumentTransform.FieldTransform.Builder setFieldPath(java.lang.String value)
The path of the field. See [Document.fields][google.firestore.v1beta1.Document.fields] for the field path syntax reference.
string field_path = 1;
public DocumentTransform.FieldTransform.Builder clearFieldPath()
The path of the field. See [Document.fields][google.firestore.v1beta1.Document.fields] for the field path syntax reference.
string field_path = 1;
public DocumentTransform.FieldTransform.Builder setFieldPathBytes(ByteString value)
The path of the field. See [Document.fields][google.firestore.v1beta1.Document.fields] for the field path syntax reference.
string field_path = 1;
public int getSetToServerValueValue()
Sets the field to the given server value.
.google.firestore.v1beta1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2;
getSetToServerValueValue
in interface DocumentTransform.FieldTransformOrBuilder
public DocumentTransform.FieldTransform.Builder setSetToServerValueValue(int value)
Sets the field to the given server value.
.google.firestore.v1beta1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2;
public DocumentTransform.FieldTransform.ServerValue getSetToServerValue()
Sets the field to the given server value.
.google.firestore.v1beta1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2;
getSetToServerValue
in interface DocumentTransform.FieldTransformOrBuilder
public DocumentTransform.FieldTransform.Builder setSetToServerValue(DocumentTransform.FieldTransform.ServerValue value)
Sets the field to the given server value.
.google.firestore.v1beta1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2;
public DocumentTransform.FieldTransform.Builder clearSetToServerValue()
Sets the field to the given server value.
.google.firestore.v1beta1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2;
public final DocumentTransform.FieldTransform.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<DocumentTransform.FieldTransform.Builder>
public final DocumentTransform.FieldTransform.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<DocumentTransform.FieldTransform.Builder>