com.evernote.edam.notestore
Class NoteStore.getResourceByHash_args

java.lang.Object
  extended by com.evernote.edam.notestore.NoteStore.getResourceByHash_args
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<NoteStore.getResourceByHash_args>, org.apache.thrift.TBase<NoteStore.getResourceByHash_args._Fields>
Enclosing class:
NoteStore

public static class NoteStore.getResourceByHash_args
extends java.lang.Object
implements org.apache.thrift.TBase<NoteStore.getResourceByHash_args._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<NoteStore.getResourceByHash_args>

See Also:
Serialized Form

Nested Class Summary
static class NoteStore.getResourceByHash_args._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
static java.util.Map<NoteStore.getResourceByHash_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 
Constructor Summary
NoteStore.getResourceByHash_args()
           
NoteStore.getResourceByHash_args(NoteStore.getResourceByHash_args other)
          Performs a deep copy on other.
NoteStore.getResourceByHash_args(java.lang.String authenticationToken, java.lang.String noteGuid, byte[] contentHash, boolean withData, boolean withRecognition, boolean withAlternateData)
           
 
Method Summary
 NoteStore.getResourceByHash_args clone()
          Deprecated. 
 int compareTo(NoteStore.getResourceByHash_args other)
           
 NoteStore.getResourceByHash_args deepCopy()
           
 boolean equals(NoteStore.getResourceByHash_args that)
           
 boolean equals(java.lang.Object that)
           
 java.lang.String getAuthenticationToken()
           
 byte[] getContentHash()
           
 java.lang.Object getFieldValue(int fieldId)
           
 java.lang.Object getFieldValue(NoteStore.getResourceByHash_args._Fields field)
           
 java.lang.String getNoteGuid()
           
 int hashCode()
           
 boolean isSet(int fieldID)
           
 boolean isSet(NoteStore.getResourceByHash_args._Fields field)
          Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
 boolean isSetAuthenticationToken()
          Returns true if field authenticationToken is set (has been asigned a value) and false otherwise
 boolean isSetContentHash()
          Returns true if field contentHash is set (has been asigned a value) and false otherwise
 boolean isSetNoteGuid()
          Returns true if field noteGuid is set (has been asigned a value) and false otherwise
 boolean isSetWithAlternateData()
          Returns true if field withAlternateData is set (has been asigned a value) and false otherwise
 boolean isSetWithData()
          Returns true if field withData is set (has been asigned a value) and false otherwise
 boolean isSetWithRecognition()
          Returns true if field withRecognition is set (has been asigned a value) and false otherwise
 boolean isWithAlternateData()
           
 boolean isWithData()
           
 boolean isWithRecognition()
           
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 void setAuthenticationToken(java.lang.String authenticationToken)
           
 void setAuthenticationTokenIsSet(boolean value)
           
 void setContentHash(byte[] contentHash)
           
 void setContentHashIsSet(boolean value)
           
 void setFieldValue(int fieldID, java.lang.Object value)
           
 void setFieldValue(NoteStore.getResourceByHash_args._Fields field, java.lang.Object value)
           
 void setNoteGuid(java.lang.String noteGuid)
           
 void setNoteGuidIsSet(boolean value)
           
 void setWithAlternateData(boolean withAlternateData)
           
 void setWithAlternateDataIsSet(boolean value)
           
 void setWithData(boolean withData)
           
 void setWithDataIsSet(boolean value)
           
 void setWithRecognition(boolean withRecognition)
           
 void setWithRecognitionIsSet(boolean value)
           
 java.lang.String toString()
           
 void unsetAuthenticationToken()
           
 void unsetContentHash()
           
 void unsetNoteGuid()
           
 void unsetWithAlternateData()
           
 void unsetWithData()
           
 void unsetWithRecognition()
           
 void validate()
           
 void write(org.apache.thrift.protocol.TProtocol oprot)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

metaDataMap

public static final java.util.Map<NoteStore.getResourceByHash_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail

NoteStore.getResourceByHash_args

public NoteStore.getResourceByHash_args()

NoteStore.getResourceByHash_args

public NoteStore.getResourceByHash_args(java.lang.String authenticationToken,
                                        java.lang.String noteGuid,
                                        byte[] contentHash,
                                        boolean withData,
                                        boolean withRecognition,
                                        boolean withAlternateData)

NoteStore.getResourceByHash_args

public NoteStore.getResourceByHash_args(NoteStore.getResourceByHash_args other)
Performs a deep copy on other.

Method Detail

deepCopy

public NoteStore.getResourceByHash_args deepCopy()
Specified by:
deepCopy in interface org.apache.thrift.TBase<NoteStore.getResourceByHash_args._Fields>

clone

@Deprecated
public NoteStore.getResourceByHash_args clone()
Deprecated. 

Overrides:
clone in class java.lang.Object

getAuthenticationToken

public java.lang.String getAuthenticationToken()

setAuthenticationToken

public void setAuthenticationToken(java.lang.String authenticationToken)

unsetAuthenticationToken

public void unsetAuthenticationToken()

isSetAuthenticationToken

public boolean isSetAuthenticationToken()
Returns true if field authenticationToken is set (has been asigned a value) and false otherwise


setAuthenticationTokenIsSet

public void setAuthenticationTokenIsSet(boolean value)

getNoteGuid

public java.lang.String getNoteGuid()

setNoteGuid

public void setNoteGuid(java.lang.String noteGuid)

unsetNoteGuid

public void unsetNoteGuid()

isSetNoteGuid

public boolean isSetNoteGuid()
Returns true if field noteGuid is set (has been asigned a value) and false otherwise


setNoteGuidIsSet

public void setNoteGuidIsSet(boolean value)

getContentHash

public byte[] getContentHash()

setContentHash

public void setContentHash(byte[] contentHash)

unsetContentHash

public void unsetContentHash()

isSetContentHash

public boolean isSetContentHash()
Returns true if field contentHash is set (has been asigned a value) and false otherwise


setContentHashIsSet

public void setContentHashIsSet(boolean value)

isWithData

public boolean isWithData()

setWithData

public void setWithData(boolean withData)

unsetWithData

public void unsetWithData()

isSetWithData

public boolean isSetWithData()
Returns true if field withData is set (has been asigned a value) and false otherwise


setWithDataIsSet

public void setWithDataIsSet(boolean value)

isWithRecognition

public boolean isWithRecognition()

setWithRecognition

public void setWithRecognition(boolean withRecognition)

unsetWithRecognition

public void unsetWithRecognition()

isSetWithRecognition

public boolean isSetWithRecognition()
Returns true if field withRecognition is set (has been asigned a value) and false otherwise


setWithRecognitionIsSet

public void setWithRecognitionIsSet(boolean value)

isWithAlternateData

public boolean isWithAlternateData()

setWithAlternateData

public void setWithAlternateData(boolean withAlternateData)

unsetWithAlternateData

public void unsetWithAlternateData()

isSetWithAlternateData

public boolean isSetWithAlternateData()
Returns true if field withAlternateData is set (has been asigned a value) and false otherwise


setWithAlternateDataIsSet

public void setWithAlternateDataIsSet(boolean value)

setFieldValue

public void setFieldValue(NoteStore.getResourceByHash_args._Fields field,
                          java.lang.Object value)
Specified by:
setFieldValue in interface org.apache.thrift.TBase<NoteStore.getResourceByHash_args._Fields>

setFieldValue

public void setFieldValue(int fieldID,
                          java.lang.Object value)
Specified by:
setFieldValue in interface org.apache.thrift.TBase<NoteStore.getResourceByHash_args._Fields>

getFieldValue

public java.lang.Object getFieldValue(NoteStore.getResourceByHash_args._Fields field)
Specified by:
getFieldValue in interface org.apache.thrift.TBase<NoteStore.getResourceByHash_args._Fields>

getFieldValue

public java.lang.Object getFieldValue(int fieldId)
Specified by:
getFieldValue in interface org.apache.thrift.TBase<NoteStore.getResourceByHash_args._Fields>

isSet

public boolean isSet(NoteStore.getResourceByHash_args._Fields field)
Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise

Specified by:
isSet in interface org.apache.thrift.TBase<NoteStore.getResourceByHash_args._Fields>

isSet

public boolean isSet(int fieldID)
Specified by:
isSet in interface org.apache.thrift.TBase<NoteStore.getResourceByHash_args._Fields>

equals

public boolean equals(java.lang.Object that)
Overrides:
equals in class java.lang.Object

equals

public boolean equals(NoteStore.getResourceByHash_args that)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

compareTo

public int compareTo(NoteStore.getResourceByHash_args other)
Specified by:
compareTo in interface java.lang.Comparable<NoteStore.getResourceByHash_args>

read

public void read(org.apache.thrift.protocol.TProtocol iprot)
          throws org.apache.thrift.TException
Specified by:
read in interface org.apache.thrift.TBase<NoteStore.getResourceByHash_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<NoteStore.getResourceByHash_args._Fields>
Throws:
org.apache.thrift.TException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

validate

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