public static final class UpdateFieldRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateFieldRequest.Builder> implements UpdateFieldRequestOrBuilder
The request for [FirestoreAdmin.UpdateField][google.firestore.admin.v1.FirestoreAdmin.UpdateField].Protobuf type
google.firestore.admin.v1.UpdateFieldRequest
Modifier and Type | Method and Description |
---|---|
UpdateFieldRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UpdateFieldRequest |
build() |
UpdateFieldRequest |
buildPartial() |
UpdateFieldRequest.Builder |
clear() |
UpdateFieldRequest.Builder |
clearField()
Required.
|
UpdateFieldRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
UpdateFieldRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
UpdateFieldRequest.Builder |
clearUpdateMask()
A mask, relative to the field.
|
UpdateFieldRequest.Builder |
clone() |
UpdateFieldRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Field |
getField()
Required.
|
Field.Builder |
getFieldBuilder()
Required.
|
FieldOrBuilder |
getFieldOrBuilder()
Required.
|
com.google.protobuf.FieldMask |
getUpdateMask()
A mask, relative to the field.
|
com.google.protobuf.FieldMask.Builder |
getUpdateMaskBuilder()
A mask, relative to the field.
|
com.google.protobuf.FieldMaskOrBuilder |
getUpdateMaskOrBuilder()
A mask, relative to the field.
|
boolean |
hasField()
Required.
|
boolean |
hasUpdateMask()
A mask, relative to the field.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
UpdateFieldRequest.Builder |
mergeField(Field value)
Required.
|
UpdateFieldRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
UpdateFieldRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
UpdateFieldRequest.Builder |
mergeFrom(UpdateFieldRequest other) |
UpdateFieldRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
UpdateFieldRequest.Builder |
mergeUpdateMask(com.google.protobuf.FieldMask value)
A mask, relative to the field.
|
UpdateFieldRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UpdateFieldRequest.Builder |
setField(Field.Builder builderForValue)
Required.
|
UpdateFieldRequest.Builder |
setField(Field value)
Required.
|
UpdateFieldRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
UpdateFieldRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
UpdateFieldRequest.Builder |
setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
A mask, relative to the field.
|
UpdateFieldRequest.Builder |
setUpdateMask(com.google.protobuf.FieldMask value)
A mask, relative to the field.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateFieldRequest.Builder>
public UpdateFieldRequest.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateFieldRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateFieldRequest.Builder>
public UpdateFieldRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public UpdateFieldRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public UpdateFieldRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public UpdateFieldRequest.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateFieldRequest.Builder>
public UpdateFieldRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateFieldRequest.Builder>
public UpdateFieldRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateFieldRequest.Builder>
public UpdateFieldRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateFieldRequest.Builder>
public UpdateFieldRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateFieldRequest.Builder>
public UpdateFieldRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateFieldRequest.Builder>
public UpdateFieldRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<UpdateFieldRequest.Builder>
public UpdateFieldRequest.Builder mergeFrom(UpdateFieldRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateFieldRequest.Builder>
public UpdateFieldRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<UpdateFieldRequest.Builder>
IOException
public boolean hasField()
Required. The field to be updated.
.google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED];
hasField
in interface UpdateFieldRequestOrBuilder
public Field getField()
Required. The field to be updated.
.google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED];
getField
in interface UpdateFieldRequestOrBuilder
public UpdateFieldRequest.Builder setField(Field value)
Required. The field to be updated.
.google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED];
public UpdateFieldRequest.Builder setField(Field.Builder builderForValue)
Required. The field to be updated.
.google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED];
public UpdateFieldRequest.Builder mergeField(Field value)
Required. The field to be updated.
.google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED];
public UpdateFieldRequest.Builder clearField()
Required. The field to be updated.
.google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED];
public Field.Builder getFieldBuilder()
Required. The field to be updated.
.google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED];
public FieldOrBuilder getFieldOrBuilder()
Required. The field to be updated.
.google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED];
getFieldOrBuilder
in interface UpdateFieldRequestOrBuilder
public boolean hasUpdateMask()
A mask, relative to the field. If specified, only configuration specified by this field_mask will be updated in the field.
.google.protobuf.FieldMask update_mask = 2;
hasUpdateMask
in interface UpdateFieldRequestOrBuilder
public com.google.protobuf.FieldMask getUpdateMask()
A mask, relative to the field. If specified, only configuration specified by this field_mask will be updated in the field.
.google.protobuf.FieldMask update_mask = 2;
getUpdateMask
in interface UpdateFieldRequestOrBuilder
public UpdateFieldRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
A mask, relative to the field. If specified, only configuration specified by this field_mask will be updated in the field.
.google.protobuf.FieldMask update_mask = 2;
public UpdateFieldRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
A mask, relative to the field. If specified, only configuration specified by this field_mask will be updated in the field.
.google.protobuf.FieldMask update_mask = 2;
public UpdateFieldRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
A mask, relative to the field. If specified, only configuration specified by this field_mask will be updated in the field.
.google.protobuf.FieldMask update_mask = 2;
public UpdateFieldRequest.Builder clearUpdateMask()
A mask, relative to the field. If specified, only configuration specified by this field_mask will be updated in the field.
.google.protobuf.FieldMask update_mask = 2;
public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
A mask, relative to the field. If specified, only configuration specified by this field_mask will be updated in the field.
.google.protobuf.FieldMask update_mask = 2;
public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
A mask, relative to the field. If specified, only configuration specified by this field_mask will be updated in the field.
.google.protobuf.FieldMask update_mask = 2;
getUpdateMaskOrBuilder
in interface UpdateFieldRequestOrBuilder
public final UpdateFieldRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateFieldRequest.Builder>
public final UpdateFieldRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateFieldRequest.Builder>
Copyright © 2023 Google LLC. All rights reserved.