Class CrossRegionalSource.Builder (1.89.0)

public static final class CrossRegionalSource.Builder extends GeneratedMessage.Builder<CrossRegionalSource.Builder> implements CrossRegionalSourceOrBuilder

Cross-regional source used to import an existing taxonomy into a different region.

Protobuf type google.cloud.datacatalog.v1.CrossRegionalSource

Static Methods

getDescriptor()

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

Methods

build()

public CrossRegionalSource build()
Returns
Type Description
CrossRegionalSource

buildPartial()

public CrossRegionalSource buildPartial()
Returns
Type Description
CrossRegionalSource

clear()

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

clearTaxonomy()

public CrossRegionalSource.Builder clearTaxonomy()

Required. The resource name of the source taxonomy to import.

string taxonomy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CrossRegionalSource.Builder

This builder for chaining.

getDefaultInstanceForType()

public CrossRegionalSource getDefaultInstanceForType()
Returns
Type Description
CrossRegionalSource

getDescriptorForType()

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

getTaxonomy()

public String getTaxonomy()

Required. The resource name of the source taxonomy to import.

string taxonomy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The taxonomy.

getTaxonomyBytes()

public ByteString getTaxonomyBytes()

Required. The resource name of the source taxonomy to import.

string taxonomy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for taxonomy.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CrossRegionalSource other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setTaxonomy(String value)

public CrossRegionalSource.Builder setTaxonomy(String value)

Required. The resource name of the source taxonomy to import.

string taxonomy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The taxonomy to set.

Returns
Type Description
CrossRegionalSource.Builder

This builder for chaining.

setTaxonomyBytes(ByteString value)

public CrossRegionalSource.Builder setTaxonomyBytes(ByteString value)

Required. The resource name of the source taxonomy to import.

string taxonomy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for taxonomy to set.

Returns
Type Description
CrossRegionalSource.Builder

This builder for chaining.