public class Argument extends Object
| Constructor and Description |
|---|
Argument(ByzCoinProto.Argument proto)
Constructor from protobuf.
|
Argument(String name,
byte[] value)
Constructor for the argument.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Getter for the name.
|
byte[] |
getValue()
Getter for the value.
|
static List<Argument> |
NewList(String key,
byte[] value) |
static List<Argument> |
NewList(String key,
String value) |
ByzCoinProto.Argument |
toProto()
Converts this object to the protobuf representation.
|
public Argument(String name, byte[] value)
name - The name of the argument.value - The value of the argument.public Argument(ByzCoinProto.Argument proto)
proto - the input protobufpublic String getName()
public byte[] getValue()
public ByzCoinProto.Argument toProto()
Copyright © 2019. All rights reserved.