Class CloudSqlInstanceDataSourceReferenceProperties.Builder (0.29.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicstaticfinalclass CloudSqlInstanceDataSourceReferenceProperties.BuilderextendsGeneratedMessageV3.Builder<CloudSqlInstanceDataSourceReferenceProperties.Builder>implementsCloudSqlInstanceDataSourceReferencePropertiesOrBuilderCloudSqlInstanceDataSourceReferenceProperties 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.BuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicCloudSqlInstanceDataSourceReferenceProperties.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
CloudSqlInstanceDataSourceReferenceProperties.Builder |
|
build()
publicCloudSqlInstanceDataSourceReferencePropertiesbuild()| Returns | |
|---|---|
| Type | Description |
CloudSqlInstanceDataSourceReferenceProperties |
|
buildPartial()
publicCloudSqlInstanceDataSourceReferencePropertiesbuildPartial()| Returns | |
|---|---|
| Type | Description |
CloudSqlInstanceDataSourceReferenceProperties |
|
clear()
publicCloudSqlInstanceDataSourceReferenceProperties.Builderclear()| Returns | |
|---|---|
| Type | Description |
CloudSqlInstanceDataSourceReferenceProperties.Builder |
|
clearDatabaseInstalledVersion()
publicCloudSqlInstanceDataSourceReferenceProperties.BuilderclearDatabaseInstalledVersion()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)
publicCloudSqlInstanceDataSourceReferenceProperties.BuilderclearField(Descriptors.FieldDescriptorfield)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
CloudSqlInstanceDataSourceReferenceProperties.Builder |
|
clearInstanceCreateTime()
publicCloudSqlInstanceDataSourceReferenceProperties.BuilderclearInstanceCreateTime()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()
publicCloudSqlInstanceDataSourceReferenceProperties.BuilderclearInstanceTier() 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()
publicCloudSqlInstanceDataSourceReferenceProperties.BuilderclearName()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)
publicCloudSqlInstanceDataSourceReferenceProperties.BuilderclearOneof(Descriptors.OneofDescriptoroneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
CloudSqlInstanceDataSourceReferenceProperties.Builder |
|
clone()
publicCloudSqlInstanceDataSourceReferenceProperties.Builderclone()| Returns | |
|---|---|
| Type | Description |
CloudSqlInstanceDataSourceReferenceProperties.Builder |
|
getDatabaseInstalledVersion()
publicStringgetDatabaseInstalledVersion()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()
publicByteStringgetDatabaseInstalledVersionBytes()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()
publicCloudSqlInstanceDataSourceReferencePropertiesgetDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CloudSqlInstanceDataSourceReferenceProperties |
|
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getInstanceCreateTime()
publicTimestampgetInstanceCreateTime()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()
publicTimestamp.BuildergetInstanceCreateTimeBuilder()Output only. The instance creation timestamp.
.google.protobuf.Timestamp instance_create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getInstanceCreateTimeOrBuilder()
publicTimestampOrBuildergetInstanceCreateTimeOrBuilder()Output only. The instance creation timestamp.
.google.protobuf.Timestamp instance_create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getInstanceTier()
publicStringgetInstanceTier() 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()
publicByteStringgetInstanceTierBytes() 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()
publicStringgetName()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()
publicByteStringgetNameBytes()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()
publicbooleanhasInstanceCreateTime()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()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
publicfinalbooleanisInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CloudSqlInstanceDataSourceReferenceProperties other)
publicCloudSqlInstanceDataSourceReferenceProperties.BuildermergeFrom(CloudSqlInstanceDataSourceReferencePropertiesother)| Parameter | |
|---|---|
| Name | Description |
other |
CloudSqlInstanceDataSourceReferenceProperties |
| Returns | |
|---|---|
| Type | Description |
CloudSqlInstanceDataSourceReferenceProperties.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicCloudSqlInstanceDataSourceReferenceProperties.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CloudSqlInstanceDataSourceReferenceProperties.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
publicCloudSqlInstanceDataSourceReferenceProperties.BuildermergeFrom(Messageother)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CloudSqlInstanceDataSourceReferenceProperties.Builder |
|
mergeInstanceCreateTime(Timestamp value)
publicCloudSqlInstanceDataSourceReferenceProperties.BuildermergeInstanceCreateTime(Timestampvalue)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)
publicfinalCloudSqlInstanceDataSourceReferenceProperties.BuildermergeUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
CloudSqlInstanceDataSourceReferenceProperties.Builder |
|
setDatabaseInstalledVersion(String value)
publicCloudSqlInstanceDataSourceReferenceProperties.BuildersetDatabaseInstalledVersion(Stringvalue)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 |
String The databaseInstalledVersion to set. |
| Returns | |
|---|---|
| Type | Description |
CloudSqlInstanceDataSourceReferenceProperties.Builder |
This builder for chaining. |
setDatabaseInstalledVersionBytes(ByteString value)
publicCloudSqlInstanceDataSourceReferenceProperties.BuildersetDatabaseInstalledVersionBytes(ByteStringvalue)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 |
ByteString The bytes for databaseInstalledVersion to set. |
| Returns | |
|---|---|
| Type | Description |
CloudSqlInstanceDataSourceReferenceProperties.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
publicCloudSqlInstanceDataSourceReferenceProperties.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
CloudSqlInstanceDataSourceReferenceProperties.Builder |
|
setInstanceCreateTime(Timestamp value)
publicCloudSqlInstanceDataSourceReferenceProperties.BuildersetInstanceCreateTime(Timestampvalue)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)
publicCloudSqlInstanceDataSourceReferenceProperties.BuildersetInstanceCreateTime(Timestamp.BuilderbuilderForValue)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)
publicCloudSqlInstanceDataSourceReferenceProperties.BuildersetInstanceTier(Stringvalue) 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 |
String The instanceTier to set. |
| Returns | |
|---|---|
| Type | Description |
CloudSqlInstanceDataSourceReferenceProperties.Builder |
This builder for chaining. |
setInstanceTierBytes(ByteString value)
publicCloudSqlInstanceDataSourceReferenceProperties.BuildersetInstanceTierBytes(ByteStringvalue) 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 |
ByteString The bytes for instanceTier to set. |
| Returns | |
|---|---|
| Type | Description |
CloudSqlInstanceDataSourceReferenceProperties.Builder |
This builder for chaining. |
setName(String value)
publicCloudSqlInstanceDataSourceReferenceProperties.BuildersetName(Stringvalue)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 |
String The name to set. |
| Returns | |
|---|---|
| Type | Description |
CloudSqlInstanceDataSourceReferenceProperties.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
publicCloudSqlInstanceDataSourceReferenceProperties.BuildersetNameBytes(ByteStringvalue)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 |
ByteString The bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
CloudSqlInstanceDataSourceReferenceProperties.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicCloudSqlInstanceDataSourceReferenceProperties.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
CloudSqlInstanceDataSourceReferenceProperties.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalCloudSqlInstanceDataSourceReferenceProperties.BuildersetUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
CloudSqlInstanceDataSourceReferenceProperties.Builder |
|