Class DbNode.Builder (0.3.0)

public static final class DbNode.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DbNode.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DbNode.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public DbNode.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

public DbNode.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DbNode.Builder
Overrides

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DbNode.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DbNode.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DbNode.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DbNode.Builder
Overrides

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

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DbNode.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DbNode.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DbNode.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DbNode.Builder
Overrides