public static final class Protos.Extension.Builder extends com.google.protobuf.GeneratedMessage.Builder<Protos.Extension.Builder> implements Protos.ExtensionOrBuilder
wallet.Extension
An extension to the wallet
Modifier and Type | Method and Description |
---|---|
Protos.Extension |
build() |
Protos.Extension |
buildPartial() |
Protos.Extension.Builder |
clear() |
Protos.Extension.Builder |
clearData()
required bytes data = 2; |
Protos.Extension.Builder |
clearId()
required string id = 1; |
Protos.Extension.Builder |
clearMandatory()
required bool mandatory = 3; |
Protos.Extension.Builder |
clone() |
com.google.protobuf.ByteString |
getData()
required bytes data = 2; |
Protos.Extension |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getId()
required string id = 1; |
com.google.protobuf.ByteString |
getIdBytes()
required string id = 1; |
boolean |
getMandatory()
required bool mandatory = 3; |
boolean |
hasData()
required bytes data = 2; |
boolean |
hasId()
required string id = 1; |
boolean |
hasMandatory()
required bool mandatory = 3; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.Extension.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.Extension.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.Extension.Builder |
mergeFrom(Protos.Extension other) |
Protos.Extension.Builder |
setData(com.google.protobuf.ByteString value)
required bytes data = 2; |
Protos.Extension.Builder |
setId(String value)
required string id = 1; |
Protos.Extension.Builder |
setIdBytes(com.google.protobuf.ByteString value)
required string id = 1; |
Protos.Extension.Builder |
setMandatory(boolean value)
required bool mandatory = 3; |
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.Extension.Builder>
public Protos.Extension.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.Extension.Builder>
public Protos.Extension.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.Extension.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.Extension.Builder>
public Protos.Extension getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Protos.Extension build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Protos.Extension buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Protos.Extension.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protos.Extension.Builder>
public Protos.Extension.Builder mergeFrom(Protos.Extension other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<Protos.Extension.Builder>
public Protos.Extension.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.Extension.Builder>
IOException
public boolean hasId()
required string id = 1;
like org.whatever.foo.bar
hasId
in interface Protos.ExtensionOrBuilder
public String getId()
required string id = 1;
like org.whatever.foo.bar
getId
in interface Protos.ExtensionOrBuilder
public com.google.protobuf.ByteString getIdBytes()
required string id = 1;
like org.whatever.foo.bar
getIdBytes
in interface Protos.ExtensionOrBuilder
public Protos.Extension.Builder setId(String value)
required string id = 1;
like org.whatever.foo.bar
public Protos.Extension.Builder clearId()
required string id = 1;
like org.whatever.foo.bar
public Protos.Extension.Builder setIdBytes(com.google.protobuf.ByteString value)
required string id = 1;
like org.whatever.foo.bar
public boolean hasData()
required bytes data = 2;
hasData
in interface Protos.ExtensionOrBuilder
public com.google.protobuf.ByteString getData()
required bytes data = 2;
getData
in interface Protos.ExtensionOrBuilder
public Protos.Extension.Builder setData(com.google.protobuf.ByteString value)
required bytes data = 2;
public Protos.Extension.Builder clearData()
required bytes data = 2;
public boolean hasMandatory()
required bool mandatory = 3;
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.
hasMandatory
in interface Protos.ExtensionOrBuilder
public boolean getMandatory()
required bool mandatory = 3;
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.
getMandatory
in interface Protos.ExtensionOrBuilder
public Protos.Extension.Builder setMandatory(boolean value)
required bool mandatory = 3;
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.
public Protos.Extension.Builder clearMandatory()
required bool mandatory = 3;
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.
Copyright © 2016. All rights reserved.