public
final
class
Tag
extends
GeneratedMessage
implements
TagOrBuilder
The key and value for a tag .
Protobuf type google.cloud.asset.v1.Tag
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > TagImplements
TagOrBuilderStatic Fields
TAG_KEY_FIELD_NUMBER
public
static
final
int
TAG_KEY_FIELD_NUMBER
TAG_KEY_ID_FIELD_NUMBER
public
static
final
int
TAG_KEY_ID_FIELD_NUMBER
TAG_VALUE_FIELD_NUMBER
public
static
final
int
TAG_VALUE_FIELD_NUMBER
TAG_VALUE_ID_FIELD_NUMBER
public
static
final
int
TAG_VALUE_ID_FIELD_NUMBER
Static Methods
getDefaultInstance()
public
static
Tag
getDefaultInstance
()
getDescriptor()
public
static
final
Descriptors
.
Descriptor
getDescriptor
()
newBuilder()
public
static
Tag
.
Builder
newBuilder
()
newBuilder(Tag prototype)
public
static
Tag
.
Builder
newBuilder
(
Tag
prototype
)
parseDelimitedFrom(InputStream input)
public
static
Tag
parseDelimitedFrom
(
InputStream
input
)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Tag
parseDelimitedFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(byte[] data)
public
static
Tag
parseFrom
(
byte
[]
data
)
data
byte
[]
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public
static
Tag
parseFrom
(
byte
[]
data
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(ByteString data)
public
static
Tag
parseFrom
(
ByteString
data
)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public
static
Tag
parseFrom
(
ByteString
data
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(CodedInputStream input)
public
static
Tag
parseFrom
(
CodedInputStream
input
)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Tag
parseFrom
(
CodedInputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(InputStream input)
public
static
Tag
parseFrom
(
InputStream
input
)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Tag
parseFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(ByteBuffer data)
public
static
Tag
parseFrom
(
ByteBuffer
data
)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public
static
Tag
parseFrom
(
ByteBuffer
data
,
ExtensionRegistryLite
extensionRegistry
)
parser()
public
static
Parser<Tag>
parser
()
Methods
equals(Object obj)
public
boolean
equals
(
Object
obj
)
getDefaultInstanceForType()
public
Tag
getDefaultInstanceForType
()
getParserForType()
public
Parser<Tag>
getParserForType
()
getSerializedSize()
public
int
getSerializedSize
()
getTagKey()
public
String
getTagKey
()
TagKey namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
optional string tag_key = 1;
getTagKeyBytes()
public
ByteString
getTagKeyBytes
()
TagKey namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
optional string tag_key = 1;
getTagKeyId()
public
String
getTagKeyId
()
TagKey ID, in the format of tagKeys/{TAG_KEY_ID}.
optional string tag_key_id = 2;
getTagKeyIdBytes()
public
ByteString
getTagKeyIdBytes
()
TagKey ID, in the format of tagKeys/{TAG_KEY_ID}.
optional string tag_key_id = 2;
getTagValue()
public
String
getTagValue
()
TagValue namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
optional string tag_value = 3;
getTagValueBytes()
public
ByteString
getTagValueBytes
()
TagValue namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
optional string tag_value = 3;
getTagValueId()
public
String
getTagValueId
()
TagValue ID, in the format of tagValues/{TAG_VALUE_ID}.
optional string tag_value_id = 4;
getTagValueIdBytes()
public
ByteString
getTagValueIdBytes
()
TagValue ID, in the format of tagValues/{TAG_VALUE_ID}.
optional string tag_value_id = 4;
hasTagKey()
public
boolean
hasTagKey
()
TagKey namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
optional string tag_key = 1;
hasTagKeyId()
public
boolean
hasTagKeyId
()
TagKey ID, in the format of tagKeys/{TAG_KEY_ID}.
optional string tag_key_id = 2;
hasTagValue()
public
boolean
hasTagValue
()
TagValue namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
optional string tag_value = 3;
hasTagValueId()
public
boolean
hasTagValueId
()
TagValue ID, in the format of tagValues/{TAG_VALUE_ID}.
optional string tag_value_id = 4;
hashCode()
public
int
hashCode
()
internalGetFieldAccessorTable()
protected
GeneratedMessage
.
FieldAccessorTable
internalGetFieldAccessorTable
()
isInitialized()
public
final
boolean
isInitialized
()
newBuilderForType()
public
Tag
.
Builder
newBuilderForType
()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected
Tag
.
Builder
newBuilderForType
(
AbstractMessage
.
BuilderParent
parent
)
toBuilder()
public
Tag
.
Builder
toBuilder
()
writeTo(CodedOutputStream output)
public
void
writeTo
(
CodedOutputStream
output
)

