public static final class CreateTaxonomyRequest.Builder extends GeneratedMessageV3.Builder<CreateTaxonomyRequest.Builder> implements CreateTaxonomyRequestOrBuilder
Request message for
CreateTaxonomy.
Protobuf type google.cloud.datacatalog.v1.CreateTaxonomyRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateTaxonomyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateTaxonomyRequest build()
Returns
buildPartial()
public CreateTaxonomyRequest buildPartial()
Returns
clear()
public CreateTaxonomyRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateTaxonomyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateTaxonomyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clearTaxonomy()
public CreateTaxonomyRequest.Builder clearTaxonomy()
The taxonomy to create.
.google.cloud.datacatalog.v1.Taxonomy taxonomy = 2;
Returns
clone()
public CreateTaxonomyRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CreateTaxonomyRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
getTaxonomy()
public Taxonomy getTaxonomy()
The taxonomy to create.
.google.cloud.datacatalog.v1.Taxonomy taxonomy = 2;
Returns
getTaxonomyBuilder()
public Taxonomy.Builder getTaxonomyBuilder()
The taxonomy to create.
.google.cloud.datacatalog.v1.Taxonomy taxonomy = 2;
Returns
getTaxonomyOrBuilder()
public TaxonomyOrBuilder getTaxonomyOrBuilder()
The taxonomy to create.
.google.cloud.datacatalog.v1.Taxonomy taxonomy = 2;
Returns
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CreateTaxonomyRequest other)
public CreateTaxonomyRequest.Builder mergeFrom(CreateTaxonomyRequest other)
Parameter
Returns
public CreateTaxonomyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateTaxonomyRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeTaxonomy(Taxonomy value)
public CreateTaxonomyRequest.Builder mergeTaxonomy(Taxonomy value)
The taxonomy to create.
.google.cloud.datacatalog.v1.Taxonomy taxonomy = 2;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateTaxonomyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateTaxonomyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateTaxonomyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setTaxonomy(Taxonomy value)
public CreateTaxonomyRequest.Builder setTaxonomy(Taxonomy value)
The taxonomy to create.
.google.cloud.datacatalog.v1.Taxonomy taxonomy = 2;
Parameter
Returns
setTaxonomy(Taxonomy.Builder builderForValue)
public CreateTaxonomyRequest.Builder setTaxonomy(Taxonomy.Builder builderForValue)
The taxonomy to create.
.google.cloud.datacatalog.v1.Taxonomy taxonomy = 2;
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateTaxonomyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides