org.apache.blur.thrift.generated
Class Blur.traceRequestFetch_args

java.lang.Object
  extended by org.apache.blur.thrift.generated.Blur.traceRequestFetch_args
All Implemented Interfaces:
Serializable, Cloneable, Comparable<Blur.traceRequestFetch_args>, TBase<Blur.traceRequestFetch_args,Blur.traceRequestFetch_args._Fields>
Enclosing class:
Blur

public static class Blur.traceRequestFetch_args
extends Object
implements TBase<Blur.traceRequestFetch_args,Blur.traceRequestFetch_args._Fields>, Serializable, Cloneable

See Also:
Serialized Form

Nested Class Summary
static class Blur.traceRequestFetch_args._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
static Map<Blur.traceRequestFetch_args._Fields,FieldMetaData> metaDataMap
           
 String requestId
          the request id.
 String traceId
          the trace id.
 
Constructor Summary
Blur.traceRequestFetch_args()
           
Blur.traceRequestFetch_args(Blur.traceRequestFetch_args other)
          Performs a deep copy on other.
Blur.traceRequestFetch_args(String traceId, String requestId)
           
 
Method Summary
 void clear()
          Return to the state of having just been initialized, as though you had just called the default constructor.
 int compareTo(Blur.traceRequestFetch_args other)
           
 Blur.traceRequestFetch_args deepCopy()
           
 boolean equals(Blur.traceRequestFetch_args that)
           
 boolean equals(Object that)
           
 Blur.traceRequestFetch_args._Fields fieldForId(int fieldId)
          Get the F instance that corresponds to fieldId.
 Object getFieldValue(Blur.traceRequestFetch_args._Fields field)
          Get a field's value by field variable.
 String getRequestId()
          the request id.
 String getTraceId()
          the trace id.
 int hashCode()
           
 boolean isSet(Blur.traceRequestFetch_args._Fields field)
          Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
 boolean isSetRequestId()
          Returns true if field requestId is set (has been assigned a value) and false otherwise
 boolean isSetTraceId()
          Returns true if field traceId is set (has been assigned a value) and false otherwise
 void read(TProtocol iprot)
          Reads the TObject from the given input protocol.
 void setFieldValue(Blur.traceRequestFetch_args._Fields field, Object value)
          Set a field's value by field variable.
 Blur.traceRequestFetch_args setRequestId(String requestId)
          the request id.
 void setRequestIdIsSet(boolean value)
           
 Blur.traceRequestFetch_args setTraceId(String traceId)
          the trace id.
 void setTraceIdIsSet(boolean value)
           
 String toString()
           
 void unsetRequestId()
           
 void unsetTraceId()
           
 void validate()
           
 void write(TProtocol oprot)
          Writes the objects out to the protocol
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

traceId

public String traceId
the trace id.


requestId

public String requestId
the request id.


metaDataMap

public static final Map<Blur.traceRequestFetch_args._Fields,FieldMetaData> metaDataMap
Constructor Detail

Blur.traceRequestFetch_args

public Blur.traceRequestFetch_args()

Blur.traceRequestFetch_args

public Blur.traceRequestFetch_args(String traceId,
                                   String requestId)

Blur.traceRequestFetch_args

public Blur.traceRequestFetch_args(Blur.traceRequestFetch_args other)
Performs a deep copy on other.

Method Detail

deepCopy

public Blur.traceRequestFetch_args deepCopy()
Specified by:
deepCopy in interface TBase<Blur.traceRequestFetch_args,Blur.traceRequestFetch_args._Fields>

clear

public void clear()
Description copied from interface: TBase
Return to the state of having just been initialized, as though you had just called the default constructor.

Specified by:
clear in interface TBase<Blur.traceRequestFetch_args,Blur.traceRequestFetch_args._Fields>

getTraceId

public String getTraceId()
the trace id.


setTraceId

public Blur.traceRequestFetch_args setTraceId(String traceId)
the trace id.


unsetTraceId

public void unsetTraceId()

isSetTraceId

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


setTraceIdIsSet

public void setTraceIdIsSet(boolean value)

getRequestId

public String getRequestId()
the request id.


setRequestId

public Blur.traceRequestFetch_args setRequestId(String requestId)
the request id.


unsetRequestId

public void unsetRequestId()

isSetRequestId

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


setRequestIdIsSet

public void setRequestIdIsSet(boolean value)

setFieldValue

public void setFieldValue(Blur.traceRequestFetch_args._Fields field,
                          Object value)
Description copied from interface: TBase
Set a field's value by field variable. Primitive types must be "boxed" in the appropriate object wrapper type.

Specified by:
setFieldValue in interface TBase<Blur.traceRequestFetch_args,Blur.traceRequestFetch_args._Fields>

getFieldValue

public Object getFieldValue(Blur.traceRequestFetch_args._Fields field)
Description copied from interface: TBase
Get a field's value by field variable. Primitive types will be wrapped in the appropriate "boxed" types.

Specified by:
getFieldValue in interface TBase<Blur.traceRequestFetch_args,Blur.traceRequestFetch_args._Fields>

isSet

public boolean isSet(Blur.traceRequestFetch_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 TBase<Blur.traceRequestFetch_args,Blur.traceRequestFetch_args._Fields>

equals

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

equals

public boolean equals(Blur.traceRequestFetch_args that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(Blur.traceRequestFetch_args other)
Specified by:
compareTo in interface Comparable<Blur.traceRequestFetch_args>

fieldForId

public Blur.traceRequestFetch_args._Fields fieldForId(int fieldId)
Description copied from interface: TBase
Get the F instance that corresponds to fieldId.

Specified by:
fieldForId in interface TBase<Blur.traceRequestFetch_args,Blur.traceRequestFetch_args._Fields>

read

public void read(TProtocol iprot)
          throws TException
Description copied from interface: TBase
Reads the TObject from the given input protocol.

Specified by:
read in interface TBase<Blur.traceRequestFetch_args,Blur.traceRequestFetch_args._Fields>
Parameters:
iprot - Input protocol
Throws:
TException

write

public void write(TProtocol oprot)
           throws TException
Description copied from interface: TBase
Writes the objects out to the protocol

Specified by:
write in interface TBase<Blur.traceRequestFetch_args,Blur.traceRequestFetch_args._Fields>
Parameters:
oprot - Output protocol
Throws:
TException

toString

public String toString()
Overrides:
toString in class Object

validate

public void validate()
              throws TException
Throws:
TException


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