public static final class CreateTaxonomyRequest.Builder extends GeneratedMessage.Builder<CreateTaxonomyRequest.Builder> implements CreateTaxonomyRequestOrBuilderRequest message for CreateTaxonomy.
Protobuf type google.cloud.datacatalog.v1.CreateTaxonomyRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateTaxonomyRequest.BuilderImplements
CreateTaxonomyRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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 create.
.google.cloud.datacatalog.v1.Taxonomy taxonomy = 2;
| Returns | |
|---|---|
| Type | Description |
CreateTaxonomyRequest.Builder |
|
getDefaultInstanceForType()
public CreateTaxonomyRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateTaxonomyRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 create.
.google.cloud.datacatalog.v1.Taxonomy taxonomy = 2;
| Returns | |
|---|---|
| Type | Description |
Taxonomy |
The taxonomy. |
getTaxonomyBuilder()
public Taxonomy.Builder getTaxonomyBuilder()The taxonomy to create.
.google.cloud.datacatalog.v1.Taxonomy taxonomy = 2;
| Returns | |
|---|---|
| Type | Description |
Taxonomy.Builder |
|
getTaxonomyOrBuilder()
public TaxonomyOrBuilder getTaxonomyOrBuilder()The taxonomy to create.
.google.cloud.datacatalog.v1.Taxonomy taxonomy = 2;
| Returns | |
|---|---|
| Type | Description |
TaxonomyOrBuilder |
|
hasTaxonomy()
public boolean hasTaxonomy()The taxonomy to create.
.google.cloud.datacatalog.v1.Taxonomy taxonomy = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the taxonomy field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateTaxonomyRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateTaxonomyRequest.Builder |
|
mergeTaxonomy(Taxonomy value)
public CreateTaxonomyRequest.Builder mergeTaxonomy(Taxonomy value)The taxonomy to create.
.google.cloud.datacatalog.v1.Taxonomy taxonomy = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Taxonomy |
| Returns | |
|---|---|
| Type | Description |
CreateTaxonomyRequest.Builder |
|
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 |
StringThe 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 |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateTaxonomyRequest.Builder |
This builder for chaining. |
setTaxonomy(Taxonomy value)
public CreateTaxonomyRequest.Builder setTaxonomy(Taxonomy value)The taxonomy to create.
.google.cloud.datacatalog.v1.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 create.
.google.cloud.datacatalog.v1.Taxonomy taxonomy = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Taxonomy.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateTaxonomyRequest.Builder |
|