Class CreateTaxonomyRequest.Builder (1.15.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateTaxonomyRequest build()
Returns
TypeDescription
CreateTaxonomyRequest

buildPartial()

public CreateTaxonomyRequest buildPartial()
Returns
TypeDescription
CreateTaxonomyRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clearTaxonomy()

public CreateTaxonomyRequest.Builder clearTaxonomy()

The taxonomy to be created.

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

Returns
TypeDescription
CreateTaxonomyRequest.Builder

clone()

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

getDefaultInstanceForType()

public CreateTaxonomyRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateTaxonomyRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

getTaxonomy()

public Taxonomy getTaxonomy()

The taxonomy to be created.

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

Returns
TypeDescription
Taxonomy

The taxonomy.

getTaxonomyBuilder()

public Taxonomy.Builder getTaxonomyBuilder()

The taxonomy to be created.

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

Returns
TypeDescription
Taxonomy.Builder

getTaxonomyOrBuilder()

public TaxonomyOrBuilder getTaxonomyOrBuilder()

The taxonomy to be created.

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

Returns
TypeDescription
TaxonomyOrBuilder

hasTaxonomy()

public boolean hasTaxonomy()

The taxonomy to be created.

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

Returns
TypeDescription
boolean

Whether the taxonomy field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateTaxonomyRequest other)

public CreateTaxonomyRequest.Builder mergeFrom(CreateTaxonomyRequest other)
Parameter
NameDescription
otherCreateTaxonomyRequest
Returns
TypeDescription
CreateTaxonomyRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateTaxonomyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateTaxonomyRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

The parent to set.

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

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueTaxonomy
Returns
TypeDescription
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
NameDescription
builderForValueTaxonomy.Builder
Returns
TypeDescription
CreateTaxonomyRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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