public final class UpdateBackupRequest extends GeneratedMessageV3 implements UpdateBackupRequestOrBuilder
The request for UpdateBackup.
Protobuf type google.spanner.admin.database.v1.UpdateBackupRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > UpdateBackupRequestImplements
UpdateBackupRequestOrBuilderFields
BACKUP_FIELD_NUMBER
public static final int BACKUP_FIELD_NUMBER
Type | Description |
int |
UPDATE_MASK_FIELD_NUMBER
public static final int UPDATE_MASK_FIELD_NUMBER
Type | Description |
int |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getBackup()
public Backup getBackup()
Required. The backup to update. backup.name
, and the fields to be updated
as specified by update_mask
are required. Other fields are ignored.
Update is only supported for the following fields:
backup.expire_time
.
.google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Backup | The backup. |
getBackupOrBuilder()
public BackupOrBuilder getBackupOrBuilder()
Required. The backup to update. backup.name
, and the fields to be updated
as specified by update_mask
are required. Other fields are ignored.
Update is only supported for the following fields:
backup.expire_time
.
.google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
BackupOrBuilder |
getDefaultInstance()
public static UpdateBackupRequest getDefaultInstance()
Type | Description |
UpdateBackupRequest |
getDefaultInstanceForType()
public UpdateBackupRequest getDefaultInstanceForType()
Type | Description |
UpdateBackupRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getParserForType()
public Parser<UpdateBackupRequest> getParserForType()
Type | Description |
Parser<UpdateBackupRequest> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
getUpdateMask()
public FieldMask getUpdateMask()
Required. A mask specifying which fields (e.g. expire_time
) in the
Backup resource should be updated. This mask is relative to the Backup
resource, not to the request message. The field mask must always be
specified; this prevents any future fields from being erased accidentally
by clients that do not know about them.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
FieldMask | The updateMask. |
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Required. A mask specifying which fields (e.g. expire_time
) in the
Backup resource should be updated. This mask is relative to the Backup
resource, not to the request message. The field mask must always be
specified; this prevents any future fields from being erased accidentally
by clients that do not know about them.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
FieldMaskOrBuilder |
hasBackup()
public boolean hasBackup()
Required. The backup to update. backup.name
, and the fields to be updated
as specified by update_mask
are required. Other fields are ignored.
Update is only supported for the following fields:
backup.expire_time
.
.google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the backup field is set. |
hasUpdateMask()
public boolean hasUpdateMask()
Required. A mask specifying which fields (e.g. expire_time
) in the
Backup resource should be updated. This mask is relative to the Backup
resource, not to the request message. The field mask must always be
specified; this prevents any future fields from being erased accidentally
by clients that do not know about them.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
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 |
newBuilder()
public static UpdateBackupRequest.Builder newBuilder()
Type | Description |
UpdateBackupRequest.Builder |
newBuilder(UpdateBackupRequest prototype)
public static UpdateBackupRequest.Builder newBuilder(UpdateBackupRequest prototype)
Name | Description |
prototype | UpdateBackupRequest |
Type | Description |
UpdateBackupRequest.Builder |
newBuilderForType()
public UpdateBackupRequest.Builder newBuilderForType()
Type | Description |
UpdateBackupRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpdateBackupRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
UpdateBackupRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
parseDelimitedFrom(InputStream input)
public static UpdateBackupRequest parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
UpdateBackupRequest |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateBackupRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateBackupRequest |
Type | Description |
IOException |
parseFrom(byte[] data)
public static UpdateBackupRequest parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
UpdateBackupRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateBackupRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateBackupRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static UpdateBackupRequest parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
UpdateBackupRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateBackupRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateBackupRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static UpdateBackupRequest parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
UpdateBackupRequest |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateBackupRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateBackupRequest |
Type | Description |
IOException |
parseFrom(InputStream input)
public static UpdateBackupRequest parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
UpdateBackupRequest |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateBackupRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateBackupRequest |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static UpdateBackupRequest parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
UpdateBackupRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpdateBackupRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateBackupRequest |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<UpdateBackupRequest> parser()
Type | Description |
Parser<UpdateBackupRequest> |
toBuilder()
public UpdateBackupRequest.Builder toBuilder()
Type | Description |
UpdateBackupRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |