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 |
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() |
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 |
hasEnumValue()
Holds the value for a tag field with enum 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 |
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, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, 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;getDisplayName in interface TagFieldOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Output only. The display name of this field.
string display_name = 1;getDisplayNameBytes in interface TagFieldOrBuilderpublic TagField.Builder setDisplayName(String value)
Output only. The display name of this field.
string display_name = 1;public TagField.Builder clearDisplayName()
Output only. The display name of this field.
string display_name = 1;public TagField.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Output only. The display name of this field.
string display_name = 1;public 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;public TagField.Builder clearDoubleValue()
Holds the value for a tag field with double type.
double double_value = 2;public 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;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;public 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;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 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 © 2019 Google LLC. All rights reserved.