- 1.53.0 (latest)
- 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 TagField.Builder extends GeneratedMessageV3.Builder<TagField.Builder> implements TagFieldOrBuilder
Contains the value and additional information on a field within a Tag.
Protobuf type google.cloud.datacatalog.v1.TagField
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TagField.BuilderImplements
TagFieldOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TagField.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
TagField.Builder |
build()
public TagField build()
Returns | |
---|---|
Type | Description |
TagField |
buildPartial()
public TagField buildPartial()
Returns | |
---|---|
Type | Description |
TagField |
clear()
public TagField.Builder clear()
Returns | |
---|---|
Type | Description |
TagField.Builder |
clearBoolValue()
public TagField.Builder clearBoolValue()
The value of a tag field with a boolean type.
bool bool_value = 4;
Returns | |
---|---|
Type | Description |
TagField.Builder | This builder for chaining. |
clearDisplayName()
public TagField.Builder clearDisplayName()
Output only. The display name of this field.
string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TagField.Builder | This builder for chaining. |
clearDoubleValue()
public TagField.Builder clearDoubleValue()
The value of a tag field with a double type.
double double_value = 2;
Returns | |
---|---|
Type | Description |
TagField.Builder | This builder for chaining. |
clearEnumValue()
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;
Returns | |
---|---|
Type | Description |
TagField.Builder |
clearField(Descriptors.FieldDescriptor field)
public TagField.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
TagField.Builder |
clearKind()
public TagField.Builder clearKind()
Returns | |
---|---|
Type | Description |
TagField.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public TagField.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
TagField.Builder |
clearOrder()
public TagField.Builder clearOrder()
Output only. The order of this field with respect to other fields in this tag. Can be set by Tag.
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];
Returns | |
---|---|
Type | Description |
TagField.Builder | This builder for chaining. |
clearRichtextValue()
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;
Returns | |
---|---|
Type | Description |
TagField.Builder | This builder for chaining. |
clearStringValue()
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;
Returns | |
---|---|
Type | Description |
TagField.Builder | This builder for chaining. |
clearTimestampValue()
public TagField.Builder clearTimestampValue()
The value of a tag field with a timestamp type.
.google.protobuf.Timestamp timestamp_value = 5;
Returns | |
---|---|
Type | Description |
TagField.Builder |
clone()
public TagField.Builder clone()
Returns | |
---|---|
Type | Description |
TagField.Builder |
getBoolValue()
public boolean getBoolValue()
The value of a tag field with a boolean type.
bool bool_value = 4;
Returns | |
---|---|
Type | Description |
boolean | The boolValue. |
getDefaultInstanceForType()
public TagField getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
TagField |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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()
The value of a tag field with a double type.
double double_value = 2;
Returns | |
---|---|
Type | Description |
double | The doubleValue. |
getEnumValue()
public 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;
Returns | |
---|---|
Type | Description |
TagField.EnumValue | The enumValue. |
getEnumValueBuilder()
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;
Returns | |
---|---|
Type | Description |
TagField.EnumValue.Builder |
getEnumValueOrBuilder()
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;
Returns | |
---|---|
Type | Description |
TagField.EnumValueOrBuilder |
getKindCase()
public TagField.KindCase getKindCase()
Returns | |
---|---|
Type | Description |
TagField.KindCase |
getOrder()
public int getOrder()
Output only. The order of this field with respect to other fields in this tag. Can be set by Tag.
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];
Returns | |
---|---|
Type | Description |
int | The order. |
getRichtextValue()
public 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;
Returns | |
---|---|
Type | Description |
String | The richtextValue. |
getRichtextValueBytes()
public 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;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for richtextValue. |
getStringValue()
public String getStringValue()
The value of a tag field with a string type.
The maximum length is 2000 UTF-8 characters.
string string_value = 3;
Returns | |
---|---|
Type | Description |
String | The stringValue. |
getStringValueBytes()
public ByteString getStringValueBytes()
The value of a tag field with a string type.
The maximum length is 2000 UTF-8 characters.
string string_value = 3;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for stringValue. |
getTimestampValue()
public Timestamp getTimestampValue()
The value of a tag field with a timestamp type.
.google.protobuf.Timestamp timestamp_value = 5;
Returns | |
---|---|
Type | Description |
Timestamp | The timestampValue. |
getTimestampValueBuilder()
public Timestamp.Builder getTimestampValueBuilder()
The value of a tag field with a timestamp type.
.google.protobuf.Timestamp timestamp_value = 5;
Returns | |
---|---|
Type | Description |
Builder |
getTimestampValueOrBuilder()
public TimestampOrBuilder getTimestampValueOrBuilder()
The value of a tag field with a timestamp type.
.google.protobuf.Timestamp timestamp_value = 5;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasBoolValue()
public boolean hasBoolValue()
The value of a tag field with a boolean type.
bool bool_value = 4;
Returns | |
---|---|
Type | Description |
boolean | Whether the boolValue field is set. |
hasDoubleValue()
public boolean hasDoubleValue()
The value of a tag field with a double type.
double double_value = 2;
Returns | |
---|---|
Type | Description |
boolean | Whether the doubleValue field is set. |
hasEnumValue()
public 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;
Returns | |
---|---|
Type | Description |
boolean | Whether the enumValue field is set. |
hasRichtextValue()
public 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;
Returns | |
---|---|
Type | Description |
boolean | Whether the richtextValue field is set. |
hasStringValue()
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;
Returns | |
---|---|
Type | Description |
boolean | Whether the stringValue field is set. |
hasTimestampValue()
public boolean hasTimestampValue()
The value of a tag field with a timestamp type.
.google.protobuf.Timestamp timestamp_value = 5;
Returns | |
---|---|
Type | Description |
boolean | Whether the timestampValue field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeEnumValue(TagField.EnumValue value)
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;
Parameter | |
---|---|
Name | Description |
value | TagField.EnumValue |
Returns | |
---|---|
Type | Description |
TagField.Builder |
mergeFrom(TagField other)
public TagField.Builder mergeFrom(TagField other)
Parameter | |
---|---|
Name | Description |
other | TagField |
Returns | |
---|---|
Type | Description |
TagField.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TagField.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
TagField.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public TagField.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
TagField.Builder |
mergeTimestampValue(Timestamp value)
public TagField.Builder mergeTimestampValue(Timestamp value)
The value of a tag field with a timestamp type.
.google.protobuf.Timestamp timestamp_value = 5;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
TagField.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TagField.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TagField.Builder |
setBoolValue(boolean value)
public TagField.Builder setBoolValue(boolean value)
The value of a tag field with a boolean type.
bool bool_value = 4;
Parameter | |
---|---|
Name | Description |
value | boolean The boolValue to set. |
Returns | |
---|---|
Type | Description |
TagField.Builder | This builder for chaining. |
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 | |
---|---|
Type | Description |
TagField.Builder | This builder for chaining. |
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 | |
---|---|
Type | Description |
TagField.Builder | This builder for chaining. |
setDoubleValue(double value)
public TagField.Builder setDoubleValue(double value)
The value of a tag field with a double type.
double double_value = 2;
Parameter | |
---|---|
Name | Description |
value | double The doubleValue to set. |
Returns | |
---|---|
Type | Description |
TagField.Builder | This builder for chaining. |
setEnumValue(TagField.EnumValue value)
public 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;
Parameter | |
---|---|
Name | Description |
value | TagField.EnumValue |
Returns | |
---|---|
Type | Description |
TagField.Builder |
setEnumValue(TagField.EnumValue.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue | TagField.EnumValue.Builder |
Returns | |
---|---|
Type | Description |
TagField.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public TagField.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
TagField.Builder |
setOrder(int value)
public 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.
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];
Parameter | |
---|---|
Name | Description |
value | int The order to set. |
Returns | |
---|---|
Type | Description |
TagField.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TagField.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
TagField.Builder |
setRichtextValue(String value)
public 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;
Parameter | |
---|---|
Name | Description |
value | String The richtextValue to set. |
Returns | |
---|---|
Type | Description |
TagField.Builder | This builder for chaining. |
setRichtextValueBytes(ByteString value)
public TagField.Builder setRichtextValueBytes(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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for richtextValue to set. |
Returns | |
---|---|
Type | Description |
TagField.Builder | This builder for chaining. |
setStringValue(String value)
public 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;
Parameter | |
---|---|
Name | Description |
value | String The stringValue to set. |
Returns | |
---|---|
Type | Description |
TagField.Builder | This builder for chaining. |
setStringValueBytes(ByteString value)
public TagField.Builder setStringValueBytes(ByteString value)
The value of a tag field with a string type.
The maximum length is 2000 UTF-8 characters.
string string_value = 3;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for stringValue to set. |
Returns | |
---|---|
Type | Description |
TagField.Builder | This builder for chaining. |
setTimestampValue(Timestamp value)
public TagField.Builder setTimestampValue(Timestamp value)
The value of a tag field with a timestamp type.
.google.protobuf.Timestamp timestamp_value = 5;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
TagField.Builder |
setTimestampValue(Timestamp.Builder builderForValue)
public TagField.Builder setTimestampValue(Timestamp.Builder builderForValue)
The value of a tag field with a timestamp type.
.google.protobuf.Timestamp timestamp_value = 5;
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
TagField.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final TagField.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TagField.Builder |