Class DatabaseResource.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DatabaseResource.Builder>
com.google.cloud.databasecenter.v1beta.DatabaseResource.Builder
- All Implemented Interfaces:
DatabaseResourceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DatabaseResource
public static final class DatabaseResource.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DatabaseResource.Builder>
implements DatabaseResourceOrBuilder
DatabaseResource represents every individually configured database unit representing compute and/or storage.Protobuf type
google.cloud.databasecenter.v1beta.DatabaseResource-
Method Summary
Modifier and TypeMethodDescriptionaddAffiliations(int index, Affiliation value) Optional.addAffiliations(int index, Affiliation.Builder builderForValue) Optional.addAffiliations(Affiliation value) Optional.addAffiliations(Affiliation.Builder builderForValue) Optional.Optional.addAffiliationsBuilder(int index) Optional.addAllAffiliations(Iterable<? extends Affiliation> values) Optional.addAllChildResources(Iterable<? extends DatabaseResource> values) List of children associated with a database group.addAllLabels(Iterable<? extends Label> values) Labels applied on the resource.addAllSignalGroups(Iterable<? extends SignalGroup> values) The list of signal groups and count of issues related to the resource.addAllTags(Iterable<? extends Tag> values) Tags applied on the resource.addChildResources(int index, DatabaseResource value) List of children associated with a database group.addChildResources(int index, DatabaseResource.Builder builderForValue) List of children associated with a database group.List of children associated with a database group.addChildResources(DatabaseResource.Builder builderForValue) List of children associated with a database group.List of children associated with a database group.addChildResourcesBuilder(int index) List of children associated with a database group.Labels applied on the resource.addLabels(int index, Label.Builder builderForValue) Labels applied on the resource.Labels applied on the resource.addLabels(Label.Builder builderForValue) Labels applied on the resource.Labels applied on the resource.addLabelsBuilder(int index) Labels applied on the resource.addSignalGroups(int index, SignalGroup value) The list of signal groups and count of issues related to the resource.addSignalGroups(int index, SignalGroup.Builder builderForValue) The list of signal groups and count of issues related to the resource.addSignalGroups(SignalGroup value) The list of signal groups and count of issues related to the resource.addSignalGroups(SignalGroup.Builder builderForValue) The list of signal groups and count of issues related to the resource.The list of signal groups and count of issues related to the resource.addSignalGroupsBuilder(int index) The list of signal groups and count of issues related to the resource.Tags applied on the resource.addTags(int index, Tag.Builder builderForValue) Tags applied on the resource.Tags applied on the resource.addTags(Tag.Builder builderForValue) Tags applied on the resource.Tags applied on the resource.addTagsBuilder(int index) Tags applied on the resource.build()clear()Optional.Optional.List of children associated with a database group.Specifies where the resource is created.The edition of the resource.The full resource name, based on CAIS resource name format https://cloud.google.com/asset-inventory/docs/resource-name-format Example: `//cloudsql.googleapis.com/projects/project-number/instances/mysql-1` `//cloudsql.googleapis.com/projects/project-number/instances/postgres-1` `//spanner.googleapis.com/projects/project-number/instances/spanner-instance-1` `//alloydb.googleapis.com/projects/project-number/locations/us-central1/clusters/c1` `//alloydb.googleapis.com/projects/project-number/locations/us-central1/clusters/c1/instances/i1`Labels applied on the resource.The location of the resources.Machine configuration like CPU, memory, etc for the resource.Optional.Observable metrics for the resource e.g.The product this resource represents.The category of the resource.The name of the resource(The last part of the full resource name).The type of resource defined according to the pattern: {Service Name}/{Type}.The list of signal groups and count of issues related to the resource.Subtype of the resource specified at creation time.Tags applied on the resource.getAffiliations(int index) Optional.getAffiliationsBuilder(int index) Optional.Optional.intOptional.Optional.getAffiliationsOrBuilder(int index) Optional.List<? extends AffiliationOrBuilder>Optional.Optional.Optional.Optional.getChildResources(int index) List of children associated with a database group.getChildResourcesBuilder(int index) List of children associated with a database group.List of children associated with a database group.intList of children associated with a database group.List of children associated with a database group.getChildResourcesOrBuilder(int index) List of children associated with a database group.List<? extends DatabaseResourceOrBuilder>List of children associated with a database group.Specifies where the resource is created.com.google.protobuf.ByteStringSpecifies where the resource is created.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe edition of the resource.intThe edition of the resource.The full resource name, based on CAIS resource name format https://cloud.google.com/asset-inventory/docs/resource-name-format Example: `//cloudsql.googleapis.com/projects/project-number/instances/mysql-1` `//cloudsql.googleapis.com/projects/project-number/instances/postgres-1` `//spanner.googleapis.com/projects/project-number/instances/spanner-instance-1` `//alloydb.googleapis.com/projects/project-number/locations/us-central1/clusters/c1` `//alloydb.googleapis.com/projects/project-number/locations/us-central1/clusters/c1/instances/i1`com.google.protobuf.ByteStringThe full resource name, based on CAIS resource name format https://cloud.google.com/asset-inventory/docs/resource-name-format Example: `//cloudsql.googleapis.com/projects/project-number/instances/mysql-1` `//cloudsql.googleapis.com/projects/project-number/instances/postgres-1` `//spanner.googleapis.com/projects/project-number/instances/spanner-instance-1` `//alloydb.googleapis.com/projects/project-number/locations/us-central1/clusters/c1` `//alloydb.googleapis.com/projects/project-number/locations/us-central1/clusters/c1/instances/i1`getLabels(int index) Labels applied on the resource.getLabelsBuilder(int index) Labels applied on the resource.Labels applied on the resource.intLabels applied on the resource.Labels applied on the resource.getLabelsOrBuilder(int index) Labels applied on the resource.List<? extends LabelOrBuilder>Labels applied on the resource.The location of the resources.com.google.protobuf.ByteStringThe location of the resources.Machine configuration like CPU, memory, etc for the resource.Machine configuration like CPU, memory, etc for the resource.Machine configuration like CPU, memory, etc for the resource.Optional.Optional.Optional.Observable metrics for the resource e.g.Observable metrics for the resource e.g.Observable metrics for the resource e.g.The product this resource represents.The product this resource represents.The product this resource represents.The category of the resource.intThe category of the resource.The name of the resource(The last part of the full resource name).com.google.protobuf.ByteStringThe name of the resource(The last part of the full resource name).The type of resource defined according to the pattern: {Service Name}/{Type}.com.google.protobuf.ByteStringThe type of resource defined according to the pattern: {Service Name}/{Type}.getSignalGroups(int index) The list of signal groups and count of issues related to the resource.getSignalGroupsBuilder(int index) The list of signal groups and count of issues related to the resource.The list of signal groups and count of issues related to the resource.intThe list of signal groups and count of issues related to the resource.The list of signal groups and count of issues related to the resource.getSignalGroupsOrBuilder(int index) The list of signal groups and count of issues related to the resource.List<? extends SignalGroupOrBuilder>The list of signal groups and count of issues related to the resource.Subtype of the resource specified at creation time.intSubtype of the resource specified at creation time.getTags(int index) Tags applied on the resource.getTagsBuilder(int index) Tags applied on the resource.Tags applied on the resource.intTags applied on the resource.Tags applied on the resource.getTagsOrBuilder(int index) Tags applied on the resource.List<? extends TagOrBuilder>Tags applied on the resource.booleanOptional.booleanMachine configuration like CPU, memory, etc for the resource.booleanOptional.booleanObservable metrics for the resource e.g.booleanThe product this resource represents.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanOptional.mergeFrom(DatabaseResource other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeMachineConfig(MachineConfig value) Machine configuration like CPU, memory, etc for the resource.Optional.mergeMetrics(Metrics value) Observable metrics for the resource e.g.mergeProduct(Product value) The product this resource represents.removeAffiliations(int index) Optional.removeChildResources(int index) List of children associated with a database group.removeLabels(int index) Labels applied on the resource.removeSignalGroups(int index) The list of signal groups and count of issues related to the resource.removeTags(int index) Tags applied on the resource.setAffiliations(int index, Affiliation value) Optional.setAffiliations(int index, Affiliation.Builder builderForValue) Optional.setBackupdrConfig(BackupDRConfig value) Optional.setBackupdrConfig(BackupDRConfig.Builder builderForValue) Optional.setChildResources(int index, DatabaseResource value) List of children associated with a database group.setChildResources(int index, DatabaseResource.Builder builderForValue) List of children associated with a database group.setContainer(String value) Specifies where the resource is created.setContainerBytes(com.google.protobuf.ByteString value) Specifies where the resource is created.setEdition(Edition value) The edition of the resource.setEditionValue(int value) The edition of the resource.setFullResourceName(String value) The full resource name, based on CAIS resource name format https://cloud.google.com/asset-inventory/docs/resource-name-format Example: `//cloudsql.googleapis.com/projects/project-number/instances/mysql-1` `//cloudsql.googleapis.com/projects/project-number/instances/postgres-1` `//spanner.googleapis.com/projects/project-number/instances/spanner-instance-1` `//alloydb.googleapis.com/projects/project-number/locations/us-central1/clusters/c1` `//alloydb.googleapis.com/projects/project-number/locations/us-central1/clusters/c1/instances/i1`setFullResourceNameBytes(com.google.protobuf.ByteString value) The full resource name, based on CAIS resource name format https://cloud.google.com/asset-inventory/docs/resource-name-format Example: `//cloudsql.googleapis.com/projects/project-number/instances/mysql-1` `//cloudsql.googleapis.com/projects/project-number/instances/postgres-1` `//spanner.googleapis.com/projects/project-number/instances/spanner-instance-1` `//alloydb.googleapis.com/projects/project-number/locations/us-central1/clusters/c1` `//alloydb.googleapis.com/projects/project-number/locations/us-central1/clusters/c1/instances/i1`Labels applied on the resource.setLabels(int index, Label.Builder builderForValue) Labels applied on the resource.setLocation(String value) The location of the resources.setLocationBytes(com.google.protobuf.ByteString value) The location of the resources.setMachineConfig(MachineConfig value) Machine configuration like CPU, memory, etc for the resource.setMachineConfig(MachineConfig.Builder builderForValue) Machine configuration like CPU, memory, etc for the resource.Optional.setMaintenanceInfo(MaintenanceInfo.Builder builderForValue) Optional.setMetrics(Metrics value) Observable metrics for the resource e.g.setMetrics(Metrics.Builder builderForValue) Observable metrics for the resource e.g.setProduct(Product value) The product this resource represents.setProduct(Product.Builder builderForValue) The product this resource represents.The category of the resource.setResourceCategoryValue(int value) The category of the resource.setResourceName(String value) The name of the resource(The last part of the full resource name).setResourceNameBytes(com.google.protobuf.ByteString value) The name of the resource(The last part of the full resource name).setResourceType(String value) The type of resource defined according to the pattern: {Service Name}/{Type}.setResourceTypeBytes(com.google.protobuf.ByteString value) The type of resource defined according to the pattern: {Service Name}/{Type}.setSignalGroups(int index, SignalGroup value) The list of signal groups and count of issues related to the resource.setSignalGroups(int index, SignalGroup.Builder builderForValue) The list of signal groups and count of issues related to the resource.Subtype of the resource specified at creation time.setSubResourceTypeValue(int value) Subtype of the resource specified at creation time.Tags applied on the resource.setTags(int index, Tag.Builder builderForValue) Tags applied on the resource.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DatabaseResource.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DatabaseResource.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DatabaseResource.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DatabaseResource.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DatabaseResource.Builder>
-
mergeFrom
public DatabaseResource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DatabaseResource.Builder>- Throws:
IOException
-
getChildResourcesList
List of children associated with a database group.
repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1;- Specified by:
getChildResourcesListin interfaceDatabaseResourceOrBuilder
-
getChildResourcesCount
public int getChildResourcesCount()List of children associated with a database group.
repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1;- Specified by:
getChildResourcesCountin interfaceDatabaseResourceOrBuilder
-
getChildResources
List of children associated with a database group.
repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1;- Specified by:
getChildResourcesin interfaceDatabaseResourceOrBuilder
-
setChildResources
List of children associated with a database group.
repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1; -
setChildResources
public DatabaseResource.Builder setChildResources(int index, DatabaseResource.Builder builderForValue) List of children associated with a database group.
repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1; -
addChildResources
List of children associated with a database group.
repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1; -
addChildResources
List of children associated with a database group.
repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1; -
addChildResources
List of children associated with a database group.
repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1; -
addChildResources
public DatabaseResource.Builder addChildResources(int index, DatabaseResource.Builder builderForValue) List of children associated with a database group.
repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1; -
addAllChildResources
List of children associated with a database group.
repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1; -
clearChildResources
List of children associated with a database group.
repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1; -
removeChildResources
List of children associated with a database group.
repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1; -
getChildResourcesBuilder
List of children associated with a database group.
repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1; -
getChildResourcesOrBuilder
List of children associated with a database group.
repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1;- Specified by:
getChildResourcesOrBuilderin interfaceDatabaseResourceOrBuilder
-
getChildResourcesOrBuilderList
List of children associated with a database group.
repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1;- Specified by:
getChildResourcesOrBuilderListin interfaceDatabaseResourceOrBuilder
-
addChildResourcesBuilder
List of children associated with a database group.
repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1; -
addChildResourcesBuilder
List of children associated with a database group.
repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1; -
getChildResourcesBuilderList
List of children associated with a database group.
repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1; -
getFullResourceName
The full resource name, based on CAIS resource name format https://cloud.google.com/asset-inventory/docs/resource-name-format Example: `//cloudsql.googleapis.com/projects/project-number/instances/mysql-1` `//cloudsql.googleapis.com/projects/project-number/instances/postgres-1` `//spanner.googleapis.com/projects/project-number/instances/spanner-instance-1` `//alloydb.googleapis.com/projects/project-number/locations/us-central1/clusters/c1` `//alloydb.googleapis.com/projects/project-number/locations/us-central1/clusters/c1/instances/i1`
string full_resource_name = 3;- Specified by:
getFullResourceNamein interfaceDatabaseResourceOrBuilder- Returns:
- The fullResourceName.
-
getFullResourceNameBytes
public com.google.protobuf.ByteString getFullResourceNameBytes()The full resource name, based on CAIS resource name format https://cloud.google.com/asset-inventory/docs/resource-name-format Example: `//cloudsql.googleapis.com/projects/project-number/instances/mysql-1` `//cloudsql.googleapis.com/projects/project-number/instances/postgres-1` `//spanner.googleapis.com/projects/project-number/instances/spanner-instance-1` `//alloydb.googleapis.com/projects/project-number/locations/us-central1/clusters/c1` `//alloydb.googleapis.com/projects/project-number/locations/us-central1/clusters/c1/instances/i1`
string full_resource_name = 3;- Specified by:
getFullResourceNameBytesin interfaceDatabaseResourceOrBuilder- Returns:
- The bytes for fullResourceName.
-
setFullResourceName
The full resource name, based on CAIS resource name format https://cloud.google.com/asset-inventory/docs/resource-name-format Example: `//cloudsql.googleapis.com/projects/project-number/instances/mysql-1` `//cloudsql.googleapis.com/projects/project-number/instances/postgres-1` `//spanner.googleapis.com/projects/project-number/instances/spanner-instance-1` `//alloydb.googleapis.com/projects/project-number/locations/us-central1/clusters/c1` `//alloydb.googleapis.com/projects/project-number/locations/us-central1/clusters/c1/instances/i1`
string full_resource_name = 3;- Parameters:
value- The fullResourceName to set.- Returns:
- This builder for chaining.
-
clearFullResourceName
The full resource name, based on CAIS resource name format https://cloud.google.com/asset-inventory/docs/resource-name-format Example: `//cloudsql.googleapis.com/projects/project-number/instances/mysql-1` `//cloudsql.googleapis.com/projects/project-number/instances/postgres-1` `//spanner.googleapis.com/projects/project-number/instances/spanner-instance-1` `//alloydb.googleapis.com/projects/project-number/locations/us-central1/clusters/c1` `//alloydb.googleapis.com/projects/project-number/locations/us-central1/clusters/c1/instances/i1`
string full_resource_name = 3;- Returns:
- This builder for chaining.
-
setFullResourceNameBytes
The full resource name, based on CAIS resource name format https://cloud.google.com/asset-inventory/docs/resource-name-format Example: `//cloudsql.googleapis.com/projects/project-number/instances/mysql-1` `//cloudsql.googleapis.com/projects/project-number/instances/postgres-1` `//spanner.googleapis.com/projects/project-number/instances/spanner-instance-1` `//alloydb.googleapis.com/projects/project-number/locations/us-central1/clusters/c1` `//alloydb.googleapis.com/projects/project-number/locations/us-central1/clusters/c1/instances/i1`
string full_resource_name = 3;- Parameters:
value- The bytes for fullResourceName to set.- Returns:
- This builder for chaining.
-
getContainer
Specifies where the resource is created. For Google Cloud resources, it is the full name of the project.
string container = 4;- Specified by:
getContainerin interfaceDatabaseResourceOrBuilder- Returns:
- The container.
-
getContainerBytes
public com.google.protobuf.ByteString getContainerBytes()Specifies where the resource is created. For Google Cloud resources, it is the full name of the project.
string container = 4;- Specified by:
getContainerBytesin interfaceDatabaseResourceOrBuilder- Returns:
- The bytes for container.
-
setContainer
Specifies where the resource is created. For Google Cloud resources, it is the full name of the project.
string container = 4;- Parameters:
value- The container to set.- Returns:
- This builder for chaining.
-
clearContainer
Specifies where the resource is created. For Google Cloud resources, it is the full name of the project.
string container = 4;- Returns:
- This builder for chaining.
-
setContainerBytes
Specifies where the resource is created. For Google Cloud resources, it is the full name of the project.
string container = 4;- Parameters:
value- The bytes for container to set.- Returns:
- This builder for chaining.
-
hasProduct
public boolean hasProduct()The product this resource represents.
.google.cloud.databasecenter.v1beta.Product product = 5;- Specified by:
hasProductin interfaceDatabaseResourceOrBuilder- Returns:
- Whether the product field is set.
-
getProduct
The product this resource represents.
.google.cloud.databasecenter.v1beta.Product product = 5;- Specified by:
getProductin interfaceDatabaseResourceOrBuilder- Returns:
- The product.
-
setProduct
The product this resource represents.
.google.cloud.databasecenter.v1beta.Product product = 5; -
setProduct
The product this resource represents.
.google.cloud.databasecenter.v1beta.Product product = 5; -
mergeProduct
The product this resource represents.
.google.cloud.databasecenter.v1beta.Product product = 5; -
clearProduct
The product this resource represents.
.google.cloud.databasecenter.v1beta.Product product = 5; -
getProductBuilder
The product this resource represents.
.google.cloud.databasecenter.v1beta.Product product = 5; -
getProductOrBuilder
The product this resource represents.
.google.cloud.databasecenter.v1beta.Product product = 5;- Specified by:
getProductOrBuilderin interfaceDatabaseResourceOrBuilder
-
getLocation
The location of the resources. It supports returning only regional locations in Google Cloud. These are of the form: "us-central1", "us-east1", etc. See https://cloud.google.com/about/locations for a list of such regions.
string location = 6;- Specified by:
getLocationin interfaceDatabaseResourceOrBuilder- Returns:
- The location.
-
getLocationBytes
public com.google.protobuf.ByteString getLocationBytes()The location of the resources. It supports returning only regional locations in Google Cloud. These are of the form: "us-central1", "us-east1", etc. See https://cloud.google.com/about/locations for a list of such regions.
string location = 6;- Specified by:
getLocationBytesin interfaceDatabaseResourceOrBuilder- Returns:
- The bytes for location.
-
setLocation
The location of the resources. It supports returning only regional locations in Google Cloud. These are of the form: "us-central1", "us-east1", etc. See https://cloud.google.com/about/locations for a list of such regions.
string location = 6;- Parameters:
value- The location to set.- Returns:
- This builder for chaining.
-
clearLocation
The location of the resources. It supports returning only regional locations in Google Cloud. These are of the form: "us-central1", "us-east1", etc. See https://cloud.google.com/about/locations for a list of such regions.
string location = 6;- Returns:
- This builder for chaining.
-
setLocationBytes
The location of the resources. It supports returning only regional locations in Google Cloud. These are of the form: "us-central1", "us-east1", etc. See https://cloud.google.com/about/locations for a list of such regions.
string location = 6;- Parameters:
value- The bytes for location to set.- Returns:
- This builder for chaining.
-
getLabelsList
Labels applied on the resource. The requirements for labels assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/labels-overview#requirements
repeated .google.cloud.databasecenter.v1beta.Label labels = 7;- Specified by:
getLabelsListin interfaceDatabaseResourceOrBuilder
-
getLabelsCount
public int getLabelsCount()Labels applied on the resource. The requirements for labels assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/labels-overview#requirements
repeated .google.cloud.databasecenter.v1beta.Label labels = 7;- Specified by:
getLabelsCountin interfaceDatabaseResourceOrBuilder
-
getLabels
Labels applied on the resource. The requirements for labels assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/labels-overview#requirements
repeated .google.cloud.databasecenter.v1beta.Label labels = 7;- Specified by:
getLabelsin interfaceDatabaseResourceOrBuilder
-
setLabels
Labels applied on the resource. The requirements for labels assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/labels-overview#requirements
repeated .google.cloud.databasecenter.v1beta.Label labels = 7; -
setLabels
Labels applied on the resource. The requirements for labels assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/labels-overview#requirements
repeated .google.cloud.databasecenter.v1beta.Label labels = 7; -
addLabels
Labels applied on the resource. The requirements for labels assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/labels-overview#requirements
repeated .google.cloud.databasecenter.v1beta.Label labels = 7; -
addLabels
Labels applied on the resource. The requirements for labels assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/labels-overview#requirements
repeated .google.cloud.databasecenter.v1beta.Label labels = 7; -
addLabels
Labels applied on the resource. The requirements for labels assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/labels-overview#requirements
repeated .google.cloud.databasecenter.v1beta.Label labels = 7; -
addLabels
Labels applied on the resource. The requirements for labels assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/labels-overview#requirements
repeated .google.cloud.databasecenter.v1beta.Label labels = 7; -
addAllLabels
Labels applied on the resource. The requirements for labels assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/labels-overview#requirements
repeated .google.cloud.databasecenter.v1beta.Label labels = 7; -
clearLabels
Labels applied on the resource. The requirements for labels assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/labels-overview#requirements
repeated .google.cloud.databasecenter.v1beta.Label labels = 7; -
removeLabels
Labels applied on the resource. The requirements for labels assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/labels-overview#requirements
repeated .google.cloud.databasecenter.v1beta.Label labels = 7; -
getLabelsBuilder
Labels applied on the resource. The requirements for labels assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/labels-overview#requirements
repeated .google.cloud.databasecenter.v1beta.Label labels = 7; -
getLabelsOrBuilder
Labels applied on the resource. The requirements for labels assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/labels-overview#requirements
repeated .google.cloud.databasecenter.v1beta.Label labels = 7;- Specified by:
getLabelsOrBuilderin interfaceDatabaseResourceOrBuilder
-
getLabelsOrBuilderList
Labels applied on the resource. The requirements for labels assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/labels-overview#requirements
repeated .google.cloud.databasecenter.v1beta.Label labels = 7;- Specified by:
getLabelsOrBuilderListin interfaceDatabaseResourceOrBuilder
-
addLabelsBuilder
Labels applied on the resource. The requirements for labels assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/labels-overview#requirements
repeated .google.cloud.databasecenter.v1beta.Label labels = 7; -
addLabelsBuilder
Labels applied on the resource. The requirements for labels assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/labels-overview#requirements
repeated .google.cloud.databasecenter.v1beta.Label labels = 7; -
getLabelsBuilderList
Labels applied on the resource. The requirements for labels assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/labels-overview#requirements
repeated .google.cloud.databasecenter.v1beta.Label labels = 7; -
getTagsList
Tags applied on the resource. The requirements for tags assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/tags/tags-overview
repeated .google.cloud.databasecenter.v1beta.Tag tags = 16;- Specified by:
getTagsListin interfaceDatabaseResourceOrBuilder
-
getTagsCount
public int getTagsCount()Tags applied on the resource. The requirements for tags assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/tags/tags-overview
repeated .google.cloud.databasecenter.v1beta.Tag tags = 16;- Specified by:
getTagsCountin interfaceDatabaseResourceOrBuilder
-
getTags
Tags applied on the resource. The requirements for tags assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/tags/tags-overview
repeated .google.cloud.databasecenter.v1beta.Tag tags = 16;- Specified by:
getTagsin interfaceDatabaseResourceOrBuilder
-
setTags
Tags applied on the resource. The requirements for tags assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/tags/tags-overview
repeated .google.cloud.databasecenter.v1beta.Tag tags = 16; -
setTags
Tags applied on the resource. The requirements for tags assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/tags/tags-overview
repeated .google.cloud.databasecenter.v1beta.Tag tags = 16; -
addTags
Tags applied on the resource. The requirements for tags assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/tags/tags-overview
repeated .google.cloud.databasecenter.v1beta.Tag tags = 16; -
addTags
Tags applied on the resource. The requirements for tags assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/tags/tags-overview
repeated .google.cloud.databasecenter.v1beta.Tag tags = 16; -
addTags
Tags applied on the resource. The requirements for tags assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/tags/tags-overview
repeated .google.cloud.databasecenter.v1beta.Tag tags = 16; -
addTags
Tags applied on the resource. The requirements for tags assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/tags/tags-overview
repeated .google.cloud.databasecenter.v1beta.Tag tags = 16; -
addAllTags
Tags applied on the resource. The requirements for tags assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/tags/tags-overview
repeated .google.cloud.databasecenter.v1beta.Tag tags = 16; -
clearTags
Tags applied on the resource. The requirements for tags assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/tags/tags-overview
repeated .google.cloud.databasecenter.v1beta.Tag tags = 16; -
removeTags
Tags applied on the resource. The requirements for tags assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/tags/tags-overview
repeated .google.cloud.databasecenter.v1beta.Tag tags = 16; -
getTagsBuilder
Tags applied on the resource. The requirements for tags assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/tags/tags-overview
repeated .google.cloud.databasecenter.v1beta.Tag tags = 16; -
getTagsOrBuilder
Tags applied on the resource. The requirements for tags assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/tags/tags-overview
repeated .google.cloud.databasecenter.v1beta.Tag tags = 16;- Specified by:
getTagsOrBuilderin interfaceDatabaseResourceOrBuilder
-
getTagsOrBuilderList
Tags applied on the resource. The requirements for tags assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/tags/tags-overview
repeated .google.cloud.databasecenter.v1beta.Tag tags = 16;- Specified by:
getTagsOrBuilderListin interfaceDatabaseResourceOrBuilder
-
addTagsBuilder
Tags applied on the resource. The requirements for tags assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/tags/tags-overview
repeated .google.cloud.databasecenter.v1beta.Tag tags = 16; -
addTagsBuilder
Tags applied on the resource. The requirements for tags assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/tags/tags-overview
repeated .google.cloud.databasecenter.v1beta.Tag tags = 16; -
getTagsBuilderList
Tags applied on the resource. The requirements for tags assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/tags/tags-overview
repeated .google.cloud.databasecenter.v1beta.Tag tags = 16; -
getResourceType
The type of resource defined according to the pattern: {Service Name}/{Type}. Ex: sqladmin.googleapis.com/Instance alloydb.googleapis.com/Cluster alloydb.googleapis.com/Instance spanner.googleapis.com/Instancestring resource_type = 8;- Specified by:
getResourceTypein interfaceDatabaseResourceOrBuilder- Returns:
- The resourceType.
-
getResourceTypeBytes
public com.google.protobuf.ByteString getResourceTypeBytes()The type of resource defined according to the pattern: {Service Name}/{Type}. Ex: sqladmin.googleapis.com/Instance alloydb.googleapis.com/Cluster alloydb.googleapis.com/Instance spanner.googleapis.com/Instancestring resource_type = 8;- Specified by:
getResourceTypeBytesin interfaceDatabaseResourceOrBuilder- Returns:
- The bytes for resourceType.
-
setResourceType
The type of resource defined according to the pattern: {Service Name}/{Type}. Ex: sqladmin.googleapis.com/Instance alloydb.googleapis.com/Cluster alloydb.googleapis.com/Instance spanner.googleapis.com/Instancestring resource_type = 8;- Parameters:
value- The resourceType to set.- Returns:
- This builder for chaining.
-
clearResourceType
The type of resource defined according to the pattern: {Service Name}/{Type}. Ex: sqladmin.googleapis.com/Instance alloydb.googleapis.com/Cluster alloydb.googleapis.com/Instance spanner.googleapis.com/Instancestring resource_type = 8;- Returns:
- This builder for chaining.
-
setResourceTypeBytes
The type of resource defined according to the pattern: {Service Name}/{Type}. Ex: sqladmin.googleapis.com/Instance alloydb.googleapis.com/Cluster alloydb.googleapis.com/Instance spanner.googleapis.com/Instancestring resource_type = 8;- Parameters:
value- The bytes for resourceType to set.- Returns:
- This builder for chaining.
-
getSubResourceTypeValue
public int getSubResourceTypeValue()Subtype of the resource specified at creation time.
.google.cloud.databasecenter.v1beta.SubResourceType sub_resource_type = 9;- Specified by:
getSubResourceTypeValuein interfaceDatabaseResourceOrBuilder- Returns:
- The enum numeric value on the wire for subResourceType.
-
setSubResourceTypeValue
Subtype of the resource specified at creation time.
.google.cloud.databasecenter.v1beta.SubResourceType sub_resource_type = 9;- Parameters:
value- The enum numeric value on the wire for subResourceType to set.- Returns:
- This builder for chaining.
-
getSubResourceType
Subtype of the resource specified at creation time.
.google.cloud.databasecenter.v1beta.SubResourceType sub_resource_type = 9;- Specified by:
getSubResourceTypein interfaceDatabaseResourceOrBuilder- Returns:
- The subResourceType.
-
setSubResourceType
Subtype of the resource specified at creation time.
.google.cloud.databasecenter.v1beta.SubResourceType sub_resource_type = 9;- Parameters:
value- The subResourceType to set.- Returns:
- This builder for chaining.
-
clearSubResourceType
Subtype of the resource specified at creation time.
.google.cloud.databasecenter.v1beta.SubResourceType sub_resource_type = 9;- Returns:
- This builder for chaining.
-
hasMachineConfig
public boolean hasMachineConfig()Machine configuration like CPU, memory, etc for the resource.
.google.cloud.databasecenter.v1beta.MachineConfig machine_config = 12;- Specified by:
hasMachineConfigin interfaceDatabaseResourceOrBuilder- Returns:
- Whether the machineConfig field is set.
-
getMachineConfig
Machine configuration like CPU, memory, etc for the resource.
.google.cloud.databasecenter.v1beta.MachineConfig machine_config = 12;- Specified by:
getMachineConfigin interfaceDatabaseResourceOrBuilder- Returns:
- The machineConfig.
-
setMachineConfig
Machine configuration like CPU, memory, etc for the resource.
.google.cloud.databasecenter.v1beta.MachineConfig machine_config = 12; -
setMachineConfig
Machine configuration like CPU, memory, etc for the resource.
.google.cloud.databasecenter.v1beta.MachineConfig machine_config = 12; -
mergeMachineConfig
Machine configuration like CPU, memory, etc for the resource.
.google.cloud.databasecenter.v1beta.MachineConfig machine_config = 12; -
clearMachineConfig
Machine configuration like CPU, memory, etc for the resource.
.google.cloud.databasecenter.v1beta.MachineConfig machine_config = 12; -
getMachineConfigBuilder
Machine configuration like CPU, memory, etc for the resource.
.google.cloud.databasecenter.v1beta.MachineConfig machine_config = 12; -
getMachineConfigOrBuilder
Machine configuration like CPU, memory, etc for the resource.
.google.cloud.databasecenter.v1beta.MachineConfig machine_config = 12;- Specified by:
getMachineConfigOrBuilderin interfaceDatabaseResourceOrBuilder
-
getSignalGroupsList
The list of signal groups and count of issues related to the resource. Only those signals which have been requested would be included.
repeated .google.cloud.databasecenter.v1beta.SignalGroup signal_groups = 10;- Specified by:
getSignalGroupsListin interfaceDatabaseResourceOrBuilder
-
getSignalGroupsCount
public int getSignalGroupsCount()The list of signal groups and count of issues related to the resource. Only those signals which have been requested would be included.
repeated .google.cloud.databasecenter.v1beta.SignalGroup signal_groups = 10;- Specified by:
getSignalGroupsCountin interfaceDatabaseResourceOrBuilder
-
getSignalGroups
The list of signal groups and count of issues related to the resource. Only those signals which have been requested would be included.
repeated .google.cloud.databasecenter.v1beta.SignalGroup signal_groups = 10;- Specified by:
getSignalGroupsin interfaceDatabaseResourceOrBuilder
-
setSignalGroups
The list of signal groups and count of issues related to the resource. Only those signals which have been requested would be included.
repeated .google.cloud.databasecenter.v1beta.SignalGroup signal_groups = 10; -
setSignalGroups
The list of signal groups and count of issues related to the resource. Only those signals which have been requested would be included.
repeated .google.cloud.databasecenter.v1beta.SignalGroup signal_groups = 10; -
addSignalGroups
The list of signal groups and count of issues related to the resource. Only those signals which have been requested would be included.
repeated .google.cloud.databasecenter.v1beta.SignalGroup signal_groups = 10; -
addSignalGroups
The list of signal groups and count of issues related to the resource. Only those signals which have been requested would be included.
repeated .google.cloud.databasecenter.v1beta.SignalGroup signal_groups = 10; -
addSignalGroups
The list of signal groups and count of issues related to the resource. Only those signals which have been requested would be included.
repeated .google.cloud.databasecenter.v1beta.SignalGroup signal_groups = 10; -
addSignalGroups
The list of signal groups and count of issues related to the resource. Only those signals which have been requested would be included.
repeated .google.cloud.databasecenter.v1beta.SignalGroup signal_groups = 10; -
addAllSignalGroups
The list of signal groups and count of issues related to the resource. Only those signals which have been requested would be included.
repeated .google.cloud.databasecenter.v1beta.SignalGroup signal_groups = 10; -
clearSignalGroups
The list of signal groups and count of issues related to the resource. Only those signals which have been requested would be included.
repeated .google.cloud.databasecenter.v1beta.SignalGroup signal_groups = 10; -
removeSignalGroups
The list of signal groups and count of issues related to the resource. Only those signals which have been requested would be included.
repeated .google.cloud.databasecenter.v1beta.SignalGroup signal_groups = 10; -
getSignalGroupsBuilder
The list of signal groups and count of issues related to the resource. Only those signals which have been requested would be included.
repeated .google.cloud.databasecenter.v1beta.SignalGroup signal_groups = 10; -
getSignalGroupsOrBuilder
The list of signal groups and count of issues related to the resource. Only those signals which have been requested would be included.
repeated .google.cloud.databasecenter.v1beta.SignalGroup signal_groups = 10;- Specified by:
getSignalGroupsOrBuilderin interfaceDatabaseResourceOrBuilder
-
getSignalGroupsOrBuilderList
The list of signal groups and count of issues related to the resource. Only those signals which have been requested would be included.
repeated .google.cloud.databasecenter.v1beta.SignalGroup signal_groups = 10;- Specified by:
getSignalGroupsOrBuilderListin interfaceDatabaseResourceOrBuilder
-
addSignalGroupsBuilder
The list of signal groups and count of issues related to the resource. Only those signals which have been requested would be included.
repeated .google.cloud.databasecenter.v1beta.SignalGroup signal_groups = 10; -
addSignalGroupsBuilder
The list of signal groups and count of issues related to the resource. Only those signals which have been requested would be included.
repeated .google.cloud.databasecenter.v1beta.SignalGroup signal_groups = 10; -
getSignalGroupsBuilderList
The list of signal groups and count of issues related to the resource. Only those signals which have been requested would be included.
repeated .google.cloud.databasecenter.v1beta.SignalGroup signal_groups = 10; -
hasMetrics
public boolean hasMetrics()Observable metrics for the resource e.g. CPU utilization, memory utilization, etc.
.google.cloud.databasecenter.v1beta.Metrics metrics = 13;- Specified by:
hasMetricsin interfaceDatabaseResourceOrBuilder- Returns:
- Whether the metrics field is set.
-
getMetrics
Observable metrics for the resource e.g. CPU utilization, memory utilization, etc.
.google.cloud.databasecenter.v1beta.Metrics metrics = 13;- Specified by:
getMetricsin interfaceDatabaseResourceOrBuilder- Returns:
- The metrics.
-
setMetrics
Observable metrics for the resource e.g. CPU utilization, memory utilization, etc.
.google.cloud.databasecenter.v1beta.Metrics metrics = 13; -
setMetrics
Observable metrics for the resource e.g. CPU utilization, memory utilization, etc.
.google.cloud.databasecenter.v1beta.Metrics metrics = 13; -
mergeMetrics
Observable metrics for the resource e.g. CPU utilization, memory utilization, etc.
.google.cloud.databasecenter.v1beta.Metrics metrics = 13; -
clearMetrics
Observable metrics for the resource e.g. CPU utilization, memory utilization, etc.
.google.cloud.databasecenter.v1beta.Metrics metrics = 13; -
getMetricsBuilder
Observable metrics for the resource e.g. CPU utilization, memory utilization, etc.
.google.cloud.databasecenter.v1beta.Metrics metrics = 13; -
getMetricsOrBuilder
Observable metrics for the resource e.g. CPU utilization, memory utilization, etc.
.google.cloud.databasecenter.v1beta.Metrics metrics = 13;- Specified by:
getMetricsOrBuilderin interfaceDatabaseResourceOrBuilder
-
getResourceCategoryValue
public int getResourceCategoryValue()The category of the resource.
.google.cloud.databasecenter.v1beta.ResourceCategory resource_category = 14;- Specified by:
getResourceCategoryValuein interfaceDatabaseResourceOrBuilder- Returns:
- The enum numeric value on the wire for resourceCategory.
-
setResourceCategoryValue
The category of the resource.
.google.cloud.databasecenter.v1beta.ResourceCategory resource_category = 14;- Parameters:
value- The enum numeric value on the wire for resourceCategory to set.- Returns:
- This builder for chaining.
-
getResourceCategory
The category of the resource.
.google.cloud.databasecenter.v1beta.ResourceCategory resource_category = 14;- Specified by:
getResourceCategoryin interfaceDatabaseResourceOrBuilder- Returns:
- The resourceCategory.
-
setResourceCategory
The category of the resource.
.google.cloud.databasecenter.v1beta.ResourceCategory resource_category = 14;- Parameters:
value- The resourceCategory to set.- Returns:
- This builder for chaining.
-
clearResourceCategory
The category of the resource.
.google.cloud.databasecenter.v1beta.ResourceCategory resource_category = 14;- Returns:
- This builder for chaining.
-
getResourceName
The name of the resource(The last part of the full resource name). Example: For full resource name - `//cloudsql.googleapis.com/projects/project-number/instances/mysql-1`, resource name - `mysql-1` For full resource name - `//cloudsql.googleapis.com/projects/project-number/instances/postgres-1` , resource name - `postgres-1` Note: In some cases, there might be more than one resource with the same resource name.
string resource_name = 15;- Specified by:
getResourceNamein interfaceDatabaseResourceOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()The name of the resource(The last part of the full resource name). Example: For full resource name - `//cloudsql.googleapis.com/projects/project-number/instances/mysql-1`, resource name - `mysql-1` For full resource name - `//cloudsql.googleapis.com/projects/project-number/instances/postgres-1` , resource name - `postgres-1` Note: In some cases, there might be more than one resource with the same resource name.
string resource_name = 15;- Specified by:
getResourceNameBytesin interfaceDatabaseResourceOrBuilder- Returns:
- The bytes for resourceName.
-
setResourceName
The name of the resource(The last part of the full resource name). Example: For full resource name - `//cloudsql.googleapis.com/projects/project-number/instances/mysql-1`, resource name - `mysql-1` For full resource name - `//cloudsql.googleapis.com/projects/project-number/instances/postgres-1` , resource name - `postgres-1` Note: In some cases, there might be more than one resource with the same resource name.
string resource_name = 15;- Parameters:
value- The resourceName to set.- Returns:
- This builder for chaining.
-
clearResourceName
The name of the resource(The last part of the full resource name). Example: For full resource name - `//cloudsql.googleapis.com/projects/project-number/instances/mysql-1`, resource name - `mysql-1` For full resource name - `//cloudsql.googleapis.com/projects/project-number/instances/postgres-1` , resource name - `postgres-1` Note: In some cases, there might be more than one resource with the same resource name.
string resource_name = 15;- Returns:
- This builder for chaining.
-
setResourceNameBytes
The name of the resource(The last part of the full resource name). Example: For full resource name - `//cloudsql.googleapis.com/projects/project-number/instances/mysql-1`, resource name - `mysql-1` For full resource name - `//cloudsql.googleapis.com/projects/project-number/instances/postgres-1` , resource name - `postgres-1` Note: In some cases, there might be more than one resource with the same resource name.
string resource_name = 15;- Parameters:
value- The bytes for resourceName to set.- Returns:
- This builder for chaining.
-
hasBackupdrConfig
public boolean hasBackupdrConfig()Optional. Backup and disaster recovery details for the resource.
.google.cloud.databasecenter.v1beta.BackupDRConfig backupdr_config = 17 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasBackupdrConfigin interfaceDatabaseResourceOrBuilder- Returns:
- Whether the backupdrConfig field is set.
-
getBackupdrConfig
Optional. Backup and disaster recovery details for the resource.
.google.cloud.databasecenter.v1beta.BackupDRConfig backupdr_config = 17 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getBackupdrConfigin interfaceDatabaseResourceOrBuilder- Returns:
- The backupdrConfig.
-
setBackupdrConfig
Optional. Backup and disaster recovery details for the resource.
.google.cloud.databasecenter.v1beta.BackupDRConfig backupdr_config = 17 [(.google.api.field_behavior) = OPTIONAL]; -
setBackupdrConfig
Optional. Backup and disaster recovery details for the resource.
.google.cloud.databasecenter.v1beta.BackupDRConfig backupdr_config = 17 [(.google.api.field_behavior) = OPTIONAL]; -
mergeBackupdrConfig
Optional. Backup and disaster recovery details for the resource.
.google.cloud.databasecenter.v1beta.BackupDRConfig backupdr_config = 17 [(.google.api.field_behavior) = OPTIONAL]; -
clearBackupdrConfig
Optional. Backup and disaster recovery details for the resource.
.google.cloud.databasecenter.v1beta.BackupDRConfig backupdr_config = 17 [(.google.api.field_behavior) = OPTIONAL]; -
getBackupdrConfigBuilder
Optional. Backup and disaster recovery details for the resource.
.google.cloud.databasecenter.v1beta.BackupDRConfig backupdr_config = 17 [(.google.api.field_behavior) = OPTIONAL]; -
getBackupdrConfigOrBuilder
Optional. Backup and disaster recovery details for the resource.
.google.cloud.databasecenter.v1beta.BackupDRConfig backupdr_config = 17 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getBackupdrConfigOrBuilderin interfaceDatabaseResourceOrBuilder
-
getEditionValue
public int getEditionValue()The edition of the resource.
.google.cloud.databasecenter.v1beta.Edition edition = 18;- Specified by:
getEditionValuein interfaceDatabaseResourceOrBuilder- Returns:
- The enum numeric value on the wire for edition.
-
setEditionValue
The edition of the resource.
.google.cloud.databasecenter.v1beta.Edition edition = 18;- Parameters:
value- The enum numeric value on the wire for edition to set.- Returns:
- This builder for chaining.
-
getEdition
The edition of the resource.
.google.cloud.databasecenter.v1beta.Edition edition = 18;- Specified by:
getEditionin interfaceDatabaseResourceOrBuilder- Returns:
- The edition.
-
setEdition
The edition of the resource.
.google.cloud.databasecenter.v1beta.Edition edition = 18;- Parameters:
value- The edition to set.- Returns:
- This builder for chaining.
-
clearEdition
The edition of the resource.
.google.cloud.databasecenter.v1beta.Edition edition = 18;- Returns:
- This builder for chaining.
-
hasMaintenanceInfo
public boolean hasMaintenanceInfo()Optional. The maintenance information of the resource.
.google.cloud.databasecenter.v1beta.MaintenanceInfo maintenance_info = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasMaintenanceInfoin interfaceDatabaseResourceOrBuilder- Returns:
- Whether the maintenanceInfo field is set.
-
getMaintenanceInfo
Optional. The maintenance information of the resource.
.google.cloud.databasecenter.v1beta.MaintenanceInfo maintenance_info = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMaintenanceInfoin interfaceDatabaseResourceOrBuilder- Returns:
- The maintenanceInfo.
-
setMaintenanceInfo
Optional. The maintenance information of the resource.
.google.cloud.databasecenter.v1beta.MaintenanceInfo maintenance_info = 19 [(.google.api.field_behavior) = OPTIONAL]; -
setMaintenanceInfo
Optional. The maintenance information of the resource.
.google.cloud.databasecenter.v1beta.MaintenanceInfo maintenance_info = 19 [(.google.api.field_behavior) = OPTIONAL]; -
mergeMaintenanceInfo
Optional. The maintenance information of the resource.
.google.cloud.databasecenter.v1beta.MaintenanceInfo maintenance_info = 19 [(.google.api.field_behavior) = OPTIONAL]; -
clearMaintenanceInfo
Optional. The maintenance information of the resource.
.google.cloud.databasecenter.v1beta.MaintenanceInfo maintenance_info = 19 [(.google.api.field_behavior) = OPTIONAL]; -
getMaintenanceInfoBuilder
Optional. The maintenance information of the resource.
.google.cloud.databasecenter.v1beta.MaintenanceInfo maintenance_info = 19 [(.google.api.field_behavior) = OPTIONAL]; -
getMaintenanceInfoOrBuilder
Optional. The maintenance information of the resource.
.google.cloud.databasecenter.v1beta.MaintenanceInfo maintenance_info = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMaintenanceInfoOrBuilderin interfaceDatabaseResourceOrBuilder
-
getAffiliationsList
Optional. Affiliation details of the resource.
repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAffiliationsListin interfaceDatabaseResourceOrBuilder
-
getAffiliationsCount
public int getAffiliationsCount()Optional. Affiliation details of the resource.
repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAffiliationsCountin interfaceDatabaseResourceOrBuilder
-
getAffiliations
Optional. Affiliation details of the resource.
repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAffiliationsin interfaceDatabaseResourceOrBuilder
-
setAffiliations
Optional. Affiliation details of the resource.
repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL]; -
setAffiliations
Optional. Affiliation details of the resource.
repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL]; -
addAffiliations
Optional. Affiliation details of the resource.
repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL]; -
addAffiliations
Optional. Affiliation details of the resource.
repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL]; -
addAffiliations
Optional. Affiliation details of the resource.
repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL]; -
addAffiliations
Optional. Affiliation details of the resource.
repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL]; -
addAllAffiliations
Optional. Affiliation details of the resource.
repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL]; -
clearAffiliations
Optional. Affiliation details of the resource.
repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL]; -
removeAffiliations
Optional. Affiliation details of the resource.
repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL]; -
getAffiliationsBuilder
Optional. Affiliation details of the resource.
repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL]; -
getAffiliationsOrBuilder
Optional. Affiliation details of the resource.
repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAffiliationsOrBuilderin interfaceDatabaseResourceOrBuilder
-
getAffiliationsOrBuilderList
Optional. Affiliation details of the resource.
repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAffiliationsOrBuilderListin interfaceDatabaseResourceOrBuilder
-
addAffiliationsBuilder
Optional. Affiliation details of the resource.
repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL]; -
addAffiliationsBuilder
Optional. Affiliation details of the resource.
repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL]; -
getAffiliationsBuilderList
Optional. Affiliation details of the resource.
repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL];
-