Send feedback
Class TagField.Builder
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.5.4 keyboard_arrow_down
public static final class TagField . Builder extends 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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TagField . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public TagField buildPartial ()
Returns
clear()
public TagField . Builder clear ()
Returns
Overrides
clearBoolValue()
public TagField . Builder clearBoolValue ()
Holds the value for a tag field with boolean type.
bool bool_value = 4;
Returns
clearDisplayName()
public TagField . Builder clearDisplayName ()
Output only. The display name of this field.
string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
clearDoubleValue()
public TagField . Builder clearDoubleValue ()
Holds the value for a tag field with double type.
double double_value = 2;
Returns
clearEnumValue()
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;
Returns
clearField(Descriptors.FieldDescriptor field)
public TagField . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearKind()
public TagField . Builder clearKind ()
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public TagField . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearOrder()
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];
Returns
clearStringValue()
public TagField . Builder clearStringValue ()
Holds the value for a tag field with string type.
string string_value = 3;
Returns
clearTimestampValue()
public TagField . Builder clearTimestampValue ()
Holds the value for a tag field with timestamp type.
.google.protobuf.Timestamp timestamp_value = 5;
Returns
clone()
public TagField . Builder clone ()
Returns
Overrides
getBoolValue()
public boolean getBoolValue ()
Holds the value for a tag field with boolean type.
bool bool_value = 4;
Returns
Type Description boolean The boolValue.
getDefaultInstanceForType()
public TagField getDefaultInstanceForType ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getDisplayName()
public String getDisplayName ()
Output only. The display name of this field.
string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type Description String The displayName.
getDisplayNameBytes()
public ByteString getDisplayNameBytes ()
Output only. The display name of this field.
string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type Description ByteString The bytes for displayName.
getDoubleValue()
public double getDoubleValue ()
Holds the value for a tag field with double type.
double double_value = 2;
Returns
Type Description double The doubleValue.
getEnumValue()
public 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;
Returns
getEnumValueBuilder()
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;
Returns
getEnumValueOrBuilder()
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;
Returns
getKindCase()
public TagField . KindCase getKindCase ()
Returns
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];
Returns
Type Description int The order.
getStringValue()
public String getStringValue ()
Holds the value for a tag field with string type.
string string_value = 3;
Returns
Type Description String The stringValue.
getStringValueBytes()
public ByteString getStringValueBytes ()
Holds the value for a tag field with string type.
string string_value = 3;
Returns
Type Description ByteString The bytes for stringValue.
getTimestampValue()
public Timestamp getTimestampValue ()
Holds the value for a tag field with timestamp type.
.google.protobuf.Timestamp timestamp_value = 5;
Returns
getTimestampValueBuilder()
public Timestamp . Builder getTimestampValueBuilder ()
Holds the value for a tag field with timestamp type.
.google.protobuf.Timestamp timestamp_value = 5;
Returns
getTimestampValueOrBuilder()
public TimestampOrBuilder getTimestampValueOrBuilder ()
Holds the value for a tag field with timestamp type.
.google.protobuf.Timestamp timestamp_value = 5;
Returns
hasBoolValue()
public boolean hasBoolValue ()
Holds the value for a tag field with boolean type.
bool bool_value = 4;
Returns
Type Description boolean Whether the boolValue field is set.
hasDoubleValue()
public boolean hasDoubleValue ()
Holds the value for a tag field with double type.
double double_value = 2;
Returns
Type Description boolean Whether the doubleValue field is set.
hasEnumValue()
public 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;
Returns
Type Description boolean Whether the enumValue field is set.
hasStringValue()
public boolean hasStringValue ()
Holds the value for a tag field with string type.
string string_value = 3;
Returns
Type Description boolean Whether the stringValue field is set.
hasTimestampValue()
public boolean hasTimestampValue ()
Holds the value for a tag field with timestamp type.
.google.protobuf.Timestamp timestamp_value = 5;
Returns
Type Description boolean Whether the timestampValue field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeEnumValue(TagField.EnumValue value)
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;
Parameter
Returns
mergeFrom(TagField other)
public TagField . Builder mergeFrom ( TagField other )
Parameter
Returns
public TagField . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TagField . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeTimestampValue(Timestamp value)
public TagField . Builder mergeTimestampValue ( Timestamp value )
Holds the value for a tag field with timestamp type.
.google.protobuf.Timestamp timestamp_value = 5;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TagField . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setBoolValue(boolean value)
public TagField . Builder setBoolValue ( boolean value )
Holds the value for a tag field with boolean type.
bool bool_value = 4;
Parameter
Name Description value boolean
The boolValue to set.
Returns
setDisplayName(String value)
public TagField . Builder setDisplayName ( String value )
Output only. The display name of this field.
string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name Description value String
The displayName to set.
Returns
setDisplayNameBytes(ByteString value)
public TagField . Builder setDisplayNameBytes ( ByteString value )
Output only. The display name of this field.
string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name Description value ByteString
The bytes for displayName to set.
Returns
setDoubleValue(double value)
public TagField . Builder setDoubleValue ( double value )
Holds the value for a tag field with double type.
double double_value = 2;
Parameter
Name Description value double
The doubleValue to set.
Returns
setEnumValue(TagField.EnumValue value)
public 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;
Parameter
Returns
setEnumValue(TagField.EnumValue.Builder builderForValue)
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;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public TagField . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setOrder(int value)
public 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];
Parameter
Name Description value int
The order to set.
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TagField . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setStringValue(String value)
public TagField . Builder setStringValue ( String value )
Holds the value for a tag field with string type.
string string_value = 3;
Parameter
Name Description value String
The stringValue to set.
Returns
setStringValueBytes(ByteString value)
public TagField . Builder setStringValueBytes ( ByteString value )
Holds the value for a tag field with string type.
string string_value = 3;
Parameter
Name Description value ByteString
The bytes for stringValue to set.
Returns
setTimestampValue(Timestamp value)
public TagField . Builder setTimestampValue ( Timestamp value )
Holds the value for a tag field with timestamp type.
.google.protobuf.Timestamp timestamp_value = 5;
Parameter
Returns
setTimestampValue(Timestamp.Builder builderForValue)
public TagField . Builder setTimestampValue ( Timestamp . Builder builderForValue )
Holds the value for a tag field with timestamp type.
.google.protobuf.Timestamp timestamp_value = 5;
Parameter
Name Description builderForValue Builder
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final TagField . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-19 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-19 UTC."],[],[]]