Class DataSourceGcpResource (0.39.0)

publicfinalclass DataSourceGcpResourceextendsGeneratedMessageV3implementsDataSourceGcpResourceOrBuilder

DataSourceGcpResource is used for protected resources that are Google Cloud Resources. This name is easeier to understand than GcpResourceDataSource or GcpDataSourceResource

Protobuf type google.cloud.backupdr.v1.DataSourceGcpResource

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

CLOUD_SQL_INSTANCE_DATASOURCE_PROPERTIES_FIELD_NUMBER

publicstaticfinalintCLOUD_SQL_INSTANCE_DATASOURCE_PROPERTIES_FIELD_NUMBER
Field Value
Type Description
int

COMPUTE_INSTANCE_DATASOURCE_PROPERTIES_FIELD_NUMBER

publicstaticfinalintCOMPUTE_INSTANCE_DATASOURCE_PROPERTIES_FIELD_NUMBER
Field Value
Type Description
int

DISK_DATASOURCE_PROPERTIES_FIELD_NUMBER

publicstaticfinalintDISK_DATASOURCE_PROPERTIES_FIELD_NUMBER
Field Value
Type Description
int

GCP_RESOURCENAME_FIELD_NUMBER

publicstaticfinalintGCP_RESOURCENAME_FIELD_NUMBER
Field Value
Type Description
int

LOCATION_FIELD_NUMBER

publicstaticfinalintLOCATION_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

publicstaticfinalintTYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticDataSourceGcpResourcegetDefaultInstance()
Returns
Type Description
DataSourceGcpResource

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticDataSourceGcpResource.BuildernewBuilder()
Returns
Type Description
DataSourceGcpResource.Builder

newBuilder(DataSourceGcpResource prototype)

publicstaticDataSourceGcpResource.BuildernewBuilder(DataSourceGcpResourceprototype)
Parameter
Name Description
prototype DataSourceGcpResource
Returns
Type Description
DataSourceGcpResource.Builder

parseDelimitedFrom(InputStream input)

publicstaticDataSourceGcpResourceparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
DataSourceGcpResource
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticDataSourceGcpResourceparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataSourceGcpResource
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticDataSourceGcpResourceparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
DataSourceGcpResource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticDataSourceGcpResourceparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataSourceGcpResource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticDataSourceGcpResourceparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
DataSourceGcpResource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticDataSourceGcpResourceparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataSourceGcpResource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticDataSourceGcpResourceparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DataSourceGcpResource
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticDataSourceGcpResourceparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataSourceGcpResource
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticDataSourceGcpResourceparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
DataSourceGcpResource
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticDataSourceGcpResourceparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataSourceGcpResource
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticDataSourceGcpResourceparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DataSourceGcpResource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticDataSourceGcpResourceparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataSourceGcpResource
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<DataSourceGcpResource>parser()
Returns
Type Description
Parser<DataSourceGcpResource>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCloudSqlInstanceDatasourceProperties()

publicCloudSqlInstanceDataSourcePropertiesgetCloudSqlInstanceDatasourceProperties()

Output only. CloudSqlInstanceDataSourceProperties has a subset of Cloud SQL Instance properties that are useful at the Datasource level.

.google.cloud.backupdr.v1.CloudSqlInstanceDataSourceProperties cloud_sql_instance_datasource_properties = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CloudSqlInstanceDataSourceProperties

The cloudSqlInstanceDatasourceProperties.

getCloudSqlInstanceDatasourcePropertiesOrBuilder()

publicCloudSqlInstanceDataSourcePropertiesOrBuildergetCloudSqlInstanceDatasourcePropertiesOrBuilder()

Output only. CloudSqlInstanceDataSourceProperties has a subset of Cloud SQL Instance properties that are useful at the Datasource level.

.google.cloud.backupdr.v1.CloudSqlInstanceDataSourceProperties cloud_sql_instance_datasource_properties = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CloudSqlInstanceDataSourcePropertiesOrBuilder

getComputeInstanceDatasourceProperties()

publicComputeInstanceDataSourcePropertiesgetComputeInstanceDatasourceProperties()

ComputeInstanceDataSourceProperties has a subset of Compute Instance properties that are useful at the Datasource level.

.google.cloud.backupdr.v1.ComputeInstanceDataSourceProperties compute_instance_datasource_properties = 4;

Returns
Type Description
ComputeInstanceDataSourceProperties

The computeInstanceDatasourceProperties.

getComputeInstanceDatasourcePropertiesOrBuilder()

publicComputeInstanceDataSourcePropertiesOrBuildergetComputeInstanceDatasourcePropertiesOrBuilder()

ComputeInstanceDataSourceProperties has a subset of Compute Instance properties that are useful at the Datasource level.

.google.cloud.backupdr.v1.ComputeInstanceDataSourceProperties compute_instance_datasource_properties = 4;

Returns
Type Description
ComputeInstanceDataSourcePropertiesOrBuilder

getDefaultInstanceForType()

publicDataSourceGcpResourcegetDefaultInstanceForType()
Returns
Type Description
DataSourceGcpResource

getDiskDatasourceProperties()

publicDiskDataSourcePropertiesgetDiskDatasourceProperties()

DiskDataSourceProperties has a subset of Disk properties that are useful at the Datasource level.

.google.cloud.backupdr.v1.DiskDataSourceProperties disk_datasource_properties = 7;

Returns
Type Description
DiskDataSourceProperties

The diskDatasourceProperties.

getDiskDatasourcePropertiesOrBuilder()

publicDiskDataSourcePropertiesOrBuildergetDiskDatasourcePropertiesOrBuilder()

DiskDataSourceProperties has a subset of Disk properties that are useful at the Datasource level.

.google.cloud.backupdr.v1.DiskDataSourceProperties disk_datasource_properties = 7;

Returns
Type Description
DiskDataSourcePropertiesOrBuilder

getGcpResourcePropertiesCase()

publicDataSourceGcpResource.GcpResourcePropertiesCasegetGcpResourcePropertiesCase()
Returns
Type Description
DataSourceGcpResource.GcpResourcePropertiesCase

getGcpResourcename()

publicStringgetGcpResourcename()

Output only. Full resource pathname URL of the source Google Cloud resource.

string gcp_resourcename = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The gcpResourcename.

getGcpResourcenameBytes()

publicByteStringgetGcpResourcenameBytes()

Output only. Full resource pathname URL of the source Google Cloud resource.

string gcp_resourcename = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for gcpResourcename.

getLocation()

publicStringgetLocation()

Location of the resource: <region>/<zone>/"global"/"unspecified".

string location = 2;

Returns
Type Description
String

The location.

getLocationBytes()

publicByteStringgetLocationBytes()

Location of the resource: <region>/<zone>/"global"/"unspecified".

string location = 2;

Returns
Type Description
ByteString

The bytes for location.

getParserForType()

publicParser<DataSourceGcpResource>getParserForType()
Returns
Type Description
Parser<DataSourceGcpResource>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getType()

publicStringgetType()

The type of the Google Cloud resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance.

string type = 3;

Returns
Type Description
String

The type.

getTypeBytes()

publicByteStringgetTypeBytes()

The type of the Google Cloud resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance.

string type = 3;

Returns
Type Description
ByteString

The bytes for type.

hasCloudSqlInstanceDatasourceProperties()

publicbooleanhasCloudSqlInstanceDatasourceProperties()

Output only. CloudSqlInstanceDataSourceProperties has a subset of Cloud SQL Instance properties that are useful at the Datasource level.

.google.cloud.backupdr.v1.CloudSqlInstanceDataSourceProperties cloud_sql_instance_datasource_properties = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the cloudSqlInstanceDatasourceProperties field is set.

hasComputeInstanceDatasourceProperties()

publicbooleanhasComputeInstanceDatasourceProperties()

ComputeInstanceDataSourceProperties has a subset of Compute Instance properties that are useful at the Datasource level.

.google.cloud.backupdr.v1.ComputeInstanceDataSourceProperties compute_instance_datasource_properties = 4;

Returns
Type Description
boolean

Whether the computeInstanceDatasourceProperties field is set.

hasDiskDatasourceProperties()

publicbooleanhasDiskDatasourceProperties()

DiskDataSourceProperties has a subset of Disk properties that are useful at the Datasource level.

.google.cloud.backupdr.v1.DiskDataSourceProperties disk_datasource_properties = 7;

Returns
Type Description
boolean

Whether the diskDatasourceProperties field is set.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicDataSourceGcpResource.BuildernewBuilderForType()
Returns
Type Description
DataSourceGcpResource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedDataSourceGcpResource.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DataSourceGcpResource.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicDataSourceGcpResource.BuildertoBuilder()
Returns
Type Description
DataSourceGcpResource.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.