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

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

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

See Also:
Serialized Form

Nested Class Summary
static class Blur.logging_args._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
 String classNameOrLoggerName
          the className or Logger Name of the Logger to be changed.
 Level level
          the logging level.
static Map<Blur.logging_args._Fields,FieldMetaData> metaDataMap
           
 
Constructor Summary
Blur.logging_args()
           
Blur.logging_args(Blur.logging_args other)
          Performs a deep copy on other.
Blur.logging_args(String classNameOrLoggerName, Level level)
           
 
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.logging_args other)
           
 Blur.logging_args deepCopy()
           
 boolean equals(Blur.logging_args that)
           
 boolean equals(Object that)
           
 Blur.logging_args._Fields fieldForId(int fieldId)
          Get the F instance that corresponds to fieldId.
 String getClassNameOrLoggerName()
          the className or Logger Name of the Logger to be changed.
 Object getFieldValue(Blur.logging_args._Fields field)
          Get a field's value by field variable.
 Level getLevel()
          the logging level.
 int hashCode()
           
 boolean isSet(Blur.logging_args._Fields field)
          Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
 boolean isSetClassNameOrLoggerName()
          Returns true if field classNameOrLoggerName is set (has been assigned a value) and false otherwise
 boolean isSetLevel()
          Returns true if field level is set (has been assigned a value) and false otherwise
 void read(TProtocol iprot)
          Reads the TObject from the given input protocol.
 Blur.logging_args setClassNameOrLoggerName(String classNameOrLoggerName)
          the className or Logger Name of the Logger to be changed.
 void setClassNameOrLoggerNameIsSet(boolean value)
           
 void setFieldValue(Blur.logging_args._Fields field, Object value)
          Set a field's value by field variable.
 Blur.logging_args setLevel(Level level)
          the logging level.
 void setLevelIsSet(boolean value)
           
 String toString()
           
 void unsetClassNameOrLoggerName()
           
 void unsetLevel()
           
 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

classNameOrLoggerName

public String classNameOrLoggerName
the className or Logger Name of the Logger to be changed.


level

public Level level
the logging level.

See Also:
Level

metaDataMap

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

Blur.logging_args

public Blur.logging_args()

Blur.logging_args

public Blur.logging_args(String classNameOrLoggerName,
                         Level level)

Blur.logging_args

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

Method Detail

deepCopy

public Blur.logging_args deepCopy()
Specified by:
deepCopy in interface TBase<Blur.logging_args,Blur.logging_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.logging_args,Blur.logging_args._Fields>

getClassNameOrLoggerName

public String getClassNameOrLoggerName()
the className or Logger Name of the Logger to be changed.


setClassNameOrLoggerName

public Blur.logging_args setClassNameOrLoggerName(String classNameOrLoggerName)
the className or Logger Name of the Logger to be changed.


unsetClassNameOrLoggerName

public void unsetClassNameOrLoggerName()

isSetClassNameOrLoggerName

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


setClassNameOrLoggerNameIsSet

public void setClassNameOrLoggerNameIsSet(boolean value)

getLevel

public Level getLevel()
the logging level.

See Also:
Level

setLevel

public Blur.logging_args setLevel(Level level)
the logging level.

See Also:
Level

unsetLevel

public void unsetLevel()

isSetLevel

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


setLevelIsSet

public void setLevelIsSet(boolean value)

setFieldValue

public void setFieldValue(Blur.logging_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.logging_args,Blur.logging_args._Fields>

getFieldValue

public Object getFieldValue(Blur.logging_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.logging_args,Blur.logging_args._Fields>

isSet

public boolean isSet(Blur.logging_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.logging_args,Blur.logging_args._Fields>

equals

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

equals

public boolean equals(Blur.logging_args that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

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

fieldForId

public Blur.logging_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.logging_args,Blur.logging_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.logging_args,Blur.logging_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.logging_args,Blur.logging_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.