Class CrossRegionalSource.Builder (1.49.0)

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public CrossRegionalSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CrossRegionalSource.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CrossRegionalSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public CrossRegionalSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
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.

setUnknownFields(UnknownFieldSet unknownFields)

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