public static final class SerializedPolicyTag.Builder extends GeneratedMessageV3.Builder<SerializedPolicyTag.Builder> implements SerializedPolicyTagOrBuilder
Message representing one policy tag when exported as a nested proto.
Protobuf type google.cloud.datacatalog.v1beta1.SerializedPolicyTag
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
public SerializedPolicyTag.Builder addAllChildPolicyTags(Iterable<? extends SerializedPolicyTag> values)
Children of the policy tag if any.
repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag>
|
public SerializedPolicyTag.Builder addChildPolicyTags(SerializedPolicyTag value)
Children of the policy tag if any.
repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4;
public SerializedPolicyTag.Builder addChildPolicyTags(SerializedPolicyTag.Builder builderForValue)
Children of the policy tag if any.
repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4;
public SerializedPolicyTag.Builder addChildPolicyTags(int index, SerializedPolicyTag value)
Children of the policy tag if any.
repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4;
public SerializedPolicyTag.Builder addChildPolicyTags(int index, SerializedPolicyTag.Builder builderForValue)
Children of the policy tag if any.
repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4;
public SerializedPolicyTag.Builder addChildPolicyTagsBuilder()
Children of the policy tag if any.
repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4;
public SerializedPolicyTag.Builder addChildPolicyTagsBuilder(int index)
Children of the policy tag if any.
repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SerializedPolicyTag.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SerializedPolicyTag build()
buildPartial()
public SerializedPolicyTag buildPartial()
clear()
public SerializedPolicyTag.Builder clear()
Overrides
public SerializedPolicyTag.Builder clearChildPolicyTags()
Children of the policy tag if any.
repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4;
clearDescription()
public SerializedPolicyTag.Builder clearDescription()
Description of the serialized policy tag. The length of the
description is limited to 2000 bytes when encoded in UTF-8. If not set,
defaults to an empty description.
string description = 3;
clearDisplayName()
public SerializedPolicyTag.Builder clearDisplayName()
Required. Display name of the policy tag. Max 200 bytes when encoded in UTF-8.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public SerializedPolicyTag.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SerializedPolicyTag.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public SerializedPolicyTag.Builder clone()
Overrides
public SerializedPolicyTag getChildPolicyTags(int index)
Children of the policy tag if any.
repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4;
Parameter |
---|
Name | Description |
index | int
|
public SerializedPolicyTag.Builder getChildPolicyTagsBuilder(int index)
Children of the policy tag if any.
repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4;
Parameter |
---|
Name | Description |
index | int
|
public List<SerializedPolicyTag.Builder> getChildPolicyTagsBuilderList()
Children of the policy tag if any.
repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4;
public int getChildPolicyTagsCount()
Children of the policy tag if any.
repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4;
Returns |
---|
Type | Description |
int | |
public List<SerializedPolicyTag> getChildPolicyTagsList()
Children of the policy tag if any.
repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4;
public SerializedPolicyTagOrBuilder getChildPolicyTagsOrBuilder(int index)
Children of the policy tag if any.
repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4;
Parameter |
---|
Name | Description |
index | int
|
public List<? extends SerializedPolicyTagOrBuilder> getChildPolicyTagsOrBuilderList()
Children of the policy tag if any.
repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder> | |
getDefaultInstanceForType()
public SerializedPolicyTag getDefaultInstanceForType()
getDescription()
public String getDescription()
Description of the serialized policy tag. The length of the
description is limited to 2000 bytes when encoded in UTF-8. If not set,
defaults to an empty description.
string description = 3;
Returns |
---|
Type | Description |
String | The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
Description of the serialized policy tag. The length of the
description is limited to 2000 bytes when encoded in UTF-8. If not set,
defaults to an empty description.
string description = 3;
Returns |
---|
Type | Description |
ByteString | The bytes for description.
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDisplayName()
public String getDisplayName()
Required. Display name of the policy tag. Max 200 bytes when encoded in UTF-8.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
String | The displayName.
|
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Required. Display name of the policy tag. Max 200 bytes when encoded in UTF-8.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
ByteString | The bytes for displayName.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SerializedPolicyTag other)
public SerializedPolicyTag.Builder mergeFrom(SerializedPolicyTag other)
public SerializedPolicyTag.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SerializedPolicyTag.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SerializedPolicyTag.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public SerializedPolicyTag.Builder removeChildPolicyTags(int index)
Children of the policy tag if any.
repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4;
Parameter |
---|
Name | Description |
index | int
|
public SerializedPolicyTag.Builder setChildPolicyTags(int index, SerializedPolicyTag value)
Children of the policy tag if any.
repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4;
public SerializedPolicyTag.Builder setChildPolicyTags(int index, SerializedPolicyTag.Builder builderForValue)
Children of the policy tag if any.
repeated .google.cloud.datacatalog.v1beta1.SerializedPolicyTag child_policy_tags = 4;
setDescription(String value)
public SerializedPolicyTag.Builder setDescription(String value)
Description of the serialized policy tag. The length of the
description is limited to 2000 bytes when encoded in UTF-8. If not set,
defaults to an empty description.
string description = 3;
Parameter |
---|
Name | Description |
value | String
The description to set.
|
setDescriptionBytes(ByteString value)
public SerializedPolicyTag.Builder setDescriptionBytes(ByteString value)
Description of the serialized policy tag. The length of the
description is limited to 2000 bytes when encoded in UTF-8. If not set,
defaults to an empty description.
string description = 3;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for description to set.
|
setDisplayName(String value)
public SerializedPolicyTag.Builder setDisplayName(String value)
Required. Display name of the policy tag. Max 200 bytes when encoded in UTF-8.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | String
The displayName to set.
|
setDisplayNameBytes(ByteString value)
public SerializedPolicyTag.Builder setDisplayNameBytes(ByteString value)
Required. Display name of the policy tag. Max 200 bytes when encoded in UTF-8.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for displayName to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public SerializedPolicyTag.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SerializedPolicyTag.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SerializedPolicyTag.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides