Class AlloyDBClusterDataSourceProperties.Builder (0.42.0)

public static final class AlloyDBClusterDataSourceProperties.Builder extends GeneratedMessage.Builder<AlloyDBClusterDataSourceProperties.Builder> implements AlloyDBClusterDataSourcePropertiesOrBuilder

AlloyDBClusterDataSourceProperties represents the properties of a AlloyDB cluster resource that are stored in the DataSource. .

Protobuf type google.cloud.backupdr.v1.AlloyDBClusterDataSourceProperties

Static Methods

getDescriptor()

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

Methods

build()

public AlloyDBClusterDataSourceProperties build()
Returns
Type Description
AlloyDBClusterDataSourceProperties

buildPartial()

public AlloyDBClusterDataSourceProperties buildPartial()
Returns
Type Description
AlloyDBClusterDataSourceProperties

clear()

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

clearName()

public AlloyDBClusterDataSourceProperties.Builder clearName()

Output only. Name of the AlloyDB cluster backed up by the datasource.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
AlloyDBClusterDataSourceProperties.Builder

This builder for chaining.

getDefaultInstanceForType()

public AlloyDBClusterDataSourceProperties getDefaultInstanceForType()
Returns
Type Description
AlloyDBClusterDataSourceProperties

getDescriptorForType()

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

getName()

public String getName()

Output only. Name of the AlloyDB cluster backed up by the datasource.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. Name of the AlloyDB cluster backed up by the datasource.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AlloyDBClusterDataSourceProperties other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public AlloyDBClusterDataSourceProperties.Builder setName(String value)

Output only. Name of the AlloyDB cluster backed up by the datasource.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
AlloyDBClusterDataSourceProperties.Builder

This builder for chaining.

setNameBytes(ByteString value)

public AlloyDBClusterDataSourceProperties.Builder setNameBytes(ByteString value)

Output only. Name of the AlloyDB cluster backed up by the datasource.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
AlloyDBClusterDataSourceProperties.Builder

This builder for chaining.