public static final class Dimension.Builder extends GeneratedMessage.Builder<Dimension.Builder> implements DimensionOrBuilderDimension used to aggregate the fleet.
Protobuf type google.cloud.databasecenter.v1beta.Dimension
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Dimension.BuilderImplements
DimensionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Dimension build()| Returns | |
|---|---|
| Type | Description |
Dimension |
|
buildPartial()
public Dimension buildPartial()| Returns | |
|---|---|
| Type | Description |
Dimension |
|
clear()
public Dimension.Builder clear()| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
|
clearContainer()
public Dimension.Builder clearContainer()Specifies where the resource is created. For GCP, it is the full name of the project.
string container = 2;
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
clearDimension()
public Dimension.Builder clearDimension()| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
|
clearEdition()
public Dimension.Builder clearEdition()The edition of the resource.
.google.cloud.databasecenter.v1beta.Edition edition = 11;
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
clearHasDenyMaintenanceSchedules()
public Dimension.Builder clearHasDenyMaintenanceSchedules()Whether the resource has deny maintenance schedules.
bool has_deny_maintenance_schedules = 20;
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
clearHasMaintenanceSchedule()
public Dimension.Builder clearHasMaintenanceSchedule()Whether the resource has a maintenance schedule.
bool has_maintenance_schedule = 19;
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
clearLabelKey()
public Dimension.Builder clearLabelKey()Label key of the resource.
string label_key = 16;
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
clearLabelSource()
public Dimension.Builder clearLabelSource()Label source of the resource.
string label_source = 18;
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
clearLabelValue()
public Dimension.Builder clearLabelValue()Label value of the resource.
string label_value = 17;
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
clearLocation()
public Dimension.Builder clearLocation()The location of the resources. It supports returning only regional locations in GCP.
string location = 6;
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
clearManagementType()
public Dimension.Builder clearManagementType()The management type of the resource.
.google.cloud.databasecenter.v1beta.ManagementType management_type = 10;
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
clearProductEngine()
public Dimension.Builder clearProductEngine()Engine refers to underlying database binary running in an instance.
.google.cloud.databasecenter.v1beta.Engine product_engine = 4;
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
clearProductType()
public Dimension.Builder clearProductType()Type to identify a product
.google.cloud.databasecenter.v1beta.ProductType product_type = 3;
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
clearProductVersion()
public Dimension.Builder clearProductVersion()Version of the underlying database engine
string product_version = 5;
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
clearResourceCategory()
public Dimension.Builder clearResourceCategory()The category of the resource.
.google.cloud.databasecenter.v1beta.ResourceCategory resource_category = 9;
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
clearResourceType()
public Dimension.Builder 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/Instance
string resource_type = 7;
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
clearSubResourceType()
public Dimension.Builder clearSubResourceType()Subtype of the resource specified at creation time.
.google.cloud.databasecenter.v1beta.SubResourceType sub_resource_type = 8;
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
clearTagInherited()
public Dimension.Builder clearTagInherited()Tag inheritance value of the resource.
bool tag_inherited = 15;
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
clearTagKey()
public Dimension.Builder clearTagKey()Tag key of the resource.
string tag_key = 12;
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
clearTagSource()
public Dimension.Builder clearTagSource()Tag source of the resource.
string tag_source = 14;
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
clearTagValue()
public Dimension.Builder clearTagValue()Tag value of the resource.
string tag_value = 13;
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
getContainer()
public String getContainer()Specifies where the resource is created. For GCP, it is the full name of the project.
string container = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The container. |
getContainerBytes()
public ByteString getContainerBytes()Specifies where the resource is created. For GCP, it is the full name of the project.
string container = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for container. |
getDefaultInstanceForType()
public Dimension getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Dimension |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDimensionCase()
public Dimension.DimensionCase getDimensionCase()| Returns | |
|---|---|
| Type | Description |
Dimension.DimensionCase |
|
getEdition()
public Edition getEdition()The edition of the resource.
.google.cloud.databasecenter.v1beta.Edition edition = 11;
| Returns | |
|---|---|
| Type | Description |
Edition |
The edition. |
getEditionValue()
public int getEditionValue()The edition of the resource.
.google.cloud.databasecenter.v1beta.Edition edition = 11;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for edition. |
getHasDenyMaintenanceSchedules()
public boolean getHasDenyMaintenanceSchedules()Whether the resource has deny maintenance schedules.
bool has_deny_maintenance_schedules = 20;
| Returns | |
|---|---|
| Type | Description |
boolean |
The hasDenyMaintenanceSchedules. |
getHasMaintenanceSchedule()
public boolean getHasMaintenanceSchedule()Whether the resource has a maintenance schedule.
bool has_maintenance_schedule = 19;
| Returns | |
|---|---|
| Type | Description |
boolean |
The hasMaintenanceSchedule. |
getLabelKey()
public String getLabelKey()Label key of the resource.
string label_key = 16;
| Returns | |
|---|---|
| Type | Description |
String |
The labelKey. |
getLabelKeyBytes()
public ByteString getLabelKeyBytes()Label key of the resource.
string label_key = 16;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for labelKey. |
getLabelSource()
public String getLabelSource()Label source of the resource.
string label_source = 18;
| Returns | |
|---|---|
| Type | Description |
String |
The labelSource. |
getLabelSourceBytes()
public ByteString getLabelSourceBytes()Label source of the resource.
string label_source = 18;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for labelSource. |
getLabelValue()
public String getLabelValue()Label value of the resource.
string label_value = 17;
| Returns | |
|---|---|
| Type | Description |
String |
The labelValue. |
getLabelValueBytes()
public ByteString getLabelValueBytes()Label value of the resource.
string label_value = 17;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for labelValue. |
getLocation()
public String getLocation()The location of the resources. It supports returning only regional locations in GCP.
string location = 6;
| Returns | |
|---|---|
| Type | Description |
String |
The location. |
getLocationBytes()
public ByteString getLocationBytes()The location of the resources. It supports returning only regional locations in GCP.
string location = 6;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for location. |
getManagementType()
public ManagementType getManagementType()The management type of the resource.
.google.cloud.databasecenter.v1beta.ManagementType management_type = 10;
| Returns | |
|---|---|
| Type | Description |
ManagementType |
The managementType. |
getManagementTypeValue()
public int getManagementTypeValue()The management type of the resource.
.google.cloud.databasecenter.v1beta.ManagementType management_type = 10;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for managementType. |
getProductEngine()
public Engine getProductEngine()Engine refers to underlying database binary running in an instance.
.google.cloud.databasecenter.v1beta.Engine product_engine = 4;
| Returns | |
|---|---|
| Type | Description |
Engine |
The productEngine. |
getProductEngineValue()
public int getProductEngineValue()Engine refers to underlying database binary running in an instance.
.google.cloud.databasecenter.v1beta.Engine product_engine = 4;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for productEngine. |
getProductType()
public ProductType getProductType()Type to identify a product
.google.cloud.databasecenter.v1beta.ProductType product_type = 3;
| Returns | |
|---|---|
| Type | Description |
ProductType |
The productType. |
getProductTypeValue()
public int getProductTypeValue()Type to identify a product
.google.cloud.databasecenter.v1beta.ProductType product_type = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for productType. |
getProductVersion()
public String getProductVersion()Version of the underlying database engine
string product_version = 5;
| Returns | |
|---|---|
| Type | Description |
String |
The productVersion. |
getProductVersionBytes()
public ByteString getProductVersionBytes()Version of the underlying database engine
string product_version = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for productVersion. |
getResourceCategory()
public ResourceCategory getResourceCategory()The category of the resource.
.google.cloud.databasecenter.v1beta.ResourceCategory resource_category = 9;
| Returns | |
|---|---|
| Type | Description |
ResourceCategory |
The resourceCategory. |
getResourceCategoryValue()
public int getResourceCategoryValue()The category of the resource.
.google.cloud.databasecenter.v1beta.ResourceCategory resource_category = 9;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for resourceCategory. |
getResourceType()
public String 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/Instance
string resource_type = 7;
| Returns | |
|---|---|
| Type | Description |
String |
The resourceType. |
getResourceTypeBytes()
public 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/Instance
string resource_type = 7;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for resourceType. |
getSubResourceType()
public SubResourceType getSubResourceType()Subtype of the resource specified at creation time.
.google.cloud.databasecenter.v1beta.SubResourceType sub_resource_type = 8;
| Returns | |
|---|---|
| Type | Description |
SubResourceType |
The subResourceType. |
getSubResourceTypeValue()
public int getSubResourceTypeValue()Subtype of the resource specified at creation time.
.google.cloud.databasecenter.v1beta.SubResourceType sub_resource_type = 8;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for subResourceType. |
getTagInherited()
public boolean getTagInherited()Tag inheritance value of the resource.
bool tag_inherited = 15;
| Returns | |
|---|---|
| Type | Description |
boolean |
The tagInherited. |
getTagKey()
public String getTagKey()Tag key of the resource.
string tag_key = 12;
| Returns | |
|---|---|
| Type | Description |
String |
The tagKey. |
getTagKeyBytes()
public ByteString getTagKeyBytes()Tag key of the resource.
string tag_key = 12;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for tagKey. |
getTagSource()
public String getTagSource()Tag source of the resource.
string tag_source = 14;
| Returns | |
|---|---|
| Type | Description |
String |
The tagSource. |
getTagSourceBytes()
public ByteString getTagSourceBytes()Tag source of the resource.
string tag_source = 14;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for tagSource. |
getTagValue()
public String getTagValue()Tag value of the resource.
string tag_value = 13;
| Returns | |
|---|---|
| Type | Description |
String |
The tagValue. |
getTagValueBytes()
public ByteString getTagValueBytes()Tag value of the resource.
string tag_value = 13;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for tagValue. |
hasContainer()
public boolean hasContainer()Specifies where the resource is created. For GCP, it is the full name of the project.
string container = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the container field is set. |
hasEdition()
public boolean hasEdition()The edition of the resource.
.google.cloud.databasecenter.v1beta.Edition edition = 11;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the edition field is set. |
hasHasDenyMaintenanceSchedules()
public boolean hasHasDenyMaintenanceSchedules()Whether the resource has deny maintenance schedules.
bool has_deny_maintenance_schedules = 20;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the hasDenyMaintenanceSchedules field is set. |
hasHasMaintenanceSchedule()
public boolean hasHasMaintenanceSchedule()Whether the resource has a maintenance schedule.
bool has_maintenance_schedule = 19;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the hasMaintenanceSchedule field is set. |
hasLabelKey()
public boolean hasLabelKey()Label key of the resource.
string label_key = 16;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the labelKey field is set. |
hasLabelSource()
public boolean hasLabelSource()Label source of the resource.
string label_source = 18;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the labelSource field is set. |
hasLabelValue()
public boolean hasLabelValue()Label value of the resource.
string label_value = 17;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the labelValue field is set. |
hasLocation()
public boolean hasLocation()The location of the resources. It supports returning only regional locations in GCP.
string location = 6;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the location field is set. |
hasManagementType()
public boolean hasManagementType()The management type of the resource.
.google.cloud.databasecenter.v1beta.ManagementType management_type = 10;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the managementType field is set. |
hasProductEngine()
public boolean hasProductEngine()Engine refers to underlying database binary running in an instance.
.google.cloud.databasecenter.v1beta.Engine product_engine = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the productEngine field is set. |
hasProductType()
public boolean hasProductType()Type to identify a product
.google.cloud.databasecenter.v1beta.ProductType product_type = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the productType field is set. |
hasProductVersion()
public boolean hasProductVersion()Version of the underlying database engine
string product_version = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the productVersion field is set. |
hasResourceCategory()
public boolean hasResourceCategory()The category of the resource.
.google.cloud.databasecenter.v1beta.ResourceCategory resource_category = 9;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the resourceCategory field is set. |
hasResourceType()
public boolean hasResourceType()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/Instance
string resource_type = 7;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the resourceType field is set. |
hasSubResourceType()
public boolean hasSubResourceType()Subtype of the resource specified at creation time.
.google.cloud.databasecenter.v1beta.SubResourceType sub_resource_type = 8;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the subResourceType field is set. |
hasTagInherited()
public boolean hasTagInherited()Tag inheritance value of the resource.
bool tag_inherited = 15;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the tagInherited field is set. |
hasTagKey()
public boolean hasTagKey()Tag key of the resource.
string tag_key = 12;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the tagKey field is set. |
hasTagSource()
public boolean hasTagSource()Tag source of the resource.
string tag_source = 14;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the tagSource field is set. |
hasTagValue()
public boolean hasTagValue()Tag value of the resource.
string tag_value = 13;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the tagValue field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Dimension other)
public Dimension.Builder mergeFrom(Dimension other)| Parameter | |
|---|---|
| Name | Description |
other |
Dimension |
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Dimension.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Dimension.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
|
setContainer(String value)
public Dimension.Builder setContainer(String value)Specifies where the resource is created. For GCP, it is the full name of the project.
string container = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe container to set. |
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
setContainerBytes(ByteString value)
public Dimension.Builder setContainerBytes(ByteString value)Specifies where the resource is created. For GCP, it is the full name of the project.
string container = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for container to set. |
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
setEdition(Edition value)
public Dimension.Builder setEdition(Edition value)The edition of the resource.
.google.cloud.databasecenter.v1beta.Edition edition = 11;
| Parameter | |
|---|---|
| Name | Description |
value |
EditionThe edition to set. |
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
setEditionValue(int value)
public Dimension.Builder setEditionValue(int value)The edition of the resource.
.google.cloud.databasecenter.v1beta.Edition edition = 11;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for edition to set. |
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
setHasDenyMaintenanceSchedules(boolean value)
public Dimension.Builder setHasDenyMaintenanceSchedules(boolean value)Whether the resource has deny maintenance schedules.
bool has_deny_maintenance_schedules = 20;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe hasDenyMaintenanceSchedules to set. |
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
setHasMaintenanceSchedule(boolean value)
public Dimension.Builder setHasMaintenanceSchedule(boolean value)Whether the resource has a maintenance schedule.
bool has_maintenance_schedule = 19;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe hasMaintenanceSchedule to set. |
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
setLabelKey(String value)
public Dimension.Builder setLabelKey(String value)Label key of the resource.
string label_key = 16;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe labelKey to set. |
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
setLabelKeyBytes(ByteString value)
public Dimension.Builder setLabelKeyBytes(ByteString value)Label key of the resource.
string label_key = 16;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for labelKey to set. |
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
setLabelSource(String value)
public Dimension.Builder setLabelSource(String value)Label source of the resource.
string label_source = 18;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe labelSource to set. |
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
setLabelSourceBytes(ByteString value)
public Dimension.Builder setLabelSourceBytes(ByteString value)Label source of the resource.
string label_source = 18;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for labelSource to set. |
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
setLabelValue(String value)
public Dimension.Builder setLabelValue(String value)Label value of the resource.
string label_value = 17;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe labelValue to set. |
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
setLabelValueBytes(ByteString value)
public Dimension.Builder setLabelValueBytes(ByteString value)Label value of the resource.
string label_value = 17;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for labelValue to set. |
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
setLocation(String value)
public Dimension.Builder setLocation(String value)The location of the resources. It supports returning only regional locations in GCP.
string location = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe location to set. |
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
setLocationBytes(ByteString value)
public Dimension.Builder setLocationBytes(ByteString value)The location of the resources. It supports returning only regional locations in GCP.
string location = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for location to set. |
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
setManagementType(ManagementType value)
public Dimension.Builder setManagementType(ManagementType value)The management type of the resource.
.google.cloud.databasecenter.v1beta.ManagementType management_type = 10;
| Parameter | |
|---|---|
| Name | Description |
value |
ManagementTypeThe managementType to set. |
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
setManagementTypeValue(int value)
public Dimension.Builder setManagementTypeValue(int value)The management type of the resource.
.google.cloud.databasecenter.v1beta.ManagementType management_type = 10;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for managementType to set. |
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
setProductEngine(Engine value)
public Dimension.Builder setProductEngine(Engine value)Engine refers to underlying database binary running in an instance.
.google.cloud.databasecenter.v1beta.Engine product_engine = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
EngineThe productEngine to set. |
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
setProductEngineValue(int value)
public Dimension.Builder setProductEngineValue(int value)Engine refers to underlying database binary running in an instance.
.google.cloud.databasecenter.v1beta.Engine product_engine = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for productEngine to set. |
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
setProductType(ProductType value)
public Dimension.Builder setProductType(ProductType value)Type to identify a product
.google.cloud.databasecenter.v1beta.ProductType product_type = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ProductTypeThe productType to set. |
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
setProductTypeValue(int value)
public Dimension.Builder setProductTypeValue(int value)Type to identify a product
.google.cloud.databasecenter.v1beta.ProductType product_type = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for productType to set. |
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
setProductVersion(String value)
public Dimension.Builder setProductVersion(String value)Version of the underlying database engine
string product_version = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe productVersion to set. |
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
setProductVersionBytes(ByteString value)
public Dimension.Builder setProductVersionBytes(ByteString value)Version of the underlying database engine
string product_version = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for productVersion to set. |
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
setResourceCategory(ResourceCategory value)
public Dimension.Builder setResourceCategory(ResourceCategory value)The category of the resource.
.google.cloud.databasecenter.v1beta.ResourceCategory resource_category = 9;
| Parameter | |
|---|---|
| Name | Description |
value |
ResourceCategoryThe resourceCategory to set. |
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
setResourceCategoryValue(int value)
public Dimension.Builder setResourceCategoryValue(int value)The category of the resource.
.google.cloud.databasecenter.v1beta.ResourceCategory resource_category = 9;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for resourceCategory to set. |
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
setResourceType(String value)
public Dimension.Builder setResourceType(String value)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/Instance
string resource_type = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe resourceType to set. |
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
setResourceTypeBytes(ByteString value)
public Dimension.Builder setResourceTypeBytes(ByteString value)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/Instance
string resource_type = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for resourceType to set. |
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
setSubResourceType(SubResourceType value)
public Dimension.Builder setSubResourceType(SubResourceType value)Subtype of the resource specified at creation time.
.google.cloud.databasecenter.v1beta.SubResourceType sub_resource_type = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
SubResourceTypeThe subResourceType to set. |
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
setSubResourceTypeValue(int value)
public Dimension.Builder setSubResourceTypeValue(int value)Subtype of the resource specified at creation time.
.google.cloud.databasecenter.v1beta.SubResourceType sub_resource_type = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for subResourceType to set. |
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
setTagInherited(boolean value)
public Dimension.Builder setTagInherited(boolean value)Tag inheritance value of the resource.
bool tag_inherited = 15;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe tagInherited to set. |
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
setTagKey(String value)
public Dimension.Builder setTagKey(String value)Tag key of the resource.
string tag_key = 12;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe tagKey to set. |
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
setTagKeyBytes(ByteString value)
public Dimension.Builder setTagKeyBytes(ByteString value)Tag key of the resource.
string tag_key = 12;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for tagKey to set. |
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
setTagSource(String value)
public Dimension.Builder setTagSource(String value)Tag source of the resource.
string tag_source = 14;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe tagSource to set. |
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
setTagSourceBytes(ByteString value)
public Dimension.Builder setTagSourceBytes(ByteString value)Tag source of the resource.
string tag_source = 14;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for tagSource to set. |
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
setTagValue(String value)
public Dimension.Builder setTagValue(String value)Tag value of the resource.
string tag_value = 13;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe tagValue to set. |
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |
setTagValueBytes(ByteString value)
public Dimension.Builder setTagValueBytes(ByteString value)Tag value of the resource.
string tag_value = 13;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for tagValue to set. |
| Returns | |
|---|---|
| Type | Description |
Dimension.Builder |
This builder for chaining. |