public static final class Protos.Extension.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Protos.Extension.Builder> implements Protos.ExtensionOrBuilder
An extension to the walletProtobuf type
wallet.Extension
Modifier and Type | Method and Description |
---|---|
Protos.Extension.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Extension |
build() |
Protos.Extension |
buildPartial() |
Protos.Extension.Builder |
clear() |
Protos.Extension.Builder |
clearData()
required bytes data = 2; |
Protos.Extension.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
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.
|
Protos.Extension.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
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() |
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.
|
protected com.google.protobuf.GeneratedMessageV3.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 |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.Extension.Builder |
setData(com.google.protobuf.ByteString value)
required bytes data = 2; |
Protos.Extension.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
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.
|
Protos.Extension.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.Extension.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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 clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.Extension.Builder>
public Protos.Extension.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.Extension.Builder>
public Protos.Extension.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.Extension.Builder>
public Protos.Extension.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.Extension.Builder>
public Protos.Extension.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.Extension.Builder>
public Protos.Extension.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.Extension.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.GeneratedMessageV3.Builder<Protos.Extension.Builder>
public Protos.Extension.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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>
java.io.IOException
public boolean hasId()
like org.whatever.foo.bar
required string id = 1;
hasId
in interface Protos.ExtensionOrBuilder
public java.lang.String getId()
like org.whatever.foo.bar
required string id = 1;
getId
in interface Protos.ExtensionOrBuilder
public com.google.protobuf.ByteString getIdBytes()
like org.whatever.foo.bar
required string id = 1;
getIdBytes
in interface Protos.ExtensionOrBuilder
public Protos.Extension.Builder setId(java.lang.String value)
like org.whatever.foo.bar
required string id = 1;
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;
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()
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.ExtensionOrBuilder
public 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.ExtensionOrBuilder
public 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;
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;
public final Protos.Extension.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.Extension.Builder>
public final Protos.Extension.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.Extension.Builder>