Interface DataSourceGcpResourceInfoOrBuilder (0.29.0)

public interface DataSourceGcpResourceInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCloudSqlInstanceProperties()

public abstract CloudSqlInstanceDataSourceReferenceProperties getCloudSqlInstanceProperties()

Output only. The properties of the Cloud SQL instance.

.google.cloud.backupdr.v1.CloudSqlInstanceDataSourceReferenceProperties cloud_sql_instance_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CloudSqlInstanceDataSourceReferenceProperties

The cloudSqlInstanceProperties.

getCloudSqlInstancePropertiesOrBuilder()

public abstract CloudSqlInstanceDataSourceReferencePropertiesOrBuilder getCloudSqlInstancePropertiesOrBuilder()

Output only. The properties of the Cloud SQL instance.

.google.cloud.backupdr.v1.CloudSqlInstanceDataSourceReferenceProperties cloud_sql_instance_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CloudSqlInstanceDataSourceReferencePropertiesOrBuilder

getGcpResourcename()

public abstract String getGcpResourcename()

Output only. The resource name of the GCP resource. Ex: projects/{project}/zones/{zone}/instances/{instance}

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

Returns
Type Description
String

The gcpResourcename.

getGcpResourcenameBytes()

public abstract ByteString getGcpResourcenameBytes()

Output only. The resource name of the GCP resource. Ex: projects/{project}/zones/{zone}/instances/{instance}

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

Returns
Type Description
ByteString

The bytes for gcpResourcename.

getLocation()

public abstract String getLocation()

Output only. The location of the GCP resource. Ex: <region>/<zone>/"global"/"unspecified"

string location = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The location.

getLocationBytes()

public abstract ByteString getLocationBytes()

Output only. The location of the GCP resource. Ex: <region>/<zone>/"global"/"unspecified"

string location = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for location.

getResourcePropertiesCase()

public abstract DataSourceGcpResourceInfo.ResourcePropertiesCase getResourcePropertiesCase()
Returns
Type Description
DataSourceGcpResourceInfo.ResourcePropertiesCase

getType()

public abstract String getType()

Output only. The type of the GCP resource. Ex: compute.googleapis.com/Instance

string type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The type.

getTypeBytes()

public abstract ByteString getTypeBytes()

Output only. The type of the GCP resource. Ex: compute.googleapis.com/Instance

string type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for type.

hasCloudSqlInstanceProperties()

public abstract boolean hasCloudSqlInstanceProperties()

Output only. The properties of the Cloud SQL instance.

.google.cloud.backupdr.v1.CloudSqlInstanceDataSourceReferenceProperties cloud_sql_instance_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the cloudSqlInstanceProperties field is set.