Class DbNode.Builder (0.32.0)

public static final class DbNode.Builder extends GeneratedMessage.Builder<DbNode.Builder> implements DbNodeOrBuilder

Details of the database node resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/DbNode/

Protobuf type google.cloud.oracledatabase.v1.DbNode

Implements

DbNodeOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public DbNode build()
Returns
Type Description
DbNode

buildPartial()

public DbNode buildPartial()
Returns
Type Description
DbNode

clear()

public DbNode.Builder clear()
Returns
Type Description
DbNode.Builder
Overrides

clearName()

public DbNode.Builder clearName()

Identifier. The name of the database node resource in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster}/dbNodes/{db_node}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
DbNode.Builder

This builder for chaining.

clearProperties()

public DbNode.Builder clearProperties()

Optional. Various properties of the database node.

.google.cloud.oracledatabase.v1.DbNodeProperties properties = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DbNode.Builder

getDefaultInstanceForType()

public DbNode getDefaultInstanceForType()
Returns
Type Description
DbNode

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Identifier. The name of the database node resource in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster}/dbNodes/{db_node}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The name of the database node resource in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster}/dbNodes/{db_node}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getProperties()

public DbNodeProperties getProperties()

Optional. Various properties of the database node.

.google.cloud.oracledatabase.v1.DbNodeProperties properties = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DbNodeProperties

The properties.

getPropertiesBuilder()

public DbNodeProperties.Builder getPropertiesBuilder()

Optional. Various properties of the database node.

.google.cloud.oracledatabase.v1.DbNodeProperties properties = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DbNodeProperties.Builder

getPropertiesOrBuilder()

public DbNodePropertiesOrBuilder getPropertiesOrBuilder()

Optional. Various properties of the database node.

.google.cloud.oracledatabase.v1.DbNodeProperties properties = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DbNodePropertiesOrBuilder

hasProperties()

public boolean hasProperties()

Optional. Various properties of the database node.

.google.cloud.oracledatabase.v1.DbNodeProperties properties = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the properties field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DbNode other)

public DbNode.Builder mergeFrom(DbNode other)
Parameter
Name Description
other DbNode
Returns
Type Description
DbNode.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DbNode.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DbNode.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DbNode.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DbNode.Builder
Overrides

mergeProperties(DbNodeProperties value)

public DbNode.Builder mergeProperties(DbNodeProperties value)

Optional. Various properties of the database node.

.google.cloud.oracledatabase.v1.DbNodeProperties properties = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DbNodeProperties
Returns
Type Description
DbNode.Builder

setName(String value)

public DbNode.Builder setName(String value)

Identifier. The name of the database node resource in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster}/dbNodes/{db_node}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DbNode.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DbNode.Builder setNameBytes(ByteString value)

Identifier. The name of the database node resource in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster}/dbNodes/{db_node}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DbNode.Builder

This builder for chaining.

setProperties(DbNodeProperties value)

public DbNode.Builder setProperties(DbNodeProperties value)

Optional. Various properties of the database node.

.google.cloud.oracledatabase.v1.DbNodeProperties properties = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DbNodeProperties
Returns
Type Description
DbNode.Builder

setProperties(DbNodeProperties.Builder builderForValue)

public DbNode.Builder setProperties(DbNodeProperties.Builder builderForValue)

Optional. Various properties of the database node.

.google.cloud.oracledatabase.v1.DbNodeProperties properties = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue DbNodeProperties.Builder
Returns
Type Description
DbNode.Builder