public static final class TagField.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TagField.Builder> implements TagFieldOrBuilder
Contains the value and supporting information for a field within a [Tag][google.cloud.datacatalog.v1beta1.Tag].Protobuf type
google.cloud.datacatalog.v1beta1.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()
Holds the value for a tag field with boolean type.
|
TagField.Builder |
clearDisplayName()
Output only.
|
TagField.Builder |
clearDoubleValue()
Holds the value for a tag field with double type.
|
TagField.Builder |
clearEnumValue()
Holds the value for a tag field with 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 |
clearStringValue()
Holds the value for a tag field with string type.
|
TagField.Builder |
clearTimestampValue()
Holds the value for a tag field with timestamp type.
|
TagField.Builder |
clone() |
boolean |
getBoolValue()
Holds the value for a tag field with 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()
Holds the value for a tag field with double type.
|
TagField.EnumValue |
getEnumValue()
Holds the value for a tag field with enum type.
|
TagField.EnumValue.Builder |
getEnumValueBuilder()
Holds the value for a tag field with enum type.
|
TagField.EnumValueOrBuilder |
getEnumValueOrBuilder()
Holds the value for a tag field with enum type.
|
TagField.KindCase |
getKindCase() |
int |
getOrder()
Output only.
|
String |
getStringValue()
Holds the value for a tag field with string type.
|
com.google.protobuf.ByteString |
getStringValueBytes()
Holds the value for a tag field with string type.
|
com.google.protobuf.Timestamp |
getTimestampValue()
Holds the value for a tag field with timestamp type.
|
com.google.protobuf.Timestamp.Builder |
getTimestampValueBuilder()
Holds the value for a tag field with timestamp type.
|
com.google.protobuf.TimestampOrBuilder |
getTimestampValueOrBuilder()
Holds the value for a tag field with timestamp type.
|
boolean |
hasBoolValue()
Holds the value for a tag field with boolean type.
|
boolean |
hasDoubleValue()
Holds the value for a tag field with double type.
|
boolean |
hasEnumValue()
Holds the value for a tag field with enum type.
|
boolean |
hasStringValue()
Holds the value for a tag field with string type.
|
boolean |
hasTimestampValue()
Holds the value for a tag field with timestamp type.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TagField.Builder |
mergeEnumValue(TagField.EnumValue value)
Holds the value for a tag field with 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)
Holds the value for a tag field with timestamp type.
|
TagField.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TagField.Builder |
setBoolValue(boolean value)
Holds the value for a tag field with boolean type.
|
TagField.Builder |
setDisplayName(String value)
Output only.
|
TagField.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
Output only.
|
TagField.Builder |
setDoubleValue(double value)
Holds the value for a tag field with double type.
|
TagField.Builder |
setEnumValue(TagField.EnumValue.Builder builderForValue)
Holds the value for a tag field with enum type.
|
TagField.Builder |
setEnumValue(TagField.EnumValue value)
Holds the value for a tag field with 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 |
setStringValue(String value)
Holds the value for a tag field with string type.
|
TagField.Builder |
setStringValueBytes(com.google.protobuf.ByteString value)
Holds the value for a tag field with string type.
|
TagField.Builder |
setTimestampValue(com.google.protobuf.Timestamp.Builder builderForValue)
Holds the value for a tag field with timestamp type.
|
TagField.Builder |
setTimestampValue(com.google.protobuf.Timestamp value)
Holds the value for a tag field with timestamp type.
|
TagField.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic 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()
Holds the value for a tag field with double type.
double double_value = 2;hasDoubleValue in interface TagFieldOrBuilderpublic double getDoubleValue()
Holds the value for a tag field with double type.
double double_value = 2;getDoubleValue in interface TagFieldOrBuilderpublic TagField.Builder setDoubleValue(double value)
Holds the value for a tag field with double type.
double double_value = 2;value - The doubleValue to set.public TagField.Builder clearDoubleValue()
Holds the value for a tag field with double type.
double double_value = 2;public boolean hasStringValue()
Holds the value for a tag field with string type.
string string_value = 3;hasStringValue in interface TagFieldOrBuilderpublic String getStringValue()
Holds the value for a tag field with string type.
string string_value = 3;getStringValue in interface TagFieldOrBuilderpublic com.google.protobuf.ByteString getStringValueBytes()
Holds the value for a tag field with string type.
string string_value = 3;getStringValueBytes in interface TagFieldOrBuilderpublic TagField.Builder setStringValue(String value)
Holds the value for a tag field with string type.
string string_value = 3;value - The stringValue to set.public TagField.Builder clearStringValue()
Holds the value for a tag field with string type.
string string_value = 3;public TagField.Builder setStringValueBytes(com.google.protobuf.ByteString value)
Holds the value for a tag field with string type.
string string_value = 3;value - The bytes for stringValue to set.public boolean hasBoolValue()
Holds the value for a tag field with boolean type.
bool bool_value = 4;hasBoolValue in interface TagFieldOrBuilderpublic boolean getBoolValue()
Holds the value for a tag field with boolean type.
bool bool_value = 4;getBoolValue in interface TagFieldOrBuilderpublic TagField.Builder setBoolValue(boolean value)
Holds the value for a tag field with boolean type.
bool bool_value = 4;value - The boolValue to set.public TagField.Builder clearBoolValue()
Holds the value for a tag field with boolean type.
bool bool_value = 4;public boolean hasTimestampValue()
Holds the value for a tag field with timestamp type.
.google.protobuf.Timestamp timestamp_value = 5;hasTimestampValue in interface TagFieldOrBuilderpublic com.google.protobuf.Timestamp getTimestampValue()
Holds the value for a tag field with timestamp type.
.google.protobuf.Timestamp timestamp_value = 5;getTimestampValue in interface TagFieldOrBuilderpublic TagField.Builder setTimestampValue(com.google.protobuf.Timestamp value)
Holds the value for a tag field with timestamp type.
.google.protobuf.Timestamp timestamp_value = 5;public TagField.Builder setTimestampValue(com.google.protobuf.Timestamp.Builder builderForValue)
Holds the value for a tag field with timestamp type.
.google.protobuf.Timestamp timestamp_value = 5;public TagField.Builder mergeTimestampValue(com.google.protobuf.Timestamp value)
Holds the value for a tag field with timestamp type.
.google.protobuf.Timestamp timestamp_value = 5;public TagField.Builder clearTimestampValue()
Holds the value for a tag field with timestamp type.
.google.protobuf.Timestamp timestamp_value = 5;public com.google.protobuf.Timestamp.Builder getTimestampValueBuilder()
Holds the value for a tag field with timestamp type.
.google.protobuf.Timestamp timestamp_value = 5;public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder()
Holds the value for a tag field with timestamp type.
.google.protobuf.Timestamp timestamp_value = 5;getTimestampValueOrBuilder in interface TagFieldOrBuilderpublic boolean hasEnumValue()
Holds the value for a tag field with enum type. This value must be one of the allowed values in the definition of this enum.
.google.cloud.datacatalog.v1beta1.TagField.EnumValue enum_value = 6;hasEnumValue in interface TagFieldOrBuilderpublic TagField.EnumValue getEnumValue()
Holds the value for a tag field with enum type. This value must be one of the allowed values in the definition of this enum.
.google.cloud.datacatalog.v1beta1.TagField.EnumValue enum_value = 6;getEnumValue in interface TagFieldOrBuilderpublic TagField.Builder setEnumValue(TagField.EnumValue value)
Holds the value for a tag field with enum type. This value must be one of the allowed values in the definition of this enum.
.google.cloud.datacatalog.v1beta1.TagField.EnumValue enum_value = 6;public TagField.Builder setEnumValue(TagField.EnumValue.Builder builderForValue)
Holds the value for a tag field with enum type. This value must be one of the allowed values in the definition of this enum.
.google.cloud.datacatalog.v1beta1.TagField.EnumValue enum_value = 6;public TagField.Builder mergeEnumValue(TagField.EnumValue value)
Holds the value for a tag field with enum type. This value must be one of the allowed values in the definition of this enum.
.google.cloud.datacatalog.v1beta1.TagField.EnumValue enum_value = 6;public TagField.Builder clearEnumValue()
Holds the value for a tag field with enum type. This value must be one of the allowed values in the definition of this enum.
.google.cloud.datacatalog.v1beta1.TagField.EnumValue enum_value = 6;public TagField.EnumValue.Builder getEnumValueBuilder()
Holds the value for a tag field with enum type. This value must be one of the allowed values in the definition of this enum.
.google.cloud.datacatalog.v1beta1.TagField.EnumValue enum_value = 6;public TagField.EnumValueOrBuilder getEnumValueOrBuilder()
Holds the value for a tag field with enum type. This value must be one of the allowed values in the definition of this enum.
.google.cloud.datacatalog.v1beta1.TagField.EnumValue enum_value = 6;getEnumValueOrBuilder in interface TagFieldOrBuilderpublic int getOrder()
Output only. The order of this field with respect to other fields in this tag. It can be set in [Tag][google.cloud.datacatalog.v1beta1.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 do not 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. It can be set in [Tag][google.cloud.datacatalog.v1beta1.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 do not 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. It can be set in [Tag][google.cloud.datacatalog.v1beta1.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 do not 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 © 2025 Google LLC. All rights reserved.