public static final class Product.Builder extends GeneratedMessageV3.Builder<Product.Builder> implements ProductOrBuilderProduct specification for databasecenter resources.
Protobuf type google.cloud.databasecenter.v1beta.Product
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Product.BuilderImplements
ProductOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Product.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Product.Builder |
|
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. |
clearField(Descriptors.FieldDescriptor field)
public Product.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
Product.Builder |
|
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. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Product.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
Product.Builder |
|
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. |
clone()
public Product.Builder clone()| Returns | |
|---|---|
| Type | Description |
Product.Builder |
|
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 GeneratedMessageV3.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 |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Product.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| 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. |
setField(Descriptors.FieldDescriptor field, Object value)
public Product.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Product.Builder |
|
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. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Product.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Product.Builder |
|
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. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Product.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Product.Builder |
|
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. |