Class ImportTaxonomiesRequest.Builder (1.11.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
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

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 used for taxonomies import

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

getDefaultInstanceForType()

public ImportTaxonomiesRequest getDefaultInstanceForType()
Returns
TypeDescription
ImportTaxonomiesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInlineSource()

public InlineSource getInlineSource()

Inline source used for taxonomies import

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

Returns
TypeDescription
InlineSource

The inlineSource.

getInlineSourceBuilder()

public InlineSource.Builder getInlineSourceBuilder()

Inline source used for taxonomies import

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

Returns
TypeDescription
InlineSource.Builder

getInlineSourceOrBuilder()

public InlineSourceOrBuilder getInlineSourceOrBuilder()

Inline source used for taxonomies import

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

Returns
TypeDescription
InlineSourceOrBuilder

getParent()

public String getParent()

Required. Resource name of project that the newly created 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 newly created 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

hasInlineSource()

public boolean hasInlineSource()

Inline source used for taxonomies import

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

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 used for taxonomies import

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

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 used for taxonomies import

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

Parameter
NameDescription
valueInlineSource
Returns
TypeDescription
ImportTaxonomiesRequest.Builder

setInlineSource(InlineSource.Builder builderForValue)

public ImportTaxonomiesRequest.Builder setInlineSource(InlineSource.Builder builderForValue)

Inline source used for taxonomies import

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