backtype.storm.generated
Class Nimbus.uploadChunk_args

java.lang.Object
  extended by backtype.storm.generated.Nimbus.uploadChunk_args
All Implemented Interfaces:
Serializable, Cloneable, Comparable<Nimbus.uploadChunk_args>, org.apache.thrift.TBase<Nimbus.uploadChunk_args,Nimbus.uploadChunk_args._Fields>
Enclosing class:
Nimbus

public static class Nimbus.uploadChunk_args
extends Object
implements org.apache.thrift.TBase<Nimbus.uploadChunk_args,Nimbus.uploadChunk_args._Fields>, Serializable, Cloneable

See Also:
Serialized Form

Nested Class Summary
static class Nimbus.uploadChunk_args._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
static Map<Nimbus.uploadChunk_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 
Constructor Summary
Nimbus.uploadChunk_args()
           
Nimbus.uploadChunk_args(Nimbus.uploadChunk_args other)
          Performs a deep copy on other.
Nimbus.uploadChunk_args(String location, ByteBuffer chunk)
           
 
Method Summary
 ByteBuffer buffer_for_chunk()
           
 void clear()
           
 int compareTo(Nimbus.uploadChunk_args other)
           
 Nimbus.uploadChunk_args deepCopy()
           
 boolean equals(Nimbus.uploadChunk_args that)
           
 boolean equals(Object that)
           
 Nimbus.uploadChunk_args._Fields fieldForId(int fieldId)
           
 byte[] get_chunk()
           
 String get_location()
           
 Object getFieldValue(Nimbus.uploadChunk_args._Fields field)
           
 int hashCode()
           
 boolean is_set_chunk()
          Returns true if field chunk is set (has been assigned a value) and false otherwise
 boolean is_set_location()
          Returns true if field location is set (has been assigned a value) and false otherwise
 boolean isSet(Nimbus.uploadChunk_args._Fields field)
          Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 void set_chunk_isSet(boolean value)
           
 void set_chunk(byte[] chunk)
           
 void set_chunk(ByteBuffer chunk)
           
 void set_location_isSet(boolean value)
           
 void set_location(String location)
           
 void setFieldValue(Nimbus.uploadChunk_args._Fields field, Object value)
           
 String toString()
           
 void unset_chunk()
           
 void unset_location()
           
 void validate()
           
 void write(org.apache.thrift.protocol.TProtocol oprot)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

metaDataMap

public static final Map<Nimbus.uploadChunk_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail

Nimbus.uploadChunk_args

public Nimbus.uploadChunk_args()

Nimbus.uploadChunk_args

public Nimbus.uploadChunk_args(String location,
                               ByteBuffer chunk)

Nimbus.uploadChunk_args

public Nimbus.uploadChunk_args(Nimbus.uploadChunk_args other)
Performs a deep copy on other.

Method Detail

deepCopy

public Nimbus.uploadChunk_args deepCopy()
Specified by:
deepCopy in interface org.apache.thrift.TBase<Nimbus.uploadChunk_args,Nimbus.uploadChunk_args._Fields>

clear

public void clear()
Specified by:
clear in interface org.apache.thrift.TBase<Nimbus.uploadChunk_args,Nimbus.uploadChunk_args._Fields>

get_location

public String get_location()

set_location

public void set_location(String location)

unset_location

public void unset_location()

is_set_location

public boolean is_set_location()
Returns true if field location is set (has been assigned a value) and false otherwise


set_location_isSet

public void set_location_isSet(boolean value)

get_chunk

public byte[] get_chunk()

buffer_for_chunk

public ByteBuffer buffer_for_chunk()

set_chunk

public void set_chunk(byte[] chunk)

set_chunk

public void set_chunk(ByteBuffer chunk)

unset_chunk

public void unset_chunk()

is_set_chunk

public boolean is_set_chunk()
Returns true if field chunk is set (has been assigned a value) and false otherwise


set_chunk_isSet

public void set_chunk_isSet(boolean value)

setFieldValue

public void setFieldValue(Nimbus.uploadChunk_args._Fields field,
                          Object value)
Specified by:
setFieldValue in interface org.apache.thrift.TBase<Nimbus.uploadChunk_args,Nimbus.uploadChunk_args._Fields>

getFieldValue

public Object getFieldValue(Nimbus.uploadChunk_args._Fields field)
Specified by:
getFieldValue in interface org.apache.thrift.TBase<Nimbus.uploadChunk_args,Nimbus.uploadChunk_args._Fields>

isSet

public boolean isSet(Nimbus.uploadChunk_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise

Specified by:
isSet in interface org.apache.thrift.TBase<Nimbus.uploadChunk_args,Nimbus.uploadChunk_args._Fields>

equals

public boolean equals(Object that)
Overrides:
equals in class Object

equals

public boolean equals(Nimbus.uploadChunk_args that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(Nimbus.uploadChunk_args other)
Specified by:
compareTo in interface Comparable<Nimbus.uploadChunk_args>

fieldForId

public Nimbus.uploadChunk_args._Fields fieldForId(int fieldId)
Specified by:
fieldForId in interface org.apache.thrift.TBase<Nimbus.uploadChunk_args,Nimbus.uploadChunk_args._Fields>

read

public void read(org.apache.thrift.protocol.TProtocol iprot)
          throws org.apache.thrift.TException
Specified by:
read in interface org.apache.thrift.TBase<Nimbus.uploadChunk_args,Nimbus.uploadChunk_args._Fields>
Throws:
org.apache.thrift.TException

write

public void write(org.apache.thrift.protocol.TProtocol oprot)
           throws org.apache.thrift.TException
Specified by:
write in interface org.apache.thrift.TBase<Nimbus.uploadChunk_args,Nimbus.uploadChunk_args._Fields>
Throws:
org.apache.thrift.TException

toString

public String toString()
Overrides:
toString in class Object

validate

public void validate()
              throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.