org.bitcoinj.wallet
Interface Protos.ExtensionOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Protos.Extension, Protos.Extension.Builder
Enclosing class:
Protos

public static interface Protos.ExtensionOrBuilder
extends com.google.protobuf.MessageOrBuilder


Method Summary
 com.google.protobuf.ByteString getData()
          required bytes data = 2;
 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;
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField
 
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
 

Method Detail

hasId

boolean hasId()
required string id = 1;
 like org.whatever.foo.bar
 


getId

String getId()
required string id = 1;
 like org.whatever.foo.bar
 


getIdBytes

com.google.protobuf.ByteString getIdBytes()
required string id = 1;
 like org.whatever.foo.bar
 


hasData

boolean hasData()
required bytes data = 2;


getData

com.google.protobuf.ByteString getData()
required bytes data = 2;


hasMandatory

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.
 


getMandatory

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.
 



Copyright © 2014. All rights reserved.