public final class CloudSQLBackupRunSource extends GeneratedMessage implements CloudSQLBackupRunSourceOrBuilderThe source CloudSQL backup resource.
Protobuf type google.cloud.alloydb.v1beta.CloudSQLBackupRunSource
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > CloudSQLBackupRunSourceImplements
CloudSQLBackupRunSourceOrBuilderStatic Fields
BACKUP_RUN_ID_FIELD_NUMBER
public static final int BACKUP_RUN_ID_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
INSTANCE_ID_FIELD_NUMBER
public static final int INSTANCE_ID_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
PROJECT_FIELD_NUMBER
public static final int PROJECT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static CloudSQLBackupRunSource getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
CloudSQLBackupRunSource |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static CloudSQLBackupRunSource.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
CloudSQLBackupRunSource.Builder |
|
newBuilder(CloudSQLBackupRunSource prototype)
public static CloudSQLBackupRunSource.Builder newBuilder(CloudSQLBackupRunSource prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
CloudSQLBackupRunSource |
| Returns | |
|---|---|
| Type | Description |
CloudSQLBackupRunSource.Builder |
|
parseDelimitedFrom(InputStream input)
public static CloudSQLBackupRunSource parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
CloudSQLBackupRunSource |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CloudSQLBackupRunSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CloudSQLBackupRunSource |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static CloudSQLBackupRunSource parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
CloudSQLBackupRunSource |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CloudSQLBackupRunSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CloudSQLBackupRunSource |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static CloudSQLBackupRunSource parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
CloudSQLBackupRunSource |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CloudSQLBackupRunSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CloudSQLBackupRunSource |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static CloudSQLBackupRunSource parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
CloudSQLBackupRunSource |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CloudSQLBackupRunSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CloudSQLBackupRunSource |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static CloudSQLBackupRunSource parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
CloudSQLBackupRunSource |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CloudSQLBackupRunSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CloudSQLBackupRunSource |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static CloudSQLBackupRunSource parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
CloudSQLBackupRunSource |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CloudSQLBackupRunSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CloudSQLBackupRunSource |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<CloudSQLBackupRunSource> parser()| Returns | |
|---|---|
| Type | Description |
Parser<CloudSQLBackupRunSource> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getBackupRunId()
public long getBackupRunId()Required. The CloudSQL backup run ID.
int64 backup_run_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
long |
The backupRunId. |
getDefaultInstanceForType()
public CloudSQLBackupRunSource getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CloudSQLBackupRunSource |
|
getInstanceId()
public String getInstanceId()Required. The CloudSQL instance ID.
string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The instanceId. |
getInstanceIdBytes()
public ByteString getInstanceIdBytes()Required. The CloudSQL instance ID.
string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for instanceId. |
getParserForType()
public Parser<CloudSQLBackupRunSource> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<CloudSQLBackupRunSource> |
|
getProject()
public String getProject()The project ID of the source CloudSQL instance. This should be the same as the AlloyDB cluster's project.
string project = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The project. |
getProjectBytes()
public ByteString getProjectBytes()The project ID of the source CloudSQL instance. This should be the same as the AlloyDB cluster's project.
string project = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for project. |
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public CloudSQLBackupRunSource.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
CloudSQLBackupRunSource.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected CloudSQLBackupRunSource.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
CloudSQLBackupRunSource.Builder |
|
toBuilder()
public CloudSQLBackupRunSource.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
CloudSQLBackupRunSource.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|