Class ImportTaxonomiesRequest.Builder (1.54.0)

public static final class ImportTaxonomiesRequest.Builder extends GeneratedMessageV3.Builder<ImportTaxonomiesRequest.Builder> implements ImportTaxonomiesRequestOrBuilder

Request message for ImportTaxonomies.

Protobuf type google.cloud.datacatalog.v1.ImportTaxonomiesRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ImportTaxonomiesRequest build()
Returns
Type Description
ImportTaxonomiesRequest

buildPartial()

public ImportTaxonomiesRequest buildPartial()
Returns
Type Description
ImportTaxonomiesRequest

clear()

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

clearCrossRegionalSource()

public ImportTaxonomiesRequest.Builder clearCrossRegionalSource()

Cross-regional source taxonomy to import.

.google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3;

Returns
Type Description
ImportTaxonomiesRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearInlineSource()

public ImportTaxonomiesRequest.Builder clearInlineSource()

Inline source taxonomy to import.

.google.cloud.datacatalog.v1.InlineSource inline_source = 2;

Returns
Type Description
ImportTaxonomiesRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportTaxonomiesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ImportTaxonomiesRequest.Builder
Overrides

clearParent()

public ImportTaxonomiesRequest.Builder clearParent()

Required. Resource name of project that the imported taxonomies will belong to.

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

Returns
Type Description
ImportTaxonomiesRequest.Builder

This builder for chaining.

clearSource()

public ImportTaxonomiesRequest.Builder clearSource()
Returns
Type Description
ImportTaxonomiesRequest.Builder

clone()

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

getCrossRegionalSource()

public CrossRegionalSource getCrossRegionalSource()

Cross-regional source taxonomy to import.

.google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3;

Returns
Type Description
CrossRegionalSource

The crossRegionalSource.

getCrossRegionalSourceBuilder()

public CrossRegionalSource.Builder getCrossRegionalSourceBuilder()

Cross-regional source taxonomy to import.

.google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3;

Returns
Type Description
CrossRegionalSource.Builder

getCrossRegionalSourceOrBuilder()

public CrossRegionalSourceOrBuilder getCrossRegionalSourceOrBuilder()

Cross-regional source taxonomy to import.

.google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3;

Returns
Type Description
CrossRegionalSourceOrBuilder

getDefaultInstanceForType()

public ImportTaxonomiesRequest getDefaultInstanceForType()
Returns
Type Description
ImportTaxonomiesRequest

getDescriptorForType()

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

getInlineSource()

public InlineSource getInlineSource()

Inline source taxonomy to import.

.google.cloud.datacatalog.v1.InlineSource inline_source = 2;

Returns
Type Description
InlineSource

The inlineSource.

getInlineSourceBuilder()

public InlineSource.Builder getInlineSourceBuilder()

Inline source taxonomy to import.

.google.cloud.datacatalog.v1.InlineSource inline_source = 2;

Returns
Type Description
InlineSource.Builder

getInlineSourceOrBuilder()

public InlineSourceOrBuilder getInlineSourceOrBuilder()

Inline source taxonomy to import.

.google.cloud.datacatalog.v1.InlineSource inline_source = 2;

Returns
Type Description
InlineSourceOrBuilder

getParent()

public String getParent()

Required. Resource name of project that the imported taxonomies will belong to.

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Resource name of project that the imported taxonomies will belong to.

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

Returns
Type Description
ByteString

The bytes for parent.

getSourceCase()

public ImportTaxonomiesRequest.SourceCase getSourceCase()
Returns
Type Description
ImportTaxonomiesRequest.SourceCase

hasCrossRegionalSource()

public boolean hasCrossRegionalSource()

Cross-regional source taxonomy to import.

.google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3;

Returns
Type Description
boolean

Whether the crossRegionalSource field is set.

hasInlineSource()

public boolean hasInlineSource()

Inline source taxonomy to import.

.google.cloud.datacatalog.v1.InlineSource inline_source = 2;

Returns
Type Description
boolean

Whether the inlineSource field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCrossRegionalSource(CrossRegionalSource value)

public ImportTaxonomiesRequest.Builder mergeCrossRegionalSource(CrossRegionalSource value)

Cross-regional source taxonomy to import.

.google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3;

Parameter
Name Description
value CrossRegionalSource
Returns
Type Description
ImportTaxonomiesRequest.Builder

mergeFrom(ImportTaxonomiesRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInlineSource(InlineSource value)

public ImportTaxonomiesRequest.Builder mergeInlineSource(InlineSource value)

Inline source taxonomy to import.

.google.cloud.datacatalog.v1.InlineSource inline_source = 2;

Parameter
Name Description
value InlineSource
Returns
Type Description
ImportTaxonomiesRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCrossRegionalSource(CrossRegionalSource value)

public ImportTaxonomiesRequest.Builder setCrossRegionalSource(CrossRegionalSource value)

Cross-regional source taxonomy to import.

.google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3;

Parameter
Name Description
value CrossRegionalSource
Returns
Type Description
ImportTaxonomiesRequest.Builder

setCrossRegionalSource(CrossRegionalSource.Builder builderForValue)

public ImportTaxonomiesRequest.Builder setCrossRegionalSource(CrossRegionalSource.Builder builderForValue)

Cross-regional source taxonomy to import.

.google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3;

Parameter
Name Description
builderForValue CrossRegionalSource.Builder
Returns
Type Description
ImportTaxonomiesRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setInlineSource(InlineSource value)

public ImportTaxonomiesRequest.Builder setInlineSource(InlineSource value)

Inline source taxonomy to import.

.google.cloud.datacatalog.v1.InlineSource inline_source = 2;

Parameter
Name Description
value InlineSource
Returns
Type Description
ImportTaxonomiesRequest.Builder

setInlineSource(InlineSource.Builder builderForValue)

public ImportTaxonomiesRequest.Builder setInlineSource(InlineSource.Builder builderForValue)

Inline source taxonomy to import.

.google.cloud.datacatalog.v1.InlineSource inline_source = 2;

Parameter
Name Description
builderForValue InlineSource.Builder
Returns
Type Description
ImportTaxonomiesRequest.Builder

setParent(String value)

public ImportTaxonomiesRequest.Builder setParent(String value)

Required. Resource name of project that the imported taxonomies will belong to.

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ImportTaxonomiesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ImportTaxonomiesRequest.Builder setParentBytes(ByteString value)

Required. Resource name of project that the imported taxonomies will belong to.

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

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ImportTaxonomiesRequest.Builder

This builder for chaining.

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

public ImportTaxonomiesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ImportTaxonomiesRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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