public static final class ReplaceTaxonomyRequest.Builder extends GeneratedMessageV3.Builder<ReplaceTaxonomyRequest.Builder> implements ReplaceTaxonomyRequestOrBuilder
Request message for
ReplaceTaxonomy.
Protobuf type google.cloud.datacatalog.v1.ReplaceTaxonomyRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReplaceTaxonomyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ReplaceTaxonomyRequest build()
Returns
buildPartial()
public ReplaceTaxonomyRequest buildPartial()
Returns
clear()
public ReplaceTaxonomyRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ReplaceTaxonomyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearName()
public ReplaceTaxonomyRequest.Builder clearName()
Required. Resource name of the taxonomy to update.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ReplaceTaxonomyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSerializedTaxonomy()
public ReplaceTaxonomyRequest.Builder clearSerializedTaxonomy()
Required. Taxonomy to update along with its child policy tags.
.google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public ReplaceTaxonomyRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ReplaceTaxonomyRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getName()
Required. Resource name of the taxonomy to update.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Required. Resource name of the taxonomy to update.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
getSerializedTaxonomy()
public SerializedTaxonomy getSerializedTaxonomy()
Required. Taxonomy to update along with its child policy tags.
.google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getSerializedTaxonomyBuilder()
public SerializedTaxonomy.Builder getSerializedTaxonomyBuilder()
Required. Taxonomy to update along with its child policy tags.
.google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getSerializedTaxonomyOrBuilder()
public SerializedTaxonomyOrBuilder getSerializedTaxonomyOrBuilder()
Required. Taxonomy to update along with its child policy tags.
.google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
hasSerializedTaxonomy()
public boolean hasSerializedTaxonomy()
Required. Taxonomy to update along with its child policy tags.
.google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the serializedTaxonomy field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ReplaceTaxonomyRequest other)
public ReplaceTaxonomyRequest.Builder mergeFrom(ReplaceTaxonomyRequest other)
Parameter
Returns
public ReplaceTaxonomyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ReplaceTaxonomyRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeSerializedTaxonomy(SerializedTaxonomy value)
public ReplaceTaxonomyRequest.Builder mergeSerializedTaxonomy(SerializedTaxonomy value)
Required. Taxonomy to update along with its child policy tags.
.google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReplaceTaxonomyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ReplaceTaxonomyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setName(String value)
public ReplaceTaxonomyRequest.Builder setName(String value)
Required. Resource name of the taxonomy to update.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The name to set.
|
Returns
setNameBytes(ByteString value)
public ReplaceTaxonomyRequest.Builder setNameBytes(ByteString value)
Required. Resource name of the taxonomy to update.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReplaceTaxonomyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setSerializedTaxonomy(SerializedTaxonomy value)
public ReplaceTaxonomyRequest.Builder setSerializedTaxonomy(SerializedTaxonomy value)
Required. Taxonomy to update along with its child policy tags.
.google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setSerializedTaxonomy(SerializedTaxonomy.Builder builderForValue)
public ReplaceTaxonomyRequest.Builder setSerializedTaxonomy(SerializedTaxonomy.Builder builderForValue)
Required. Taxonomy to update along with its child policy tags.
.google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ReplaceTaxonomyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides