public static final class Product.Builder extends GeneratedMessage.Builder<Product.Builder> implements ProductOrBuilderProduct specification for databasecenter resources.
Protobuf type google.cloud.databasecenter.v1beta.Product
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Product.BuilderImplements
ProductOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Product build()| Returns | |
|---|---|
| Type | Description |
Product |
|
buildPartial()
public Product buildPartial()| Returns | |
|---|---|
| Type | Description |
Product |
|
clear()
public Product.Builder clear()| Returns | |
|---|---|
| Type | Description |
Product.Builder |
|
clearEngine()
public Product.Builder clearEngine()Optional. The specific engine that the underlying database is running.
.google.cloud.databasecenter.v1beta.Engine engine = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Product.Builder |
This builder for chaining. |
clearMinorVersion()
public Product.Builder clearMinorVersion()Optional. Minor version of the underlying database engine. Example values: For MySQL, it could be "8.0.35", "5.7.25" etc. For PostgreSQL, it could be "14.4", "15.5" etc.
string minor_version = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Product.Builder |
This builder for chaining. |
clearType()
public Product.Builder clearType()Optional. Type of specific database product. It could be CloudSQL, AlloyDB etc..
.google.cloud.databasecenter.v1beta.ProductType type = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Product.Builder |
This builder for chaining. |
clearVersion()
public Product.Builder clearVersion()Optional. Version of the underlying database engine. Example values: For MySQL, it could be "8.0", "5.7" etc. For Postgres, it could be "14", "15" etc.
string version = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Product.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Product getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Product |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEngine()
public Engine getEngine()Optional. The specific engine that the underlying database is running.
.google.cloud.databasecenter.v1beta.Engine engine = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Engine |
The engine. |
getEngineValue()
public int getEngineValue()Optional. The specific engine that the underlying database is running.
.google.cloud.databasecenter.v1beta.Engine engine = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for engine. |
getMinorVersion()
public String getMinorVersion()Optional. Minor version of the underlying database engine. Example values: For MySQL, it could be "8.0.35", "5.7.25" etc. For PostgreSQL, it could be "14.4", "15.5" etc.
string minor_version = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The minorVersion. |
getMinorVersionBytes()
public ByteString getMinorVersionBytes()Optional. Minor version of the underlying database engine. Example values: For MySQL, it could be "8.0.35", "5.7.25" etc. For PostgreSQL, it could be "14.4", "15.5" etc.
string minor_version = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for minorVersion. |
getType()
public ProductType getType()Optional. Type of specific database product. It could be CloudSQL, AlloyDB etc..
.google.cloud.databasecenter.v1beta.ProductType type = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProductType |
The type. |
getTypeValue()
public int getTypeValue()Optional. Type of specific database product. It could be CloudSQL, AlloyDB etc..
.google.cloud.databasecenter.v1beta.ProductType type = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for type. |
getVersion()
public String getVersion()Optional. Version of the underlying database engine. Example values: For MySQL, it could be "8.0", "5.7" etc. For Postgres, it could be "14", "15" etc.
string version = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The version. |
getVersionBytes()
public ByteString getVersionBytes()Optional. Version of the underlying database engine. Example values: For MySQL, it could be "8.0", "5.7" etc. For Postgres, it could be "14", "15" etc.
string version = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for version. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Product other)
public Product.Builder mergeFrom(Product other)| Parameter | |
|---|---|
| Name | Description |
other |
Product |
| Returns | |
|---|---|
| Type | Description |
Product.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Product.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Product.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Product.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Product.Builder |
|
setEngine(Engine value)
public Product.Builder setEngine(Engine value)Optional. The specific engine that the underlying database is running.
.google.cloud.databasecenter.v1beta.Engine engine = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
EngineThe engine to set. |
| Returns | |
|---|---|
| Type | Description |
Product.Builder |
This builder for chaining. |
setEngineValue(int value)
public Product.Builder setEngineValue(int value)Optional. The specific engine that the underlying database is running.
.google.cloud.databasecenter.v1beta.Engine engine = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for engine to set. |
| Returns | |
|---|---|
| Type | Description |
Product.Builder |
This builder for chaining. |
setMinorVersion(String value)
public Product.Builder setMinorVersion(String value)Optional. Minor version of the underlying database engine. Example values: For MySQL, it could be "8.0.35", "5.7.25" etc. For PostgreSQL, it could be "14.4", "15.5" etc.
string minor_version = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe minorVersion to set. |
| Returns | |
|---|---|
| Type | Description |
Product.Builder |
This builder for chaining. |
setMinorVersionBytes(ByteString value)
public Product.Builder setMinorVersionBytes(ByteString value)Optional. Minor version of the underlying database engine. Example values: For MySQL, it could be "8.0.35", "5.7.25" etc. For PostgreSQL, it could be "14.4", "15.5" etc.
string minor_version = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for minorVersion to set. |
| Returns | |
|---|---|
| Type | Description |
Product.Builder |
This builder for chaining. |
setType(ProductType value)
public Product.Builder setType(ProductType value)Optional. Type of specific database product. It could be CloudSQL, AlloyDB etc..
.google.cloud.databasecenter.v1beta.ProductType type = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ProductTypeThe type to set. |
| Returns | |
|---|---|
| Type | Description |
Product.Builder |
This builder for chaining. |
setTypeValue(int value)
public Product.Builder setTypeValue(int value)Optional. Type of specific database product. It could be CloudSQL, AlloyDB etc..
.google.cloud.databasecenter.v1beta.ProductType type = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for type to set. |
| Returns | |
|---|---|
| Type | Description |
Product.Builder |
This builder for chaining. |
setVersion(String value)
public Product.Builder setVersion(String value)Optional. Version of the underlying database engine. Example values: For MySQL, it could be "8.0", "5.7" etc. For Postgres, it could be "14", "15" etc.
string version = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe version to set. |
| Returns | |
|---|---|
| Type | Description |
Product.Builder |
This builder for chaining. |
setVersionBytes(ByteString value)
public Product.Builder setVersionBytes(ByteString value)Optional. Version of the underlying database engine. Example values: For MySQL, it could be "8.0", "5.7" etc. For Postgres, it could be "14", "15" etc.
string version = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for version to set. |
| Returns | |
|---|---|
| Type | Description |
Product.Builder |
This builder for chaining. |