public static final class Protos.Extension.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Protos.Extension,Protos.Extension.Builder> implements Protos.ExtensionOrBuilder
An extension to the walletProtobuf type
wallet.Extension| Modifier and Type | Method and Description |
|---|---|
Protos.Extension.Builder |
clearData()
required bytes data = 2; |
Protos.Extension.Builder |
clearId()
like org.whatever.foo.bar
|
Protos.Extension.Builder |
clearMandatory()
If we do not understand a mandatory extension, abort to prevent data loss.
|
com.google.protobuf.ByteString |
getData()
required bytes data = 2; |
java.lang.String |
getId()
like org.whatever.foo.bar
|
com.google.protobuf.ByteString |
getIdBytes()
like org.whatever.foo.bar
|
boolean |
getMandatory()
If we do not understand a mandatory extension, abort to prevent data loss.
|
boolean |
hasData()
required bytes data = 2; |
boolean |
hasId()
like org.whatever.foo.bar
|
boolean |
hasMandatory()
If we do not understand a mandatory extension, abort to prevent data loss.
|
Protos.Extension.Builder |
setData(com.google.protobuf.ByteString value)
required bytes data = 2; |
Protos.Extension.Builder |
setId(java.lang.String value)
like org.whatever.foo.bar
|
Protos.Extension.Builder |
setIdBytes(com.google.protobuf.ByteString value)
like org.whatever.foo.bar
|
Protos.Extension.Builder |
setMandatory(boolean value)
If we do not understand a mandatory extension, abort to prevent data loss.
|
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionpublic boolean hasId()
like org.whatever.foo.bar
required string id = 1;hasId in interface Protos.ExtensionOrBuilderpublic java.lang.String getId()
like org.whatever.foo.bar
required string id = 1;getId in interface Protos.ExtensionOrBuilderpublic com.google.protobuf.ByteString getIdBytes()
like org.whatever.foo.bar
required string id = 1;getIdBytes in interface Protos.ExtensionOrBuilderpublic Protos.Extension.Builder setId(java.lang.String value)
like org.whatever.foo.bar
required string id = 1;value - The id to set.public Protos.Extension.Builder clearId()
like org.whatever.foo.bar
required string id = 1;public Protos.Extension.Builder setIdBytes(com.google.protobuf.ByteString value)
like org.whatever.foo.bar
required string id = 1;value - The bytes for id to set.public boolean hasData()
required bytes data = 2;hasData in interface Protos.ExtensionOrBuilderpublic com.google.protobuf.ByteString getData()
required bytes data = 2;getData in interface Protos.ExtensionOrBuilderpublic Protos.Extension.Builder setData(com.google.protobuf.ByteString value)
required bytes data = 2;value - The data to set.public Protos.Extension.Builder clearData()
required bytes data = 2;public boolean hasMandatory()
If we do not understand a mandatory extension, abort to prevent data loss. For example, this could be applied to a new type of holding, such as a contract, where dropping of an extension in a read/write cycle could cause loss of value.
required bool mandatory = 3;hasMandatory in interface Protos.ExtensionOrBuilderpublic boolean getMandatory()
If we do not understand a mandatory extension, abort to prevent data loss. For example, this could be applied to a new type of holding, such as a contract, where dropping of an extension in a read/write cycle could cause loss of value.
required bool mandatory = 3;getMandatory in interface Protos.ExtensionOrBuilderpublic Protos.Extension.Builder setMandatory(boolean value)
If we do not understand a mandatory extension, abort to prevent data loss. For example, this could be applied to a new type of holding, such as a contract, where dropping of an extension in a read/write cycle could cause loss of value.
required bool mandatory = 3;value - The mandatory to set.public Protos.Extension.Builder clearMandatory()
If we do not understand a mandatory extension, abort to prevent data loss. For example, this could be applied to a new type of holding, such as a contract, where dropping of an extension in a read/write cycle could cause loss of value.
required bool mandatory = 3;