public final class BackupSource extends GeneratedMessageV3 implements BackupSourceOrBuilder
Message describing a BackupSource.
Protobuf type google.cloud.alloydb.v1alpha.BackupSource
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > BackupSourceImplements
BackupSourceOrBuilderStatic Fields
BACKUP_NAME_FIELD_NUMBER
public static final int BACKUP_NAME_FIELD_NUMBER
Type | Description |
int |
BACKUP_UID_FIELD_NUMBER
public static final int BACKUP_UID_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static BackupSource getDefaultInstance()
Type | Description |
BackupSource |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static BackupSource.Builder newBuilder()
Type | Description |
BackupSource.Builder |
newBuilder(BackupSource prototype)
public static BackupSource.Builder newBuilder(BackupSource prototype)
Name | Description |
prototype |
BackupSource |
Type | Description |
BackupSource.Builder |
parseDelimitedFrom(InputStream input)
public static BackupSource parseDelimitedFrom(InputStream input)
Name | Description |
input |
InputStream |
Type | Description |
BackupSource |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BackupSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
BackupSource |
Type | Description |
IOException |
parseFrom(byte[] data)
public static BackupSource parseFrom(byte[] data)
Name | Description |
data |
byte[] |
Type | Description |
BackupSource |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BackupSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
BackupSource |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static BackupSource parseFrom(ByteString data)
Name | Description |
data |
ByteString |
Type | Description |
BackupSource |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BackupSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
BackupSource |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static BackupSource parseFrom(CodedInputStream input)
Name | Description |
input |
CodedInputStream |
Type | Description |
BackupSource |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BackupSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
BackupSource |
Type | Description |
IOException |
parseFrom(InputStream input)
public static BackupSource parseFrom(InputStream input)
Name | Description |
input |
InputStream |
Type | Description |
BackupSource |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BackupSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
BackupSource |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static BackupSource parseFrom(ByteBuffer data)
Name | Description |
data |
ByteBuffer |
Type | Description |
BackupSource |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BackupSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
BackupSource |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<BackupSource> parser()
Type | Description |
Parser<BackupSource> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj |
Object |
Type | Description |
boolean |
getBackupName()
public String getBackupName()
Required. The name of the backup resource with the format:
- projects/{project}/locations/{region}/backups/{backup_id}
string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String |
The backupName. |
getBackupNameBytes()
public ByteString getBackupNameBytes()
Required. The name of the backup resource with the format:
- projects/{project}/locations/{region}/backups/{backup_id}
string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString |
The bytes for backupName. |
getBackupUid()
public String getBackupUid()
Output only. The system-generated UID of the backup which was used to create this resource. The UID is generated when the backup is created, and it is retained until the backup is deleted.
string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String |
The backupUid. |
getBackupUidBytes()
public ByteString getBackupUidBytes()
Output only. The system-generated UID of the backup which was used to create this resource. The UID is generated when the backup is created, and it is retained until the backup is deleted.
string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString |
The bytes for backupUid. |
getDefaultInstanceForType()
public BackupSource getDefaultInstanceForType()
Type | Description |
BackupSource |
getParserForType()
public Parser<BackupSource> getParserForType()
Type | Description |
Parser<BackupSource> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
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 BackupSource.Builder newBuilderForType()
Type | Description |
BackupSource.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BackupSource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent |
BuilderParent |
Type | Description |
BackupSource.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused |
UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public BackupSource.Builder toBuilder()
Type | Description |
BackupSource.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output |
CodedOutputStream |
Type | Description |
IOException |