Class ImportTaxonomiesRequest.Builder (1.17.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ImportTaxonomiesRequest build()
Returns
TypeDescription
ImportTaxonomiesRequest

buildPartial()

public ImportTaxonomiesRequest buildPartial()
Returns
TypeDescription
ImportTaxonomiesRequest

clear()

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

clearCrossRegionalSource()

public ImportTaxonomiesRequest.Builder clearCrossRegionalSource()

Cross-regional source taxonomy to import.

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

Returns
TypeDescription
ImportTaxonomiesRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearInlineSource()

public ImportTaxonomiesRequest.Builder clearInlineSource()

Inline source taxonomy to import.

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

Returns
TypeDescription
ImportTaxonomiesRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clearSource()

public ImportTaxonomiesRequest.Builder clearSource()
Returns
TypeDescription
ImportTaxonomiesRequest.Builder

clone()

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

getCrossRegionalSource()

public CrossRegionalSource getCrossRegionalSource()

Cross-regional source taxonomy to import.

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

Returns
TypeDescription
CrossRegionalSource

The crossRegionalSource.

getCrossRegionalSourceBuilder()

public CrossRegionalSource.Builder getCrossRegionalSourceBuilder()

Cross-regional source taxonomy to import.

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

Returns
TypeDescription
CrossRegionalSource.Builder

getCrossRegionalSourceOrBuilder()

public CrossRegionalSourceOrBuilder getCrossRegionalSourceOrBuilder()

Cross-regional source taxonomy to import.

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

Returns
TypeDescription
CrossRegionalSourceOrBuilder

getDefaultInstanceForType()

public ImportTaxonomiesRequest getDefaultInstanceForType()
Returns
TypeDescription
ImportTaxonomiesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInlineSource()

public InlineSource getInlineSource()

Inline source taxonomy to import.

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

Returns
TypeDescription
InlineSource

The inlineSource.

getInlineSourceBuilder()

public InlineSource.Builder getInlineSourceBuilder()

Inline source taxonomy to import.

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

Returns
TypeDescription
InlineSource.Builder

getInlineSourceOrBuilder()

public InlineSourceOrBuilder getInlineSourceOrBuilder()

Inline source taxonomy to import.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

getSourceCase()

public ImportTaxonomiesRequest.SourceCase getSourceCase()
Returns
TypeDescription
ImportTaxonomiesRequest.SourceCase

hasCrossRegionalSource()

public boolean hasCrossRegionalSource()

Cross-regional source taxonomy to import.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the inlineSource field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueCrossRegionalSource
Returns
TypeDescription
ImportTaxonomiesRequest.Builder

mergeFrom(ImportTaxonomiesRequest other)

public ImportTaxonomiesRequest.Builder mergeFrom(ImportTaxonomiesRequest other)
Parameter
NameDescription
otherImportTaxonomiesRequest
Returns
TypeDescription
ImportTaxonomiesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ImportTaxonomiesRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueInlineSource
Returns
TypeDescription
ImportTaxonomiesRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportTaxonomiesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueCrossRegionalSource
Returns
TypeDescription
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
NameDescription
builderForValueCrossRegionalSource.Builder
Returns
TypeDescription
ImportTaxonomiesRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ImportTaxonomiesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueInlineSource
Returns
TypeDescription
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
NameDescription
builderForValueInlineSource.Builder
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

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

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ImportTaxonomiesRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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