- 1.61.0 (latest)
- 1.60.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.5
- 1.8.4
- 1.7.2
- 1.6.2
- 1.5.4
public static final class SerializedPolicyTag.Builder extends GeneratedMessageV3.Builder<SerializedPolicyTag.Builder> implements SerializedPolicyTagOrBuilder
A nested protocol buffer that represents a policy tag and all its descendants.
Protobuf type google.cloud.datacatalog.v1.SerializedPolicyTag
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SerializedPolicyTag.BuilderImplements
SerializedPolicyTagOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllChildPolicyTags(Iterable<? extends SerializedPolicyTag> values)
public SerializedPolicyTag.Builder addAllChildPolicyTags(Iterable<? extends SerializedPolicyTag> values)
Children of the policy tag, if any.
repeated .google.cloud.datacatalog.v1.SerializedPolicyTag child_policy_tags = 4;
Name | Description |
values | Iterable<? extends com.google.cloud.datacatalog.v1.SerializedPolicyTag> |
Type | Description |
SerializedPolicyTag.Builder |
addChildPolicyTags(SerializedPolicyTag value)
public SerializedPolicyTag.Builder addChildPolicyTags(SerializedPolicyTag value)
Children of the policy tag, if any.
repeated .google.cloud.datacatalog.v1.SerializedPolicyTag child_policy_tags = 4;
Name | Description |
value | SerializedPolicyTag |
Type | Description |
SerializedPolicyTag.Builder |
addChildPolicyTags(SerializedPolicyTag.Builder builderForValue)
public SerializedPolicyTag.Builder addChildPolicyTags(SerializedPolicyTag.Builder builderForValue)
Children of the policy tag, if any.
repeated .google.cloud.datacatalog.v1.SerializedPolicyTag child_policy_tags = 4;
Name | Description |
builderForValue | SerializedPolicyTag.Builder |
Type | Description |
SerializedPolicyTag.Builder |
addChildPolicyTags(int index, SerializedPolicyTag value)
public SerializedPolicyTag.Builder addChildPolicyTags(int index, SerializedPolicyTag value)
Children of the policy tag, if any.
repeated .google.cloud.datacatalog.v1.SerializedPolicyTag child_policy_tags = 4;
Name | Description |
index | int |
value | SerializedPolicyTag |
Type | Description |
SerializedPolicyTag.Builder |
addChildPolicyTags(int index, SerializedPolicyTag.Builder builderForValue)
public SerializedPolicyTag.Builder addChildPolicyTags(int index, SerializedPolicyTag.Builder builderForValue)
Children of the policy tag, if any.
repeated .google.cloud.datacatalog.v1.SerializedPolicyTag child_policy_tags = 4;
Name | Description |
index | int |
builderForValue | SerializedPolicyTag.Builder |
Type | Description |
SerializedPolicyTag.Builder |
addChildPolicyTagsBuilder()
public SerializedPolicyTag.Builder addChildPolicyTagsBuilder()
Children of the policy tag, if any.
repeated .google.cloud.datacatalog.v1.SerializedPolicyTag child_policy_tags = 4;
Type | Description |
SerializedPolicyTag.Builder |
addChildPolicyTagsBuilder(int index)
public SerializedPolicyTag.Builder addChildPolicyTagsBuilder(int index)
Children of the policy tag, if any.
repeated .google.cloud.datacatalog.v1.SerializedPolicyTag child_policy_tags = 4;
Name | Description |
index | int |
Type | Description |
SerializedPolicyTag.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SerializedPolicyTag.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
SerializedPolicyTag.Builder |
build()
public SerializedPolicyTag build()
Type | Description |
SerializedPolicyTag |
buildPartial()
public SerializedPolicyTag buildPartial()
Type | Description |
SerializedPolicyTag |
clear()
public SerializedPolicyTag.Builder clear()
Type | Description |
SerializedPolicyTag.Builder |
clearChildPolicyTags()
public SerializedPolicyTag.Builder clearChildPolicyTags()
Children of the policy tag, if any.
repeated .google.cloud.datacatalog.v1.SerializedPolicyTag child_policy_tags = 4;
Type | Description |
SerializedPolicyTag.Builder |
clearDescription()
public SerializedPolicyTag.Builder clearDescription()
Description of the serialized policy tag. At most 2000 bytes when encoded in UTF-8. If not set, defaults to an empty description.
string description = 3;
Type | Description |
SerializedPolicyTag.Builder | This builder for chaining. |
clearDisplayName()
public SerializedPolicyTag.Builder clearDisplayName()
Required. Display name of the policy tag. At most 200 bytes when encoded in UTF-8.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
SerializedPolicyTag.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public SerializedPolicyTag.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
SerializedPolicyTag.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public SerializedPolicyTag.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
SerializedPolicyTag.Builder |
clearPolicyTag()
public SerializedPolicyTag.Builder clearPolicyTag()
Resource name of the policy tag.
This field is ignored when calling ImportTaxonomies
.
string policy_tag = 1;
Type | Description |
SerializedPolicyTag.Builder | This builder for chaining. |
clone()
public SerializedPolicyTag.Builder clone()
Type | Description |
SerializedPolicyTag.Builder |
getChildPolicyTags(int index)
public SerializedPolicyTag getChildPolicyTags(int index)
Children of the policy tag, if any.
repeated .google.cloud.datacatalog.v1.SerializedPolicyTag child_policy_tags = 4;
Name | Description |
index | int |
Type | Description |
SerializedPolicyTag |
getChildPolicyTagsBuilder(int index)
public SerializedPolicyTag.Builder getChildPolicyTagsBuilder(int index)
Children of the policy tag, if any.
repeated .google.cloud.datacatalog.v1.SerializedPolicyTag child_policy_tags = 4;
Name | Description |
index | int |
Type | Description |
SerializedPolicyTag.Builder |
getChildPolicyTagsBuilderList()
public List<SerializedPolicyTag.Builder> getChildPolicyTagsBuilderList()
Children of the policy tag, if any.
repeated .google.cloud.datacatalog.v1.SerializedPolicyTag child_policy_tags = 4;
Type | Description |
List<Builder> |
getChildPolicyTagsCount()
public int getChildPolicyTagsCount()
Children of the policy tag, if any.
repeated .google.cloud.datacatalog.v1.SerializedPolicyTag child_policy_tags = 4;
Type | Description |
int |
getChildPolicyTagsList()
public List<SerializedPolicyTag> getChildPolicyTagsList()
Children of the policy tag, if any.
repeated .google.cloud.datacatalog.v1.SerializedPolicyTag child_policy_tags = 4;
Type | Description |
List<SerializedPolicyTag> |
getChildPolicyTagsOrBuilder(int index)
public SerializedPolicyTagOrBuilder getChildPolicyTagsOrBuilder(int index)
Children of the policy tag, if any.
repeated .google.cloud.datacatalog.v1.SerializedPolicyTag child_policy_tags = 4;
Name | Description |
index | int |
Type | Description |
SerializedPolicyTagOrBuilder |
getChildPolicyTagsOrBuilderList()
public List<? extends SerializedPolicyTagOrBuilder> getChildPolicyTagsOrBuilderList()
Children of the policy tag, if any.
repeated .google.cloud.datacatalog.v1.SerializedPolicyTag child_policy_tags = 4;
Type | Description |
List<? extends com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder> |
getDefaultInstanceForType()
public SerializedPolicyTag getDefaultInstanceForType()
Type | Description |
SerializedPolicyTag |
getDescription()
public String getDescription()
Description of the serialized policy tag. At most 2000 bytes when encoded in UTF-8. If not set, defaults to an empty description.
string description = 3;
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Description of the serialized policy tag. At most 2000 bytes when encoded in UTF-8. If not set, defaults to an empty description.
string description = 3;
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Required. Display name of the policy tag. At most 200 bytes when encoded in UTF-8.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Required. Display name of the policy tag. At most 200 bytes when encoded in UTF-8.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for displayName. |
getPolicyTag()
public String getPolicyTag()
Resource name of the policy tag.
This field is ignored when calling ImportTaxonomies
.
string policy_tag = 1;
Type | Description |
String | The policyTag. |
getPolicyTagBytes()
public ByteString getPolicyTagBytes()
Resource name of the policy tag.
This field is ignored when calling ImportTaxonomies
.
string policy_tag = 1;
Type | Description |
ByteString | The bytes for policyTag. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(SerializedPolicyTag other)
public SerializedPolicyTag.Builder mergeFrom(SerializedPolicyTag other)
Name | Description |
other | SerializedPolicyTag |
Type | Description |
SerializedPolicyTag.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SerializedPolicyTag.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SerializedPolicyTag.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public SerializedPolicyTag.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
SerializedPolicyTag.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SerializedPolicyTag.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
SerializedPolicyTag.Builder |
removeChildPolicyTags(int index)
public SerializedPolicyTag.Builder removeChildPolicyTags(int index)
Children of the policy tag, if any.
repeated .google.cloud.datacatalog.v1.SerializedPolicyTag child_policy_tags = 4;
Name | Description |
index | int |
Type | Description |
SerializedPolicyTag.Builder |
setChildPolicyTags(int index, SerializedPolicyTag value)
public SerializedPolicyTag.Builder setChildPolicyTags(int index, SerializedPolicyTag value)
Children of the policy tag, if any.
repeated .google.cloud.datacatalog.v1.SerializedPolicyTag child_policy_tags = 4;
Name | Description |
index | int |
value | SerializedPolicyTag |
Type | Description |
SerializedPolicyTag.Builder |
setChildPolicyTags(int index, SerializedPolicyTag.Builder builderForValue)
public SerializedPolicyTag.Builder setChildPolicyTags(int index, SerializedPolicyTag.Builder builderForValue)
Children of the policy tag, if any.
repeated .google.cloud.datacatalog.v1.SerializedPolicyTag child_policy_tags = 4;
Name | Description |
index | int |
builderForValue | SerializedPolicyTag.Builder |
Type | Description |
SerializedPolicyTag.Builder |
setDescription(String value)
public SerializedPolicyTag.Builder setDescription(String value)
Description of the serialized policy tag. At most 2000 bytes when encoded in UTF-8. If not set, defaults to an empty description.
string description = 3;
Name | Description |
value | String The description to set. |
Type | Description |
SerializedPolicyTag.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public SerializedPolicyTag.Builder setDescriptionBytes(ByteString value)
Description of the serialized policy tag. At most 2000 bytes when encoded in UTF-8. If not set, defaults to an empty description.
string description = 3;
Name | Description |
value | ByteString The bytes for description to set. |
Type | Description |
SerializedPolicyTag.Builder | This builder for chaining. |
setDisplayName(String value)
public SerializedPolicyTag.Builder setDisplayName(String value)
Required. Display name of the policy tag. At most 200 bytes when encoded in UTF-8.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The displayName to set. |
Type | Description |
SerializedPolicyTag.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public SerializedPolicyTag.Builder setDisplayNameBytes(ByteString value)
Required. Display name of the policy tag. At most 200 bytes when encoded in UTF-8.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for displayName to set. |
Type | Description |
SerializedPolicyTag.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public SerializedPolicyTag.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
SerializedPolicyTag.Builder |
setPolicyTag(String value)
public SerializedPolicyTag.Builder setPolicyTag(String value)
Resource name of the policy tag.
This field is ignored when calling ImportTaxonomies
.
string policy_tag = 1;
Name | Description |
value | String The policyTag to set. |
Type | Description |
SerializedPolicyTag.Builder | This builder for chaining. |
setPolicyTagBytes(ByteString value)
public SerializedPolicyTag.Builder setPolicyTagBytes(ByteString value)
Resource name of the policy tag.
This field is ignored when calling ImportTaxonomies
.
string policy_tag = 1;
Name | Description |
value | ByteString The bytes for policyTag to set. |
Type | Description |
SerializedPolicyTag.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SerializedPolicyTag.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
SerializedPolicyTag.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final SerializedPolicyTag.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
SerializedPolicyTag.Builder |