public static final class CloudSqlInstanceDataSourceReferenceProperties.Builder extends GeneratedMessageV3.Builder<CloudSqlInstanceDataSourceReferenceProperties.Builder> implements CloudSqlInstanceDataSourceReferencePropertiesOrBuilderCloudSqlInstanceDataSourceReferenceProperties represents the properties of a Cloud SQL resource that are stored in the DataSourceReference.
 Protobuf type google.cloud.backupdr.v1.CloudSqlInstanceDataSourceReferenceProperties
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CloudSqlInstanceDataSourceReferenceProperties.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CloudSqlInstanceDataSourceReferenceProperties.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| CloudSqlInstanceDataSourceReferenceProperties.Builder | |
build()
public CloudSqlInstanceDataSourceReferenceProperties build()| Returns | |
|---|---|
| Type | Description | 
| CloudSqlInstanceDataSourceReferenceProperties | |
buildPartial()
public CloudSqlInstanceDataSourceReferenceProperties buildPartial()| Returns | |
|---|---|
| Type | Description | 
| CloudSqlInstanceDataSourceReferenceProperties | |
clear()
public CloudSqlInstanceDataSourceReferenceProperties.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| CloudSqlInstanceDataSourceReferenceProperties.Builder | |
clearDatabaseInstalledVersion()
public CloudSqlInstanceDataSourceReferenceProperties.Builder clearDatabaseInstalledVersion()Output only. The installed database version of the Cloud SQL instance.
 string database_installed_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| CloudSqlInstanceDataSourceReferenceProperties.Builder | This builder for chaining. | 
clearField(Descriptors.FieldDescriptor field)
public CloudSqlInstanceDataSourceReferenceProperties.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| CloudSqlInstanceDataSourceReferenceProperties.Builder | |
clearInstanceCreateTime()
public CloudSqlInstanceDataSourceReferenceProperties.Builder clearInstanceCreateTime()Output only. The instance creation timestamp.
 
 .google.protobuf.Timestamp instance_create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| CloudSqlInstanceDataSourceReferenceProperties.Builder | |
clearInstanceTier()
public CloudSqlInstanceDataSourceReferenceProperties.Builder clearInstanceTier() Output only. The tier (or machine type) for this instance. Example:
 db-custom-1-3840
 string instance_tier = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| CloudSqlInstanceDataSourceReferenceProperties.Builder | This builder for chaining. | 
clearName()
public CloudSqlInstanceDataSourceReferenceProperties.Builder clearName()Output only. Name of the Cloud SQL instance backed up by the datasource. Format: projects/{project}/instances/{instance}
 
 string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
 
| Returns | |
|---|---|
| Type | Description | 
| CloudSqlInstanceDataSourceReferenceProperties.Builder | This builder for chaining. | 
clearOneof(Descriptors.OneofDescriptor oneof)
public CloudSqlInstanceDataSourceReferenceProperties.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| CloudSqlInstanceDataSourceReferenceProperties.Builder | |
clone()
public CloudSqlInstanceDataSourceReferenceProperties.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| CloudSqlInstanceDataSourceReferenceProperties.Builder | |
getDatabaseInstalledVersion()
public String getDatabaseInstalledVersion()Output only. The installed database version of the Cloud SQL instance.
 string database_installed_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| String | The databaseInstalledVersion. | 
getDatabaseInstalledVersionBytes()
public ByteString getDatabaseInstalledVersionBytes()Output only. The installed database version of the Cloud SQL instance.
 string database_installed_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for databaseInstalledVersion. | 
getDefaultInstanceForType()
public CloudSqlInstanceDataSourceReferenceProperties getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| CloudSqlInstanceDataSourceReferenceProperties | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
getInstanceCreateTime()
public Timestamp getInstanceCreateTime()Output only. The instance creation timestamp.
 
 .google.protobuf.Timestamp instance_create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| Timestamp | The instanceCreateTime. | 
getInstanceCreateTimeBuilder()
public Timestamp.Builder getInstanceCreateTimeBuilder()Output only. The instance creation timestamp.
 
 .google.protobuf.Timestamp instance_create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| Builder | |
getInstanceCreateTimeOrBuilder()
public TimestampOrBuilder getInstanceCreateTimeOrBuilder()Output only. The instance creation timestamp.
 
 .google.protobuf.Timestamp instance_create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| TimestampOrBuilder | |
getInstanceTier()
public String getInstanceTier() Output only. The tier (or machine type) for this instance. Example:
 db-custom-1-3840
 string instance_tier = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| String | The instanceTier. | 
getInstanceTierBytes()
public ByteString getInstanceTierBytes() Output only. The tier (or machine type) for this instance. Example:
 db-custom-1-3840
 string instance_tier = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for instanceTier. | 
getName()
public String getName()Output only. Name of the Cloud SQL instance backed up by the datasource. Format: projects/{project}/instances/{instance}
 
 string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
 
| Returns | |
|---|---|
| Type | Description | 
| String | The name. | 
getNameBytes()
public ByteString getNameBytes()Output only. Name of the Cloud SQL instance backed up by the datasource. Format: projects/{project}/instances/{instance}
 
 string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
 
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for name. | 
hasInstanceCreateTime()
public boolean hasInstanceCreateTime()Output only. The instance creation timestamp.
 
 .google.protobuf.Timestamp instance_create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the instanceCreateTime field is set. | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
| FieldAccessorTable | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
mergeFrom(CloudSqlInstanceDataSourceReferenceProperties other)
public CloudSqlInstanceDataSourceReferenceProperties.Builder mergeFrom(CloudSqlInstanceDataSourceReferenceProperties other)| Parameter | |
|---|---|
| Name | Description | 
| other | CloudSqlInstanceDataSourceReferenceProperties | 
| Returns | |
|---|---|
| Type | Description | 
| CloudSqlInstanceDataSourceReferenceProperties.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CloudSqlInstanceDataSourceReferenceProperties.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| CloudSqlInstanceDataSourceReferenceProperties.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public CloudSqlInstanceDataSourceReferenceProperties.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| CloudSqlInstanceDataSourceReferenceProperties.Builder | |
mergeInstanceCreateTime(Timestamp value)
public CloudSqlInstanceDataSourceReferenceProperties.Builder mergeInstanceCreateTime(Timestamp value)Output only. The instance creation timestamp.
 
 .google.protobuf.Timestamp instance_create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| CloudSqlInstanceDataSourceReferenceProperties.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CloudSqlInstanceDataSourceReferenceProperties.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| CloudSqlInstanceDataSourceReferenceProperties.Builder | |
setDatabaseInstalledVersion(String value)
public CloudSqlInstanceDataSourceReferenceProperties.Builder setDatabaseInstalledVersion(String value)Output only. The installed database version of the Cloud SQL instance.
 string database_installed_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe databaseInstalledVersion to set. | 
| Returns | |
|---|---|
| Type | Description | 
| CloudSqlInstanceDataSourceReferenceProperties.Builder | This builder for chaining. | 
setDatabaseInstalledVersionBytes(ByteString value)
public CloudSqlInstanceDataSourceReferenceProperties.Builder setDatabaseInstalledVersionBytes(ByteString value)Output only. The installed database version of the Cloud SQL instance.
 string database_installed_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for databaseInstalledVersion to set. | 
| Returns | |
|---|---|
| Type | Description | 
| CloudSqlInstanceDataSourceReferenceProperties.Builder | This builder for chaining. | 
setField(Descriptors.FieldDescriptor field, Object value)
public CloudSqlInstanceDataSourceReferenceProperties.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| CloudSqlInstanceDataSourceReferenceProperties.Builder | |
setInstanceCreateTime(Timestamp value)
public CloudSqlInstanceDataSourceReferenceProperties.Builder setInstanceCreateTime(Timestamp value)Output only. The instance creation timestamp.
 
 .google.protobuf.Timestamp instance_create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| CloudSqlInstanceDataSourceReferenceProperties.Builder | |
setInstanceCreateTime(Timestamp.Builder builderForValue)
public CloudSqlInstanceDataSourceReferenceProperties.Builder setInstanceCreateTime(Timestamp.Builder builderForValue)Output only. The instance creation timestamp.
 
 .google.protobuf.Timestamp instance_create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | Builder | 
| Returns | |
|---|---|
| Type | Description | 
| CloudSqlInstanceDataSourceReferenceProperties.Builder | |
setInstanceTier(String value)
public CloudSqlInstanceDataSourceReferenceProperties.Builder setInstanceTier(String value) Output only. The tier (or machine type) for this instance. Example:
 db-custom-1-3840
 string instance_tier = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe instanceTier to set. | 
| Returns | |
|---|---|
| Type | Description | 
| CloudSqlInstanceDataSourceReferenceProperties.Builder | This builder for chaining. | 
setInstanceTierBytes(ByteString value)
public CloudSqlInstanceDataSourceReferenceProperties.Builder setInstanceTierBytes(ByteString value) Output only. The tier (or machine type) for this instance. Example:
 db-custom-1-3840
 string instance_tier = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for instanceTier to set. | 
| Returns | |
|---|---|
| Type | Description | 
| CloudSqlInstanceDataSourceReferenceProperties.Builder | This builder for chaining. | 
setName(String value)
public CloudSqlInstanceDataSourceReferenceProperties.Builder setName(String value)Output only. Name of the Cloud SQL instance backed up by the datasource. Format: projects/{project}/instances/{instance}
 
 string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
 
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe name to set. | 
| Returns | |
|---|---|
| Type | Description | 
| CloudSqlInstanceDataSourceReferenceProperties.Builder | This builder for chaining. | 
setNameBytes(ByteString value)
public CloudSqlInstanceDataSourceReferenceProperties.Builder setNameBytes(ByteString value)Output only. Name of the Cloud SQL instance backed up by the datasource. Format: projects/{project}/instances/{instance}
 
 string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
 
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for name to set. | 
| Returns | |
|---|---|
| Type | Description | 
| CloudSqlInstanceDataSourceReferenceProperties.Builder | This builder for chaining. | 
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CloudSqlInstanceDataSourceReferenceProperties.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| CloudSqlInstanceDataSourceReferenceProperties.Builder | |
setUnknownFields(UnknownFieldSet unknownFields)
public final CloudSqlInstanceDataSourceReferenceProperties.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| CloudSqlInstanceDataSourceReferenceProperties.Builder | |