public final class UpdateFieldRequest extends GeneratedMessageV3 implements UpdateFieldRequestOrBuilder
The request for FirestoreAdmin.UpdateField.
Protobuf type google.firestore.admin.v1.UpdateFieldRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > UpdateFieldRequestImplements
UpdateFieldRequestOrBuilderStatic Fields
FIELD_FIELD_NUMBER
public static final int FIELD_FIELD_NUMBER
Type | Description |
int |
UPDATE_MASK_FIELD_NUMBER
public static final int UPDATE_MASK_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static UpdateFieldRequest getDefaultInstance()
Type | Description |
UpdateFieldRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static UpdateFieldRequest.Builder newBuilder()
Type | Description |
UpdateFieldRequest.Builder |
newBuilder(UpdateFieldRequest prototype)
public static UpdateFieldRequest.Builder newBuilder(UpdateFieldRequest prototype)
Name | Description |
prototype | UpdateFieldRequest |
Type | Description |
UpdateFieldRequest.Builder |
parseDelimitedFrom(InputStream input)
public static UpdateFieldRequest parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
UpdateFieldRequest |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateFieldRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateFieldRequest |
Type | Description |
IOException |
parseFrom(byte[] data)
public static UpdateFieldRequest parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
UpdateFieldRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateFieldRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateFieldRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static UpdateFieldRequest parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
UpdateFieldRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateFieldRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateFieldRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static UpdateFieldRequest parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
UpdateFieldRequest |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateFieldRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateFieldRequest |
Type | Description |
IOException |
parseFrom(InputStream input)
public static UpdateFieldRequest parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
UpdateFieldRequest |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateFieldRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateFieldRequest |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static UpdateFieldRequest parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
UpdateFieldRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpdateFieldRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateFieldRequest |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<UpdateFieldRequest> parser()
Type | Description |
Parser<UpdateFieldRequest> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public UpdateFieldRequest getDefaultInstanceForType()
Type | Description |
UpdateFieldRequest |
getField()
public Field getField()
Required. The field to be updated.
.google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Field | The field. |
getFieldOrBuilder()
public FieldOrBuilder getFieldOrBuilder()
Required. The field to be updated.
.google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
FieldOrBuilder |
getParserForType()
public Parser<UpdateFieldRequest> getParserForType()
Type | Description |
Parser<UpdateFieldRequest> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
getUpdateMask()
public 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;
Type | Description |
FieldMask | The updateMask. |
getUpdateMaskOrBuilder()
public 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;
Type | Description |
FieldMaskOrBuilder |
hasField()
public boolean hasField()
Required. The field to be updated.
.google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the field field is set. |
hasUpdateMask()
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;
Type | Description |
boolean | Whether the updateMask field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public UpdateFieldRequest.Builder newBuilderForType()
Type | Description |
UpdateFieldRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpdateFieldRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
UpdateFieldRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public UpdateFieldRequest.Builder toBuilder()
Type | Description |
UpdateFieldRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |