public void Write(TProtocol oprot)
{
TStruct struc = new TStruct("getTableRegions_args");
oprot.WriteStructBegin(struc);
TField field = new TField();
if (this.tableName != null) {
field.Name = "tableName";
field.Type = TType.String;
field.ID = 1;
oprot.WriteFieldBegin(field);
oprot.WriteBinary(this.tableName);
oprot.WriteFieldEnd();
}
oprot.WriteFieldStop();
oprot.WriteStructEnd();
}