public static final class Protos.Tag.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Protos.Tag,Protos.Tag.Builder> implements Protos.TagOrBuilder
A simple key->value mapping that has no interpreted content at all. A bit like the extensions mechanism except an extension is keyed by the ID of a piece of code that's loaded with the given data, and has the concept of being mandatory if that code isn't found. Whereas this is just a blind key/value store.Protobuf type
wallet.Tag
Modifier and Type | Method and Description |
---|---|
Protos.Tag.Builder |
clearData()
required bytes data = 2; |
Protos.Tag.Builder |
clearTag()
required string tag = 1; |
com.google.protobuf.ByteString |
getData()
required bytes data = 2; |
java.lang.String |
getTag()
required string tag = 1; |
com.google.protobuf.ByteString |
getTagBytes()
required string tag = 1; |
boolean |
hasData()
required bytes data = 2; |
boolean |
hasTag()
required string tag = 1; |
Protos.Tag.Builder |
setData(com.google.protobuf.ByteString value)
required bytes data = 2; |
Protos.Tag.Builder |
setTag(java.lang.String value)
required string tag = 1; |
Protos.Tag.Builder |
setTagBytes(com.google.protobuf.ByteString value)
required string tag = 1; |
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
public boolean hasTag()
required string tag = 1;
hasTag
in interface Protos.TagOrBuilder
public java.lang.String getTag()
required string tag = 1;
getTag
in interface Protos.TagOrBuilder
public com.google.protobuf.ByteString getTagBytes()
required string tag = 1;
getTagBytes
in interface Protos.TagOrBuilder
public Protos.Tag.Builder setTag(java.lang.String value)
required string tag = 1;
value
- The tag to set.public Protos.Tag.Builder clearTag()
required string tag = 1;
public Protos.Tag.Builder setTagBytes(com.google.protobuf.ByteString value)
required string tag = 1;
value
- The bytes for tag to set.public boolean hasData()
required bytes data = 2;
hasData
in interface Protos.TagOrBuilder
public com.google.protobuf.ByteString getData()
required bytes data = 2;
getData
in interface Protos.TagOrBuilder
public Protos.Tag.Builder setData(com.google.protobuf.ByteString value)
required bytes data = 2;
value
- The data to set.public Protos.Tag.Builder clearData()
required bytes data = 2;