Class CrossRegionalSource.Builder (1.18.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CrossRegionalSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CrossRegionalSource.Builder
Overrides

build()

public CrossRegionalSource build()
Returns
TypeDescription
CrossRegionalSource

buildPartial()

public CrossRegionalSource buildPartial()
Returns
TypeDescription
CrossRegionalSource

clear()

public CrossRegionalSource.Builder clear()
Returns
TypeDescription
CrossRegionalSource.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CrossRegionalSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CrossRegionalSource.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CrossRegionalSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
CrossRegionalSource.Builder

This builder for chaining.

clone()

public CrossRegionalSource.Builder clone()
Returns
TypeDescription
CrossRegionalSource.Builder
Overrides

getDefaultInstanceForType()

public CrossRegionalSource getDefaultInstanceForType()
Returns
TypeDescription
CrossRegionalSource

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for taxonomy.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CrossRegionalSource other)

public CrossRegionalSource.Builder mergeFrom(CrossRegionalSource other)
Parameter
NameDescription
otherCrossRegionalSource
Returns
TypeDescription
CrossRegionalSource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CrossRegionalSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CrossRegionalSource.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CrossRegionalSource.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CrossRegionalSource.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CrossRegionalSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CrossRegionalSource.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CrossRegionalSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CrossRegionalSource.Builder
Overrides

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

public CrossRegionalSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The taxonomy to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for taxonomy to set.

Returns
TypeDescription
CrossRegionalSource.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CrossRegionalSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CrossRegionalSource.Builder
Overrides