org.bitcoinj.wallet
Class Protos.Script.Builder

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
      extended by com.google.protobuf.AbstractMessage.Builder<BuilderType>
          extended by com.google.protobuf.GeneratedMessage.Builder<Protos.Script.Builder>
              extended by org.bitcoinj.wallet.Protos.Script.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Protos.ScriptOrBuilder
Enclosing class:
Protos.Script

public static final class Protos.Script.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Protos.Script.Builder>
implements Protos.ScriptOrBuilder

Protobuf type wallet.Script


Method Summary
 Protos.Script build()
           
 Protos.Script buildPartial()
           
 Protos.Script.Builder clear()
           
 Protos.Script.Builder clearCreationTimestamp()
          required int64 creation_timestamp = 2;
 Protos.Script.Builder clearProgram()
          required bytes program = 1;
 Protos.Script.Builder clone()
           
 long getCreationTimestamp()
          required int64 creation_timestamp = 2;
 Protos.Script getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 com.google.protobuf.ByteString getProgram()
          required bytes program = 1;
 boolean hasCreationTimestamp()
          required int64 creation_timestamp = 2;
 boolean hasProgram()
          required bytes program = 1;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 Protos.Script.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 Protos.Script.Builder mergeFrom(com.google.protobuf.Message other)
           
 Protos.Script.Builder mergeFrom(Protos.Script other)
           
 Protos.Script.Builder setCreationTimestamp(long value)
          required int64 creation_timestamp = 2;
 Protos.Script.Builder setProgram(com.google.protobuf.ByteString value)
          required bytes program = 1;
 
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 class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField
 

Method Detail

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.Script.Builder>

clear

public Protos.Script.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.Script.Builder>

clone

public Protos.Script.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.Script.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.Script.Builder>

getDefaultInstanceForType

public Protos.Script getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

build

public Protos.Script build()
Specified by:
build in interface com.google.protobuf.Message.Builder
Specified by:
build in interface com.google.protobuf.MessageLite.Builder

buildPartial

public Protos.Script buildPartial()
Specified by:
buildPartial in interface com.google.protobuf.Message.Builder
Specified by:
buildPartial in interface com.google.protobuf.MessageLite.Builder

mergeFrom

public Protos.Script.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.Script.Builder>

mergeFrom

public Protos.Script.Builder mergeFrom(Protos.Script 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.Script.Builder>

mergeFrom

public Protos.Script.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.Script.Builder>
Throws:
IOException

hasProgram

public boolean hasProgram()
required bytes program = 1;

Specified by:
hasProgram in interface Protos.ScriptOrBuilder

getProgram

public com.google.protobuf.ByteString getProgram()
required bytes program = 1;

Specified by:
getProgram in interface Protos.ScriptOrBuilder

setProgram

public Protos.Script.Builder setProgram(com.google.protobuf.ByteString value)
required bytes program = 1;


clearProgram

public Protos.Script.Builder clearProgram()
required bytes program = 1;


hasCreationTimestamp

public boolean hasCreationTimestamp()
required int64 creation_timestamp = 2;
 Timestamp stored as millis since epoch. Useful for skipping block bodies before this point
 when watching for scripts on the blockchain.
 

Specified by:
hasCreationTimestamp in interface Protos.ScriptOrBuilder

getCreationTimestamp

public long getCreationTimestamp()
required int64 creation_timestamp = 2;
 Timestamp stored as millis since epoch. Useful for skipping block bodies before this point
 when watching for scripts on the blockchain.
 

Specified by:
getCreationTimestamp in interface Protos.ScriptOrBuilder

setCreationTimestamp

public Protos.Script.Builder setCreationTimestamp(long value)
required int64 creation_timestamp = 2;
 Timestamp stored as millis since epoch. Useful for skipping block bodies before this point
 when watching for scripts on the blockchain.
 


clearCreationTimestamp

public Protos.Script.Builder clearCreationTimestamp()
required int64 creation_timestamp = 2;
 Timestamp stored as millis since epoch. Useful for skipping block bodies before this point
 when watching for scripts on the blockchain.
 



Copyright © 2014. All rights reserved.