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()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticDataSourceGcpResource.BuildernewBuilder()
newBuilder(DataSourceGcpResource prototype)
publicstaticDataSourceGcpResource.BuildernewBuilder(DataSourceGcpResourceprototype)
publicstaticDataSourceGcpResourceparseDelimitedFrom(InputStreaminput)
publicstaticDataSourceGcpResourceparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticDataSourceGcpResourceparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticDataSourceGcpResourceparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticDataSourceGcpResourceparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticDataSourceGcpResourceparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticDataSourceGcpResourceparseFrom(CodedInputStreaminput)
publicstaticDataSourceGcpResourceparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticDataSourceGcpResourceparseFrom(InputStreaminput)
publicstaticDataSourceGcpResourceparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticDataSourceGcpResourceparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticDataSourceGcpResourceparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<DataSourceGcpResource>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
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];
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];
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;
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;
getDefaultInstanceForType()
publicDataSourceGcpResourcegetDefaultInstanceForType()
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;
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;
getGcpResourcePropertiesCase()
publicDataSourceGcpResource.GcpResourcePropertiesCasegetGcpResourcePropertiesCase()
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()
Overrides
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
getType()
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()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicDataSourceGcpResource.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedDataSourceGcpResource.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicDataSourceGcpResource.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides