public static final class CreateBackupScheduleRequest.Builder extends GeneratedMessageV3.Builder<CreateBackupScheduleRequest.Builder> implements CreateBackupScheduleRequestOrBuilder
The request for
FirestoreAdmin.CreateBackupSchedule.
Protobuf type google.firestore.admin.v1.CreateBackupScheduleRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateBackupScheduleRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateBackupScheduleRequest build()
buildPartial()
public CreateBackupScheduleRequest buildPartial()
clear()
public CreateBackupScheduleRequest.Builder clear()
Overrides
clearBackupSchedule()
public CreateBackupScheduleRequest.Builder clearBackupSchedule()
Required. The backup schedule to create.
.google.firestore.admin.v1.BackupSchedule backup_schedule = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public CreateBackupScheduleRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateBackupScheduleRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateBackupScheduleRequest.Builder clearParent()
Required. The parent database.
Format projects/{project}/databases/{database}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clone()
public CreateBackupScheduleRequest.Builder clone()
Overrides
getBackupSchedule()
public BackupSchedule getBackupSchedule()
Required. The backup schedule to create.
.google.firestore.admin.v1.BackupSchedule backup_schedule = 2 [(.google.api.field_behavior) = REQUIRED];
getBackupScheduleBuilder()
public BackupSchedule.Builder getBackupScheduleBuilder()
Required. The backup schedule to create.
.google.firestore.admin.v1.BackupSchedule backup_schedule = 2 [(.google.api.field_behavior) = REQUIRED];
getBackupScheduleOrBuilder()
public BackupScheduleOrBuilder getBackupScheduleOrBuilder()
Required. The backup schedule to create.
.google.firestore.admin.v1.BackupSchedule backup_schedule = 2 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public CreateBackupScheduleRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getParent()
public String getParent()
Required. The parent database.
Format projects/{project}/databases/{database}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. The parent database.
Format projects/{project}/databases/{database}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for parent.
|
hasBackupSchedule()
public boolean hasBackupSchedule()
Required. The backup schedule to create.
.google.firestore.admin.v1.BackupSchedule backup_schedule = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the backupSchedule field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeBackupSchedule(BackupSchedule value)
public CreateBackupScheduleRequest.Builder mergeBackupSchedule(BackupSchedule value)
Required. The backup schedule to create.
.google.firestore.admin.v1.BackupSchedule backup_schedule = 2 [(.google.api.field_behavior) = REQUIRED];
mergeFrom(CreateBackupScheduleRequest other)
public CreateBackupScheduleRequest.Builder mergeFrom(CreateBackupScheduleRequest other)
public CreateBackupScheduleRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateBackupScheduleRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateBackupScheduleRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setBackupSchedule(BackupSchedule value)
public CreateBackupScheduleRequest.Builder setBackupSchedule(BackupSchedule value)
Required. The backup schedule to create.
.google.firestore.admin.v1.BackupSchedule backup_schedule = 2 [(.google.api.field_behavior) = REQUIRED];
setBackupSchedule(BackupSchedule.Builder builderForValue)
public CreateBackupScheduleRequest.Builder setBackupSchedule(BackupSchedule.Builder builderForValue)
Required. The backup schedule to create.
.google.firestore.admin.v1.BackupSchedule backup_schedule = 2 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public CreateBackupScheduleRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public CreateBackupScheduleRequest.Builder setParent(String value)
Required. The parent database.
Format projects/{project}/databases/{database}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The parent to set.
|
setParentBytes(ByteString value)
public CreateBackupScheduleRequest.Builder setParentBytes(ByteString value)
Required. The parent database.
Format projects/{project}/databases/{database}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateBackupScheduleRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateBackupScheduleRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides