public static final class UpdateDatabaseRequest.Builder extends GeneratedMessageV3.Builder<UpdateDatabaseRequest.Builder> implements UpdateDatabaseRequestOrBuilder
The request for FirestoreAdmin.UpdateDatabase.
Protobuf type google.firestore.admin.v1.UpdateDatabaseRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateDatabaseRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateDatabaseRequest build()
Returns
buildPartial()
public UpdateDatabaseRequest buildPartial()
Returns
clear()
public UpdateDatabaseRequest.Builder clear()
Returns
Overrides
clearDatabase()
public UpdateDatabaseRequest.Builder clearDatabase()
Required. The database to update.
.google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public UpdateDatabaseRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateDatabaseRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearUpdateMask()
public UpdateDatabaseRequest.Builder clearUpdateMask()
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
clone()
public UpdateDatabaseRequest.Builder clone()
Returns
Overrides
getDatabase()
public Database getDatabase()
Required. The database to update.
.google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getDatabaseBuilder()
public Database.Builder getDatabaseBuilder()
Required. The database to update.
.google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getDatabaseOrBuilder()
public DatabaseOrBuilder getDatabaseOrBuilder()
Required. The database to update.
.google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public UpdateDatabaseRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getUpdateMask()
public FieldMask getUpdateMask()
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
hasDatabase()
public boolean hasDatabase()
Required. The database to update.
.google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the database field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
Type | Description |
boolean | Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeDatabase(Database value)
public UpdateDatabaseRequest.Builder mergeDatabase(Database value)
Required. The database to update.
.google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeFrom(UpdateDatabaseRequest other)
public UpdateDatabaseRequest.Builder mergeFrom(UpdateDatabaseRequest other)
Parameter
Returns
public UpdateDatabaseRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateDatabaseRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateDatabaseRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeUpdateMask(FieldMask value)
public UpdateDatabaseRequest.Builder mergeUpdateMask(FieldMask value)
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
Parameter
Returns
setDatabase(Database value)
public UpdateDatabaseRequest.Builder setDatabase(Database value)
Required. The database to update.
.google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setDatabase(Database.Builder builderForValue)
public UpdateDatabaseRequest.Builder setDatabase(Database.Builder builderForValue)
Required. The database to update.
.google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateDatabaseRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateDatabaseRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateDatabaseRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUpdateMask(FieldMask value)
public UpdateDatabaseRequest.Builder setUpdateMask(FieldMask value)
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
Parameter
Returns
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateDatabaseRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
Parameter
Name | Description |
builderForValue | Builder
|
Returns