public static final class Protos.Tag.Builder extends com.google.protobuf.GeneratedMessage.Builder<Protos.Tag.Builder> implements Protos.TagOrBuilder
wallet.Tag
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.
Modifier and Type | Method and Description |
---|---|
Protos.Tag |
build() |
Protos.Tag |
buildPartial() |
Protos.Tag.Builder |
clear() |
Protos.Tag.Builder |
clearData()
required bytes data = 2; |
Protos.Tag.Builder |
clearTag()
required string tag = 1; |
Protos.Tag.Builder |
clone() |
com.google.protobuf.ByteString |
getData()
required bytes data = 2; |
Protos.Tag |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.Tag.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.Tag.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.Tag.Builder |
mergeFrom(Protos.Tag other) |
Protos.Tag.Builder |
setData(com.google.protobuf.ByteString value)
required bytes data = 2; |
Protos.Tag.Builder |
setTag(String value)
required string tag = 1; |
Protos.Tag.Builder |
setTagBytes(com.google.protobuf.ByteString value)
required string tag = 1; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<Protos.Tag.Builder>
public Protos.Tag.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<Protos.Tag.Builder>
public Protos.Tag.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<Protos.Tag.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<Protos.Tag.Builder>
public Protos.Tag getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Protos.Tag build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Protos.Tag buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Protos.Tag.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protos.Tag.Builder>
public Protos.Tag.Builder mergeFrom(Protos.Tag other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<Protos.Tag.Builder>
public Protos.Tag.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protos.Tag.Builder>
IOException
public boolean hasTag()
required string tag = 1;
hasTag
in interface Protos.TagOrBuilder
public 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(String value)
required string tag = 1;
public Protos.Tag.Builder clearTag()
required string tag = 1;
public Protos.Tag.Builder setTagBytes(com.google.protobuf.ByteString value)
required string tag = 1;
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;
public Protos.Tag.Builder clearData()
required bytes data = 2;
Copyright © 2016. All rights reserved.