Class UpdateBackupScheduleRequest (3.20.0)

public final class UpdateBackupScheduleRequest extends GeneratedMessageV3 implements UpdateBackupScheduleRequestOrBuilder

The request for FirestoreAdmin.UpdateBackupSchedule.

Protobuf type google.firestore.admin.v1.UpdateBackupScheduleRequest

Static Fields

BACKUP_SCHEDULE_FIELD_NUMBER

public static final int BACKUP_SCHEDULE_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UpdateBackupScheduleRequest getDefaultInstance()
Returns
TypeDescription
UpdateBackupScheduleRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static UpdateBackupScheduleRequest.Builder newBuilder()
Returns
TypeDescription
UpdateBackupScheduleRequest.Builder

newBuilder(UpdateBackupScheduleRequest prototype)

public static UpdateBackupScheduleRequest.Builder newBuilder(UpdateBackupScheduleRequest prototype)
Parameter
NameDescription
prototypeUpdateBackupScheduleRequest
Returns
TypeDescription
UpdateBackupScheduleRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateBackupScheduleRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateBackupScheduleRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateBackupScheduleRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateBackupScheduleRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static UpdateBackupScheduleRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
UpdateBackupScheduleRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateBackupScheduleRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateBackupScheduleRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateBackupScheduleRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
UpdateBackupScheduleRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateBackupScheduleRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateBackupScheduleRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateBackupScheduleRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
UpdateBackupScheduleRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateBackupScheduleRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateBackupScheduleRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static UpdateBackupScheduleRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateBackupScheduleRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateBackupScheduleRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateBackupScheduleRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static UpdateBackupScheduleRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
UpdateBackupScheduleRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateBackupScheduleRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateBackupScheduleRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<UpdateBackupScheduleRequest> parser()
Returns
TypeDescription
Parser<UpdateBackupScheduleRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getBackupSchedule()

public BackupSchedule getBackupSchedule()

Required. The backup schedule to update.

.google.firestore.admin.v1.BackupSchedule backup_schedule = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
BackupSchedule

The backupSchedule.

getBackupScheduleOrBuilder()

public BackupScheduleOrBuilder getBackupScheduleOrBuilder()

Required. The backup schedule to update.

.google.firestore.admin.v1.BackupSchedule backup_schedule = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
BackupScheduleOrBuilder

getDefaultInstanceForType()

public UpdateBackupScheduleRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateBackupScheduleRequest

getParserForType()

public Parser<UpdateBackupScheduleRequest> getParserForType()
Returns
TypeDescription
Parser<UpdateBackupScheduleRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMaskOrBuilder

hasBackupSchedule()

public boolean hasBackupSchedule()

Required. The backup schedule to update.

.google.firestore.admin.v1.BackupSchedule backup_schedule = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the backupSchedule field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
boolean

Whether the updateMask field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public UpdateBackupScheduleRequest.Builder newBuilderForType()
Returns
TypeDescription
UpdateBackupScheduleRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateBackupScheduleRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
UpdateBackupScheduleRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public UpdateBackupScheduleRequest.Builder toBuilder()
Returns
TypeDescription
UpdateBackupScheduleRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException