org.bitcoin.paymentchannel
Class Protos.Settlement.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessage.Builder<Protos.Settlement.Builder>
org.bitcoin.paymentchannel.Protos.Settlement.Builder
- All Implemented Interfaces:
- com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Protos.SettlementOrBuilder
- Enclosing class:
- Protos.Settlement
public static final class Protos.Settlement.Builder
- extends com.google.protobuf.GeneratedMessage.Builder<Protos.Settlement.Builder>
- implements Protos.SettlementOrBuilder
Protobuf type paymentchannels.Settlement
| Methods inherited from class com.google.protobuf.GeneratedMessage.Builder |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields |
| Methods inherited from class com.google.protobuf.AbstractMessage.Builder |
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException |
| Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder |
addAll, newUninitializedMessageException |
| Methods inherited from interface com.google.protobuf.MessageOrBuilder |
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField |
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Protos.Settlement.Builder>
clear
public Protos.Settlement.Builder clear()
- Specified by:
clear in interface com.google.protobuf.Message.Builder- Specified by:
clear in interface com.google.protobuf.MessageLite.Builder- Overrides:
clear in class com.google.protobuf.GeneratedMessage.Builder<Protos.Settlement.Builder>
clone
public Protos.Settlement.Builder clone()
- Specified by:
clone in interface com.google.protobuf.Message.Builder- Specified by:
clone in interface com.google.protobuf.MessageLite.Builder- Overrides:
clone in class com.google.protobuf.GeneratedMessage.Builder<Protos.Settlement.Builder>
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType in interface com.google.protobuf.Message.Builder- Specified by:
getDescriptorForType in interface com.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Protos.Settlement.Builder>
getDefaultInstanceForType
public Protos.Settlement getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
build
public Protos.Settlement build()
- Specified by:
build in interface com.google.protobuf.Message.Builder- Specified by:
build in interface com.google.protobuf.MessageLite.Builder
buildPartial
public Protos.Settlement buildPartial()
- Specified by:
buildPartial in interface com.google.protobuf.Message.Builder- Specified by:
buildPartial in interface com.google.protobuf.MessageLite.Builder
mergeFrom
public Protos.Settlement.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder- Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Protos.Settlement.Builder>
mergeFrom
public Protos.Settlement.Builder mergeFrom(Protos.Settlement other)
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Protos.Settlement.Builder>
mergeFrom
public Protos.Settlement.Builder mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
- Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder- Specified by:
mergeFrom in interface com.google.protobuf.MessageLite.Builder- Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Protos.Settlement.Builder>
- Throws:
IOException
hasTx
public boolean hasTx()
required bytes tx = 3;
A copy of the fully signed final contract that settles the channel. The client can verify
the transaction is correct and then commit it to their wallet.
- Specified by:
hasTx in interface Protos.SettlementOrBuilder
getTx
public com.google.protobuf.ByteString getTx()
required bytes tx = 3;
A copy of the fully signed final contract that settles the channel. The client can verify
the transaction is correct and then commit it to their wallet.
- Specified by:
getTx in interface Protos.SettlementOrBuilder
setTx
public Protos.Settlement.Builder setTx(com.google.protobuf.ByteString value)
required bytes tx = 3;
A copy of the fully signed final contract that settles the channel. The client can verify
the transaction is correct and then commit it to their wallet.
clearTx
public Protos.Settlement.Builder clearTx()
required bytes tx = 3;
A copy of the fully signed final contract that settles the channel. The client can verify
the transaction is correct and then commit it to their wallet.
Copyright © 2014. All rights reserved.