public static final class TagField.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TagField.Builder> implements TagFieldOrBuilder
Contains the value and additional information on a field within a [Tag][google.cloud.datacatalog.v1.Tag].Protobuf type
google.cloud.datacatalog.v1.TagField| Modifier and Type | Method and Description |
|---|---|
TagField.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TagField |
build() |
TagField |
buildPartial() |
TagField.Builder |
clear() |
TagField.Builder |
clearBoolValue()
The value of a tag field with a boolean type.
|
TagField.Builder |
clearDisplayName()
Output only.
|
TagField.Builder |
clearDoubleValue()
The value of a tag field with a double type.
|
TagField.Builder |
clearEnumValue()
The value of a tag field with an enum type.
|
TagField.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
TagField.Builder |
clearKind() |
TagField.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TagField.Builder |
clearOrder()
Output only.
|
TagField.Builder |
clearRichtextValue()
The value of a tag field with a rich text type.
|
TagField.Builder |
clearStringValue()
The value of a tag field with a string type.
|
TagField.Builder |
clearTimestampValue()
The value of a tag field with a timestamp type.
|
TagField.Builder |
clone() |
boolean |
getBoolValue()
The value of a tag field with a boolean type.
|
TagField |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
Output only.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Output only.
|
double |
getDoubleValue()
The value of a tag field with a double type.
|
TagField.EnumValue |
getEnumValue()
The value of a tag field with an enum type.
|
TagField.EnumValue.Builder |
getEnumValueBuilder()
The value of a tag field with an enum type.
|
TagField.EnumValueOrBuilder |
getEnumValueOrBuilder()
The value of a tag field with an enum type.
|
TagField.KindCase |
getKindCase() |
int |
getOrder()
Output only.
|
String |
getRichtextValue()
The value of a tag field with a rich text type.
|
com.google.protobuf.ByteString |
getRichtextValueBytes()
The value of a tag field with a rich text type.
|
String |
getStringValue()
The value of a tag field with a string type.
|
com.google.protobuf.ByteString |
getStringValueBytes()
The value of a tag field with a string type.
|
com.google.protobuf.Timestamp |
getTimestampValue()
The value of a tag field with a timestamp type.
|
com.google.protobuf.Timestamp.Builder |
getTimestampValueBuilder()
The value of a tag field with a timestamp type.
|
com.google.protobuf.TimestampOrBuilder |
getTimestampValueOrBuilder()
The value of a tag field with a timestamp type.
|
boolean |
hasBoolValue()
The value of a tag field with a boolean type.
|
boolean |
hasDoubleValue()
The value of a tag field with a double type.
|
boolean |
hasEnumValue()
The value of a tag field with an enum type.
|
boolean |
hasRichtextValue()
The value of a tag field with a rich text type.
|
boolean |
hasStringValue()
The value of a tag field with a string type.
|
boolean |
hasTimestampValue()
The value of a tag field with a timestamp type.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TagField.Builder |
mergeEnumValue(TagField.EnumValue value)
The value of a tag field with an enum type.
|
TagField.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TagField.Builder |
mergeFrom(com.google.protobuf.Message other) |
TagField.Builder |
mergeFrom(TagField other) |
TagField.Builder |
mergeTimestampValue(com.google.protobuf.Timestamp value)
The value of a tag field with a timestamp type.
|
TagField.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TagField.Builder |
setBoolValue(boolean value)
The value of a tag field with a boolean type.
|
TagField.Builder |
setDisplayName(String value)
Output only.
|
TagField.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
Output only.
|
TagField.Builder |
setDoubleValue(double value)
The value of a tag field with a double type.
|
TagField.Builder |
setEnumValue(TagField.EnumValue.Builder builderForValue)
The value of a tag field with an enum type.
|
TagField.Builder |
setEnumValue(TagField.EnumValue value)
The value of a tag field with an enum type.
|
TagField.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TagField.Builder |
setOrder(int value)
Output only.
|
TagField.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
TagField.Builder |
setRichtextValue(String value)
The value of a tag field with a rich text type.
|
TagField.Builder |
setRichtextValueBytes(com.google.protobuf.ByteString value)
The value of a tag field with a rich text type.
|
TagField.Builder |
setStringValue(String value)
The value of a tag field with a string type.
|
TagField.Builder |
setStringValueBytes(com.google.protobuf.ByteString value)
The value of a tag field with a string type.
|
TagField.Builder |
setTimestampValue(com.google.protobuf.Timestamp.Builder builderForValue)
The value of a tag field with a timestamp type.
|
TagField.Builder |
setTimestampValue(com.google.protobuf.Timestamp value)
The value of a tag field with a timestamp type.
|
TagField.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TagField.Builder>public TagField.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<TagField.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<TagField.Builder>public TagField getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TagField build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TagField buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TagField.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<TagField.Builder>public TagField.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<TagField.Builder>public TagField.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<TagField.Builder>public TagField.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TagField.Builder>public TagField.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TagField.Builder>public TagField.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TagField.Builder>public TagField.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TagField.Builder>public TagField.Builder mergeFrom(TagField other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TagField.Builder>public TagField.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TagField.Builder>IOExceptionpublic TagField.KindCase getKindCase()
getKindCase in interface TagFieldOrBuilderpublic TagField.Builder clearKind()
public String getDisplayName()
Output only. The display name of this field.
string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getDisplayName in interface TagFieldOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Output only. The display name of this field.
string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getDisplayNameBytes in interface TagFieldOrBuilderpublic TagField.Builder setDisplayName(String value)
Output only. The display name of this field.
string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The displayName to set.public TagField.Builder clearDisplayName()
Output only. The display name of this field.
string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];public TagField.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Output only. The display name of this field.
string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for displayName to set.public boolean hasDoubleValue()
The value of a tag field with a double type.
double double_value = 2;hasDoubleValue in interface TagFieldOrBuilderpublic double getDoubleValue()
The value of a tag field with a double type.
double double_value = 2;getDoubleValue in interface TagFieldOrBuilderpublic TagField.Builder setDoubleValue(double value)
The value of a tag field with a double type.
double double_value = 2;value - The doubleValue to set.public TagField.Builder clearDoubleValue()
The value of a tag field with a double type.
double double_value = 2;public boolean hasStringValue()
The value of a tag field with a string type. The maximum length is 2000 UTF-8 characters.
string string_value = 3;hasStringValue in interface TagFieldOrBuilderpublic String getStringValue()
The value of a tag field with a string type. The maximum length is 2000 UTF-8 characters.
string string_value = 3;getStringValue in interface TagFieldOrBuilderpublic com.google.protobuf.ByteString getStringValueBytes()
The value of a tag field with a string type. The maximum length is 2000 UTF-8 characters.
string string_value = 3;getStringValueBytes in interface TagFieldOrBuilderpublic TagField.Builder setStringValue(String value)
The value of a tag field with a string type. The maximum length is 2000 UTF-8 characters.
string string_value = 3;value - The stringValue to set.public TagField.Builder clearStringValue()
The value of a tag field with a string type. The maximum length is 2000 UTF-8 characters.
string string_value = 3;public TagField.Builder setStringValueBytes(com.google.protobuf.ByteString value)
The value of a tag field with a string type. The maximum length is 2000 UTF-8 characters.
string string_value = 3;value - The bytes for stringValue to set.public boolean hasBoolValue()
The value of a tag field with a boolean type.
bool bool_value = 4;hasBoolValue in interface TagFieldOrBuilderpublic boolean getBoolValue()
The value of a tag field with a boolean type.
bool bool_value = 4;getBoolValue in interface TagFieldOrBuilderpublic TagField.Builder setBoolValue(boolean value)
The value of a tag field with a boolean type.
bool bool_value = 4;value - The boolValue to set.public TagField.Builder clearBoolValue()
The value of a tag field with a boolean type.
bool bool_value = 4;public boolean hasTimestampValue()
The value of a tag field with a timestamp type.
.google.protobuf.Timestamp timestamp_value = 5;hasTimestampValue in interface TagFieldOrBuilderpublic com.google.protobuf.Timestamp getTimestampValue()
The value of a tag field with a timestamp type.
.google.protobuf.Timestamp timestamp_value = 5;getTimestampValue in interface TagFieldOrBuilderpublic TagField.Builder setTimestampValue(com.google.protobuf.Timestamp value)
The value of a tag field with a timestamp type.
.google.protobuf.Timestamp timestamp_value = 5;public TagField.Builder setTimestampValue(com.google.protobuf.Timestamp.Builder builderForValue)
The value of a tag field with a timestamp type.
.google.protobuf.Timestamp timestamp_value = 5;public TagField.Builder mergeTimestampValue(com.google.protobuf.Timestamp value)
The value of a tag field with a timestamp type.
.google.protobuf.Timestamp timestamp_value = 5;public TagField.Builder clearTimestampValue()
The value of a tag field with a timestamp type.
.google.protobuf.Timestamp timestamp_value = 5;public com.google.protobuf.Timestamp.Builder getTimestampValueBuilder()
The value of a tag field with a timestamp type.
.google.protobuf.Timestamp timestamp_value = 5;public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder()
The value of a tag field with a timestamp type.
.google.protobuf.Timestamp timestamp_value = 5;getTimestampValueOrBuilder in interface TagFieldOrBuilderpublic boolean hasEnumValue()
The value of a tag field with an enum type. This value must be one of the allowed values listed in this enum.
.google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6;hasEnumValue in interface TagFieldOrBuilderpublic TagField.EnumValue getEnumValue()
The value of a tag field with an enum type. This value must be one of the allowed values listed in this enum.
.google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6;getEnumValue in interface TagFieldOrBuilderpublic TagField.Builder setEnumValue(TagField.EnumValue value)
The value of a tag field with an enum type. This value must be one of the allowed values listed in this enum.
.google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6;public TagField.Builder setEnumValue(TagField.EnumValue.Builder builderForValue)
The value of a tag field with an enum type. This value must be one of the allowed values listed in this enum.
.google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6;public TagField.Builder mergeEnumValue(TagField.EnumValue value)
The value of a tag field with an enum type. This value must be one of the allowed values listed in this enum.
.google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6;public TagField.Builder clearEnumValue()
The value of a tag field with an enum type. This value must be one of the allowed values listed in this enum.
.google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6;public TagField.EnumValue.Builder getEnumValueBuilder()
The value of a tag field with an enum type. This value must be one of the allowed values listed in this enum.
.google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6;public TagField.EnumValueOrBuilder getEnumValueOrBuilder()
The value of a tag field with an enum type. This value must be one of the allowed values listed in this enum.
.google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6;getEnumValueOrBuilder in interface TagFieldOrBuilderpublic boolean hasRichtextValue()
The value of a tag field with a rich text type. The maximum length is 10 MiB as this value holds HTML descriptions including encoded images. The maximum length of the text without images is 100 KiB.
string richtext_value = 8;hasRichtextValue in interface TagFieldOrBuilderpublic String getRichtextValue()
The value of a tag field with a rich text type. The maximum length is 10 MiB as this value holds HTML descriptions including encoded images. The maximum length of the text without images is 100 KiB.
string richtext_value = 8;getRichtextValue in interface TagFieldOrBuilderpublic com.google.protobuf.ByteString getRichtextValueBytes()
The value of a tag field with a rich text type. The maximum length is 10 MiB as this value holds HTML descriptions including encoded images. The maximum length of the text without images is 100 KiB.
string richtext_value = 8;getRichtextValueBytes in interface TagFieldOrBuilderpublic TagField.Builder setRichtextValue(String value)
The value of a tag field with a rich text type. The maximum length is 10 MiB as this value holds HTML descriptions including encoded images. The maximum length of the text without images is 100 KiB.
string richtext_value = 8;value - The richtextValue to set.public TagField.Builder clearRichtextValue()
The value of a tag field with a rich text type. The maximum length is 10 MiB as this value holds HTML descriptions including encoded images. The maximum length of the text without images is 100 KiB.
string richtext_value = 8;public TagField.Builder setRichtextValueBytes(com.google.protobuf.ByteString value)
The value of a tag field with a rich text type. The maximum length is 10 MiB as this value holds HTML descriptions including encoded images. The maximum length of the text without images is 100 KiB.
string richtext_value = 8;value - The bytes for richtextValue to set.public int getOrder()
Output only. The order of this field with respect to other fields in this tag. Can be set by [Tag][google.cloud.datacatalog.v1.TagTemplateField.order]. For example, a higher value can indicate a more important field. The value can be negative. Multiple fields can have the same order, and field orders within a tag don't have to be sequential.
int32 order = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];getOrder in interface TagFieldOrBuilderpublic TagField.Builder setOrder(int value)
Output only. The order of this field with respect to other fields in this tag. Can be set by [Tag][google.cloud.datacatalog.v1.TagTemplateField.order]. For example, a higher value can indicate a more important field. The value can be negative. Multiple fields can have the same order, and field orders within a tag don't have to be sequential.
int32 order = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The order to set.public TagField.Builder clearOrder()
Output only. The order of this field with respect to other fields in this tag. Can be set by [Tag][google.cloud.datacatalog.v1.TagTemplateField.order]. For example, a higher value can indicate a more important field. The value can be negative. Multiple fields can have the same order, and field orders within a tag don't have to be sequential.
int32 order = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];public final TagField.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TagField.Builder>public final TagField.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TagField.Builder>Copyright © 2023 Google LLC. All rights reserved.