Class AlloyDBClusterDataSourceReferenceProperties.Builder (0.58.0)

public static final class AlloyDBClusterDataSourceReferenceProperties.Builder extends GeneratedMessage.Builder<AlloyDBClusterDataSourceReferenceProperties.Builder> implements AlloyDBClusterDataSourceReferencePropertiesOrBuilder

AlloyDBClusterDataSourceReferenceProperties represents the properties of an AlloyDB cluster that are stored in the DataSourceReference.

Protobuf type google.cloud.backupdr.v1beta.AlloyDBClusterDataSourceReferenceProperties

Static Methods

getDescriptor()

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

Methods

build()

public AlloyDBClusterDataSourceReferenceProperties build()
Returns
Type Description
AlloyDBClusterDataSourceReferenceProperties

buildPartial()

public AlloyDBClusterDataSourceReferenceProperties buildPartial()
Returns
Type Description
AlloyDBClusterDataSourceReferenceProperties

clear()

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

clearName()

public AlloyDBClusterDataSourceReferenceProperties.Builder clearName()

Output only. Name of the AlloyDB cluster backed up by the datasource. Format: projects/{project}/locations/{location}/clusters/{cluster}

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

Returns
Type Description
AlloyDBClusterDataSourceReferenceProperties.Builder

This builder for chaining.

getDefaultInstanceForType()

public AlloyDBClusterDataSourceReferenceProperties getDefaultInstanceForType()
Returns
Type Description
AlloyDBClusterDataSourceReferenceProperties

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. Format: projects/{project}/locations/{location}/clusters/{cluster}

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. Format: projects/{project}/locations/{location}/clusters/{cluster}

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(AlloyDBClusterDataSourceReferenceProperties other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public AlloyDBClusterDataSourceReferenceProperties.Builder setName(String value)

Output only. Name of the AlloyDB cluster backed up by the datasource. Format: projects/{project}/locations/{location}/clusters/{cluster}

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
AlloyDBClusterDataSourceReferenceProperties.Builder

This builder for chaining.

setNameBytes(ByteString value)

public AlloyDBClusterDataSourceReferenceProperties.Builder setNameBytes(ByteString value)

Output only. Name of the AlloyDB cluster backed up by the datasource. Format: projects/{project}/locations/{location}/clusters/{cluster}

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
AlloyDBClusterDataSourceReferenceProperties.Builder

This builder for chaining.