Class ImportTaxonomiesRequest.Builder (1.58.0)

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

Request message for ImportTaxonomies.

Protobuf type google.cloud.datacatalog.v1beta1.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

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 used for taxonomies to be imported.

.google.cloud.datacatalog.v1beta1.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

getDefaultInstanceForType()

public ImportTaxonomiesRequest getDefaultInstanceForType()
Returns
Type Description
ImportTaxonomiesRequest

getDescriptorForType()

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

getInlineSource()

public InlineSource getInlineSource()

Inline source used for taxonomies to be imported.

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

Returns
Type Description
InlineSource

The inlineSource.

getInlineSourceBuilder()

public InlineSource.Builder getInlineSourceBuilder()

Inline source used for taxonomies to be imported.

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

Returns
Type Description
InlineSource.Builder

getInlineSourceOrBuilder()

public InlineSourceOrBuilder getInlineSourceOrBuilder()

Inline source used for taxonomies to be imported.

.google.cloud.datacatalog.v1beta1.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

hasInlineSource()

public boolean hasInlineSource()

Inline source used for taxonomies to be imported.

.google.cloud.datacatalog.v1beta1.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

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 used for taxonomies to be imported.

.google.cloud.datacatalog.v1beta1.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

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 used for taxonomies to be imported.

.google.cloud.datacatalog.v1beta1.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 used for taxonomies to be imported.

.google.cloud.datacatalog.v1beta1.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