Class CreateTaxonomyRequest.Builder (1.48.0)

public static final class CreateTaxonomyRequest.Builder extends GeneratedMessageV3.Builder<CreateTaxonomyRequest.Builder> implements CreateTaxonomyRequestOrBuilder

Request message for CreateTaxonomy.

Protobuf type google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateTaxonomyRequest build()
Returns
Type Description
CreateTaxonomyRequest

buildPartial()

public CreateTaxonomyRequest buildPartial()
Returns
Type Description
CreateTaxonomyRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateTaxonomyRequest.Builder clearParent()

Required. Resource name of the project that the taxonomy will belong to.

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

Returns
Type Description
CreateTaxonomyRequest.Builder

This builder for chaining.

clearTaxonomy()

public CreateTaxonomyRequest.Builder clearTaxonomy()

The taxonomy to be created.

.google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 2;

Returns
Type Description
CreateTaxonomyRequest.Builder

clone()

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

getDefaultInstanceForType()

public CreateTaxonomyRequest getDefaultInstanceForType()
Returns
Type Description
CreateTaxonomyRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. Resource name of the project that the taxonomy 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 the project that the taxonomy will belong to.

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

Returns
Type Description
ByteString

The bytes for parent.

getTaxonomy()

public Taxonomy getTaxonomy()

The taxonomy to be created.

.google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 2;

Returns
Type Description
Taxonomy

The taxonomy.

getTaxonomyBuilder()

public Taxonomy.Builder getTaxonomyBuilder()

The taxonomy to be created.

.google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 2;

Returns
Type Description
Taxonomy.Builder

getTaxonomyOrBuilder()

public TaxonomyOrBuilder getTaxonomyOrBuilder()

The taxonomy to be created.

.google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 2;

Returns
Type Description
TaxonomyOrBuilder

hasTaxonomy()

public boolean hasTaxonomy()

The taxonomy to be created.

.google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 2;

Returns
Type Description
boolean

Whether the taxonomy field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateTaxonomyRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTaxonomy(Taxonomy value)

public CreateTaxonomyRequest.Builder mergeTaxonomy(Taxonomy value)

The taxonomy to be created.

.google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 2;

Parameter
Name Description
value Taxonomy
Returns
Type Description
CreateTaxonomyRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateTaxonomyRequest.Builder setParent(String value)

Required. Resource name of the project that the taxonomy 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
CreateTaxonomyRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateTaxonomyRequest.Builder setParentBytes(ByteString value)

Required. Resource name of the project that the taxonomy 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
CreateTaxonomyRequest.Builder

This builder for chaining.

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

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

setTaxonomy(Taxonomy value)

public CreateTaxonomyRequest.Builder setTaxonomy(Taxonomy value)

The taxonomy to be created.

.google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 2;

Parameter
Name Description
value Taxonomy
Returns
Type Description
CreateTaxonomyRequest.Builder

setTaxonomy(Taxonomy.Builder builderForValue)

public CreateTaxonomyRequest.Builder setTaxonomy(Taxonomy.Builder builderForValue)

The taxonomy to be created.

.google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 2;

Parameter
Name Description
builderForValue Taxonomy.Builder
Returns
Type Description
CreateTaxonomyRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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