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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateTaxonomyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateTaxonomyRequest build()
buildPartial()
public CreateTaxonomyRequest buildPartial()
clear()
public CreateTaxonomyRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateTaxonomyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateTaxonomyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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) = { ... }
clearTaxonomy()
public CreateTaxonomyRequest.Builder clearTaxonomy()
The taxonomy to create.
.google.cloud.datacatalog.v1.Taxonomy taxonomy = 2;
clone()
public CreateTaxonomyRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateTaxonomyRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 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;
getTaxonomyOrBuilder()
public TaxonomyOrBuilder getTaxonomyOrBuilder()
The taxonomy to create.
.google.cloud.datacatalog.v1.Taxonomy taxonomy = 2;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateTaxonomyRequest other)
public CreateTaxonomyRequest.Builder mergeFrom(CreateTaxonomyRequest other)
public CreateTaxonomyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateTaxonomyRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeTaxonomy(Taxonomy value)
public CreateTaxonomyRequest.Builder mergeTaxonomy(Taxonomy value)
The taxonomy to create.
.google.cloud.datacatalog.v1.Taxonomy taxonomy = 2;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateTaxonomyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateTaxonomyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateTaxonomyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTaxonomy(Taxonomy value)
public CreateTaxonomyRequest.Builder setTaxonomy(Taxonomy value)
The taxonomy to create.
.google.cloud.datacatalog.v1.Taxonomy taxonomy = 2;
setTaxonomy(Taxonomy.Builder builderForValue)
public CreateTaxonomyRequest.Builder setTaxonomy(Taxonomy.Builder builderForValue)
The taxonomy to create.
.google.cloud.datacatalog.v1.Taxonomy taxonomy = 2;
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateTaxonomyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides