public static final class Protos.Settlement.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Protos.Settlement.Builder> implements Protos.SettlementOrBuilder
paymentchannels.Settlement
Modifier and Type | Method and Description |
---|---|
Protos.Settlement.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Settlement |
build() |
Protos.Settlement |
buildPartial() |
Protos.Settlement.Builder |
clear() |
Protos.Settlement.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.Settlement.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.Settlement.Builder |
clearTx()
A copy of the fully signed final contract that settles the channel.
|
Protos.Settlement.Builder |
clone() |
Protos.Settlement |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getTx()
A copy of the fully signed final contract that settles the channel.
|
boolean |
hasTx()
A copy of the fully signed final contract that settles the channel.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.Settlement.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.Settlement.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.Settlement.Builder |
mergeFrom(Protos.Settlement other) |
Protos.Settlement.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.Settlement.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Settlement.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.Settlement.Builder |
setTx(com.google.protobuf.ByteString value)
A copy of the fully signed final contract that settles the channel.
|
Protos.Settlement.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.Settlement.Builder>
public Protos.Settlement.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.Settlement.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.Settlement.Builder>
public Protos.Settlement getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Protos.Settlement build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Protos.Settlement buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Protos.Settlement.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.Settlement.Builder>
public Protos.Settlement.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.Settlement.Builder>
public Protos.Settlement.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.Settlement.Builder>
public Protos.Settlement.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.Settlement.Builder>
public Protos.Settlement.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.Settlement.Builder>
public Protos.Settlement.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.Settlement.Builder>
public Protos.Settlement.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protos.Settlement.Builder>
public Protos.Settlement.Builder mergeFrom(Protos.Settlement other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.Settlement.Builder>
public Protos.Settlement.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.Settlement.Builder>
java.io.IOException
public boolean hasTx()
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.
required bytes tx = 3;
hasTx
in interface Protos.SettlementOrBuilder
public com.google.protobuf.ByteString getTx()
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.
required bytes tx = 3;
getTx
in interface Protos.SettlementOrBuilder
public Protos.Settlement.Builder setTx(com.google.protobuf.ByteString value)
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.
required bytes tx = 3;
public Protos.Settlement.Builder clearTx()
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.
required bytes tx = 3;
public final Protos.Settlement.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.Settlement.Builder>
public final Protos.Settlement.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.Settlement.Builder>